qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Resource reporting for VGA cards


From: Hervé Poussineau
Subject: Re: [Qemu-devel] Resource reporting for VGA cards
Date: Tue, 23 Oct 2012 23:04:41 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hi,
Gerd Hoffmann a écrit :
On 10/22/12 21:43, Hervé 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 there
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?

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 later.

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

OK, tested with -vga none -device s3-trio, and I also tried with seavgabios.

With seavgabios, BIOS is displayed, Windows starts to load, and then Windows 98 seems to stop loading at animated screen during load.

With bochs vgabios, Windows 98 loads with fail-safe display driver, saying that the device doesn't work.

Hervé



reply via email to

[Prev in Thread] Current Thread [Next in Thread]