From: Alon Levy <alevy@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC] reduce reported VGA framebuffer to 8 MiB
Date: Wed, 25 May 2011 17:49:06 +0300 [thread overview]
Message-ID: <20110525144906.GJ31654@playa.tlv.redhat.com> (raw)
In-Reply-To: <20110525143358.GI31654@playa.tlv.redhat.com>
On Wed, May 25, 2011 at 05:33:59PM +0300, Alon Levy wrote:
> On Wed, May 25, 2011 at 04:06:03PM +0200, Gerd Hoffmann wrote:
> > On 05/25/11 15:53, Alon Levy wrote:
> > >Without this windows xp guests set a 4 bits per pixel graphics mode.
> >
> > Hmm? Never seen this. Details please.
>
> When I start a windows xp guest with -vga qxl and no qxl driver installed I get
> a 16 color (4 bits) display mode, you notice it straight away because it's just ugly.
>
> When I looked at the VBE calls the only difference between the calls done with -vga qxl
> and -vga std seemed to be the reported size (reported in 64K chunks, so for qxl the val
> is 0x400 by default, and for std vga it is 0x80). With this patch windows sets the right
> mode (32 bit color).
>
> Actually it seems this patch make the qxl driver refuse to load, I'm trying to figure out
> why (or if in fact it's this patch).
It is the patch. An alternative that works with and without qxl driver, and fixes the problem
I reported, is to just change the VBE reported ram size to at most VGA_RAM_SIZE (== 8MiB).
>
> >
> > cheers,
> > Gerd
> >
>
next prev parent reply other threads:[~2011-05-25 14:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 13:53 [Qemu-devel] [RFC] reduce reported VGA framebuffer to 8 MiB Alon Levy
2011-05-25 14:06 ` Gerd Hoffmann
2011-05-25 14:33 ` Alon Levy
2011-05-25 14:49 ` Alon Levy [this message]
2011-05-26 6:50 ` Gerd Hoffmann
2011-05-26 7:11 ` Alon Levy
2011-05-26 7:44 ` Gerd Hoffmann
2011-05-26 8:15 ` Alon Levy
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=20110525144906.GJ31654@playa.tlv.redhat.com \
--to=alevy@redhat.com \
--cc=kraxel@redhat.com \
--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).