[pulseaudio-tickets] [Bug 86262] severe underruns with usb audio, works with pa 3.0 - buffer setup seems wrong

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 13 06:39:01 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86262

--- Comment #13 from Raymond <superquad.vortex2 at gmail.com> ---
(In reply to David Mansfield from comment #2)
> Created attachment 109438 [details] [review]
> force tsched even in "BATCH" mode and on KVM.
> 
> The attached patch fixes the problem by essentially reversing commit
> 826c8f69d34ef49e86fe0ab6c93c1ffba8916131 (alsa: Disable timer-scheduling for
> PCMs with the BATCH flag).
> 
> Without tsched, the buffers are miniscule and we get overruns constantly. 
> With tsched (by design) the buffers are huge.  
> 
> Not sure what the implications are.
> 
> NOTE: I also forced enablement of tsched on KVM.  I'm having the exact same
> problem in a VM, and it is MUCH better with the patch although still not
> "glitch-free" which it is (with the patch) on bare-metal.
> 
> NOTE: In kvm I am using USB passthrough, not emulated hardware audio device.



http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/alsa-sink.c?id=53b046d5c9593d848270e85017c2999a61256e0e

the patch was designed for those emulated sound card inside vm , this mean that
you have to differentiate usb passthrough and emulated sound card

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141213/da814519/attachment-0001.html>


More information about the pulseaudio-bugs mailing list