Loud pops when headphones are connected

When nothing plays and headphones are connected I can hear loud clicks and pops.

Anything I was able to find was connected with power saving future.

I tried to unload module and disable power saving with:

rmmod -f snd_hda_intel
modprobe snd_hda_intel power_save=0

That didn’t help.

I tried to do the same with TLP, but no luck here.

CPU:
  Info: quad core model: 11th Gen Intel Core i7-1165G7
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Acer Incorporated
    ALI driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401

You should put it in /etc/modprobe.d/disable_AudioPowerSave.conf for example, like this:

options snd_hda_intel power_save=0

More here Advanced Linux Sound Architecture/Troubleshooting - ArchWiki

1 Like

But isn’t

modprobe snd_hda_intel power_save=0

and

options snd_hda_intel power_save=0

the same?

I know that modprobe isn’t persistent, but it should work for current boot.
And without any changes there is cracking and popping in headphones all the time (when I don’t listen to any audio (music or movie)) in random intervals

After:

sudo rmmod -f snd_hda_intel

and

sudo modprobe snd_hda_intel power_save=0 power_save_controller=N

There are cracks and pops only when audio starts and stops

Kernel module parameters are persistent if used n a configuration file /etc/modprobe.d/*.conf

There are cracks and pops only when audio starts and stops