Per-lane: two wave32 compute programs do not finish on the GPU, two wave64 ones take 190–360 ms a call (retail title, NVIDIA) #2647
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2647
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?
@voiceovarian1-max on GitHub · 2026-11-26 04:59 UTC · original
With
XCL_PER_LANE=1the retail title (TitleID 7952987A, the one of #505) loses its device at the first world frames: the per-lane form of two wave32 compute programs does not finish on the GPU. With the per-lane form kept to wave64 programs there is no hang, but two small programs take 189 ms and 357 ms a call and the world runs at 0.5 fps.Setup: #2057's head
4df1e6e(onmain568e7db, so without the per-lane fixes merged or opened since: #2117, #2128, #2503, #2321 …) plus local changes outside the recompiler. Linux 7.3, Proton Experimental's Wine, vkd3d-proton 3.1 with the XCL patch, RTX 4070 Ti 12 GB (driver 620.73.04), i7-14700K.XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PER_LANE=1 XCL_GPU_PROFILE=1, Series S, runs of 120–200 s. The programs are named byXCL_GPU_PROFILE.[SHADER]hashXCL_PER_LANE=1a2325a5828f82784RUNNING for 4411 ms and not finished, Xid 109 (CTX SWITCH TIMEOUT), device removed at ~72 s6f2d17214d434d66RUNNING for 5811 ms and not finished, device removed at ~74 s4ef76f69bf3b5606be7a084f47ea94d556c0cd3b82a00c6e9.8 ms a call (9.6 in the per-instruction form),7bb2d0b9894ded7f20.0 ms (21.2),a74706fb8f96ade966 µs (72).a branch on whether any lane of a mask is set, with lanes in EXEC without its bit215,unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)207,unsupported IMAGE_SAMPLE_L / IMAGE_LOAD / IMAGE_SAMPLE_LZ / IMAGE_STORE (it reads register N the per-lane form did not pass)194,EXEC as a number in the split form where some lanes are elsewhere30,a value written while some lanes were elsewhere, read after they met again27.Not tested: current
mainor a branch with the open per-lane fixes (#2458's, #1889's); Windows; an AMD card; whether the two wave32 programs loop without end or only run very long (the driver gave up after ~5 s each time).I can rerun on a commit you name. Without
XCL_PER_LANEthe same build runs this scene for 300 s (3–13 fps with placeholder textures).AI use: found, measured and written with Claude Code (Claude Fable 5.2).