summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-07-27 11:21:21 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-07-27 11:21:21 +0200
commit31a9db9cb4ecf9deecf313a09ffc8ece1299e5d4 (patch)
treecfcc5eafc0f3ec23e89757ff3926b9537daed324
parent979769484f6193d162b0687cb0b1e160460a20d6 (diff)
os: kernel: disable gpu power management, limit processor sleep states
see also https://linuxreviews.org/Intel_graphics#cite_note-baytrailflaw-6
-rw-r--r--nixos/hardware-configuration.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix
index d77bde9..6166d92 100644
--- a/nixos/hardware-configuration.nix
+++ b/nixos/hardware-configuration.nix
@@ -13,7 +13,8 @@
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
- # boot.kernelParams = [ "i915.dc_enable=0" ];
+ boot.kernelParams =
+ [ "i915.dc_enable=0" "intel_idle.max_cstate=1" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/f5809224-8478-474f-b25d-dde1ada37957";