From 7e6f5a6d6f329c890a4259b03dbeded189580003 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 3 Jun 2019 18:07:45 +0200 Subject: Optimise Intel GPU setup --- modules/hardware/intel-gpu.nix | 5 ----- modules/machines/t470s.nix | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/hardware/intel-gpu.nix b/modules/hardware/intel-gpu.nix index 6e0c207..fc6b6fa 100644 --- a/modules/hardware/intel-gpu.nix +++ b/modules/hardware/intel-gpu.nix @@ -11,10 +11,5 @@ boot.earlyVconsoleSetup = true; boot.initrd.kernelModules = [ "i915" - "intel_agp" - ]; - boot.kernelModules = pkgs.lib.mkBefore [ - "i915" - "intel_agp" ]; } diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix index 1bffb4c..81a889e 100644 --- a/modules/machines/t470s.nix +++ b/modules/machines/t470s.nix @@ -22,6 +22,12 @@ (127, 80, 32767) ''; + boot.kernelParams = [ + "i915.enable_guc=2" + "i915.enable_fbc=1" + "i915.enable_psr=2" + ]; + systemd.services.ModemManager.enable = true; hardware.pulseaudio.extraConfig = '' -- cgit 1.4.1