[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
Wed Jun 10 23:23:32 PDT 2015


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

--- Comment #21 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.

those emulated ac97 or hda-intel does not work with timer scheduling 

so you have to post your patch in mailing list for review

-- 
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/20150611/3eec29cc/attachment.html>


More information about the pulseaudio-bugs mailing list