RX 9060 XT (RDNA4): window stays black though the title renders and presents; GE-Proton11-16 kills the X server #377

Open
opened 2026-12-03 21:16:59 +00:00 by github-bot · 1 comment
Owner

@⁠czar3o5 on GitHub · 2026-12-03 21:13 UTC · original

RX 9060 XT (GFX1200): the title renders and presents, the window never receives a frame — on every configuration; GE-Proton11-16 additionally kills the X server CachyOS, kernels 7.3.6-3 and 6.18.65-lts, Mesa 26.3.1 from setup.sh, vkd3d-proton 71cae09, KDE 6.8.3. Tested 4e02e38, 241c79e and 0b652f8; KWin's Xwayland and a bare Xorg, with and without a WM.

On GE-Proton11-16 the X server dies at the first presented frame (miValidateTree+0x370, SIGSEGV at 0x8) — Xwayland and Xorg alike. Vanilla Wine 11.23 never dies.
On vanilla Wine the title runs and presents (Series X/1440p: frame=16384 draws=98304 after 94 680 pipelines prepared in ~16 min; Series S/1080p: frame=4096 draws=20480), GTT stays ~170 MiB of 12 288, the window exists (WM_NAME = "VIctory"), and a full-screen x11grab of it is uniformly black (mean 0.0, 2-3 colours). VICTORY_CAPTURE frames do have content (frame-1024: 573 colours), so the fault is between the presented texture and the swap chain.
Independent of: VICTORY_PAGES 0/on, VICTORY_UPSCALER 6/7, VICTORY_PLANES/VICTORY_UI_PLANE on/off, present mode, HDR, RA24, KEEP_FREE 1024/2048, and a patched title_window() that picks the largest visible window instead of the first (no difference — reverted)

01-xorg-crash.log
03-seriesx-test.log

**@⁠czar3o5** on GitHub · 2026-12-03 21:13 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/377) RX 9060 XT (GFX1200): the title renders and presents, the window never receives a frame — on every configuration; GE-Proton11-16 additionally kills the X server CachyOS, kernels 7.3.6-3 and 6.18.65-lts, Mesa 26.3.1 from setup.sh, vkd3d-proton 71cae09, KDE 6.8.3. Tested 4e02e38, 241c79e and 0b652f8; KWin's Xwayland and a bare Xorg, with and without a WM. On GE-Proton11-16 the X server dies at the first presented frame (miValidateTree+0x370, SIGSEGV at 0x8) — Xwayland and Xorg alike. Vanilla Wine 11.23 never dies. On vanilla Wine the title runs and presents (Series X/1440p: frame=16384 draws=98304 after 94 680 pipelines prepared in ~16 min; Series S/1080p: frame=4096 draws=20480), GTT stays ~170 MiB of 12 288, the window exists (WM_NAME = "VIctory"), and a full-screen x11grab of it is uniformly black (mean 0.0, 2-3 colours). VICTORY_CAPTURE frames do have content (frame-1024: 573 colours), so the fault is between the presented texture and the swap chain. Independent of: VICTORY_PAGES 0/on, VICTORY_UPSCALER 6/7, VICTORY_PLANES/VICTORY_UI_PLANE on/off, present mode, HDR, RA24, KEEP_FREE 1024/2048, and a patched title_window() that picks the largest visible window instead of the first (no difference — reverted) [01-xorg-crash.log](https://github.com/user-attachments/files/35837030/01-xorg-crash.log) [03-seriesx-test.log](https://github.com/user-attachments/files/35837031/03-seriesx-test.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 21:17:01 +00:00
Author
Owner

@⁠Mart7Mcfl7 on GitHub · 2026-12-06 01:38 UTC · original

I had the same symptoms (RDNA 4 / R9700, GE-Proton11-16, KDE Plasma 6.6: Xwayland and Xorg both dying at the first presented frame, and on native Wayland a thin black bar while the log shows frames presented). In my case it was the Wine prefix, as described in the comment on #268.

Check (in the checkout):

grep -A25 'WindowMetrics' local/prefix/user.reg | grep -E 'Height|Width'

Mine had "CaptionHeight"="5434094" and "MenuHeight"="10867998". The 32-bit FreeType was missing when the prefix was created (Wine logs that FreeType could not be loaded), so the caption/menu heights came out in the millions. make_window then asks for a window about 5434180x1. You can see it in the X11 window's size hints (xprop WM_NORMAL_HINTS: min = max size 5434180 by 1), and the swap chain never gets a visible surface.

Fix (game and wineserver stopped, user.reg backed up):

sed -i -e 's/^"CaptionHeight"=.*/"CaptionHeight"="18"/' \
       -e 's/^"SmCaptionHeight"=.*/"SmCaptionHeight"="17"/' \
       -e 's/^"MenuHeight"=.*/"MenuHeight"="18"/' local/prefix/user.reg

and install the 32-bit FreeType (Debian/Ubuntu: libfreetype6:i386, Fedora: freetype.i686) so a rebuilt prefix doesn't get the same values.

After that, the window opens at the requested size and the game image shows. On the X11 path the crashes also stopped.

About the X server crash: with Ubuntu's debug symbols for Xwayland 24.1.10, the backtrace is Dispatch → compRedirectWindow → compHandleMarkedWindows → miValidateTree → NULL read (regionstr.h:209). Wine's winex11 composite-redirects the Vulkan window, and the server crashes revalidating the window tree; the giant window from the broken metrics is very likely what sends it down that path. Before finding the prefix fix, hiding libXcomposite from Wine also avoided the crash (an empty stub libXcomposite.so.1 first in LD_LIBRARY_PATH makes winex11 disable XComposite), but the window stayed invisible until the metrics were fixed.

**@⁠Mart7Mcfl7** on GitHub · 2026-12-06 01:38 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/377#issuecomment-7449337425) I had the same symptoms (RDNA 4 / R9700, GE-Proton11-16, KDE Plasma 6.6: Xwayland and Xorg both dying at the first presented frame, and on native Wayland a thin black bar while the log shows frames presented). In my case it was the Wine prefix, as described in the comment on #268. **Check** (in the checkout): ```sh grep -A25 'WindowMetrics' local/prefix/user.reg | grep -E 'Height|Width' ``` Mine had `"CaptionHeight"="5434094"` and `"MenuHeight"="10867998"`. The 32-bit FreeType was missing when the prefix was created (Wine logs that FreeType could not be loaded), so the caption/menu heights came out in the millions. `make_window` then asks for a window about 5434180x1. You can see it in the X11 window's size hints (`xprop WM_NORMAL_HINTS`: min = max size 5434180 by 1), and the swap chain never gets a visible surface. **Fix** (game and `wineserver` stopped, `user.reg` backed up): ```sh sed -i -e 's/^"CaptionHeight"=.*/"CaptionHeight"="18"/' \ -e 's/^"SmCaptionHeight"=.*/"SmCaptionHeight"="17"/' \ -e 's/^"MenuHeight"=.*/"MenuHeight"="18"/' local/prefix/user.reg ``` and install the 32-bit FreeType (Debian/Ubuntu: `libfreetype6:i386`, Fedora: `freetype.i686`) so a rebuilt prefix doesn't get the same values. After that, the window opens at the requested size and the game image shows. On the X11 path the crashes also stopped. About the X server crash: with Ubuntu's debug symbols for Xwayland 24.1.10, the backtrace is `Dispatch → compRedirectWindow → compHandleMarkedWindows → miValidateTree → NULL read (regionstr.h:209)`. Wine's winex11 composite-redirects the Vulkan window, and the server crashes revalidating the window tree; the giant window from the broken metrics is very likely what sends it down that path. Before finding the prefix fix, hiding libXcomposite from Wine also avoided the crash (an empty stub `libXcomposite.so.1` first in `LD_LIBRARY_PATH` makes winex11 disable XComposite), but the window stayed invisible until the metrics were fixed.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#377
No description provided.