Add power saving settings.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Disable the hardware watchdog inside AMD 700 chipset series for power savings.
|
||||
blacklist sp5100_tco
|
||||
@@ -0,0 +1,5 @@
|
||||
options iwlwifi power_save=1
|
||||
|
||||
options iwlwifi uapsd_disable=0
|
||||
|
||||
options iwlmvm power_scheme=3
|
||||
@@ -0,0 +1,2 @@
|
||||
# Sound power-saving was causing chat notifications to be inaudible.
|
||||
# options snd_hda_intel power_save=1
|
||||
@@ -18,3 +18,28 @@
|
||||
group: wheel
|
||||
loop:
|
||||
- screen_brightness
|
||||
|
||||
- name: Install module config
|
||||
copy:
|
||||
src: "files/{{ item }}_modprobe.conf"
|
||||
dest: "/etc/modprobe.d/{{ item }}.conf"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- iwlwifi
|
||||
- snd_hda_intel
|
||||
- disable_sp5100_watchdog
|
||||
|
||||
- name: Configure kernel command line
|
||||
zfs:
|
||||
name: "zroot/linux"
|
||||
state: present
|
||||
extra_zfs_properties:
|
||||
# amdgpu.abmlevel=3 :: Automatically reduce screen brightness but tweak colors to compensate for power reduction.
|
||||
# pcie_aspm=force pcie_aspm.policy=powersupersave :: Enable PCIe active state power management for power reduction.
|
||||
# nowatchdog :: Disable watchdog for power savings (related to disable_sp5100_watchdog above).
|
||||
# amd_pstate=passive :: Fully automated hardware pstate control.
|
||||
# amd_pstate=active :: Same as passive except we can set the energy performance preference (EPP) to suggest how much we prefer performance or energy efficiency.
|
||||
# amd_pstate=guided :: Same as passive except we can set upper and lower frequency bounds.
|
||||
"org.zfsbootmenu:commandline": "rw quiet amdgpu.abmlevel=3 pcie_aspm=force pcie_aspm.policy=powersupersave nowatchdog amd_pstate=passive"
|
||||
|
||||
Reference in New Issue
Block a user