From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfhO3-00077Y-Ar for qemu-devel@nongnu.org; Thu, 11 Feb 2010 17:19:51 -0500 Received: from [199.232.76.173] (port=36627 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfhO1-00076J-OQ for qemu-devel@nongnu.org; Thu, 11 Feb 2010 17:19:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfhO1-0002z8-2i for qemu-devel@nongnu.org; Thu, 11 Feb 2010 17:19:49 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:59524) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfhO0-0002z2-61 for qemu-devel@nongnu.org; Thu, 11 Feb 2010 17:19:48 -0500 Received: by ewy24 with SMTP id 24so1933676ewy.16 for ; Thu, 11 Feb 2010 14:19:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <12d708831002101540m1061cc8ag2e5d31c6d73f31c0@mail.gmail.com> <12d708831002102247n3438bf09h502d1f4050723f3d@mail.gmail.com> <12d708831002102303t777e6f83g563311cc0f9cf1a1@mail.gmail.com> <12d708831002111107n2c8f61c9j70ffd777979d0858@mail.gmail.com> <12d708831002111157u7b7fbcc5sd761790ff18c6033@mail.gmail.com> Date: Thu, 11 Feb 2010 23:19:45 +0100 Message-ID: <12d708831002111419w1adf7472r9d5b8aba872c3b97@mail.gmail.com> Subject: Re: [Qemu-devel] Audio latency From: Alberich de megres Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org On Thu, Feb 11, 2010 at 10:45 PM, malc wrote: > On Thu, 11 Feb 2010, Alberich de megres wrote: > >> Another interesting thing: >> >> on guest side, >> when i leave the screen quiet, for example just showing desktop with >> no animations at all (so there's no change in what should be drawed) >> things improve a lot of, and then i coudl hear a song perfectly. >> The screen is 1680x1050. the same thing happens when i low screen >> resolution to 800x600 >> >> Could be the emulated VGA graphic adapter latency? I suppose that i >> haven't 2D acceleration so CPU has to paint the screen everytime a >> change is done. >> >> >> On Thu, Feb 11, 2010 at 7:07 PM, Alberich de megres >> wrote: >> > On Thu, Feb 11, 2010 at 8:42 AM, malc wrote: >> >> On Thu, 11 Feb 2010, Alberich de megres wrote: >> >> >> >>> On Thu, Feb 11, 2010 at 7:53 AM, malc wrote: >> >>> > On Thu, 11 Feb 2010, Alberich de megres wrote: >> >>> > >> >>> >> I'm using the alsa driver. >> >>> >> Even I tried to change some values using the export and some flags >> >>> >> that -audio-help shows, but nothing significant. >> >>> > >> >>> > Please do not top post. >> >>> >> >>> Sorrry!! > > And there you go again :) > :( sorry once again > [..snip..] > > QEMU is synchronous, if it takes too much time doing the video stuff > audio will be starved, i don't think i can help with that, what you > can do to test this theory of yours is to use VNC, set things up start > the song and then disconnect, if the audio is playing normally then > you are right. > You mean VNC conecting to guest OS? (windows in this case?) > -- > mailto:av1474@comtv.ru > Qemu, uses some kind of 2D hardware acceleration to draw? or simply it does with CPU? It would be hard for me to implement a patch to make qemu asynchronous? (i mean, if the qemu soft architecture allows it on a easy way or not). Thanks for all :))