NVIDIA RTX 5070 Ti: GPU hang (0x887A0006) on world mesh draws #1216

Open
opened 2026-11-26 04:24:02 +00:00 by github-bot · 7 comments
Owner

@⁠volvovida1990 on GitHub · 2026-11-24 16:28 UTC · original

Summary

On an NVIDIA RTX 5070 Ti the title gets through the intro (video, cutscene audio, subtitles, title cards), then the host device is removed with DXGI_ERROR_DEVICE_HUNG (0x887A0006) once world mesh draws start. With DRED on, the hang is always on a mesh pipeline draw whose user-data heap indices point at descriptor slots VIctory reports as null. Which mesh shader it is varies between runs, so this doesn't look like one bad shader. My guess (not verified) is that NVIDIA is less tolerant than the RX 6700 XT of what these draws read through those slots.

Environment

  • VIctory main at ffe310e, diag profile with --features diagnostics
  • Windows 10 Pro 22H2 (19045), in-box D3D12 runtime 10.0.19041.5794
  • D3D12 Agility SDK 1.620.2 (needed for SM 6.6 on Windows 10, see below)
  • NVIDIA GeForce RTX 5070 Ti, driver 32.0.16.2124
  • Intel Core i7-8700 (6 cores / 12 threads), 32 GB RAM
  • Title: Xbox Series X dump, game version 930.048.020, title ID 7952987A

Steps

  1. VICTORY_SHADER_LOOP_LIMIT=4096 and VICTORY_D3D12_DRED=1
  2. victory run <game_scarlett_master.exe> --execute
  3. Let the intro play. Shortly after the cutscene the device is removed.

Without the loop limit it hung earlier (after 11 lists, no breadcrumbs). With it, the intro cutscene finishes before the hang.

DRED results (from crashes.log, trimmed)

Three runs. Each stops inside a run of mesh draws between barriers:

Run Lists submitted Stopped at Hanging draw
1 32 command 190 of 203 (op 42) mesh 1 [mesh 45c922763602b723, pixel a5d8f39892a63276]
2* 11 command 443 of 644 (op 42), commands 440..548 mesh 1 [mesh 857b2e13c9cc107f, pixel 63051e97862e7dad], plus c962201cddbdd7dd, 89036e16fa081505, 37f363f0a5dcd806 in the same span
3* 29 command 12 of 4940 (op 42), commands 2..29 mesh 6 [mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721]

* Runs 2 and 3 used VICTORY_SKIP_PIPELINES=45c922763602b723. The hang moved to other mesh shaders.

In every hanging draw, the user-data heap indices resolve to slots shown as null:

45c922763602b723: u8=0xa2fc00 [heap 333792: null] u9=0x107df00 [heap 540408: null] u10=0x107dd80 [heap 540396: null] u13=0x0 [heap 0: Shader(...)]
857b2e13c9cc107f: u8=0xa01900 [heap 327880: null] u9=0x12d8820 [heap 617537: null] u10=0x12d86a0 [heap 617525: null] u13=0x0 [heap 0: Shader(...)]
f0c7efd2aceb2aaa: u8=0xa12100 [heap 329992: null] u9=0xcdff00 [heap 421880: null] u12=0x0 [heap 0: Shader(...)]

A single crash record references 130–160 null heap slots. The heap is null-filled at creation (fill_null), so these slots hold a generic null view. If the mesh shaders expect another view type (typed texture vs. buffer, or a UAV) there, that mismatch could be what NVIDIA hangs on and AMD tolerates. Or the title writes these slots in a way VIctory doesn't track yet. I can rerun with VICTORY_D3D12_DEBUG=1 / VICTORY_D3D12_GBV=1 if that helps.

GPU test results on the RTX 5070 Ti

In case NVIDIA hasn't been covered yet: I ran victory-shader's unit tests on this card (debug build, Agility SDK 1.620.2 loaded into the test binary through the D3D12SDKVersion / D3D12SDKPath exports).

test result: ok. 120 passed; 0 failed; 1 ignored (bitcode::tests::bench_write, benchmark)
  • emit::valu_tests: 13 GPU tests passed on both the hardware adapter and WARP. None was skipped.
  • emit::waterfall_tests: 5 passed, including both GPU waterfall tests (lanes_sample_their_own_texture_in_a_waterfall_narrowed_by_v_cmpx, lanes_sample_the_entry_their_offset_names_in_the_console_waterfall).
  • emit::diff_tests: 4 passed. None printed "no SM 6.6 device; skipped".

So translated VALU semantics, per-lane waterfalls and the diff tests behave on NVIDIA as they do on AMD. That makes the hang above more likely to be in descriptors or the mesh pipeline than in the instruction translation. Without the Agility runtime, the same tests fail on Windows 10 with "neither hardware nor WARP SM 6.6 device available".

The README lists Windows 10 as supported, but the in-box Windows 10 runtime (19041) has no shader model 6.6. Without it:

  • Every host root signature is refused: root signature: Unsupported bit-flag set (root signature flags c01) → host root signature refused (0x80070057). Frames report drawn=0.
  • The title then crashes deterministically during init: null read at victory-image+0xb5a5f8 (read 0x68), in two job threads at once. It reads an entry from a registry at [0x148981EF0]+0xC78 that was never filled.
  • The SM 6.6 GPU tests in victory-shader fail ("neither hardware nor WARP SM 6.6 device available") even though the GPU supports SM 6.6.

Exporting D3D12SDKVersion / D3D12SDKPath from victory.exe, with D3D12Core.dll in a D3D12\ folder next to it, fixes all of this. The startup crash goes away and the intro renders. It would help if VIctory failed early with a clear message when the host lacks SM 6.6, instead of failing later in the title.

Other things noticed

  • Unimplemented device slots 0x218 and 0x1c8 are called during init (callers +0x24800db and +0x247757e). Both take (desc, riid, ppv), and the riid is ID3D12PipelineState (765a30f3-f624-4c6f-a828-ace948622445). So they're console pipeline-creation variants, and the title receives null pipelines from them.
  • rpcrt4.dll is refused by the host policy during init (a host DLL outside the host policy: refused).
  • crash::tests::unwinds_like_the_system_walk fails about 12 of 15 times on Windows 10. RtlCaptureStackBackTrace returns 0 frames once the test's CONTEXT is wrapped in Aligned16. With the previous unaligned CONTEXT it passed 15 of 15 on the same machine.
  • CPU load: on a 6-core/12-thread CPU the title plus translation workers keep every core at 100%.
**@⁠volvovida1990** on GitHub · 2026-11-24 16:28 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216) ## Summary On an NVIDIA RTX 5070 Ti the title gets through the intro (video, cutscene audio, subtitles, title cards), then the host device is removed with `DXGI_ERROR_DEVICE_HUNG` (0x887A0006) once world mesh draws start. With DRED on, the hang is always on a **mesh pipeline draw** whose user-data heap indices point at descriptor slots VIctory reports as `null`. Which mesh shader it is varies between runs, so this doesn't look like one bad shader. My guess (not verified) is that NVIDIA is less tolerant than the RX 6700 XT of what these draws read through those slots. ## Environment - VIctory `main` at `ffe310e`, `diag` profile with `--features diagnostics` - Windows 10 Pro 22H2 (19045), in-box D3D12 runtime 10.0.19041.5794 - D3D12 Agility SDK 1.620.2 (needed for SM 6.6 on Windows 10, see below) - NVIDIA GeForce RTX 5070 Ti, driver 32.0.16.2124 - Intel Core i7-8700 (6 cores / 12 threads), 32 GB RAM - Title: Xbox Series X dump, game version `930.048.020`, title ID `7952987A` ## Steps 1. `VICTORY_SHADER_LOOP_LIMIT=4096` and `VICTORY_D3D12_DRED=1` 2. `victory run <game_scarlett_master.exe> --execute` 3. Let the intro play. Shortly after the cutscene the device is removed. Without the loop limit it hung earlier (after 11 lists, no breadcrumbs). With it, the intro cutscene finishes before the hang. ## DRED results (from `crashes.log`, trimmed) Three runs. Each stops inside a run of mesh draws between barriers: | Run | Lists submitted | Stopped at | Hanging draw | |-----|-----------------|------------|--------------| | 1 | 32 | command 190 of 203 (op 42) | `mesh 1 [mesh 45c922763602b723, pixel a5d8f39892a63276]` | | 2* | 11 | command 443 of 644 (op 42), commands 440..548 | `mesh 1 [mesh 857b2e13c9cc107f, pixel 63051e97862e7dad]`, plus `c962201cddbdd7dd`, `89036e16fa081505`, `37f363f0a5dcd806` in the same span | | 3* | 29 | command 12 of 4940 (op 42), commands 2..29 | `mesh 6 [mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721]` | \* Runs 2 and 3 used `VICTORY_SKIP_PIPELINES=45c922763602b723`. The hang moved to other mesh shaders. In every hanging draw, the user-data heap indices resolve to slots shown as `null`: ``` 45c922763602b723: u8=0xa2fc00 [heap 333792: null] u9=0x107df00 [heap 540408: null] u10=0x107dd80 [heap 540396: null] u13=0x0 [heap 0: Shader(...)] 857b2e13c9cc107f: u8=0xa01900 [heap 327880: null] u9=0x12d8820 [heap 617537: null] u10=0x12d86a0 [heap 617525: null] u13=0x0 [heap 0: Shader(...)] f0c7efd2aceb2aaa: u8=0xa12100 [heap 329992: null] u9=0xcdff00 [heap 421880: null] u12=0x0 [heap 0: Shader(...)] ``` A single crash record references 130–160 `null` heap slots. The heap is null-filled at creation (`fill_null`), so these slots hold a generic null view. If the mesh shaders expect another view type (typed texture vs. buffer, or a UAV) there, that mismatch could be what NVIDIA hangs on and AMD tolerates. Or the title writes these slots in a way VIctory doesn't track yet. I can rerun with `VICTORY_D3D12_DEBUG=1` / `VICTORY_D3D12_GBV=1` if that helps. ## GPU test results on the RTX 5070 Ti In case NVIDIA hasn't been covered yet: I ran `victory-shader`'s unit tests on this card (debug build, Agility SDK 1.620.2 loaded into the test binary through the `D3D12SDKVersion` / `D3D12SDKPath` exports). ``` test result: ok. 120 passed; 0 failed; 1 ignored (bitcode::tests::bench_write, benchmark) ``` - `emit::valu_tests`: 13 GPU tests passed on both the hardware adapter and WARP. None was skipped. - `emit::waterfall_tests`: 5 passed, including both GPU waterfall tests (`lanes_sample_their_own_texture_in_a_waterfall_narrowed_by_v_cmpx`, `lanes_sample_the_entry_their_offset_names_in_the_console_waterfall`). - `emit::diff_tests`: 4 passed. None printed "no SM 6.6 device; skipped". So translated VALU semantics, per-lane waterfalls and the diff tests behave on NVIDIA as they do on AMD. That makes the hang above more likely to be in descriptors or the mesh pipeline than in the instruction translation. Without the Agility runtime, the same tests fail on Windows 10 with "neither hardware nor WARP SM 6.6 device available". ## Related: Windows 10 needs the Agility SDK for SM 6.6 The README lists Windows 10 as supported, but the in-box Windows 10 runtime (19041) has no shader model 6.6. Without it: - Every host root signature is refused: `root signature: Unsupported bit-flag set (root signature flags c01)` → `host root signature refused (0x80070057)`. Frames report `drawn=0`. - The title then crashes deterministically during init: null read at `victory-image+0xb5a5f8` (`read 0x68`), in two job threads at once. It reads an entry from a registry at `[0x148981EF0]+0xC78` that was never filled. - The SM 6.6 GPU tests in `victory-shader` fail ("neither hardware nor WARP SM 6.6 device available") even though the GPU supports SM 6.6. Exporting `D3D12SDKVersion` / `D3D12SDKPath` from `victory.exe`, with `D3D12Core.dll` in a `D3D12\` folder next to it, fixes all of this. The startup crash goes away and the intro renders. It would help if VIctory failed early with a clear message when the host lacks SM 6.6, instead of failing later in the title. ## Other things noticed - **Unimplemented device slots `0x218` and `0x1c8`** are called during init (callers `+0x24800db` and `+0x247757e`). Both take `(desc, riid, ppv)`, and the riid is `ID3D12PipelineState` (`765a30f3-f624-4c6f-a828-ace948622445`). So they're console pipeline-creation variants, and the title receives null pipelines from them. - **`rpcrt4.dll`** is refused by the host policy during init (`a host DLL outside the host policy: refused`). - **`crash::tests::unwinds_like_the_system_walk`** fails about 12 of 15 times on Windows 10. `RtlCaptureStackBackTrace` returns 0 frames once the test's `CONTEXT` is wrapped in `Aligned16`. With the previous unaligned `CONTEXT` it passed 15 of 15 on the same machine. - **CPU load**: on a 6-core/12-thread CPU the title plus translation workers keep every core at 100%.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:24:02 +00:00
Author
Owner

@⁠MichaelSmithAI on GitHub · 2026-11-24 16:37 UTC · original

The mesh hashes and breadcrumb positions give us specific draws to compare. One caveat when reading the 130–160 null annotations is that op_text looks up each user-data word in the heap. For a table it inspects the guest table base. A shader can use an offset within that table, and preparation can bind a freshly copied host table. Literal values also get heap annotations. A null annotation alone therefore leaves the descriptor accessed by the shader unknown.

For the loop-limit comparison, keeping the skipped-pipeline setting identical would help distinguish the two effects. Runs 2 and 3 excluded 45c922763602b723. If lowering only the loop cap changes how far a matching run gets, that establishes sensitivity to the cap. Identifying a null read would still need the shader register and the materialized descriptor for the draw at that breadcrumb.

User-data formatter and table preparation on the reported revision

**@⁠MichaelSmithAI** on GitHub · 2026-11-24 16:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7137967422) The mesh hashes and breadcrumb positions give us specific draws to compare. One caveat when reading the 130–160 null annotations is that `op_text` looks up each user-data word in the heap. For a table it inspects the guest table base. A shader can use an offset within that table, and preparation can bind a freshly copied host table. Literal values also get heap annotations. A null annotation alone therefore leaves the descriptor accessed by the shader unknown. For the loop-limit comparison, keeping the skipped-pipeline setting identical would help distinguish the two effects. Runs 2 and 3 excluded `45c922763602b723`. If lowering only the loop cap changes how far a matching run gets, that establishes sensitivity to the cap. Identifying a null read would still need the shader register and the materialized descriptor for the draw at that breadcrumb. [User-data formatter and table preparation on the reported revision](https://github.com/Marvisak/VIctory/blob/ffe310e/crates/victory-gpu/src/draw.rs)
Author
Owner

@⁠SkillIssueXO on GitHub · 2026-11-24 16:41 UTC · original

I replayed the hashes in this report against the 1.0.2.1 shader archive on a desktop RTX 5070 Ti (621.24, Windows 11 26300.9974, SDK DXIL validator 1.9.2602.17). On ffe310e with #1114 (89f3d3c) for hash selection, all nine unique hashes validated (six mesh, three pixel). Each of the three reported mesh/pixel pairs also created a PSO in the CLI harness. Adding #1208 (084d8d2) gave the same result. The harness uses its own render-state setup and does not submit the draws.

I also checked the shader metadata behind the table-base caveat above:

Mesh hash First statically listed entry in u8 Tables with a CBV that bind() can remap
45c922763602b723 base + 3 descriptors u9, u10
857b2e13c9cc107f base + 48 descriptors u9, u10
f0c7efd2aceb2aaa base + 5 descriptors u9

That points to checking the entries at the used offsets and the bound host table for the CBVs. These were offline checks against the real title archive. The device hang and descriptor contents at execution remain unverified on this run. AI-assisted (Codex, with Claude checking overlap).

**@⁠SkillIssueXO** on GitHub · 2026-11-24 16:41 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7138052512) I replayed the hashes in this report against the 1.0.2.1 shader archive on a desktop RTX 5070 Ti (621.24, Windows 11 26300.9974, SDK DXIL validator 1.9.2602.17). On `ffe310e` with #1114 (`89f3d3c`) for hash selection, all nine unique hashes validated (six mesh, three pixel). Each of the three reported mesh/pixel pairs also created a PSO in the CLI harness. Adding #1208 (`084d8d2`) gave the same result. The harness uses its own render-state setup and does not submit the draws. I also checked the shader metadata behind the table-base caveat above: | Mesh hash | First statically listed entry in `u8` | Tables with a CBV that `bind()` can remap | | --- | ---: | --- | | `45c922763602b723` | base + 3 descriptors | `u9`, `u10` | | `857b2e13c9cc107f` | base + 48 descriptors | `u9`, `u10` | | `f0c7efd2aceb2aaa` | base + 5 descriptors | `u9` | That points to checking the entries at the used offsets and the bound host table for the CBVs. These were offline checks against the real title archive. The device hang and descriptor contents at execution remain unverified on this run. AI-assisted (Codex, with Claude checking overlap).
Author
Owner

@⁠volvovida1990 on GitHub · 2026-11-24 16:51 UTC · original · edited 2026-11-24 16:53 UTC

@⁠MichaelSmithAI Results for the loop-cap comparison. Both runs used the same diag build with VICTORY_D3D12_DRED=1 and no skipped pipelines; only the loop cap differs:

Loop cap Lists Stopped at Draw
4096 (run 1) 32 command 190 of 203 (op 42) mesh 1 [mesh 45c922763602b723, pixel a5d8f39892a63276]
default (run 4) 32 command 2372 of 3068 (op 5) indirect kind 10 max 1 at 0x385617cc [mesh ae9ee9074f2e971f, pixel 54e55d28e6ee4f5c]

Run 4 ended earlier in play time than run 1 (run 1 got through the intro cutscene). That's one run per setting, and the hang point varied between earlier runs too, so I'd treat it as weak evidence of sensitivity to the cap.

I also tried VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_GBV=1 (cap 4096). There was no device removal: the title took its own fatal path during the loading screen, a deliberate mov dword ptr [0], 4D8BD421h at +0x23cf683, right after a call to +0x2215950, on a thread started from +0x2215c35/+0x2215eca. crashes.log has no debug-layer or GBV message before it. I suspect the GBV slowdown trips a title-side check, but that's unverified, so I don't have the register or descriptor from GBV yet.

@⁠SkillIssueXO Thanks for replaying these. From the DRED records, here's what VIctory's reads() listed for each stopped draw. This is the state at preparation, not what the GPU read at execution:

  • Run 1, cmd 190 (45c922763602b723): every entry resolves. Mesh SRVs s0+24/+368/+576/+672/+712, s1+16/+24/+40 are placed buffers; Cbv s1+56 = Constant(0x394dfae0, 480), Cbv s2+0 = Constant(0x3c7e4420, 512).
  • Run 2, cmd 443 (857b2e13c9cc107f): all resolve. Cbv s1+40 = Constant(0x642fbe0, 480), Cbv s2+0 = Constant(0x90fadd0, 272).
  • Run 3, cmd 12 (f0c7efd2aceb2aaa): two empty entries in table s1: Srv s1+16: buffer None and Cbv s1+48: Constant(0, 0). Its neighbours s1+32 = Constant(0x1188fbb0, 656) and s1+40 = Constant(0x1188f9d0, 480) resolve.
  • Run 4, cmd 2372 (ae9ee9074f2e971f, indirect, default loop cap): all resolve. Srv s1+0..+40 are placed buffers; Cbv s1+56 = Constant(0x31df9290, 656), Cbv s1+64 = Constant(0x31df90b0, 480).

So 3 of 4 hangs happened with every recorded entry resolved. Run 3's null CBV and unresolved SRV may be a separate problem.

**@⁠volvovida1990** on GitHub · 2026-11-24 16:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7138316510) · edited 2026-11-24 16:53 UTC @⁠MichaelSmithAI Results for the loop-cap comparison. Both runs used the same diag build with `VICTORY_D3D12_DRED=1` and no skipped pipelines; only the loop cap differs: | Loop cap | Lists | Stopped at | Draw | |----------|-------|------------|------| | 4096 (run 1) | 32 | command 190 of 203 (op 42) | `mesh 1 [mesh 45c922763602b723, pixel a5d8f39892a63276]` | | default (run 4) | 32 | command 2372 of 3068 (op 5) | `indirect kind 10 max 1 at 0x385617cc [mesh ae9ee9074f2e971f, pixel 54e55d28e6ee4f5c]` | Run 4 ended earlier in play time than run 1 (run 1 got through the intro cutscene). That's one run per setting, and the hang point varied between earlier runs too, so I'd treat it as weak evidence of sensitivity to the cap. I also tried `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_GBV=1` (cap 4096). There was no device removal: the title took its own fatal path during the loading screen, a deliberate `mov dword ptr [0], 4D8BD421h` at `+0x23cf683`, right after a call to `+0x2215950`, on a thread started from `+0x2215c35`/`+0x2215eca`. `crashes.log` has no debug-layer or GBV message before it. I suspect the GBV slowdown trips a title-side check, but that's unverified, so I don't have the register or descriptor from GBV yet. @⁠SkillIssueXO Thanks for replaying these. From the DRED records, here's what VIctory's `reads()` listed for each stopped draw. This is the state at preparation, not what the GPU read at execution: - **Run 1, cmd 190** (`45c922763602b723`): every entry resolves. Mesh SRVs `s0+24/+368/+576/+672/+712`, `s1+16/+24/+40` are placed buffers; `Cbv s1+56` = `Constant(0x394dfae0, 480)`, `Cbv s2+0` = `Constant(0x3c7e4420, 512)`. - **Run 2, cmd 443** (`857b2e13c9cc107f`): all resolve. `Cbv s1+40` = `Constant(0x642fbe0, 480)`, `Cbv s2+0` = `Constant(0x90fadd0, 272)`. - **Run 3, cmd 12** (`f0c7efd2aceb2aaa`): two empty entries in table `s1`: `Srv s1+16: buffer None` and `Cbv s1+48: Constant(0, 0)`. Its neighbours `s1+32` = `Constant(0x1188fbb0, 656)` and `s1+40` = `Constant(0x1188f9d0, 480)` resolve. - **Run 4, cmd 2372** (`ae9ee9074f2e971f`, indirect, default loop cap): all resolve. `Srv s1+0..+40` are placed buffers; `Cbv s1+56` = `Constant(0x31df9290, 656)`, `Cbv s1+64` = `Constant(0x31df90b0, 480)`. So 3 of 4 hangs happened with every recorded entry resolved. Run 3's null CBV and unresolved SRV may be a separate problem.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 16:56 UTC · original

Following up our own "screening + discriminate" doctrine from #1086: we standardized the two questions every deep-stall report should answer — ① what wave mode did the runtime receive/choose, ② does the run survive the 11-NOP watchdog patch (VICTORY_PATCH=<module>:0x23cf683:9090909090909090909090) and what does post-patch look like. A patched-and-still-progressing result would be the ecosystem's most valuable datum right now: it would prove some watchdog kills are transient-stall overreactions, buy minutes of traceable runtime, and let the #549-class fixes be measured against live play instead of 100 s windows. If this host is still in the fight, those two runs are the highest-information two runs available at that hardware tier.

**@⁠pickles976** on GitHub · 2026-11-24 16:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7138439820) Following up our own "screening + discriminate" doctrine from #1086: we standardized the two questions every deep-stall report should answer — ① what wave mode did the runtime receive/choose, ② does the run survive the 11-NOP watchdog patch (`VICTORY_PATCH=<module>:0x23cf683:9090909090909090909090`) and what does post-patch look like. A **patched-and-still-progressing** result would be the ecosystem's most valuable datum right now: it would prove some watchdog kills are transient-stall overreactions, buy minutes of traceable runtime, and let the #549-class fixes be measured against live play instead of 100 s windows. If this host is still in the fight, those two runs are the highest-information two runs available at that hardware tier.
Author
Owner

@⁠volvovida1990 on GitHub · 2026-11-24 16:59 UTC · original

@⁠pickles976 Answers for this host (RTX 5070 Ti, Windows 10 + Agility SDK 1.620.2, ffe310e diag build):

  1. Wave mode: VIctory on ffe310e doesn't log the wave size it picks. From the translator (emit/lower.rs), only compute shaders with console-lane operations (ds_swizzle/permute/mbcnt/readlane/DPP, or lane masks read as data) get a WaveSize pinned to the console's 32/64. Mesh and pixel shaders get none, so on this GPU they run in NVIDIA's 32-lane waves. That includes all four hung mesh shaders (45c922763602b723, 857b2e13c9cc107f, f0c7efd2aceb2aaa, ae9ee9074f2e971f). I haven't checked whether their console code is wave64.
  2. Watchdog patch: VICTORY_PATCH isn't on main at ffe310e. Which PR or branch adds it? The address matches what I hit under GBV: +0x23cf683 is the title's deliberate mov dword ptr [0], 4D8BD421h (11 bytes). Once the switch is available, I can do the patched run with DRED, plus a GBV run.
**@⁠volvovida1990** on GitHub · 2026-11-24 16:59 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7138511066) @⁠pickles976 Answers for this host (RTX 5070 Ti, Windows 10 + Agility SDK 1.620.2, `ffe310e` diag build): 1. **Wave mode:** VIctory on `ffe310e` doesn't log the wave size it picks. From the translator (`emit/lower.rs`), only compute shaders with console-lane operations (ds_swizzle/permute/mbcnt/readlane/DPP, or lane masks read as data) get a `WaveSize` pinned to the console's 32/64. Mesh and pixel shaders get none, so on this GPU they run in NVIDIA's 32-lane waves. That includes all four hung mesh shaders (`45c922763602b723`, `857b2e13c9cc107f`, `f0c7efd2aceb2aaa`, `ae9ee9074f2e971f`). I haven't checked whether their console code is wave64. 2. **Watchdog patch:** `VICTORY_PATCH` isn't on `main` at `ffe310e`. Which PR or branch adds it? The address matches what I hit under GBV: `+0x23cf683` is the title's deliberate `mov dword ptr [0], 4D8BD421h` (11 bytes). Once the switch is available, I can do the patched run with DRED, plus a GBV run.
Author
Owner

@⁠dragoso on GitHub · 2026-11-24 19:13 UTC · original

Another Blackwell data point. I ran three diagnostics runs on this machine, each with a different change. The hang moves between them, but #586 doesn't prevent it.

Setup

  • RTX 5060 Ti 16 GB, driver 617.42, Windows 11 26300, Ryzen 7 7700X, 32 GB. DXGI adapter 0 is the 5060 Ti. The CPU's Radeon iGPU is adapter 1.
  • Build: diag with VICTORY_D3D12_DRED=1, on main ffe310e plus #116.
  • Title build 1.0.2.1. No TDR registry changes.
  • The D3D12 debug layer wasn't installed, so the runs rely on the DRED output only.
  • Story start was reached with VICTORY_KEYS Enter presses.

Baseline (ffe310e + #116)

  • The device was removed about 2.5 min in, after a submission of 11 lists: 0x887A0006 (HUNG).
  • In list 1, the GPU stopped at command 648 of 732, inside a stretch of mesh draws (commands 569..695 between barriers).
  • That stretch uses mesh 37f363f0a5dcd806 (9 draws), 51ff151f75cd5759, 3fd417e7d6f55114, 857b2e13c9cc107f and c962201cddbdd7dd. Four of these are in #586's list of hanging transform hashes, and 857b2e13c9cc107f is also in this issue.
  • Slow submissions climbed to 5,057 ms just before the removal (46 slow, median 376 ms).

A: the same build with VICTORY_SKIP_PIPELINES set to the four hashes above

  • The removal still happened, about 3 min in, after 30 lists.
  • It stopped at command 3 of 178 in list 26, again in mesh draws, this time of other programs (4adfa13bea1c556a, fa746ce8f67dac96, 3a93976a475b8bdb).
  • So skipping those programs moves the hang without removing it. It isn't tied to a handful of hashes.

B: #586 at its head (9b5e239), unchanged, with its own shader cache

  • The removal still happened, about 4 min in, after 16 lists.
  • DRED narrows it to one command: command 100 of 152, with a barrier on each side, mesh 674baed2c9ef9873 / pixel 86077023d6c1ec62.
  • Slow submissions were longer than on the baseline: 57 slow, median 914 ms, max 5,368 ms.
  • On this card, the allocation-request counts (plus the rest of that branch's stack) don't prevent the removal. They do get further before it happens.

Not measured

  • VICTORY_SHADER_LOOP_LIMIT=256 changed the boot timing enough that the scripted keys never reached the story, so I have no world-stage result for the loop cap.
  • I haven't run GPU-based validation (VICTORY_D3D12_GBV).

If it helps, I can rerun B with GBV, with VICTORY_SKIP_PIPELINES=674baed2c9ef9873, or with any other flag. No retail data, shaders or screenshots are attached.

AI-assisted (Claude Code).

**@⁠dragoso** on GitHub · 2026-11-24 19:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7141783094) Another Blackwell data point. I ran three diagnostics runs on this machine, each with a different change. The hang moves between them, but #586 doesn't prevent it. **Setup** - RTX 5060 Ti 16 GB, driver 617.42, Windows 11 26300, Ryzen 7 7700X, 32 GB. DXGI adapter 0 is the 5060 Ti. The CPU's Radeon iGPU is adapter 1. - Build: `diag` with `VICTORY_D3D12_DRED=1`, on main `ffe310e` plus #116. - Title build 1.0.2.1. No TDR registry changes. - The D3D12 debug layer wasn't installed, so the runs rely on the DRED output only. - Story start was reached with `VICTORY_KEYS` Enter presses. **Baseline (`ffe310e` + #116)** - The device was removed about 2.5 min in, after a submission of 11 lists: 0x887A0006 (HUNG). - In list 1, the GPU stopped at command 648 of 732, inside a stretch of mesh draws (commands 569..695 between barriers). - That stretch uses mesh `37f363f0a5dcd806` (9 draws), `51ff151f75cd5759`, `3fd417e7d6f55114`, `857b2e13c9cc107f` and `c962201cddbdd7dd`. Four of these are in #586's list of hanging transform hashes, and `857b2e13c9cc107f` is also in this issue. - Slow submissions climbed to 5,057 ms just before the removal (46 slow, median 376 ms). **A: the same build with `VICTORY_SKIP_PIPELINES` set to the four hashes above** - The removal still happened, about 3 min in, after 30 lists. - It stopped at command 3 of 178 in list 26, again in mesh draws, this time of other programs (`4adfa13bea1c556a`, `fa746ce8f67dac96`, `3a93976a475b8bdb`). - So skipping those programs moves the hang without removing it. It isn't tied to a handful of hashes. **B: #586 at its head (`9b5e239`), unchanged, with its own shader cache** - The removal still happened, about 4 min in, after 16 lists. - DRED narrows it to one command: command 100 of 152, with a barrier on each side, mesh `674baed2c9ef9873` / pixel `86077023d6c1ec62`. - Slow submissions were longer than on the baseline: 57 slow, median 914 ms, max 5,368 ms. - On this card, the allocation-request counts (plus the rest of that branch's stack) don't prevent the removal. They do get further before it happens. **Not measured** - `VICTORY_SHADER_LOOP_LIMIT=256` changed the boot timing enough that the scripted keys never reached the story, so I have no world-stage result for the loop cap. - I haven't run GPU-based validation (`VICTORY_D3D12_GBV`). If it helps, I can rerun B with GBV, with `VICTORY_SKIP_PIPELINES=674baed2c9ef9873`, or with any other flag. No retail data, shaders or screenshots are attached. AI-assisted (Claude Code).
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:09 UTC · original

Automated triage for the maintainers.

Thanks, this is a complete report: RTX 5070 Ti, driver 32.0.16.2124, Windows 10 19045 with the Agility SDK, ffe310e diag build, DRED for each run. Skipping single programs moves the hang between mesh draws without removing it, and the RTX 5060 Ti comment shows the same. This is the NVIDIA world mesh-draw hang tracked in #71, the oldest complete report. The wave64 mesh side is in #778.

On the side findings:

  • Windows 10 lacking shader model 6.6 without the Agility SDK is confirmed in #84. Open PRs #463 and #969 load it.
  • The flaky unwinds_like_the_system_walk is fixed on main by #1159. It now checks the known caller frames first (crates/victory-loader/src/crash.rs).
  • main now has an HLE module for rpcrt4.dll (crates/victory-hle/src/modules/rpcrt4.rs).
  • Device slots 0x1c8 and 0x218 are still unfilled in crates/victory-gpu/src/device.rs.

Much has merged since ffe310e. A run of current main with DRED would show where this card stands now.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/1216#issuecomment-7159299178) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T19:13:32Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks, this is a complete report: RTX 5070 Ti, driver 32.0.16.2124, Windows 10 19045 with the Agility SDK, `ffe310e` diag build, DRED for each run. Skipping single programs moves the hang between mesh draws without removing it, and the RTX 5060 Ti comment shows the same. This is the NVIDIA world mesh-draw hang tracked in #71, the oldest complete report. The wave64 mesh side is in #778. On the side findings: - Windows 10 lacking shader model 6.6 without the Agility SDK is confirmed in #84. Open PRs #463 and #969 load it. - The flaky `unwinds_like_the_system_walk` is fixed on `main` by #1159. It now checks the known caller frames first (`crates/victory-loader/src/crash.rs`). - `main` now has an HLE module for `rpcrt4.dll` (`crates/victory-hle/src/modules/rpcrt4.rs`). - Device slots `0x1c8` and `0x218` are still unfilled in `crates/victory-gpu/src/device.rs`. Much has merged since `ffe310e`. A run of current `main` with DRED would show where this card stands now. --- _Generated by [Claude Code](https://claude.ai/code)_
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/Marvisak--VIctory#1216
No description provided.