From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQYxP-00040d-BW for qemu-devel@nongnu.org; Tue, 23 Oct 2012 03:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQYxL-0004QX-BH for qemu-devel@nongnu.org; Tue, 23 Oct 2012 03:31:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQYxL-0004QT-2w for qemu-devel@nongnu.org; Tue, 23 Oct 2012 03:31:19 -0400 Message-ID: <508647C3.1030409@redhat.com> Date: Tue, 23 Oct 2012 09:31:15 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <5085A1F3.6040008@reactos.org> In-Reply-To: <5085A1F3.6040008@reactos.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Resource reporting for VGA cards List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Herv=E9_Poussineau?= Cc: QEMU Developers On 10/22/12 21:43, Herv=E9 Poussineau wrote: > Hello, >=20 > I'm trying to add support for a S3 PCI VGA card to QEMU. It currently > works on some non-x86 systems. > However, on x86, it seems that the card is correctly detected, but ther= e > is no display at all; I think it is due to bad framebuffer address > detection. I'd tend to suspect vgabios issues. > QEMU: > Memory: 000A0000-000AFFFF > Memory: 000B0000-000BFFFF > I/O: 03B0-03BB > I/O: 03C0-03DF > Memory: FD000000-FDFFFFFF (BAR0) > Memory: 000C0000-000CFFFF (rom file?) > Memory: 04000000-04007FFF (???) Can you try lspci in a linux guest? Do you have a git tree somewhere? > S3 card have a BAR0 of size 0x1000000 (16MB) for the framebuffer, and > ROM is created with bochs vgabios. I'd use seabios instead, but bochs vga should work too. Of course the PCI IDs must be correct otherwise seabios ignores the rom. > QEMU is launched with -m pc -device s3-trio. /me suggests to add '-vga none' so you don't end up with both cirrus & s3 cheers, Gerd