Crackling, artifacts, and noise during and for a few seconds after audio plays from HDMI from an RX 580 after opening certain sites on Firefox
(I saw the notice regarding the master branch and haven't tested that yet but will, but I wanted to make this issue since I didn't see any indication of a similar issue. However, if the issue is resolved after I test PipeWire's matser branch, I'll close this)
Version, Distribution, Desktop Environment:
Arch Linux on GNOME/Wayland
Description of Problem:
My HDMI output will begin to have random artifacts and crackling during audio playback, plus extra artifacts after I stop the regular audio from playing. Originally, I couldn't figure out why it was happening, since on a fresh boot the issue wouldn't be there, but only after some uptime would the issue arise. Eventually, I pinpointed this issue to opening Discord on Firefox (the regular app works). To be more specific, this is not connecting to a voice chat or dealing with anything audio-related on Discord, but upon simply opening the webapp, the artifacting will begin.
This issue doesn't happen at all with the "built-in" audio on my computer that's not over the HDMI output, just on the HDMI output.
Reproducible a some percent of the time (I rebooted twice and tried to "cause" the crackling with Discord and it worked, but trying it again seems to not do anything, so I am not sure)
Steps to Reproduce:
- Boot computer/get to desktop with PipeWire started
- Launch Discord on Firefox (the Discord webapp, not just the landing website)
Observe serious "artifacting" and crackling. Restarting PipeWire does not fix the problem, I have to restart the entire host.
There should be no artifacting and my sound device should work fine.
For logging, my entire systemd logging is broken because of a misconfiguration on my part because of ZFS on Linux, which makes this very hard to debug. I'll try to fix that and update this with the logs from the PipeWire user service.