[crash] D3D12 device removed after 32 lists during world init (RTX 4080 Super, wave32) #1096
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1096
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?
@nullerror13 on GitHub · 2026-11-24 15:42 UTC · original
[crash] D3D12 device removed after 32 lists during world init (RTX 4080 Super, wave32)
Grand Theft Auto VI – RockstarGamesInc.28872443D20A7 1.0.2.1 · Victory tip
3dc0ef1(upstreamffe310e+ cherry-picks of #483 and #493) · Windows 11 24H2 (build 26200) · RTX 4080 Super 16 GB (wave32), driver 610.88 · Ryzen 7 7800X3D · 32 GB DDR5Repro
victory.exe run game_scarlett_master.exe --execute(Xbox build v1.0.2.1). Menu runs stably at 30 fps. After entering the world (first mission title card renders; scene behind stays dark), the host GPU dies:Game-side crash dump (two separate runs, identical state)
Shader stats
387
shader does not translatewarnings in this run (wave64-on-wave32).Attachments (paths scrubbed)
Happy to rerun with any logging/flag you want.
victory-20261124-155030-27700.crash.log
victory-20261124-155046-32724.crash.log
run4.log
victory-crash.dmp.zip
@pickles976 on GitHub · 2026-11-24 15:45 UTC · original
First A/B before anyone reads the minidump, from your own #1086 table: this host is wave32 and the log says
wave64-on-wave32warnings — that is row 2 territory.recommended_wave64_modepicks native Wave32 on NVIDIA by default (legalizes without lane remap → wrong cross-lane compute, and the title then drives the world pass with corrupted results); the nine-change stack that reachesworld stage runningsetsVICTORY_WAVE64_EMULATE=emulateexplicitly (#189). 16 GB card + 32-list device-removed at world init is also consistent with wrong lane results turning into oversized/garbage resource traffic before the GPU gives up — but the one-variable test costs one run: same everything, addemulate, see if the removal still comes at 32 lists. If it moves anywhere, this issue becomes the second data point that native Wave32 should not be the default recommendation on NVIDIA (the #1086 author argued the same from the eternal-loading side; device-removed is the same root cause wearing a louder hat). Second-line screening from #1054 if it survives:TdrLevelvalue from the tester.'s registry — with it off this same event would freeze the desktop instead and get filed as something else entirely.@nullerror13 on GitHub · 2026-11-24 16:46 UTC · original
Ran the one-variable test as requested — same build (tip 3dc0ef1), same game build, same machine, with VICTORY_WAVE64_EMULATE=emulate in the environment.
Result: removal still comes at exactly 32 lists, identical signature:
host GPU device removed after a submission of 32 lists; no breadcrumbs (0x887A0004); device removed (0x887A0006)
Same progression as the original post: menu stable at 30 fps, then world init collapses (~9 → 0.7 → 0.2 fps) and the device is removed ~40 s in.
One caveat for interpreting this run: on public tip 3dc0ef1 the variable does not appear to be wired up — I checked the env-var surface of the tree and found no reader for VICTORY_WAVE64_EMULATE, and nothing is logged acknowledging it. If the variable only exists in the nine-change stack, this run is effectively a baseline re-run, and "still at 32 lists" stands as a reproducibility confirmation rather than an A/B result.
Two data points while I have the runs:
wave64-on-wave32 converter errors: 387 (cold cache, original run) → 291 (warm cache, this run) — likely a cache artifact; happy to wipe the cache and rerun if a fresh count matters.
Registry: TdrLevel not set (OS default), TdrDelay not set — in case the #1054 screening wants the values.
Question: is emulate expected to be picked up from the environment on public tip, or is it stack-local? Happy to rerun with any flag or logging you want.
run5-wave64-scrubbed.log
@jamesn-xt on GitHub · 2026-11-24 16:49 UTC · original
Independent reproduction on RTX 4080 (16 GB, NVIDIA 617.42), Ryzen 5 5600, 32 GiB RAM, Windows 11 build 26200, Rust 1.98.1. This matches the 32-list failure shape, although the source stack differs.
Tested integrated head
abe05a3: mainffe310e+ #1146, #211 (2fb7a8b), #89 (081afbd), #492 (c7bb83f), #985 and #206 (05981dd). Source/merge ancestry: https://github.com/jamesn-xt/VIctory/tree/test/rtx4080-target-formats . Diagnostics build, Series S, DRED enabled; no TDR settings changed.The integrated GPU diagnostics suite passed 66 tests / 1 ignored; GPU all-target/all-feature Clippy, build and asset policy passed. Those synthetic results do not establish world correctness. All probes are stopped. No retail dumps, raw game logs or screenshots attached.
@HocotateGuy15 on GitHub · 2026-11-24 20:02 UTC · original
I saw the same 32-list device-removal signature on a GeForce RTX 3070 (driver 610.88) with Windows 10 Pro 22H2 (19045.7846). This run used the release build of PR #175 at
19aec59and the app-local D3D12 Agility SDK 1.620.2. I verified that the process loaded the SDK's D3D12Core.dll during the startup comparison.The menu worked. After starting the story, the opening cutscene rendered at roughly 1 FPS while audio continued. The process exited partway through the cutscene. The last slow submission logged was 2,771 ms across 32 command lists. VIctory then reported device removal after a 32-list submission with no breadcrumbs and logged both 0x887A0004 (DXGI_ERROR_UNSUPPORTED) and 0x887A0006 (DXGI_ERROR_DEVICE_HUNG).
The run logged 114 host pipeline rejections and 299 shader translation warning entries. Those are log entry counts. The release run did not identify the specific GPU command responsible. This happened after resolving the separate pre-menu file-layout failure in #1622.
AI-assisted log analysis and write-up.
@HocotateGuy15 on GitHub · 2026-11-24 20:19 UTC · original
Retested on RTX 3070 / driver 610.88 / Windows 10 19045.7846 with the D3D12 debug layer and DRED enabled. I applied the GPU changes from #334 at
c99e429to the #175 Agility SDK build at19aec59(one bind-signature conflict resolved to preserve the older function signature). GPU unit tests: 46 passed, 1 ignored.The baseline diagnostics log had 105 entries containing "specified by transition barrier does not". The patched run had zero. The cutscene still ran at about 1 FPS (1,732 ms/frame reported) and exited with DXGI_ERROR_DEVICE_HUNG after an 11-list submission. One incomplete DRED breadcrumb reached 708/856. There were 121 D3D12 id 622 entries for compute shaders requesting 64 lanes on the 32-lane device.
This verifies that the patch cleared the observed barrier errors on this setup. The cutscene hang remains open. Related baseline: #1096. AI-assisted test setup and log analysis.
@HocotateGuy15 on GitHub · 2026-11-24 20:29 UTC · original
Follow-up on the RTX 3070 / Windows 10 test. With Agility #175, buffer transitions #334 (
c99e429GPU changes), and Wave64 #189 (54b333f, emulation forced), the opening cutscene rendered a little further according to the tester. The log had zero D3D12 messages for the previous barrier mismatch (527/538) or 64-lane shader rejection (622), but the process still exited with DXGI_ERROR_DEVICE_HUNG after a six-list submission. The last slow submission took 2,983 ms. One DRED list stopped at 44/736 recorded operations, with VIctory reporting the command range 40–57 between barriers. This did not isolate a single command. Windows logged Display event 4101 one second after the VIctory failure.Both patches cleared their respective validation errors on this setup. The remaining driver reset persists with both applied. AI-assisted log analysis.
@HocotateGuy15 on GitHub · 2026-11-24 21:56 UTC · original
Runtime follow-up on the RTX 3070 / Windows 10 run with #1738
d39a027added to the Agility, Wave64, buffer-transition, bounded root SRV, packed render-target and producer trace test stack. With the final presentation path enabled, the log explicitly reports that the previously rejected pixel shader translated. The prior interpolation error and producer warnings naming that shader were absent. Black frames still occurred, and the process eventually exited with DXGI_ERROR_DEVICE_HUNG following a 32-list submission. The DRED range contains a mesh dispatch (operation 42) without a marker identifying its pipeline. Windows recorded NVIDIA display-driver recovery one second later.This verifies the shader fix in-game. The overall black-screen and driver-reset issues remain open. AI-assisted log analysis.
@Marvisak on GitHub · 2026-11-25 10:02 UTC · original
Automated triage for the maintainers.
Thanks for the report (RTX 4080 Super, driver 610.88, Windows 11 26200,
3dc0ef1=ffe310e+ #483 + #493) and for the A/B. This is the NVIDIA world-load device removal tracked in #71, the oldest complete report of it. Please follow it there. The RTX 4080 and RTX 3070 comments here are further data points for it.About the log line:
0x887A0004is not why the device was removed. Incrates/victory-gpu/src/host.rsit is the error from asking DRED for breadcrumbs, which only a diagnostics build records. The removal reason is the0x887A0006(DEVICE_HUNG) after it. A--features diagnosticsbuild run withVICTORY_D3D12_DRED=1names the list and command that stopped.Your question: nothing on
mainreadsVICTORY_WAVE64_EMULATE. It comes with open PR #189, so the second run was a baseline re-run, as you suspected.Please don't attach minidumps here. A dump of the running title holds the game's memory. Run logs are fine.
Generated by Claude Code