<div dir="ltr"><div>Hello, </div><div>I've done differents tests, with the differents combinaisons between qemu X and spice-server, </div><div>I can say that is since video adaptative streaming, the video streaming is bad compare to the old version (spice 0.12.3 / qemu 1.7 ). </div><div>When i set SPICE_DISABLE_ADAPTIVE_STREAMING=Y , my tests shows that's a lot of frames are dropping, because of sound synchronisation, The only way to get good streaming performance is to desactivate audio from client side. ( --spice-disable-audio).</div><div><br></div><div>An other point, when you disable streaming detection from server side, video is good, but the sound is very bad.</div><div><br></div><div>Regards, </div><div>Nicolas</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-08 16:57 GMT+02:00 Jeremy White <span dir="ltr"><<a href="mailto:jwhite@codeweavers.com" target="_blank">jwhite@codeweavers.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Sep 06, 2014 at 08:59:47AM -0500, Jeremy White wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think there actually is the same issue when running within QEMU: sound<br>
is emitted from a QEMU thread:<br>
</blockquote>
<br>
Is there a bug or someone that is working on that issue? I'd be curious to<br>
see if my patch resolves the problem for them.<br>
</blockquote>
<br>
I've only noticed this through code inspection/gdb breakpoints after you<br>
pointed out the issue you found. However, I'm fairly sure there has<br>
been reports on this mailing list of sound stopping after a while when<br>
watching a video. This matches very closely what you described.<br>
</blockquote>
<br>
I was thinking of<br>
<a href="http://lists.freedesktop.org/archives/spice-devel/2014-July/017132.html" target="_blank">http://lists.freedesktop.org/<u></u>archives/spice-devel/2014-<u></u>July/017132.html</a><br>
Maybe there was another email.<br>
</blockquote>
<br></span>
I couldn't quickly figure out the threading arrangement in qemu, but if the main channel is being driven by a different thread than the audio channel, then I think this patch would have introduced a bug:<br>
<br>
---<br>
commit bf9e210b21a66210b19f69fcaa4542<u></u>b393b7dc22<br>
Author: Yonit Halperin <<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>><br>
Date: Fri Jan 25 09:34:19 2013 -0500<br>
<br>
red_worker: video streams - adjust client playback latency<br>
<br>
--<br>
<br>
Of course, that's 18 months ago, so it seems to me we would have found it by now (despite it being a subtle, unpredictable bug that only occurs during video playback).<br>
<br>
But, just to be sure, Nicolas, would you mind setting the SPICE_DISABLE_ADAPTIVE_<u></u>STREAMING environment variable prior to running the client and seeing if that changes anything?<br>
<br>
Cheers,<br>
<br>
Jeremy<br>
</blockquote></div><br></div>