From 31a9db9cb4ecf9deecf313a09ffc8ece1299e5d4 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Wed, 27 Jul 2022 11:21:21 +0200 Subject: os: kernel: disable gpu power management, limit processor sleep states see also https://linuxreviews.org/Intel_graphics#cite_note-baytrailflaw-6 --- nixos/hardware-configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3