Seven compute pipelines hang the NVIDIA compiler in victory warm (RTX 5080), including CS_Prop_BatchNoCull #133

Open
opened 2026-11-27 03:27:06 +00:00 by github-bot · 13 comments
Owner

@⁠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.04

How to reproduce

Series S profile. After the translator version bump in #116, I ran victory shaders, then victory warm --used --again without VICTORY_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:

warm key shader hash program
d48e9d846f068fb47c251acb6478bd42 fdd56d97a806bcca CS_Prop_BatchNoCull
9ba3897de092f4bd733fbd441cdc936a a1b20bc47e3c9597 CS_RTDistantShadowTrace32_Tiled
b76eb6a5c03d4493c963e136345e1a72 e8c962358d862e3f CS_RTDistantShadowTraceLeakPlug32_Tiled
4cb6add108d16861be59755a103be250 afeea48bbb9913ad CS_RTDistantShadowTraceLeakPlugTemporalUpsample4X32_Tiled
f266987230dbf305f9c0b288b0a825bd 17829ac71aab4e8d CS_RTDistantShadowTraceTemporalUpsample4X32_Tiled
bdd744e4fde8d4f56fc4145013952ace 559d9f0184e15fe3 CS_TraceShadowRays_Checkerboard
bda9fee18212cf13d9b4263780179ee6 32ed072b9f845048 CS_LaserLightShadowRaytracing

The same shaders hang a running title's pipeline workers, so on this card they have to stay in VICTORY_SKIP_PIPELINES for the game to keep running.

What you observed

CS_Prop_BatchNoCull (fdd56d97a806bcca, prop_nocull in draw.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) and be14e72d86362031 (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

pipeline 51594 4cb6add108d16861be59755a103be250: hung for 180 s
pipeline 51592 9ba3897de092f4bd733fbd441cdc936a: hung for 180 s
pipeline 51597 b76eb6a5c03d4493c963e136345e1a72: hung for 180 s
pipeline 50818 bda9fee18212cf13d9b4263780179ee6: hung for 180 s
pipeline 51127 d48e9d846f068fb47c251acb6478bd42: hung for 180 s
pipeline 51593 f266987230dbf305f9c0b288b0a825bd: hung for 180 s
WARN victory_gpu::draw: a dispatch without a host pipeline dropped pipeline=0x31520e60   # fdd56d97a806bcca
host: 20.6 fps, 48.6 ms/frame (34.0 preparing: copies 22.5 ms ...; 12.5 on the GPU; 10.5 copying back), 5269 draws/frame, dropped 307 without a host pipeline (0 being made) and 598 indirect

I can test builds or capture more data on this card.

**@⁠nullexxx** on GitHub · 2026-11-27 03:23 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133) ### 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.04 ### How to reproduce Series S profile. After the translator version bump in #116, I ran `victory shaders`, then `victory warm --used --again` **without** `VICTORY_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: | warm key | shader hash | program | |---|---|---| | `d48e9d846f068fb47c251acb6478bd42` | `fdd56d97a806bcca` | `CS_Prop_BatchNoCull` | | `9ba3897de092f4bd733fbd441cdc936a` | `a1b20bc47e3c9597` | `CS_RTDistantShadowTrace32_Tiled` | | `b76eb6a5c03d4493c963e136345e1a72` | `e8c962358d862e3f` | `CS_RTDistantShadowTraceLeakPlug32_Tiled` | | `4cb6add108d16861be59755a103be250` | `afeea48bbb9913ad` | `CS_RTDistantShadowTraceLeakPlugTemporalUpsample4X32_Tiled` | | `f266987230dbf305f9c0b288b0a825bd` | `17829ac71aab4e8d` | `CS_RTDistantShadowTraceTemporalUpsample4X32_Tiled` | | `bdd744e4fde8d4f56fc4145013952ace` | `559d9f0184e15fe3` | `CS_TraceShadowRays_Checkerboard` | | `bda9fee18212cf13d9b4263780179ee6` | `32ed072b9f845048` | `CS_LaserLightShadowRaytracing` | The same shaders hang a running title's pipeline workers, so on this card they have to stay in `VICTORY_SKIP_PIPELINES` for the game to keep running. ### What you observed `CS_Prop_BatchNoCull` (`fdd56d97a806bcca`, `prop_nocull` in `draw.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`) and `be14e72d86362031` (`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 ```text pipeline 51594 4cb6add108d16861be59755a103be250: hung for 180 s pipeline 51592 9ba3897de092f4bd733fbd441cdc936a: hung for 180 s pipeline 51597 b76eb6a5c03d4493c963e136345e1a72: hung for 180 s pipeline 50818 bda9fee18212cf13d9b4263780179ee6: hung for 180 s pipeline 51127 d48e9d846f068fb47c251acb6478bd42: hung for 180 s pipeline 51593 f266987230dbf305f9c0b288b0a825bd: hung for 180 s WARN victory_gpu::draw: a dispatch without a host pipeline dropped pipeline=0x31520e60 # fdd56d97a806bcca host: 20.6 fps, 48.6 ms/frame (34.0 preparing: copies 22.5 ms ...; 12.5 on the GPU; 10.5 copying back), 5269 draws/frame, dropped 307 without a host pipeline (0 being made) and 598 indirect ``` I can test builds or capture more data on this card.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:27:07 +00:00
Author
Owner

@⁠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) and 0ef44bc36e354ad18810fb5e25cad47f832266a8 on 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.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209160887) 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) and `0ef44bc36e354ad18810fb5e25cad47f832266a8` on 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.
Author
Owner

@⁠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.

**@⁠nullexxx** on GitHub · 2026-11-27 03:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209169296) 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.
Author
Owner

@⁠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. --these runs 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.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:44 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209233224) 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. `--these` runs 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.
Author
Owner

@⁠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 shaders then victory warm --used on each, so the normal 180 s limit applied. Matched by shader hash:

revision translation fingerprint fdd56d97a806bcca (CS_Prop_BatchNoCull) recipe key result elapsed first driver error
2dd3479 c27d712c9d7f1bda d48e9d846f068fb47c251acb6478bd42 timeout 180 s none logged
0ef44bc 92338d86ae2d765d d48e9d846f068fb47c251acb6478bd42 timeout 180 s none logged

Both 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=warn printed 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.bin from 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.

**@⁠nullexxx** on GitHub · 2026-11-27 04:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209456463) 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 shaders` then `victory warm --used` on each, so the normal 180 s limit applied. Matched by shader hash: | revision | translation fingerprint | `fdd56d97a806bcca` (`CS_Prop_BatchNoCull`) recipe key | result | elapsed | first driver error | |---|---|---|---|---|---| | `2dd3479` | `c27d712c9d7f1bda` | `d48e9d846f068fb47c251acb6478bd42` | timeout | 180 s | none logged | | `0ef44bc` | `92338d86ae2d765d` | `d48e9d846f068fb47c251acb6478bd42` | timeout | 180 s | none logged | Both 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=warn` printed 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.bin` from 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.
Author
Owner

@⁠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 fdd56d97a806bcca pipeline 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.

**@⁠TaynanGT** on GitHub · 2026-11-27 04:02 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209472437) 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 `fdd56d97a806bcca` pipeline 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.
Author
Owner

@⁠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 --used with 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.

**@⁠nullexxx** on GitHub · 2026-11-27 04:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7209987494) Also reproduced on stock GE-Proton11-14 (unmodified wineserver), fresh caches, same settings, `victory warm --used` with 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.
Author
Owner

@⁠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 fdd56d97a806bcca are enough.

**@⁠TaynanGT** on GitHub · 2026-11-27 04:42 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7210027762) 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 `fdd56d97a806bcca` are enough.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 07:01 UTC · original

@⁠nullexxx #184 is on main. victory warm --used --again now applies the same VICTORY_SKIP_PIPELINES list 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 07:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7212071049) @⁠nullexxx #184 is on `main`. `victory warm --used --again` now applies the same `VICTORY_SKIP_PIPELINES` list 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.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 08:51 UTC · original

@⁠nullexxx Two upstream tests cover the exact fdd56d97a806bcca program. 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

**@⁠TaynanGT** on GitHub · 2026-11-27 08:51 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7214007841) @⁠nullexxx Two upstream tests cover the exact `fdd56d97a806bcca` program. 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](https://github.com/fxceless/victory-fork/pull/257#issuecomment-7153494488) · [RTX 5080 test](https://github.com/Marvisak/VIctory/pull/2309)
Author
Owner

@⁠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_BatchNoCull included, now build in under a second each, with no timeouts in a full warm --used. Details in #198.

**@⁠nullexxx** on GitHub · 2026-11-27 13:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7219128184) Tested #198 on the RTX 5080 under Proton: all seven formerly hanging pipelines, `CS_Prop_BatchNoCull` included, now build in under a second each, with no timeouts in a full `warm --used`. Details in #198.
Author
Owner

@⁠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.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:16 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7219267188) @⁠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.
Author
Owner

@⁠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.

  • All seven were bound in play (one first bind each), and none hung or stopped the run.
  • The a dispatch without a host pipeline dropped warnings that fdd56d97a806bcca produced every session are gone. One such line remains, for an unrelated shader (39f0e9aeb156a61c, once).
  • No visible prop flashes in the opening area.
  • Frame rate unchanged: in-world median 19.8 fps over about 2 minutes, at about 7,200 draws per frame.

From my side, #198 can come out of draft.

**@⁠nullexxx** on GitHub · 2026-11-27 13:18 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7219320216) 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. - All seven were bound in play (one `first bind` each), and none hung or stopped the run. - The `a dispatch without a host pipeline dropped` warnings that `fdd56d97a806bcca` produced every session are gone. One such line remains, for an unrelated shader (`39f0e9aeb156a61c`, once). - No visible prop flashes in the opening area. - Frame rate unchanged: in-world median 19.8 fps over about 2 minutes, at about 7,200 draws per frame. From my side, #198 can come out of draft.
Author
Owner

@⁠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.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:23 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/133#issuecomment-7219413968) · 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](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/198) is now in main at `4fb1569`, with translator version 9.
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/TaynanGT--Vice-Tay#133
No description provided.