macbook: pin i965 VA-API driver, drop unusable iHD

This commit is contained in:
rope 2026-07-24 15:52:54 +01:00
parent ec26df5b80
commit a731bb1732

View file

@ -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