qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Reimar Döffinger" <Reimar.Doeffinger@gmx.de>
To: Brian Wheeler <bdwheele@indiana.edu>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Cirrus + "Desktop Effects" = Garbled screen
Date: Tue, 25 Aug 2009 22:54:47 +0200	[thread overview]
Message-ID: <20090825205447.GA3824@1und1.de> (raw)
In-Reply-To: <1251232100.18751.41.camel@nibbler.dlib.indiana.edu>

On Tue, Aug 25, 2009 at 04:28:19PM -0400, Brian Wheeler wrote:
> The information is obviously there, but it looks like either the client
> is writing it in the wrong format or the emulator is interpreting it
> wrong.

Looks like it is writing 32 bit data into a 24 bit framebuffer.
I guess desktop effects uses software emulation OpenGL.
I'd suggest first checking if software OpenGL supports 24 bit
framebuffer, otherwise it can't work.
Next I'd check which format/bit depth the X server is trying to use.
Last you could try debugging the SDL stuff to see which format it
actually uses.
Last, you can try to hack sdl.c to force it to use a different
bit depth (note I don't know how well that works with cirrus or if
this actually works at all) by changing sdl_create_displaysurface,
probably line 183.
That's all I can think of (I'm new to qemu, so I probably lack some
details).

Greetings,
Reimar Döffinger

      reply	other threads:[~2009-08-25 20:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 20:28 [Qemu-devel] Cirrus + "Desktop Effects" = Garbled screen Brian Wheeler
2009-08-25 20:54 ` Reimar Döffinger [this message]

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=20090825205447.GA3824@1und1.de \
    --to=reimar.doeffinger@gmx.de \
    --cc=bdwheele@indiana.edu \
    --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).