vk_pipeline_check on an RTX 5090: 1,151 compute pipelines, 0 failures; ~1,000 RaytracingResolve modules exceed 7 minutes each #584

Closed
opened 2026-11-24 09:11:07 +00:00 by dcastell1 · 2 comments
dcastell1 commented 2026-11-24 09:11:07 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by dcastell1 on 2026-11-24T09:11:07Z.


Ran vk_pipeline_check from main@8f481cf16, built on Windows with MSVC 14.44.35207 / RelWithDebInfo, against a full translated corpus (26,503 entries, 23 GB of .spv) on NVIDIA GeForce RTX 5090, driver 621.24, Windows 11 10.0.26300. Counts only; no shader contents or game data.

Compute stages: 1,151 modules and pipelines, 0 failures. --stage cs --jobs 48, split into 85 name-sorted batches because of the two families below:

family modules outcome
everything else 1,151 1,151 modules ok, 1,151 compute pipelines ok, 0 failed, 0 skipped
*_CS_RaytracingResolve_* 996 not measured: over 7 minutes per module and still compiling
compute_graph_ops_CS_* (Concat, MatMul) a handful same: over 6 minutes each, the process dies before they finish

The two excluded families are not failures — the driver simply takes minutes per module (--slow prints them still running at 60 s, 240 s, 420 s), and a batch that contains one never finishes in a useful time. Two of the 300 mesh/ps modules in an earlier pass were the same story at 107 s each.

For the pipeline-preload and driver-blob work this is the useful number: on this driver, 1,151 of the compute corpus compile to a real pipeline in seconds, and a few hundred compile in minutes. A title that binds one of the latter on its main thread will hit a watchdog long before the driver returns, which is what #891 measures from the other side.

Repro (no game files):

runtime\build\vk_pipeline_check.exe <spirv dir> cache.bin --stage cs --jobs 48 --start N --count M

The cache file is resumed between batches (--start/--count over the name-sorted index), so the pass can be picked up where it stopped.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6578408113 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/584). Originally posted by [dcastell1](https://github.com/dcastell1) on 2026-11-24T09:11:07Z. --- Ran `vk_pipeline_check` from `main@8f481cf16`, built on Windows with MSVC 14.44.35207 / RelWithDebInfo, against a **full translated corpus (26,503 entries, 23 GB of `.spv`)** on **NVIDIA GeForce RTX 5090, driver 621.24, Windows 11 10.0.26300**. Counts only; no shader contents or game data. **Compute stages: 1,151 modules and pipelines, 0 failures.** `--stage cs --jobs 48`, split into 85 name-sorted batches because of the two families below: | family | modules | outcome | |---|---|---| | everything else | **1,151** | 1,151 modules ok, 1,151 compute pipelines ok, **0 failed**, 0 skipped | | `*_CS_RaytracingResolve_*` | 996 | not measured: over **7 minutes per module** and still compiling | | `compute_graph_ops_CS_*` (`Concat`, `MatMul`) | a handful | same: over 6 minutes each, the process dies before they finish | The two excluded families are not failures — the driver simply takes minutes per module (`--slow` prints them still running at 60 s, 240 s, 420 s), and a batch that contains one never finishes in a useful time. Two of the 300 mesh/ps modules in an earlier pass were the same story at 107 s each. For the pipeline-preload and driver-blob work this is the useful number: **on this driver, 1,151 of the compute corpus compile to a real pipeline in seconds, and a few hundred compile in minutes.** A title that binds one of the latter on its main thread will hit a watchdog long before the driver returns, which is what #891 measures from the other side. Repro (no game files): ``` runtime\build\vk_pipeline_check.exe <spirv dir> cache.bin --stage cs --jobs 48 --start N --count M ``` The cache file is resumed between batches (`--start/--count` over the name-sorted index), so the pass can be picked up where it stopped.
KretliJ commented 2026-11-30 19:38:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by KretliJ on 2026-11-30T19:38:34Z.


Same driver family here, but the other symptom — in-game execute, not compile time.

RTX 4060 Ti 8 GB, driver 621.01 (your report is on 621.24), build of main 2026-11-30 morning, Series S profile, in-world play (own copy, 1.0.2.1):

  • The two CS_RaytracingResolve_* computes this run binds (2ef7ed9bfc249bff, 07c6ecf2f7ff4e69 under this build's hashes) create fine as pipelines, but their first dispatches hang the GPU: strong hitches of seconds, then TDR — device removed 0x887A0005, twice reproduced in the same spot, ~frame 4300 and ~16500.
  • Left them out with LEONIDA_SKIP_PIPELINES=<the two hashes>: 22,796 frames after, no device-removed, stable 17-18 fps where it always died.

So on 621.x the RaytracingResolve family seems broken on both sides of the driver: minutes per module to compile a pipeline (your #584) and a TDR when an in-game dispatch executes. The LEONIDA_SKIP_PIPELINES workaround holds. Happy to test any candidate fix on the 4060 Ti/621.01.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7289717000 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/584#issuecomment-7289717000). Originally posted by [KretliJ](https://github.com/KretliJ) on 2026-11-30T19:38:34Z. --- Same driver family here, but the other symptom — in-game execute, not compile time. RTX 4060 Ti 8 GB, driver 621.01 (your report is on 621.24), build of main 2026-11-30 morning, Series S profile, in-world play (own copy, 1.0.2.1): - The two `CS_RaytracingResolve_*` computes this run binds (`2ef7ed9bfc249bff`, `07c6ecf2f7ff4e69` under this build's hashes) create fine as pipelines, but their first dispatches hang the GPU: strong hitches of seconds, then TDR — `device removed 0x887A0005`, twice reproduced in the same spot, ~frame 4300 and ~16500. - Left them out with `LEONIDA_SKIP_PIPELINES=<the two hashes>`: 22,796 frames after, no device-removed, stable 17-18 fps where it always died. So on 621.x the RaytracingResolve family seems broken on both sides of the driver: minutes per module to compile a pipeline (your #584) and a TDR when an in-game dispatch executes. The `LEONIDA_SKIP_PIPELINES` workaround holds. Happy to test any candidate fix on the 4060 Ti/621.01.
aslan2142 commented 2026-12-01 17:06:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:06:03Z.


Closing this issue because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7318752683 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/584#issuecomment-7318752683). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T17:06:03Z. --- Closing this issue because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
No labels
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.

Reference
ProjectLeonida/mandy#584
No description provided.