[crash] Linux/Proton, RTX 5090: GPU hang (Xid 13 / Xid 109) a few seconds after the world starts rendering; in-shader constant tables (fixed by VictoryArch's code-table patch, A/B confirmed) #298
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?
What happened
On Linux under Proton, every run hangs 3 to 25 s after the world starts rendering, right after the profile picker and loading screen. It happens every time, in about 25 runs.
Xid 13 ... MMU Fault ... Class 0000cec0. Driver 615.78.08 givesXid 109 CTX SWITCH TIMEOUT.Failed to wait for Vulkan timeline semaphore, vr 2.Each of these still hangs:
The VictoryArch fork (branch darner-up94, commit 7bc606d, on top of
ad070f0) loads and plays on the same PC. Its "M16a" patch moves each shader's constant table out of an in-shaderconstant_globalarray and into a raw root SRV (slots 249, and 248 for pixel shaders). Its comment says the in-shader array becomes a SPIR-VPrivateper-thread array, which NVIDIA's Vulkan driver keeps in per-thread scratch VRAM (about 125 MB per KB of table).That fits all of the above:
A/B with the fork's own exe on the same PC, driver 615.78.08, Proton Experimental, an automated run with the same input each time:
So the in-shader constant table is the cause on this card.
Side finding:
darner playremoves every DARNER_* environment variable it did not set itself (leftovers()in play.rs). Launchers that pass switches through the environment, such as AmericasLauncher on Linux, have them silently ignored. Only --set and darner-settings.txt work.Before you post
RAY TRACING in F1
Off
GPU and driver
RTX 5090 32 GB, NVIDIA 615.78.08 (Linux, open kernel module); also 620.73.04
CPU, RAM and Windows version
Ryzen 9 9950X3D, 64 GB, Arch Linux (kernel 7.2.14), Proton Experimental / GE-Proton11-16 through umu-launcher (AmericasLauncher 0.0.0.3). Works on Windows 11.
Darner release or commit
v2026.12.03.02 (also v2026.12.03.01)
Settings
Series X, 1080p to 1440p, DLSS quality, no frame generation, ray tracing off, AMBIENT 0.8. Added: DARNER_PORT_CONSTANTS=1, DARNER_TEXTURE_NO_WAIT=0.
Log files attached
darner-play-20261204-105840-536.log (stock v2026.12.03.02, hang)
darner-play-20261204-115022-472.log (fork, defaults, no hang)
darner-play-20261204-115323-328.log (fork, DARNER_CODE_TABLE_PRIVATE=1, hang)
Are you working on a fix?
Yes: a port of just the fork's code-table change, on by default under Wine only (DARNER_CODE_TABLE_ROOT=1/0 forces it). A/B on this PC: defaults 2/2 no Xid; DARNER_CODE_TABLE_ROOT=0 gives Xid 109 2/2. PR coming from uuwf0:pr-fix/code-table-root-srv.
A data point from another Ada card under Proton, in case it helps narrow this down. RTX 4080, driver 620.73.04, Proton-CachyOS 11.0 (20261201) with vkd3d-proton master,
VKD3D_CONFIG=no_descriptor_heap,pipeline_library_app_cache,no_upload_hvvandVK_NV_raw_access_chainsdisabled, on a build based onmainf3840d7.We don't hang every run like you do. Today, 1 of 4 runs got
Xid 109 CTX SWITCH TIMEOUT, about 5 s after frame 499, while still on the loading screen from the prison save, with hardware ray tracing on. The same save and settings ran its full 200 s of world right after. In that hang the only busy thread was the title's watchdog (thread start+0x2215eca), counting its ticks. We haven't tried the code-table patch yet.