qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Re: Qemu 2D performance plunges below acceptable levels
Date: Wed, 18 Feb 2009 12:12:34 +0000	[thread overview]
Message-ID: <499BFB32.90806@eu.citrix.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0902181414490.9123@linmac.oyster.ru>

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);

  parent reply	other threads:[~2009-02-18 12:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-15 13:10 [Qemu-devel] Qemu 2D performance plunges below acceptable levels Alexey Eremenko
2009-02-15 17:11 ` [Qemu-devel] " Alexey Eremenko
2009-02-16 10:31   ` Stefano Stabellini
2009-02-16 11:47     ` Avi Kivity
2009-02-16 16:15       ` Stefano Stabellini
2009-02-16 16:36         ` Avi Kivity
2009-02-17 17:48         ` Avi Kivity
2009-02-17 19:00           ` Stefano Stabellini
2009-02-18  8:46             ` Alexey Eremenko
2009-02-18  9:33               ` malc
2009-02-18 10:48                 ` Stefano Stabellini
2009-02-18 11:17                   ` malc
2009-02-18 11:27                     ` Alexey Eremenko
2009-02-18 11:32                       ` malc
2009-02-18 12:12                     ` Stefano Stabellini [this message]
2009-02-18 18:51                       ` malc
2009-02-19 15:14                       ` malc
2009-02-20 16:37                         ` Stefano Stabellini
2009-02-20 16:52                           ` Paul Brook
2009-02-20 17:01                             ` Stefano Stabellini
2009-02-20 17:16                               ` Paul Brook
2009-02-21  4:02                               ` malc
2009-02-23  3:06                                 ` Stefano Stabellini
2009-02-23  6:43                                   ` malc
2009-02-20 17:17                             ` Laurent Desnogues
2009-02-18 10:43               ` Stefano Stabellini

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=499BFB32.90806@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.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).