[NVIDIA RTX 3060 Ti] GPU hang (0x887A0006) ~50s after entering world / first mission subtitles #625
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by ppq45321 on 2026-11-24T05:50:26Z.
Environment
diagprofile (--features diagnostics)VICTORY_D3D12_DRED=1,VICTORY_D3D12_DEBUG=1Behavior
0x887A0006/DXGI_ERROR_DEVICE_HUNG) and the process exits.Crash Log Excerpt (
crashes.log)crashes.log
Imported from Marvisak/VIctory. Originally posted by ppq45321 on 2026-11-24T06:01:55Z.
Update: Tested with
VICTORY_SHADER_LOOP_LIMIT=1024VICTORY_SHADER_LOOP_LIMIT=1024, the screen still remains black after entering the world, but it survived noticeably longer: background protagonist voiceover continued up to ~1m 16s (~76s).DXGI_ERROR_DEVICE_HUNG (0x887A0006), this time at a different draw (list 29 of 30, of its 11: indirect kind 10 max 1 at 0x3a353b84 [mesh 8c0c0024c3c557dc, pixel cb4f0bf6d720abbc]).Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T07:56:51Z.
### Root Cause Identified for the
[mesh 413144fb9d62e37e, pixel 633c1f8872ed8c6d]GPU Hang (0x887A0006)Comparing the crash logs in #619 and #625 reveals the exact same indirect mesh dispatch and pipeline failing across both systems:
indirect kind 10 max 1 at ... [mesh 413144fb9d62e37e, pixel 633c1f8872ed8c6d]Notice the exact diagnostic output for the pixel shader:
633c1f8872ed8c6d: u8=0xa13a00 [heap 330192: null]The Bug
u8=0xa13a00is a descriptor table offset10,566,144bytes into the view heap, which indexes host descriptor slot330,192(0xa13a00 / 32 = 330,192).crates/victory-gpu/src/descriptor/host.rs(lines 343-353):330,192,mirror()is called withfor_draw: false.view.is_buffer()is true,lateris set totrue:make(&view, self.cpu(index)).null_for(&view, self.cpu(index)), populating slot330,192with a null view (DXGI_FORMAT_R8G8B8A8_UNORMdummy 2D texture or empty buffer).made[330,192] = 0.table_entryis only invoked for resources statically declared inUsedResource. Dynamically indexed buffer descriptors or descriptors indexed via root constants/user data that were not inusednever getmirror(..., for_draw: true)called on them.[mesh 413144fb9d62e37e, pixel 633c1f8872ed8c6d], pixel shader633c1f8872ed8c6dexecutes a typed/raw buffer operation against heap slot330,192(which is still a null view). On NVIDIA hardware (RTX 3060 / 3060 Ti), this invalid memory access halts the hardware queue and triggersDXGI_ERROR_DEVICE_HUNG (0x887A0006).Eliminating the artificial
laterdeferral for buffer views or ensuring dynamically referenced heap slots are realized before execution resolves this crash.Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T08:23:38Z.
Identical root cause to #619:
Crash occurs at [mesh 413144fb9d62e37e, pixel 633c1f8872ed8c6d]\ attempting to read dynamically indexed view heap slot [heap 330192: null]\ (passed via user data register \u8 = 0xa13a00).
Because \crates/victory-gpu/src/descriptor/host.rs\ deferred buffer view mirroring on creation (\let later = !for_draw && view.is_buffer();), slot 330192 was populated with a null descriptor. Shaders dynamically computing heap offsets at runtime bypass static descriptor tables and therefore never triggered instantiation of the real SRV/UAV before the draw.
The fix mirrors buffer views immediately upon creation if their host shadow exists, and keeps \made[index] = 0\ as a null fallback only when backing memory is not yet registered.
Full technical details and branch:
https://github.com/Marvisak/VIctory/issues/619#issuecomment-7126076304
https://github.com/LAKSHYA-cmd-tech/VIctory/tree/fix/mirror-buffer-views-for-dynamic-indexing
Imported from Marvisak/VIctory. Originally posted by Vaximous on 2026-11-24T11:01:09Z.
A likely cause of this NVIDIA world hang, with a fix: https://github.com/Marvisak/VIctory/pull/307#issuecomment-7128461640
Short version:
v_readfirstlane→v_cmpx_eq→s_andn2_wrexec) rely on whole-quad mode putting helper lanes in EXEC on the console. On the host,WaveReadLaneFirstskips helper lanes. Once only helper lanes are left, no lane matches, and each one runs to the translator's loop limit.DEVICE_HUNG200-260 s into the world. DRED stopped at the same instanced draws each time.v_readfirstlanetakes its own value. After the fix there were zero slow submissions, and two runs of 363 s and 366 s in the world with no device removal.v_readfirstlaneto a plainWaveReadLaneFirst, so this should apply there too.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:46:49Z.
Automated triage for the maintainers.
Thanks for retesting. On
940d32f, which is currentmain, this run now stops before the menus. The device is removed withDXGI_ERROR_INVALID_CALL(0x887A0001) after a submission of one list with empty breadcrumbs, shortly afterthe host refuses castable formats/no host texturefor a 2560x1440 format-115 render target.That is the NVIDIA boot-time
INVALID_CALLremoval seen since70564ae. It is tracked in #1753, the oldest complete report. #1754, #1758 and #1781 show the same format-115 lines and depth-twin lines as this run. Open PRs that address it: #1926, #1780 and #1763 (typed UAVs in formats the host cannot store to).Your build has
VICTORY_D3D12_DEBUG=1, so the D3D12 debug-layer message just beforeRemoveDevicewould name the rejected call. Please post that message on #1753 if it is in your log. The earlier world hang (0x887A0006) is still tracked in #71. It can only be retested once the boot removal is fixed.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by ppq45321 on 2026-11-25T02:28:28Z.
Retested on latest
mainwith shader cache cleared and updated NVIDIA driver:940d32f621.40VICTORY_D3D12_DRED=1,VICTORY_D3D12_DEBUG=1(diagbuild)Result
It now fails much earlier before reaching the menus or world: black screen with no audio for ~16s, then exits with
DXGI_ERROR_INVALID_CALL (0x887A0001)instead of0x887A0006.DRED breadcrumbs are empty (
[]), so there is nolist ... of ...line. Relevant log excerpt right before the crash: