Sound crackling with usb devices
usb sound devices crackling
Steps to reproduce
In ubuntu 21.04 any usb just play some video from youtube or social network in chromium or firefox. On my pc it 1-5 times in 3 minutes, about 0.2s, very annoying.
What is the current bug behavior?
i have xduoo05plus, audeze mobius, audient id4. I also tried to modify
default-fragments = 5 default-fragment-size-msec = 2
to different suggested on stackoverflow articles setting, also tested with default settings (commented lines)
Also this is in my config:
high-priority = yes nice-level = -11 realtime-scheduling = yes realtime-priority = 5
I even tried to switch to pipewire, but it still the same. Tested mpd today all day long about 10hours - no crackling at all, even with dsd 256 (11mbit).
Checked also another kernels
5.9.16 - the same 5.8.5 - slightly rare and smaller (but 'cracks' still exists).
Also there are cracks in 90% cases when i click on kmix tray app (opens kmix window), when i change volume or tab in kmix (between apps and hw), or when another app open stream. Its on all kernels and was on 20.04 too.
There is no cracks when playing one stream on ae-5 or xonar d1, only usb affected. But there is sometimes when new app open stream or volume is changed, its not the case of that bug report, seems it some kind of general architecture problem.
I created first bug report at launchpad but they don't know how to fix. https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1930550
What is the expected correct behavior?
No crackling and smooth playback