AMD HDMI Audio crackling
PC is connected to a TV via HDMI. There's crackling for a couple of seconds whenever audio starts playing. It doesn't matter if is it's a game, startup movie or Firefox playing a YT video.
I've tried several "fixes" for crackling/popping audio with Pipewire and nothing seems to fix the issue.
Bazzite running on Ryzen 5800X3D and Radeon RX 6800XT.
3 Replies
I have the same issue, 7900xtx and 5800X3D. I've tried the launch option parameter, editing pipewire config and grub parameters. I have also tried using the motherboard hdmi port to my audio reciever instead of the GPU, but i still get constant audio cut-out, crackling and stutters.
I have almost the exact same setup except for a 7800X3D processor and I have the same crackling audio for a few seconds after everything has been silent for a while. It does go away completely as long as there is some audio coming from the speakers but returns after a period of no audio.
Seem to have fixed it. I changed a few things so i'm not sure exactly what did it.
Make sure /etc/system76-scheduler/config.kdl is unmodified.
Install pavucontrol and disable USB audio.
Copy /usr/share/pipewire/pipewire.conf to /etc/pipewire/pipewire.conf
Play around with the these parameters (this is what i currently have set and working):
default.clock.rate = 192000
default.clock.quantum = 512
default.clock.min-quantum = 32
default.clock.max-quantum = 4096
Make sure to restart the system76 scheduler after modifying pipewire.conf
systemctl restart com.system76.Scheduler.service
Run:
ps -e -o pid,uid,pri,nice,rtprio,vsz,rss,tty,stat,start,time,comm | grep -E 'PID|pipewire'
And make sure RTPRIO is set to 49 like so:
PID UID PRI NI RTPRIO VSZ RSS TT STAT STARTED TIME COMMAND
5728 1000 89 - 49 431708 42652 ? S<Lsl Apr 09 00:03:15 pipewire
6212 1000 89 - 49 335592 27712 ? S<sl Apr 09 00:01:04 pipewire-pulse