Repository navigation
Stop scanning out every fullscreen window directly - #21211
Merged
Merged
Conversation
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 <noreply@anthropic.com>
Contributor
Confidence Score: 5/5
[Medium impact] This PR appears safe to merge. SummaryRemoves
Reviews (1) · Last reviewed commit: "Stop scanning out every fullscreen windo..." · Reviewed by Greptile |
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
render.direct_scanout = 1, added in #20584 for fullscreen gaming and shipped in 4.6.0-rc2, makes any solitary fullscreen window a scanout candidate. Entering scanout switches the output to the client's buffer format (AR24) and leaving it switches back (XR24), and each switch is a full modeset, so the display flashes black whenever a fullscreen window moves in or out of scanout. That has been reported on NVIDIA and, with an isolated A/B, on AMD (#20683). On Apple Silicon the display controller rejects the GPU's tiled client buffers outright, so fullscreen goes black (#21072).This removes the setting, which returns to Hyprland 0.57.2's default of
0(checked withhyprctl descriptions). A user who wants scanout for games can set it in their ownlooknfeel.lua, which loads after the packaged defaults. The packaged default reaches every install on update, so no migration is needed. The VRR and tearing parts of #20584 were already turned off in #21178 and #20932, so this finishes rolling it back. It also makes the vendor-specific #20912 (NVIDIA →2) and #21085 (Apple Silicon →0) unnecessary.Fixes #20683
Fixes #21072
Reviewed by Opus 5.5 High, which found nothing else setting or depending on the option.
🤖 Generated with Claude Code