By default this returns 10. If I set it to 0 manually using something like
echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save
the popping sound stops. Obviously I want this set to 0 automatically though. However making a .conf file in /etc/modprobe.d with
options snd_hda_intel power_save=0
inside it, running dracut -f and rebooting doesn’t actually seem do anything since power_save is still set to the default value of 10. I’ve also tried doing
I just tried this and it worked for me. You mean you made a file with a name that ends in .conf right? (I named mine my-sound.conf.) Also, I didn’t need to run dracut. I did reboot though.
It looks like it’s interacting with the i915 driver and that has its own power save settings:
$ modinfo -p i915 | grep power
enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int)
disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
Maybe you also need to disable power saving on your video driver? I don’t know. There are also power save settings for the whole PCI controller (pcie_aspm=off). That might work as a sort of “big hammer” approach.
Double checking this on my laptop, and assuming it’s the same problem.
After installing tuned-ppd:
The power save and balanced profile set the power_save value to 10.
The performance profile uses what ever the kernel setting is.
If you want to utilize the kernel settings and leave tuned installed:
copy the profiles over to /etc/tuned/profiles