feat: fix temperature ranaway; add hibernation from sway

This commit is contained in:
Leon Schwarzäugl 2025-03-26 21:53:39 +01:00
parent 9a1143d1f4
commit 3254d748fd
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 15 additions and 9 deletions

View file

@ -35,7 +35,10 @@
kernelModules = [ "kvm-amd" ];
kernelParams = [
"mem_sleep_default=deep"
"amd_pstate=passive"
# supposedly, this helps save power on laptops
# in reality (at least on this model), this just generate excessive heat on the CPUs
# "amd_pstate=passive"
# Fix screen flickering issue at the cost of battery life (disable PSR and PSR-SU, keep PR enabled)
# TODO: figure out if this is worth it
# test PSR/PR state with 'sudo grep '' /sys/kernel/debug/dri/0000*/eDP-2/*_capability'