qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Qemu 2D performance plunges below acceptable levels


From: Stefano Stabellini
Subject: Re: [Qemu-devel] Re: Qemu 2D performance plunges below acceptable levels
Date: Wed, 18 Feb 2009 12:12:34 +0000
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

malc wrote:

>> As usual two good tests are to check the vnc case and a guest in 32bpp too.
> 
> This doesn't happen on the very same machine running very same guest but
> host OS being Linux.
> 



Uhm.. are you using one of those infamous 20-inch iMac with a resolution
of 6 bits per pixel?
That would explain the slow down.
Please try this patch and let me know if it makes a difference:

diff --git a/sdl.c b/sdl.c
index cfdf852..a5cc6d1 100644
--- a/sdl.c
+++ b/sdl.c
@@ -95,7 +95,7 @@ static void sdl_resize(DisplayState *ds)
 
     width = ds_get_width(ds);
     height = ds_get_height(ds);
-    real_screen = SDL_SetVideoMode(width, height, 0, flags);
+    real_screen = SDL_SetVideoMode(width, height, 32, flags);
     if (!real_screen) {
         fprintf(stderr, "Could not open SDL display\n");
         exit(1);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]