NVIDIA RTX 5070 Ti Laptop: device hung entering world (vertex buffer left in UAV state) + wave64 shaders refused #264

Open
opened 2026-11-26 03:57:09 +00:00 by github-bot · 9 comments
Owner

@⁠Bernie-Andrews on GitHub · 2026-11-24 01:54 UTC · original

diag1.log

crashes.log

Hardware: NVIDIA GeForce RTX 5070 Ti Laptop GPU (driver 32.0.16.2124); AMD Radeon 880M iGPU present but not used
OS: Windows 11 x64
Build: master as of 2026-11-23, release + diag (--profile diag --features diagnostics), VICTORY_D3D12_DEBUG=1

Summary

Boot, intro, menus and the first cutscene run at a steady 30 fps with audio and subtitles. Once the world starts loading, fps drops to ~0.7–4 and after about 2 minutes the device is removed (DXGI_ERROR_DEVICE_HUNG / TDR). Reproduced 3 times.

Debug layer findings (diag run)

  1. Last command before the hang: DrawIndexedInstanced with a vertex buffer in D3D12_RESOURCE_STATE_UNORDERED_ACCESS (id=538). The same resource every time (115 occurrences), along with 131 barrier "before state" mismatches (id=527) on that resource (UAV vs VERTEX_AND_CONSTANT_BUFFER).
  2. NVIDIA-specific: 26x CreateComputeShader: "Shader wants wave lane count of 64 but maximum wave lane count for device is 32" (id=622). These match the host pipeline refused (0x80070057) warnings in the release run (46 refused).
  3. Pipeline library: 117x "pipeline state desc does not match the one used to create the PSO stored with name" (id=972) and 118x "already exists" (id=970). Possibly cache-name collisions.
  4. Release run also showed: no host texture for 2560x1440 format 86 flags=5 (E_INVALIDARG), and view the host does not allow unordered=true format=53.

Separate crash (crashes.log)

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0)
  #0  victory-image-b99f876b74d4a77f.dll+0x23cf683
  #1  victory-image-b99f876b74d4a77f.dll+0x2215c35
  #2  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #3  KERNEL32.DLL+0x2dda7
  #4  ntdll.dll+0xc9c5c

Probably when closing the window during the cutscene.

Logs: diag1.log and crashes.log attached.

**@⁠Bernie-Andrews** on GitHub · 2026-11-24 01:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/264) [diag1.log](https://github.com/user-attachments/files/35306857/diag1.log) [crashes.log](https://github.com/user-attachments/files/35306862/crashes.log) **Hardware:** NVIDIA GeForce RTX 5070 Ti Laptop GPU (driver 32.0.16.2124); AMD Radeon 880M iGPU present but not used **OS:** Windows 11 x64 **Build:** master as of 2026-11-23, release + diag (`--profile diag --features diagnostics`), `VICTORY_D3D12_DEBUG=1` ### Summary Boot, intro, menus and the first cutscene run at a steady 30 fps with audio and subtitles. Once the world starts loading, fps drops to ~0.7–4 and after about 2 minutes the device is removed (`DXGI_ERROR_DEVICE_HUNG` / TDR). Reproduced 3 times. ### Debug layer findings (diag run) 1. **Last command before the hang:** `DrawIndexedInstanced` with a vertex buffer in `D3D12_RESOURCE_STATE_UNORDERED_ACCESS` (id=538). The same resource every time (115 occurrences), along with 131 barrier "before state" mismatches (id=527) on that resource (UAV vs `VERTEX_AND_CONSTANT_BUFFER`). 2. **NVIDIA-specific:** 26x `CreateComputeShader`: "Shader wants wave lane count of 64 but maximum wave lane count for device is 32" (id=622). These match the `host pipeline refused (0x80070057)` warnings in the release run (46 refused). 3. **Pipeline library:** 117x "pipeline state desc does not match the one used to create the PSO stored with name" (id=972) and 118x "already exists" (id=970). Possibly cache-name collisions. 4. Release run also showed: `no host texture` for 2560x1440 format 86 flags=5 (`E_INVALIDARG`), and `view the host does not allow unordered=true format=53`. ### Separate crash (crashes.log) ``` VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0) #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 KERNEL32.DLL+0x2dda7 #4 ntdll.dll+0xc9c5c ``` Probably when closing the window during the cutscene. Logs: diag1.log and crashes.log attached.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:09 +00:00
Author
Owner

@⁠r4tedx on GitHub · 2026-11-24 04:30 UTC · original

Two of your debug-layer findings have open PRs, and you have something most testers here do not: the debug layer installed.

  1. Vertex buffer in UNORDERED_ACCESS (ids 538 / 527). #334 tracks the state of host copies of title buffers between shader writes and reads. Its in-title runs still end in the hang, so it is a fix for these messages, not shown to be one for the device removal.
  2. "Shader wants wave lane count of 64" (id 622) and the refused compute pipelines. #223 + #233 run those programs on 32-lane hosts; in title runs on other NVIDIA cards the refusals go to 0 or 1 (for example 103 to 1 on an RTX 3080).

Both are in the integration/testers tree (what is in it). Nobody has run that tree with the debug layer, so the same diag run there would be new information: how many id 538 / 527 and id 622 messages are left (you had 115 / 131 and 26), and what the debug layer says last before the hang.

A second thing only a machine with the debug layer can answer, without the title: #159 (occlusion, statistics and timestamp queries on the host) was written on a machine where d3d12SDKLayers.dll is not installed, so its resolve path has never been validated. cargo test -p victory-gpu query with VICTORY_D3D12_DEBUG=1 on that branch (gpu/host-queries at r4tedx/VIctory), and whether the layer prints anything, would settle it.

I have no copy of the title. AI-assisted.

**@⁠r4tedx** on GitHub · 2026-11-24 04:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7122075156) Two of your debug-layer findings have open PRs, and you have something most testers here do not: the debug layer installed. 1. **Vertex buffer in `UNORDERED_ACCESS` (ids 538 / 527).** #334 tracks the state of host copies of title buffers between shader writes and reads. Its in-title runs still end in the hang, so it is a fix for these messages, not shown to be one for the device removal. 2. **"Shader wants wave lane count of 64" (id 622) and the refused compute pipelines.** #223 + #233 run those programs on 32-lane hosts; in title runs on other NVIDIA cards the refusals go to 0 or 1 (for example [103 to 1 on an RTX 3080](https://git.gtahub.st/github/Marvisak--VIctory/pulls/233)). Both are in the `integration/testers` tree ([what is in it](https://git.gtahub.st/github/Marvisak--VIctory/issues/293)). Nobody has run that tree with the debug layer, so the same diag run there would be new information: how many id 538 / 527 and id 622 messages are left (you had 115 / 131 and 26), and what the debug layer says last before the hang. A second thing only a machine with the debug layer can answer, without the title: #159 (occlusion, statistics and timestamp queries on the host) was written on a machine where `d3d12SDKLayers.dll` is not installed, so its resolve path has never been validated. `cargo test -p victory-gpu query` with `VICTORY_D3D12_DEBUG=1` on that branch (`gpu/host-queries` at r4tedx/VIctory), and whether the layer prints anything, would settle it. I have no copy of the title. AI-assisted.
Author
Owner

@⁠liang-kai-shui on GitHub · 2026-11-24 06:56 UTC · original

Same laptop GPU: world load escalated to a full system reboot (BugCheck 0x119 VIDEO_SCHEDULER_INTERNAL_ERROR), and the GPU was not enumerated for ~1 min after boot

  • Hardware: NVIDIA GeForce RTX 5070 Ti Laptop GPU, 12,227 MiB, driver 621.24; AMD Ryzen 9 8945HX (16C/32T), 32 GB; Windows 11 Home 10.0.26300 (native, no Wine); AMD Radeon 610M iGPU present, unused
  • VIctory: main d2a4bae, release build (cargo build --release -p victory), Rust 1.98.1, VS Build Tools 2022 17.14, Windows SDK 10.0.26100
  • Title: Xbox Series 1.0.2.1, Series X mode, own copy, build unknown (b99f876b74d4a77f…)

What happened

  1. First attempts matched the existing reports: boot/menus/intro run at 30 fps with audio and subtitles; entering the world leaves the screen black while audio and subtitles continue; then the host device is removed (0x887A0004 / 0x887A0006 after a submission of 28 lists), many compute shaders fail to translate and their draws are dropped (structured buffer of unknown stride, select on an untracked mask, descriptor's address or format read as data).
  2. Running longer, the whole machine froze, the screen went black and the system rebooted by itself.
  3. After the reboot the RTX 5070 Ti was not enumerated for about one minute (Device Manager/PnP showed "Unknown" with no problem code). It then came back by itself; nvidia-smi now reports driver 621.24, 50.97 °C, normal operation. A second PnP entry for the same GPU (SUBSYS_60421D05) is still Unknown, the active one (SUBSYS_605A1D05) is OK/problem 0.

Evidence from Windows

  • Kernel-Power 41: "Windows rebooted without cleanly shutting down first" (2026-11-24 14:52:05)
  • EventLog 6008: previous shutdown at 14:26:53 was unexpected
  • BugCheck 1001: 0x00000119 (VIDEO_SCHEDULER_INTERNAL_ERROR), parameters (0x2, 0xffffffffc000000d, …), dump C:\WINDOWS\Minidump\112426-7562-01.dmp
  • nvlddmkm Event ID 153 ×12 at boot (14:51:04) and ID 14 ×2 at 14:52:51/53
  • No WHEA entries; no crashes.log after the reboot (the host lost the process state)

So on this laptop the known world/device-removal failure can escalate from TDR to a video-scheduler bugcheck and an unexpected reboot. I would suggest a stronger warning in the README for world entry on real GPUs (beyond the current "driver reset, monitors go black"), and limiting testers to WARP for world runs.

The minidump is local; I have not attached it because it may contain game memory/title data. I can provide event-log exports or a sanitized summary if useful. Full first report is in #49 (comment link). AI-assisted report.

**@⁠liang-kai-shui** on GitHub · 2026-11-24 06:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7124452256) **Same laptop GPU: world load escalated to a full system reboot (BugCheck 0x119 VIDEO_SCHEDULER_INTERNAL_ERROR), and the GPU was not enumerated for ~1 min after boot** - **Hardware:** NVIDIA GeForce RTX 5070 Ti Laptop GPU, 12,227 MiB, driver **621.24**; AMD Ryzen 9 8945HX (16C/32T), 32 GB; Windows 11 Home 10.0.26300 (native, no Wine); AMD Radeon 610M iGPU present, unused - **VIctory:** `main` `d2a4bae`, **release** build (`cargo build --release -p victory`), Rust 1.98.1, VS Build Tools 2022 17.14, Windows SDK 10.0.26100 - **Title:** Xbox Series 1.0.2.1, Series X mode, own copy, `build unknown (b99f876b74d4a77f…)` **What happened** 1. First attempts matched the existing reports: boot/menus/intro run at 30 fps with audio and subtitles; entering the world leaves the screen black while audio and subtitles continue; then the host device is removed (`0x887A0004` / `0x887A0006` after a submission of 28 lists), many compute shaders fail to translate and their draws are dropped (`structured buffer of unknown stride`, `select on an untracked mask`, `descriptor's address or format read as data`). 2. Running longer, the **whole machine froze, the screen went black and the system rebooted by itself**. 3. **After the reboot the RTX 5070 Ti was not enumerated for about one minute** (Device Manager/PnP showed "Unknown" with no problem code). It then came back by itself; `nvidia-smi` now reports driver 621.24, 50.97 °C, normal operation. A second PnP entry for the same GPU (`SUBSYS_60421D05`) is still `Unknown`, the active one (`SUBSYS_605A1D05`) is OK/problem 0. **Evidence from Windows** - `Kernel-Power 41`: "Windows rebooted without cleanly shutting down first" (2026-11-24 14:52:05) - `EventLog 6008`: previous shutdown at 14:26:53 was unexpected - `BugCheck 1001`: **`0x00000119` (VIDEO_SCHEDULER_INTERNAL_ERROR)**, parameters `(0x2, 0xffffffffc000000d, …)`, dump `C:\WINDOWS\Minidump\112426-7562-01.dmp` - `nvlddmkm` Event ID 153 ×12 at boot (14:51:04) and ID 14 ×2 at 14:52:51/53 - No WHEA entries; no `crashes.log` after the reboot (the host lost the process state) So on this laptop the known world/device-removal failure can escalate from TDR to a video-scheduler bugcheck and an unexpected reboot. I would suggest a stronger warning in the README for world entry on real GPUs (beyond the current "driver reset, monitors go black"), and limiting testers to WARP for world runs. The minidump is local; I have not attached it because it may contain game memory/title data. I can provide event-log exports or a sanitized summary if useful. Full first report is in #49 (comment link). AI-assisted report.
Author
Owner

@⁠colehammond65 on GitHub · 2026-11-24 06:58 UTC · original

RTX 4080 / PR #334 check. The buffer-state unit test passed; the debug-layer child test skipped because the debug layer is unavailable here. The runtime hang remained, and each run still had 64–106 unique refused shader pipelines before failure. This does not verify the UAV/vertex-state fix, but it shows #334 alone does not prevent device removal on this setup. Full report: #334

AI-assisted test report.

**@⁠colehammond65** on GitHub · 2026-11-24 06:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7124482504) **RTX 4080 / PR #334 check.** The buffer-state unit test passed; the debug-layer child test skipped because the debug layer is unavailable here. The runtime hang remained, and each run still had 64–106 unique refused shader pipelines before failure. This does not verify the UAV/vertex-state fix, but it shows #334 alone does not prevent device removal on this setup. Full report: https://git.gtahub.st/github/Marvisak--VIctory/pulls/334 AI-assisted test report.
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-24 08:39 UTC · original

Same pattern on a desktop RTX 4070 SUPER (driver 610.88) with an Intel i7-13700KF, Windows 11, diag build of main 58fed37 + #89, VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1:

  • Menus, first-run screens, legal screens, the mission 1 title card and the pause menu all work at 30 fps (the AMD-only CPU instructions are handled fine on Intel).
  • Entering the world: 1-2 fps, then DXGI_ERROR_DEVICE_HUNG about 2 minutes later, after a 4.9 s submission of 25 lists.
  • DRED: one list stopped at command 2772 of 4057, op 42 (DispatchMesh), in a run of mesh dispatches with no barrier between them ("no marker" on all of them), so the hang points at a mesh pipeline rather than a compute one here.
  • Debug layer before the hang: 119 × id 622 ("wave lane count of 64 but maximum ... is 32"), 117 × id 527 (barrier before-state UAV), 74 × id 538 (vertex buffer still in UAV), and the id 970/972 pipeline-library name collisions.
  • Separately, 351 shaders do not translate in the world (most common reasons: select on an untracked mask 82, lane mask holding lanes elsewhere read as data 76, address in an SGPR that is no root parameter 35, structured buffer of unknown stride 31).

Next I will try #223 + #233 + #334 on this machine and report whether the refusals and the hang change.

🤖 Generated with Claude Code

**@⁠LooperSalty** on GitHub · 2026-11-24 08:39 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7126406430) Same pattern on a desktop **RTX 4070 SUPER** (driver 610.88) with an **Intel i7-13700KF**, Windows 11, diag build of main `58fed37` + #89, `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1`: - Menus, first-run screens, legal screens, the mission 1 title card and the pause menu all work at 30 fps (the AMD-only CPU instructions are handled fine on Intel). - Entering the world: 1-2 fps, then `DXGI_ERROR_DEVICE_HUNG` about 2 minutes later, after a 4.9 s submission of 25 lists. - DRED: one list stopped at command 2772 of 4057, **op 42 (DispatchMesh)**, in a run of mesh dispatches with no barrier between them ("no marker" on all of them), so the hang points at a mesh pipeline rather than a compute one here. - Debug layer before the hang: 119 × id 622 ("wave lane count of 64 but maximum ... is 32"), 117 × id 527 (barrier before-state UAV), 74 × id 538 (vertex buffer still in UAV), and the id 970/972 pipeline-library name collisions. - Separately, 351 shaders do not translate in the world (most common reasons: select on an untracked mask 82, lane mask holding lanes elsewhere read as data 76, address in an SGPR that is no root parameter 35, structured buffer of unknown stride 31). Next I will try #223 + #233 + #334 on this machine and report whether the refusals and the hang change. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-24 08:56 UTC · original

Follow-up on the RTX 4070 SUPER + i7-13700KF: with main 58fed37 + #89 #493 #189 #206 #469 #459 #454 #688 #464 #490 #497 #346 #483 #638 #579 #302 #489 (two small local adaptations: #493's root SRV slot now comes from #688's take_dynamic, and #483's guard slot sits after main's variable dynamic range):

  • No device removal in 4 minutes in the world (before: DXGI_ERROR_DEVICE_HUNG about 2 minutes in, on a DispatchMesh), default loop limit, VICTORY_D3D12_DRED=1.
  • 0 refused pipelines (116 before: all wave64 compute, now emulated by #189).
  • The world is still black at 0.3-0.7 fps, about 1.1 s of GPU time per frame; 1,700-4,500 draws dropped per frame.
  • 603 programs do not translate yet, most common: select on an untracked mask (90), v_readfirstlane in divergent control flow (81), lane mask holding lanes elsewhere read as data (75), descriptor read only as data (60), cross-lane wave operation in divergent control flow (51), structured buffer of unknown stride (41).
  • Still seen: no dynamic slots for its tables a few times.

🤖 Generated with Claude Code

**@⁠LooperSalty** on GitHub · 2026-11-24 08:56 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7126759879) Follow-up on the RTX 4070 SUPER + i7-13700KF: with main `58fed37` + #89 #493 #189 #206 #469 #459 #454 #688 #464 #490 #497 #346 #483 #638 #579 #302 #489 (two small local adaptations: #493's root SRV slot now comes from #688's `take_dynamic`, and #483's guard slot sits after main's variable dynamic range): - **No device removal in 4 minutes in the world** (before: `DXGI_ERROR_DEVICE_HUNG` about 2 minutes in, on a DispatchMesh), default loop limit, `VICTORY_D3D12_DRED=1`. - **0 refused pipelines** (116 before: all wave64 compute, now emulated by #189). - The world is still black at 0.3-0.7 fps, about 1.1 s of GPU time per frame; 1,700-4,500 draws dropped per frame. - 603 programs do not translate yet, most common: select on an untracked mask (90), `v_readfirstlane` in divergent control flow (81), lane mask holding lanes elsewhere read as data (75), descriptor read only as data (60), cross-lane wave operation in divergent control flow (51), structured buffer of unknown stride (41). - Still seen: `no dynamic slots for its tables` a few times. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠LooperSalty on GitHub · 2026-11-24 11:01 UTC · original

Cause of the world-entry hang found on our RTX 4070 SUPER (diag build of main 58fed37 + the stack listed above, plus #294 root UAVs, #709, #571, #452, #581):

  • With root UAVs translated, the hang always lands at the same moment (loading screen → first cutscene frame), whatever the loop limit. Skipping the 12 compute programs that root UAVs unblock removes it; bisecting leaves one program that is enough on its own to hang the GPU.
  • That program is part of the title's ray-tracing BVH builder: its container carries a XboxBvhBuilder/ResetToIndexBuffer debug path, and it is dispatched from XboxBvhBuilder.dll's build path (BuildRaytracingAccelerationStructure). It only writes a table of consecutive indices (0..6143 here); the builder's later passes (e.g. a split-instances pass reading that table through a root UAV) are partly translated, partly dropped, so the passes that do run wait on data that never comes and the list exceeds the 2 s TDR.
  • Dropping every shader whose container names XboxBvhBuilder (35 programs here) removes the hang: more than 3 minutes past that point with no device removal, the other root-UAV programs still running. Ray tracing is lost, which the black scene does not show yet.

So on NVIDIA, until the whole builder translates, it may be safer to drop it as a unit than to run part of it. Our local switch is VICTORY_SKIP_BVH_BUILDER=1 (it matches the marker in the raw container); happy to open a PR if useful.

🤖 Generated with Claude Code

**@⁠LooperSalty** on GitHub · 2026-11-24 11:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7129543314) Cause of the world-entry hang found on our RTX 4070 SUPER (diag build of main `58fed37` + the stack listed above, plus #294 root UAVs, #709, #571, #452, #581): - With root UAVs translated, the hang always lands at the same moment (loading screen → first cutscene frame), whatever the loop limit. Skipping the 12 compute programs that root UAVs unblock removes it; bisecting leaves **one program that is enough on its own to hang the GPU**. - That program is part of the title's ray-tracing BVH builder: its container carries a `XboxBvhBuilder/ResetToIndexBuffer` debug path, and it is dispatched from `XboxBvhBuilder.dll`'s build path (`BuildRaytracingAccelerationStructure`). It only writes a table of consecutive indices (0..6143 here); the builder's later passes (e.g. a split-instances pass reading that table through a root UAV) are partly translated, partly dropped, so the passes that do run wait on data that never comes and the list exceeds the 2 s TDR. - **Dropping every shader whose container names `XboxBvhBuilder` (35 programs here) removes the hang**: more than 3 minutes past that point with no device removal, the other root-UAV programs still running. Ray tracing is lost, which the black scene does not show yet. So on NVIDIA, until the whole builder translates, it may be safer to drop it as a unit than to run part of it. Our local switch is `VICTORY_SKIP_BVH_BUILDER=1` (it matches the marker in the raw container); happy to open a PR if useful. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠Revens2 on GitHub · 2026-11-24 12:11 UTC · original

status: victory-lead

Same GPU family here (RTX 5070 desktop, Windows 11, title build 1.0.2.1), upstream main at ffe310e, release + --features diagnostics, debug layer on.

The debug layer names the mechanism: it is a TDR, not an invalid command

ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands ... The current Device Context was executing commands when the hang occurred)

The 0x887A0004 in the engine's own line is just the first HRESULT of the chain.

The pipeline library is not the cause

Cold library (1173 pipelines built, 55 MB): device removed after 30 lists. Warm library (770 loaded, 382 built): after 12 lists, with 39 slow submissions. Same failure. Discarding a stale pipelines/ does remove the 117 LoadPipeline: the pipeline state desc ... does not match warnings quoted above, so that part is a stale-cache artifact and not a hint about the hang.

The capped-heap drops are a second, separate bug

The title's view heap has 1,245,184 slots against the host's 1,000,000, so the capped path in HostHeap::new keeps only MIN_DYNAMIC (2^16). Measured here: 14 no

AI-assisted (victory-ops harness)

**@⁠Revens2** on GitHub · 2026-11-24 12:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7131099616) status: victory-lead Same GPU family here (RTX 5070 desktop, Windows 11, title build 1.0.2.1), upstream `main` at `ffe310e`, release + `--features diagnostics`, debug layer on. ## The debug layer names the mechanism: it is a TDR, not an invalid command ``` ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands ... The current Device Context was executing commands when the hang occurred) ``` The 0x887A0004 in the engine's own line is just the first HRESULT of the chain. ## The pipeline library is not the cause Cold library (1173 pipelines built, 55 MB): device removed after 30 lists. Warm library (770 loaded, 382 built): after 12 lists, with 39 slow submissions. Same failure. Discarding a stale `pipelines/` does remove the 117 `LoadPipeline: the pipeline state desc ... does not match` warnings quoted above, so that part is a stale-cache artifact and not a hint about the hang. ## The capped-heap drops are a second, separate bug The title's view heap has 1,245,184 slots against the host's 1,000,000, so the capped path in `HostHeap::new` keeps only `MIN_DYNAMIC` (2^16). Measured here: 14 no AI-assisted (victory-ops harness)
Author
Owner

@⁠xFIR3x on GitHub · 2026-11-24 17:45 UTC · original

Desktop RTX 5070 Ti: hang at first 3D draw on upstream main; the anyxboxx/stable fork with VICTORY_CAPPED_DYNAMIC=262144 got past it

  • Hardware: RTX 5070 Ti (desktop, 16 GB), driver 621.14; Ryzen 7 9800X3D; 64 GB; Windows 11 26H2 (10.0.26300)
  • Debug layer: not installed, DRED only
  1. Upstream main ffe310e: the intro video plays, then the GPU device is removed (0x887A0006). With DRED: host view heap capped at 1000000, then the hang at command 3 of 88, a DispatchMesh with mesh 4adfa13bea1c556a, whose u8/u9 resolve to null heap slots (log excerpt included).

  2. LooperSalty/victory anyxboxx/stable 9a9eab0 + VICTORY_CAPPED_DYNAMIC=262144: no device removal. It reached the first cutscene (credits visible, scene black, about 1 fps, ~2,420 draws/frame) and ran about 13 minutes until I closed it.

I didn't test CAPPED_DYNAMIC alone on main, so I can't separate it from the fork's other PRs.

AI-assisted test report (Claude Code, Claude Opus 5.5)…

**@⁠xFIR3x** on GitHub · 2026-11-24 17:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7139653527) Desktop RTX 5070 Ti: hang at first 3D draw on upstream main; the anyxboxx/stable fork with VICTORY_CAPPED_DYNAMIC=262144 got past it - Hardware: RTX 5070 Ti (desktop, 16 GB), driver 621.14; Ryzen 7 9800X3D; 64 GB; Windows 11 26H2 (10.0.26300) - Debug layer: not installed, DRED only 1. Upstream main ffe310e: the intro video plays, then the GPU device is removed (0x887A0006). With DRED: host view heap capped at 1000000, then the hang at command 3 of 88, a DispatchMesh with mesh 4adfa13bea1c556a, whose u8/u9 resolve to null heap slots (log excerpt included). 2. LooperSalty/victory anyxboxx/stable 9a9eab0 + VICTORY_CAPPED_DYNAMIC=262144: no device removal. It reached the first cutscene (credits visible, scene black, about 1 fps, ~2,420 draws/frame) and ran about 13 minutes until I closed it. I didn't test CAPPED_DYNAMIC alone on main, so I can't separate it from the fork's other PRs. AI-assisted test report (Claude Code, Claude Opus 5.5)…
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:46 UTC · original

Automated triage for the maintainers.

  • Vertex buffer in UNORDERED_ACCESS (debug layer ids 538 / 527) before DXGI_ERROR_DEVICE_HUNG on world entry: same failure as #199, where it is tracked. It is still present in main: in crates/victory-gpu/src/indirect.rs the argument buffer is moved UNORDERED_ACCESS -> INDIRECT_ARGUMENT before an indirect execution, and done() moves it back to UNORDERED_ACCESS. The host copies of title buffers are otherwise never transitioned, so vertices in the same heap are left in the UAV state. Open PR #334 addresses this. It needs a rebase, and runs in this thread show it does not prevent the hang on its own.
  • Wave64 compute pipelines refused on NVIDIA (id 622): the host's 32-lane limit. Tracked through the wave64-on-32-lane PRs named above (#223, #233, #189).
  • The +0x23cf683 write-to-null crash on closing the window is a separate failure.
  • One comment reports the world-entry hang escalating to a system bugcheck and reboot on the same laptop GPU. Maintainers may want to know that this happened.
  • One comment above names console SDK components and debug strings from inside the title's shaders. SDK and game identifiers must not be posted here; please describe such programs by shader hash only.

A re-run on current main with the commit hash (git rev-parse HEAD) and the Windows build number would help #199.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/264#issuecomment-7149934166) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T17:45:11Z at=2026-11-25T01:45:57Z --> Automated triage for the maintainers. - **Vertex buffer in `UNORDERED_ACCESS` (debug layer ids 538 / 527) before `DXGI_ERROR_DEVICE_HUNG` on world entry**: same failure as #199, where it is tracked. It is still present in `main`: in `crates/victory-gpu/src/indirect.rs` the argument buffer is moved `UNORDERED_ACCESS -> INDIRECT_ARGUMENT` before an indirect execution, and `done()` moves it back to `UNORDERED_ACCESS`. The host copies of title buffers are otherwise never transitioned, so vertices in the same heap are left in the UAV state. Open PR #334 addresses this. It needs a rebase, and runs in this thread show it does not prevent the hang on its own. - **Wave64 compute pipelines refused on NVIDIA (id 622)**: the host's 32-lane limit. Tracked through the wave64-on-32-lane PRs named above (#223, #233, #189). - The `+0x23cf683` write-to-null crash on closing the window is a separate failure. - One comment reports the world-entry hang escalating to a system bugcheck and reboot on the same laptop GPU. Maintainers may want to know that this happened. - One comment above names console SDK components and debug strings from inside the title's shaders. SDK and game identifiers must not be posted here; please describe such programs by shader hash only. A re-run on current `main` with the commit hash (`git rev-parse HEAD`) and the Windows build number would help #199. --- _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#264
No description provided.