Repository navigation
Keep auto direct scanout when NVIDIA drives the display - #20912
vladgabrielboca wants to merge 2 commits into
Conversation
Forcing direct scanout on every fullscreen window (omacom#20584) leaves still fullscreen windows on NVIDIA black: an image in Omaview or a PDF in Papers vanishes and only repaints where the cursor moves. NVIDIA now keeps auto, so games that ask for it still scan out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; the connected-output check addresses the previous hybrid-laptop issue. SummaryKeeps automatic fullscreen scanout when NVIDIA drives a connected display.
Reviews (2) · Last reviewed commit: "Also keep auto scanout for monitors wire..." · Reviewed by Greptile |
A hybrid laptop boots on its iGPU, so omarchy-hw-nvidia-display says no even when an external monitor on its HDMI port is driven by NVIDIA. That monitor kept forced scanout and the black fullscreen images. Check which GPU each connected monitor is wired to as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@dhh @omarchybot keeping auto direct scanout when NVIDIA drives the display is in #21028, including the follow-up for monitors wired to that GPU and
Please consider closing this as superseded only after #21028 is accepted. Leaving the close to you. |
|
Thanks for working this out. Closing in favour of #21211, which takes |
What changes
#20584 set
render.direct_scanout = 1, which scans out every fullscreen window. On NVIDIA that breaks fullscreen windows that hold a still frame. An image in Omaview or a PDF in Papers turns black after a moment, the cursor repaints strips of it as it moves, then the whole frame flashes back and goes black again. Busy windows (video, a browser) hide it because they redraw all the time.When NVIDIA drives the display, this keeps
direct_scanout = 2(auto), so games that send the game content-type hint still scan out. Every other machine keeps1, as #20584 chose. Hybrid laptops where the iGPU drives the display also keep1.default/hypr/nvidia.luaalready works out whether NVIDIA drives the display for its env vars. It now returns that answer, andlooknfeel.lua, which loads after it, picks the scanout mode from it.#20683 is another NVIDIA report against the same default (HDMI format flips and a blinking second monitor). This may help there too, but I haven't checked that setup.
Verification
hyprctl eval 'hl.config({ render = { direct_scanout = 0 } })'stopped the bug in Omaview and Papers; with2from this change it stays fixed../bin/omarchy-hw-nvidia-displayexits 0 here, so this machine gets2.test/shell.d/hyprland-default-config-test.shchecks1without an NVIDIA display and2with one../test/allpasses.1.Videos
Before (direct_scanout = 1, Omaview fullscreen):
omaview-fullscreen-black.mp4
After: the image stays on screen.
screenrecording-2026-11-30_14-54-56.mp4