Audio skipping and crackling in all applications

System info:
5800x3d
7900xtx
ASUS B550-I
using motherboard audio which reports as "Starship/Matisse HD Audio"
running desktop bazzite:stable image

I'm getting some fairly common (5-10 per minute) audio stuttering in all applications. I can resolve this in games by setting "PULSE_LATENCY_MSEC=60" in launch options, but I have issues system-wide. There is consistently a skip when pw decides to change the output quantum for a new application, but I also get continual skips in a stable scenario. I can watch the ERR counter in pw-top slowly tick up 3-5 at a time. I'm currently playing Spotify which looks like the attached image and exhibits regular skipping.

Doing a force-quantum 1024 lessens the issues but does not fully prevent them. I imagine if I just keep pushing the quantum higher that will eventually solve the skips, but that's not a great solution obviously.

I've seen some mentions that this could be related to fsync kernel when searching around here. Is there any other known info around these issues?
image.png
Solution
I've managed to resolve all of my issues without changing the pulse latency var or messing with pipewire quantums with a change to the system76 scheduler config. I filed https://github.com/pop-os/system76-scheduler/issues/114 as well because it seems like that isn't quite working as intended, but you could try that fix.
GitHub
I've been seeing a lot of underrun/skipping/crackling issues in pipewire since switching to the system76 scheduler. After playing with quantums and buffer sizes for many hours, I noticed the pi...
Was this page helpful?