From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQles-0004qM-9l for qemu-devel@nongnu.org; Tue, 23 Oct 2012 17:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQlel-0004d6-9x for qemu-devel@nongnu.org; Tue, 23 Oct 2012 17:05:06 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:37604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQlek-0004X6-MX for qemu-devel@nongnu.org; Tue, 23 Oct 2012 17:04:59 -0400 Message-ID: <50870669.1090605@reactos.org> Date: Tue, 23 Oct 2012 23:04:41 +0200 From: =?ISO-8859-1?Q?Herv=E9_Poussineau?= MIME-Version: 1.0 References: <5085A1F3.6040008@reactos.org> <508647C3.1030409@redhat.com> In-Reply-To: <508647C3.1030409@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Gerd Hoffmann Cc: QEMU Developers Hi, Gerd Hoffmann a =E9crit : > On 10/22/12 21:43, Herv=E9 Poussineau wrote: >> Hello, >> >> 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 the= re >> is no display at all; I think it is due to bad framebuffer address >> detection. >=20 > I'd tend to suspect vgabios issues. >=20 >> 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 (???) >=20 > Can you try lspci in a linux guest? > Do you have a git tree somewhere? Git tree is available at git://repo.or.cz/qemu/hpoussin.git branch s3. Sorry, I don't have handy a lspci output, I will try to provide you one=20 later. >> S3 card have a BAR0 of size 0x1000000 (16MB) for the framebuffer, and >> ROM is created with bochs vgabios. >=20 > I'd use seabios instead, but bochs vga should work too. Of course the > PCI IDs must be correct otherwise seabios ignores the rom. >=20 >> QEMU is launched with -m pc -device s3-trio. >=20 > /me suggests to add '-vga none' so you don't end up with both cirrus & = s3 OK, tested with -vga none -device s3-trio, and I also tried with seavgabi= os. With seavgabios, BIOS is displayed, Windows starts to load, and then=20 Windows 98 seems to stop loading at animated screen during load. With bochs vgabios, Windows 98 loads with fail-safe display driver,=20 saying that the device doesn't work. Herv=E9