My audio is making horrible crackling sounds — what should I do?

My Fedora 29 system was working fine, but somewhere along the line I started getting distorted, crackling audio. Like, not just clicks or pops, but really bad. It seems like unplugging the speakers and re-plugging sometimes resets it, but not always, and only briefly. Plus, when I use the Test button in the sound control panel in GNOME, there’s a weird delay.

The hardware is Family 17h (Models 00h-0fh) HD Audio Controller (I think built-in to my AMD motherboard). I also tried the HDMI out and plugged headphones into my Dell monitor — so that’s using Vega 10 HDMI Audio [Radeon Vega 56/64]. Entirely different device and this rules out it being a problem with my 20 year old (yes, really) Cambridge Soundworks surround speakers.

I thought updating to the F30 beta might help, but it does not.

1 Like

I found a work-around, if not a solution. A upstream pulseaudio bug report describes the same issue and offers a workaround — adding a parameter tsched=0 to the pulseaudio config. To do this, I edited /etc/pulse/, and found the section

### Automatically load driver modules depending on the hardware available
load-module module-udev-detect
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect

We have udev support in Fedora, so it’s that first load-module line that needs editing. I changed it to

load-module module-udev-detect tsched=0

and ran pulseaudio --kill; pulseaudio --start to reload. Problem gone. (I could have also just rebooted at that point, of course.)

This is clearly just a workaround, not a fix, but it got me back to listening to music for now. I’ll follow the bug for a better, more permanent resolution. In the meantime, if you have a similar problem, hopefully this helps you too!


@not-mattdm-at-all should we lock topics that have been solved? I wonder if it can be done automagically :thinking:

I don’t think so. There’s always the possibility of a better solution or more information. Sometimes people mark something as solved really quickly, like as soon as they get any reply at all, and locking the thread prevents people from improving in that case.

1 Like

Sure, the mods can lock threads manually if needed then.