From d5cfbd27b40d3445b21be861daef8f6424dae889 Mon Sep 17 00:00:00 2001 From: omarchybot <317366263+omarchybot@users.noreply.github.com> Date: Wed, 2 Dec 2026 00:32:21 +0100 Subject: [PATCH] Stop scanning out every fullscreen window directly direct_scanout = 1, added by #20584 for fullscreen gaming, makes any solitary fullscreen surface a scanout candidate. Entering scanout switches the output to the client's buffer format and leaving it switches back, and each switch is a full modeset: a black flash every time a fullscreen window stops being scannable, seen on NVIDIA and AMD (#20683). On Apple Silicon the display controller rejects the GPU's tiled client buffers outright, so fullscreen goes black (#21072). Removing the setting returns to Hyprland's default of 0; a user who wants scanout for games can set it in their own config. The VRR and tearing halves of #20584 were already turned off in #21178 and #20932. Fixes #20683 Fixes #21072 Co-Authored-By: Claude Opus 5.5 --- default/hypr/looknfeel.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/default/hypr/looknfeel.lua b/default/hypr/looknfeel.lua index 1c227794f483..09d3dd38be0c 100644 --- a/default/hypr/looknfeel.lua +++ b/default/hypr/looknfeel.lua @@ -154,9 +154,6 @@ hl.config({ -- Keep HDR displays in SDR when a window goes fullscreen. Auto-switching -- left SDR content looking washed out on the Pro Display XDR. cm_auto_hdr = 0, - -- Scan out all fullscreen windows directly; 2 (auto) misses games that - -- don't set Wayland's game content-type hint. - direct_scanout = 1, }, binds = {