See https://askubuntu.com/a/1230834.
It may be caused by your sound card's power save feature.
- Check if the power save feature is enabled:
cat /sys/module/snd_hda_intel/parameters/power_save
- If it returns
1
, try the following temporary fix:
echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save
- If the previous step worked, make it permanent by creating a file at
/etc/modprobe.d/audio_disable_powersave.conf
with the following contents:
options snd_hda_intel power_save=0