macbook: legacy DRM iface for immediate cursor updates

This commit is contained in:
rope 2026-07-25 08:45:07 +01:00
parent acb090fbf5
commit 2244f339c9

View file

@ -40,6 +40,11 @@
hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver ];
environment.sessionVariables.LIBVA_DRIVER_NAME = "i965";
# Legacy DRM iface: cursor plane moves via immediate ioctl instead of
# vblank-batched atomic commits — cursor latency drops below the 60Hz
# frame floor. Revert if output glitches (legacy path is less tested).
environment.sessionVariables.AQ_NO_ATOMIC = "1";
# 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
# (7.x) — broadcom-sta's wl_cfg80211 ops no longer match the cfg80211 API.