From: Gerd Hoffmann <kraxel@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Olaf Hering <olaf@aepfle.de>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] emulating a display, instead of just a dumb graphics card
Date: Thu, 27 Mar 2014 13:40:27 +0100 [thread overview]
Message-ID: <1395924027.12226.11.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <87d2h8otg0.fsf@blackfin.pond.sub.org>
On Do, 2014-03-27 at 10:57 +0100, Markus Armbruster wrote:
> Olaf Hering <olaf@aepfle.de> writes:
>
> > Right now qemu does appearently just emulate a graphics card (Cirrus for
> > example), but not an attached monitor/display. The result is confusion
> > in the guest OS.
> >
> > The current DRM drivers in upstream Linux seem to default to VESA modes.
> > These are either provided by qemu, or Xorg uses a fixed internal list.
> > As a result the VM window is 1280x960. Much too large for my native
> > display.
The kernel has a mode list. cirrusdrm used to default to the largest
possible video mode, which is stupid and has been fixed meanwhile. It's
1024x748 now.
> > It seems qemu does not provide a virtual display with valid EDID data.
> > If it would start doing that, the host admin could force a certain
> > display size. Ideally also with proper DPI data.
> >
> > Any idea if thats possible to implement?
>
> Not an expert in this area, but I can't see why it would be impossible.
> Patches welcome.
qxl can already signal the size of the display(s) to the guest. Where
"display size" == "spice client window size". But it doesn't use edid
for that.
Simliar capabilities are planned for virtio-gpu.
Not sure it is possible with cirrus. The hardware is pretty old, might
be it predates edid ...
stdvga is essentially paravirtual too (when it comes to capabilities
beyond standard vga stuff) and has no interface to communicate preferred
display size or edid blobs to the guest (yet?).
cheers,
Gerd
next prev parent reply other threads:[~2014-03-27 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 13:39 [Qemu-devel] emulating a display, instead of just a dumb graphics card Olaf Hering
2014-03-27 9:57 ` Markus Armbruster
2014-03-27 12:40 ` Gerd Hoffmann [this message]
2014-03-27 13:09 ` Laszlo Ersek
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=1395924027.12226.11.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=armbru@redhat.com \
--cc=olaf@aepfle.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).