qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: "François Revol" <revol@free.fr>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH] spice: add audio
Date: Wed, 10 Nov 2010 12:37:04 +0100	[thread overview]
Message-ID: <4CDA83E0.1070704@redhat.com> (raw)
In-Reply-To: <20101110103611.GC11830@redhat.com>

On 11/10/10 11:36, Daniel P. Berrange wrote:
> On Wed, Nov 10, 2010 at 10:48:39AM +0100, Gerd Hoffmann wrote:
>> The qemu vnc server has support already, and I think Daniel (added to
>> Cc:) has some experimental patches for the gtk-vnc widget.
>
> Yes I do have patches, but I'm yet to get it to work reliably enough for
> anyone to use for real. eg any time there are large frambuffer updates
> due to, say, dragging a window around, audio will drop out.  Until I can
> prove that it is even semi-reliable I'm not going to include the code in
> gtk-vnc, because I don't want to commit to supporting something that may
> well be fundamentally broken/unusable for live audio playback.

Do you know where the dropouts come from?

I think one issue are latencies within qemu.  The qemu vnc server is 
busy for a while when doing bulky screen updates and blocks other stuff 
while it runs.  I've seen dropouts with vnc + bulky screen updates too. 
The smaller the audio buffers used by the device/guest are the more 
visible this effect is.  When enabling the threaded vnc server this 
becomes alot better, did you try that?

Another problem might be the outgoing tcp pipeline being flooded with 
screen updates, leading to high network latencies for the audio data as 
vnc (unlike spice) sends everything over the same tcp connection.

Finally it could be gtk-vnc itself being busy with something and not 
playing audio in a timely manner (not very likely IMHO).

cheers,
   Gerd

  reply	other threads:[~2010-11-10 11:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20101109211021.45EC22A34D@zimbra14-e2.priv.proxad.net>
2010-11-09 22:27 ` [Qemu-devel] Re: [PATCH] spice: add audio François Revol
2010-11-09 23:31   ` malc
2010-11-10  9:48   ` Gerd Hoffmann
2010-11-10 10:36     ` Daniel P. Berrange
2010-11-10 11:37       ` Gerd Hoffmann [this message]
2010-11-10 11:50         ` Daniel P. Berrange
2010-11-10 13:21           ` Gerd Hoffmann
2010-11-09 16:29 [Qemu-devel] " Gerd Hoffmann
2010-11-09 16:36 ` [Qemu-devel] " malc
2010-11-09 16:56   ` Gerd Hoffmann
2010-11-09 17:35     ` malc
2010-11-09 20:55 ` malc

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=4CDA83E0.1070704@redhat.com \
    --to=kraxel@redhat.com \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=revol@free.fr \
    /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).