Add power management kernel parameters.

This commit is contained in:
Tom Alexander 2024-12-31 10:27:06 -05:00
parent d9bc4f15d8
commit e22b5c1c6c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -11,4 +11,19 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
powertop powertop
]; ];
# 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.
# amdgpu.dcdebugmask=0x10 :: Allegedly disables Panel Replay from https://community.frame.work/t/tracking-freezing-arch-linux-amd/39495/32
boot.kernelParams = [
"amdgpu.abmlevel=3"
"pcie_aspm=force"
"pcie_aspm.policy=powersupersave"
"nowatchdog"
"amdgpu.dcdebugmask=0x10"
];
} }