Black horizontal band across the whole desktop while the game runs (RX 9060 XT, Bazzite KDE Wayland); KWin logs GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT #268
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#268
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Jruiz1001 on GitHub · 2026-12-02 23:03 UTC · original
Summary
./run.sh playstarts, loads all pipelines, reaches the menu and, according tothe log, presents frames normally (frame=16384, ~100 fps in the menu). But a
black horizontal band appears across my whole desktop and no image of the game
is ever shown. The band disappears when the game process is killed. KWin logs
Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"about twiceper second, only while the game runs. The kernel log is clean (no GPU reset,
page fault or ring timeout).
Environment
241c79e303displays.txt
game-end.log
game-start.log
gpus.txt
kernel.log
kwin.log
system.txt
versions.txt
vulkan.txt
Steps to reproduce
./setup.sh(finished without errors)./run.sh shaders(hits=2692 misses=0)./run.sh playWhat I tried (same black band in every case unless noted)
taking down other X11 apps
gamescope -W 1920 -H 1080 -f -- ./run.sh play: loopsFailed to create swapchain - vr: VK_ERROR_OUT_OF_HOST_MEMORYenv -u DISPLAY ./run.sh play: no Xwayland crash, same bandRADV_DEBUG=nodccVICTORY_FULLSCREEN=1,VICTORY_OUTPUT=1920x1080and1280x720(the band keeps the same size and position)
Logs
Attached: game-start.txt, game-end.txt, kwin.txt, kernel.txt, displays.txt,
gpus.txt, vulkan.txt, system.txt, versions.txt
Questions
or a KWin Wayland session known to be unsupported?
attach the game's buffers?
@El-Biiscuit on GitHub · 2026-12-03 00:47 UTC · original
I hit the same symptom (log shows frames presented, ~100 fps in the menu, but only a black horizontal band on screen, clean kernel log) and traced it to the Wine prefix rather than the GPU path. It may be the same cause here.
Setup: RX 6700 XT, Fedora 45, KDE Plasma Wayland, GE-Proton11-16,
f7f0360.What was wrong: the prefix had absurd window metrics:
They were written when
setup.shranwineboot, on a host without the 32-bit FreeType (freetype.i686on Fedora). Wine derives these heights from font metrics, so that is the likely origin, though I did not prove it.Why it gives a black band:
make_windowasks for the output size throughAdjustWindowRect+CreateWindowExW. With a 5.4M px caption, the window becomes ~5434188 px wide with a client area 0–1 px high.WINEDEBUG=+waylanddrvshows it:vkGetPhysicalDeviceSurfaceCapabilitiesKHRthen reportsmaxImageExtent0, vkd3d-proton'sdxgi_vk_swap_chain_is_occluded()treats the swap chain as occluded, andPresentreturnsDXGI_STATUS_OCCLUDED(0x087A0001, logged once as "swap chain did not present the frame"). Nothing is ever shown. With the same prefix, Xwayland also aborted (compRedirectWindow→miValidateTree) on the X11 path, and gamescope failed withFailed to create swapchain, vr -1. I have not retested those two paths since the fix, so treat them as related, not confirmed.Check:
Values in the millions are the problem. Normal values are around 17–18 px, or negative twips such as
-270.Fix (with the game and
wineserverstopped, after backing upuser.reg):After that the window is created at the requested size (1920×1080 here), there is no more occlusion, and the game image shows. Installing the 32-bit FreeType before (re)creating the prefix should avoid it.
I don't know whether your prefix has the same values, and I did not see the
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTmessages from KWin. That error would fit a 1-pixel-high surface, but it is unconfirmed.@Jruiz1001 on GitHub · 2026-12-03 04:19 UTC · original
u are the goat now it works