From 2244f339c93a263d7453ea50f873077e886877a7 Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 25 Jul 2026 08:45:07 +0100 Subject: [PATCH] macbook: legacy DRM iface for immediate cursor updates --- hosts/hardware/FredOS-Macbook.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/hardware/FredOS-Macbook.nix b/hosts/hardware/FredOS-Macbook.nix index 78f2067..f5656eb 100644 --- a/hosts/hardware/FredOS-Macbook.nix +++ b/hosts/hardware/FredOS-Macbook.nix @@ -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.