Seven compute pipelines hang the NVIDIA compiler in victory warm (RTX 5080), including CS_Prop_BatchNoCull #133
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/TaynanGT--Vice-Tay#133
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?
@nullexxx on GitHub · 2026-11-27 03:23 UTC · original
Vice-Tay build
0ef44bc(main, PR #116), release build (cargo xwin build --target x86_64-pc-windows-msvc --release -p victory)Hardware and graphics driver
NVIDIA GeForce RTX 5080 (16 GB, device 0x2c02), Linux (CachyOS), GE-Proton11-14 with
PROTON_ENABLE_WAYLAND=1, vkd3d-proton. NVIDIA driver: 620.73.04How to reproduce
Series S profile. After the translator version bump in #116, I ran
victory shaders, thenvictory warm --used --againwithoutVICTORY_SKIP_PIPELINES. Of the 2,193 pipelines that earlier runs drew with, 2,186 were made and 7 were killed after the 180 s limit (warm-bad.txt). Each one holds a single compute shader:d48e9d846f068fb47c251acb6478bd42fdd56d97a806bccaCS_Prop_BatchNoCull9ba3897de092f4bd733fbd441cdc936aa1b20bc47e3c9597CS_RTDistantShadowTrace32_Tiledb76eb6a5c03d4493c963e136345e1a72e8c962358d862e3fCS_RTDistantShadowTraceLeakPlug32_Tiled4cb6add108d16861be59755a103be250afeea48bbb9913adCS_RTDistantShadowTraceLeakPlugTemporalUpsample4X32_Tiledf266987230dbf305f9c0b288b0a825bd17829ac71aab4e8dCS_RTDistantShadowTraceTemporalUpsample4X32_Tiledbdd744e4fde8d4f56fc4145013952ace559d9f0184e15fe3CS_TraceShadowRays_Checkerboardbda9fee18212cf13d9b4263780179ee632ed072b9f845048CS_LaserLightShadowRaytracingThe same shaders hang a running title's pipeline workers, so on this card they have to stay in
VICTORY_SKIP_PIPELINESfor the game to keep running.What you observed
CS_Prop_BatchNoCull(fdd56d97a806bcca,prop_nocullindraw.rs's culling census) is the one that matters. Skipping it drops its dispatch every frame (a dispatch without a host pipeline dropped), and the run shows large polygon flashes on props. The six ray-traced shadow passes find nothing with the BVH builder off, but skipping them leaves their outputs unwritten rather than empty, which may contribute to dark areas.For reference,
a53a7977fe762268(CS_IrradianceCache_Shade) andbe14e72d86362031(CS_IrradianceCache_ShadeSecondary) compile fine. With them running and the BVH builder off, the picture gets RGB-noise textures and about +12 ms of GPU time per frame, so they stay skipped as well.Diagnostic excerpt
I can test builds or capture more data on this card.
@TaynanGT on GitHub · 2026-11-27 03:39 UTC · original
Thanks for taking this apart on the 5080, @nullexxx. Let's start with
CS_Prop_BatchNoCull(fdd56d97a806bcca), since it drops a dispatch and you can see the polygon flashes.Could you compare
2dd3479b5e485d20184f30fce93a8ba21ef48377(the parent before #116) and0ef44bc36e354ad18810fb5e25cad47f832266a8on the same Proton, vkd3d-proton and driver combination? Use the same settings and separate fresh caches, and rebuild the translation and pipeline recipe on each revision. For that pipeline, the recipe key, pass/timeout, elapsed time and first driver error are enough. If there’s a small synthetic compute shader that reproduces the hang, a title-free fixture would also help. Please keep the game containers and raw pipeline captures local.@nullexxx on GitHub · 2026-11-27 03:39 UTC · original
Follow-up: ran `victory warm --these 51127` (fdd56d97a806bcca, CS_Prop_BatchNoCull) with no time limit. The shader translates; pipeline creation then sits idle (near 0% CPU, system load average 0.17) for over 9 minutes with no result. So it looks like a hang or deadlock in the driver's compile, not a slow compile. NVIDIA 620.73.04, RTX 5080, GE-Proton11-14.
@TaynanGT on GitHub · 2026-11-27 03:44 UTC · original
Thanks for isolating
CS_Prop_BatchNoCull. The shader translating successfully and the single pipeline stalling past nine minutes narrows this to host pipeline creation on your setup. For the comparison, please stop each attempt at 180 seconds.--theseruns the worker directly, so it bypasses the normal timeout, and the numeric index can move when the recipe list changes. Please match by the shader hash and report the recipe key on each revision.@nullexxx on GitHub · 2026-11-27 04:01 UTC · original
A/B done as asked: same Proton (GE-Proton11-14), vkd3d-proton 3.2.0, NVIDIA 620.73.04, RTX 5080, same settings (no VICTORY_WAVE_* or skip variables), separate fresh translation, vkd3d and NVIDIA caches per revision.
victory shadersthenvictory warm --usedon each, so the normal 180 s limit applied. Matched by shader hash:fdd56d97a806bcca(CS_Prop_BatchNoCull) recipe key2dd3479c27d712c9d7f1bdad48e9d846f068fb47c251acb6478bd420ef44bc92338d86ae2d765dd48e9d846f068fb47c251acb6478bd42Both revisions: 2,816 pipelines, 2,809 made, the same 7 timed out with the same recipe keys (the six RT shadow passes from the first post, plus this one). So it is not a regression from #116.
"None logged" means vkd3d-proton at
VKD3D_DEBUG=warnprinted nothing for these pipelines; the only warnings are OpenVR/OpenXR startup noise, so the worker is killed before the driver reports anything. Earlier, with no time limit, the same pipeline sat at near 0% CPU for over 9 minutes.One caveat: both runs used the same recorded recipe (
known-pipelines.bin/known-shaders.binfrom my play sessions, copied into each fresh cache), not one re-recorded per revision. The recipe format code (known.rs,warm.rs) is identical between the two revisions. Happy to re-record per revision if you want that. No synthetic fixture yet; game containers and captures stay local.@TaynanGT on GitHub · 2026-11-27 04:02 UTC · original
Thanks for running the matched pair, @nullexxx. The same seven recipe keys timed out on both revisions. That puts this failure before #116 on your RTX 5080 setup. Reusing one recorded recipe is useful here because both builds were given the same pipelines, with fresh caches for each. There’s no need to record it again for this comparison.
If you have another vkd3d-proton build available, the most useful next check is the single
fdd56d97a806bccapipeline with the NVIDIA driver and recipe held fixed. The build version and pass or 180 s timeout are enough. We can keep the game files and captures local.@nullexxx on GitHub · 2026-11-27 04:39 UTC · original
Also reproduced on stock GE-Proton11-14 (unmodified wineserver), fresh caches, same settings,
victory warm --usedwith the 180 s limit: the same 7 pipelines time out, same recipe keys, the other 2,809 are made. So the hangs are not tied to a custom wineserver.@TaynanGT on GitHub · 2026-11-27 04:42 UTC · original
Thanks for checking stock GE-Proton11-14, @nullexxx. The same seven timeouts and 2,809 builds give us a reproduction with the unmodified wineserver. The next useful split is still one recipe on a second vkd3d-proton build with the NVIDIA driver and cache setup held fixed. The version and pass or 180-second timeout for
fdd56d97a806bccaare enough.@TaynanGT on GitHub · 2026-11-27 07:01 UTC · original
@nullexxx #184 is on
main.victory warm --used --againnow applies the sameVICTORY_SKIP_PIPELINESlist before it starts workers. I checked the real CLI with a synthetic recorded recipe: it queued zero workers and left the warm history empty. Removing a hash makes its recipes eligible again. That gives you a way to skip the known RTX 5080 hangs during warm-up while we track the compiler failure.@TaynanGT on GitHub · 2026-11-27 08:51 UTC · original
@nullexxx Two upstream tests cover the exact
fdd56d97a806bccaprogram. The loop-latch changes fixed it in the Linux test on fxceless #257, and Marvisak #2309 confirmed it on an RTX 5080 with vkd3d-proton 3.2.0. I’ve ported that emitter change and its regression tests in #198. A Proton warm run on that revision will check the same stall on our tree. fxceless test · RTX 5080 test@nullexxx on GitHub · 2026-11-27 13:09 UTC · original
Tested #198 on the RTX 5080 under Proton: all seven formerly hanging pipelines,
CS_Prop_BatchNoCullincluded, now build in under a second each, with no timeouts in a fullwarm --used. Details in #198.@TaynanGT on GitHub · 2026-11-27 13:16 UTC · original
@nullexxx Confirmed for the reported RTX 5080 and Proton setup: all seven previously blocked recipes made it in under a second. The #198 details give us the driver, fresh-cache conditions and full recipe count. I’ll carry that result into the updated branch.
@nullexxx on GitHub · 2026-11-27 13:18 UTC · original
In-game check of #198 on the RTX 5080 (Proton, same setup as the warm test), with the seven shaders taken out of
VICTORY_SKIP_PIPELINES; only the two irradiance-cache passes stay skipped, for the RGB noise they leave with the builder off.first bindeach), and none hung or stopped the run.a dispatch without a host pipeline droppedwarnings thatfdd56d97a806bccaproduced every session are gone. One such line remains, for an unrelated shader (39f0e9aeb156a61c, once).From my side, #198 can come out of draft.
@TaynanGT on GitHub · 2026-11-27 13:23 UTC · original · edited 2026-11-27 13:26 UTC
@nullexxx All seven binding in play is the follow-up the warm run needed. The opening shot had no observed prop flashes in your run, and the 19.8 FPS median puts the result in context. Windows CI passed and #198 is now in main at
4fb1569, with translator version 9.