All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Resource reporting for VGA cards
Date: Tue, 23 Oct 2012 09:31:15 +0200	[thread overview]
Message-ID: <508647C3.1030409@redhat.com> (raw)
In-Reply-To: <5085A1F3.6040008@reactos.org>

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?

> 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

  reply	other threads:[~2012-10-23  7:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 19:43 [Qemu-devel] Resource reporting for VGA cards Hervé Poussineau
2012-10-23  7:31 ` Gerd Hoffmann [this message]
2012-10-23 21:04   ` Hervé Poussineau
2012-10-24 14:08     ` Gerd Hoffmann
2012-11-03 21:11       ` Hervé Poussineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=508647C3.1030409@redhat.com \
    --to=kraxel@redhat.com \
    --cc=hpoussin@reactos.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.