From a731bb1732806cf6e000145b33e9619cccde3e30 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 24 Jul 2026 15:52:54 +0100 Subject: [PATCH] macbook: pin i965 VA-API driver, drop unusable iHD --- hosts/hardware/FredOS-Macbook.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/hardware/FredOS-Macbook.nix b/hosts/hardware/FredOS-Macbook.nix index 2feca9d..78f2067 100644 --- a/hosts/hardware/FredOS-Macbook.nix +++ b/hosts/hardware/FredOS-Macbook.nix @@ -35,12 +35,10 @@ hardware.enableRedistributableFirmware = true; hardware.facetimehd.enable = true; - # VA-API hardware video decode. iHD covers Broadwell/gen8+ (2014-2015), - # i965 covers Haswell/gen7.5 (2013); libva picks whichever the GPU is. - hardware.graphics.extraPackages = with pkgs; [ - intel-media-driver - intel-vaapi-driver - ]; + # VA-API hardware video decode. This is a Haswell-ULT GPU (gen7.5) → i965; + # iHD is gen8+ only and can't init here, so pin the name to skip its probe. + hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver ]; + environment.sessionVariables.LIBVA_DRIVER_NAME = "i965"; # Pin to the 6.12 LTS kernel: the out-of-tree broadcom_sta (Wi-Fi) and # facetimehd (iSight) modules don't build against linuxPackages_latest