Constant audio skips/pausing, as simple as changing volume level causes audio to skip

It seems to be 100% CPU related, if cpu use is very low (maybe less than 10%) this doesn’t happen, but just typing this psot is enough to make it skip throughout the song I have in another tab.

Playing music in VLC is usually fine, but occasionally skips there too.

I’m fairly sure I am using pipewire, and would like to learn more about it.

Fedora, 38, nearly fully up-to-date now, preparing to upgrade to 40 soon, but I will do a full backup first.

How do I check the pipewire CPU usage, and how might I be able to give it -20 priority?

I am using a quadcore set down to two cores, four threads, and various CPU speeds, from minimum 3.3 Ghz, down to 800 Mhz, with no major changes to the skipping issue.

I had this problem with pipewire myself when I was testing out any Linux distro, so it’s a pipewire problem. Consider PulseAudio or Gstreamer. I personally had more success with both of those than pipewire. I don’t understand why (pipewire) is preferred by default. Maybe it’s more opensource? Cool, but it performs like shit on a non-stereo system.

So how do I switch to pulse or alsa then?

Search for how to change your default audio driver in Fedora. It’s mostly the same in Linux, but somewhat different based on the major distro, Fedora being the major. I’m not as familiar with Fedora as I am with Arch or Debian based distros.

use pipewire 1.0 or newer.
set it to realtime mode.
make sure your audio output is using a USB3 bus or faster.
onboard sound cards might not be able to keep up.

if you still underrun after all that, disable any sort of remixing. but i have yet to find that necessary after switching to realtime.

If regular fedora is behaving that way out of the box (or after an update) please also consider filing a bug report so the underlying problem can be found and fixed.

1 Like