From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPLDS-0008Qx-6H for qemu-devel@nongnu.org; Tue, 20 Jan 2009 13:20:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPLDQ-0008OX-Gr for qemu-devel@nongnu.org; Tue, 20 Jan 2009 13:20:45 -0500 Received: from [199.232.76.173] (port=55873 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPLDQ-0008OF-86 for qemu-devel@nongnu.org; Tue, 20 Jan 2009 13:20:44 -0500 Received: from smtp.eu.citrix.com ([62.200.22.115]:12445) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPLDQ-00013J-0A for qemu-devel@nongnu.org; Tue, 20 Jan 2009 13:20:44 -0500 Message-ID: <4976151B.2000903@eu.citrix.com> Date: Tue, 20 Jan 2009 18:16:59 +0000 From: Stefano Stabellini MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Extremely slow graphic updates References: <20090119162633.GO29175@csclub.uwaterloo.ca> <20090119194221.GS29175@csclub.uwaterloo.ca> <20090120005351.GV29175@csclub.uwaterloo.ca> <200901200133.25029.paul@codesourcery.com> <4975B3F6.6050706@eu.citrix.com> <20090120144518.GW29175@csclub.uwaterloo.ca> <4975EC17.3090404@eu.citrix.com> <20090120165534.GY29175@csclub.uwaterloo.ca> <20090120170933.GF5177@const.bordeaux.inria.fr> <20090120181533.GZ29175@csclub.uwaterloo.ca> In-Reply-To: <20090120181533.GZ29175@csclub.uwaterloo.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: qemu-devel@nongnu.org, Paul Brook Lennart Sorensen wrote: > On Tue, Jan 20, 2009 at 06:09:33PM +0100, Samuel Thibault wrote: >> Ah, that rings me a bell. There was problem with that, something like >> now that sdl uses SDL_BlitSurface/SDL_Flip there is an X roundtrip, >> which is awfully slow over ssh. Would you be able to try without ssh? > > That would be tricky since it is running on another machine. I will > try. I do believe someone else said that they could confirm the slow > behaviour with 6336 running locally as well. It may be that some X > drivers are slow at SDL_Flip and SDL_BlitSurface. > > Hmm, my X server isn't compiled to allow tcp connections (only local > sockets), so avoiding ssh looks hard too. > > Maybe Xvnc can do it. yeah Xvnc4 as an X server did the job, and I > vnc'd to it so qemu was running entirely locally on the machine with an > X connection. Works at normal speed. > > So how does one fix this, since the change in 6336 makes it rather > painful for those where SDL_Flip and company are inefficient. > At risk of being silly, why don't you just use vnc to connect to qemu, if qemu is running on a remote machine? Obviously sdl is optimized for the local case. Of course if it is slow even locally, then there must be something wrong somewhere either in qemu or in sdl.