I had the same audio crackling issues in Helldivers on Pop!_OS too. What fixed it for me was following mmstick's (Pop!_OS dev) instructions from his reddit post about audio crackling, particularly the headroom
advice (I think somewhere between 256-512 worked for me):
If you experience audio crackling, try changing the ALSA properties in
/usr/share/wireplumber/main.lua.d/50-alsa-config.lua
. Particularly theperiod-size
andheadroom
. Remove the leading--
from properties you are modifying. Log out and log back in after making changes. Note that any changes to this file will be overwritten on the next wireplumber update.First start with changing the headroom to
1024
, then2048
. Then try adjusting the period-size. Higher values increase latency and may reduce crackling. A lower period size decreases latency but requires more CPU.
Edit: also Pop!_OS uses pipewire by default for a few years now, not pulse audio