From 1bc47d8abfb98fda9e90d357d14abded85163b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 29 Sep 2024 14:21:08 +0200 Subject: [PATCH] asus/zenbook/ux371: enable xe driver explicitly --- asus/zenbook/ux371/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/asus/zenbook/ux371/default.nix b/asus/zenbook/ux371/default.nix index 4fcfb28d0..2ea562944 100644 --- a/asus/zenbook/ux371/default.nix +++ b/asus/zenbook/ux371/default.nix @@ -1,8 +1,6 @@ { config, lib, - pkgs, - inputs, ... }: { @@ -13,6 +11,9 @@ ../../battery.nix ]; + # while tiger-lake in general not supported by xe, some chipsets like this one are. + hardware.intelgpu.driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe"; + boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [ "i915.force_probe=!9a49" "xe.force_probe=9a49"