diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-07-27 11:21:21 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-07-27 11:21:21 +0200 |
| commit | 31a9db9cb4ecf9deecf313a09ffc8ece1299e5d4 (patch) | |
| tree | cfcc5eafc0f3ec23e89757ff3926b9537daed324 /nixos | |
| parent | 979769484f6193d162b0687cb0b1e160460a20d6 (diff) | |
os: kernel: disable gpu power management, limit processor sleep states
see also https://linuxreviews.org/Intel_graphics#cite_note-baytrailflaw-6
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/hardware-configuration.nix | 3 |
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"; |
