Fix popping sound when audio content start playing, on Ubuntu 20.04

Do you ear a very annoying "popping" sound coming from your speaker whenever an audio source start playing on Ubuntu 20.04 ? Well, that's because a couple releases ago they enabled power saving feature of the sound card by default, and that's what causing this.

The fix is pretty simple, you just have to disable the power saving extension in the pulseaudio config. Type that in a terminal :

sudo nano /etc/pulse/default.pa

Then find this line :

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

and comment it like so :

### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle

Then save and exit nano (CTRL + O, CTRL + X).

Then go on and restart pulseaudio with this in a terminal :

systemctl --user restart pulseaudio.service

And you should be good to go !


Try out my latest game !

Screenshot of solitaire game