From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mg32f-0005kA-5e for qemu-devel@nongnu.org; Tue, 25 Aug 2009 16:54:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mg32a-0005bC-AF for qemu-devel@nongnu.org; Tue, 25 Aug 2009 16:54:56 -0400 Received: from [199.232.76.173] (port=43212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg32a-0005as-12 for qemu-devel@nongnu.org; Tue, 25 Aug 2009 16:54:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:59324) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mg32Z-0007d7-Au for qemu-devel@nongnu.org; Tue, 25 Aug 2009 16:54:51 -0400 Date: Tue, 25 Aug 2009 22:54:47 +0200 From: Reimar =?iso-8859-1?Q?D=F6ffinger?= Subject: Re: [Qemu-devel] Cirrus + "Desktop Effects" = Garbled screen Message-ID: <20090825205447.GA3824@1und1.de> References: <1251232100.18751.41.camel@nibbler.dlib.indiana.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1251232100.18751.41.camel@nibbler.dlib.indiana.edu> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brian Wheeler Cc: qemu-devel@nongnu.org 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