diff --git a/nix/configuration/hosts/odo/power_management.nix b/nix/configuration/hosts/odo/power_management.nix index dff8738..3540c5c 100644 --- a/nix/configuration/hosts/odo/power_management.nix +++ b/nix/configuration/hosts/odo/power_management.nix @@ -11,4 +11,19 @@ environment.systemPackages = with pkgs; [ 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" + ]; }