[GTA 6] DXGI_ERROR_DEVICE_HUNG (0x887A0006) during opening cutscene at frame 1740 (mesh shader 45b59cf5905ce5ea) #1062
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#1062
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?
@thomasryik-arch on GitHub · 2026-11-24 15:24 UTC · original
GPU / Driver: [RX 7600xt
crashes.log
]
Build: VIctory release build (with
VICTORY_D3D12_DEBUG=1)Behavior:
DXGI_ERROR_DEVICE_HUNG/0x887A0006,0x887A0004after submission of 13 lists).Last pipelines bound before crash:
frame=1739 stage="mesh" hash=45b59cf5905ce5ea(translated)frame=1740 vertex=67e814f3c3be6dac, pixel=46447d58f4954cd1Top dropped shader errors seen earlier in log:
64-bit image atomic is not supported(e.g.,hash=9616b2b43090f859)a lane mask holding lanes elsewhere read as data is not supported(e.g.,hash=8a13d3da7f6b48d1)a select on an untracked mask is not supported(e.g.,hash=2e28ea6fb9dad3c2)@Ingenioeren on GitHub · 2026-11-24 15:27 UTC · original
If the
0x887A0004in this report is on theno breadcrumbsline, it is the result ofGetAutoBreadcrumbsOutput. The separatedevice removedfield comes fromGetDeviceRemovedReasonand is where0x887A0006identifies the reported hang. Onffe310e, these come from the breadcrumb query and the final failure report.I checked both APIs on Windows 11 build 26200 using a synthetic WARP device and
ID3D12Device5::RemoveDevice(). With auto-breadcrumbs forced off, the breadcrumb query returned0x887A0004. With auto-breadcrumbs forced on before device creation, it returnedS_OK. The removal reason in this synthetic test was0x887A0005in both runs. This confirms that the breadcrumb error can change independently of the removal reason. Microsoft's breadcrumb API documentationFor this report, the useful follow-up would be the stopped list and command from a diagnostics build (
cargo build --profile diag -p victory --features diagnostics) withVICTORY_D3D12_DRED=1. The release build's debug flag alone leaves breadcrumb collection off. That would help tie the hang to an in-flight command instead of the last pipeline logged. VIctory diagnostics optionsAI-assisted. The synthetic probe used no game files and did not reproduce the cutscene hang.
@pickles976 on GitHub · 2026-11-24 15:35 UTC · original
Cross-runtime corroboration from ivall/xcl — you just reproduced the story-load wall on NVIDIA, the class our 3070 Ti crew (xcl#675, 42 comments) lives on: opening cutscene, mesh pipelines bound, then
0x887A0006after a burst of submissions, while dropped pipelines accumulate all game. Three things from over here transfer directly:\n\n1. Mechanism: our measured reads say the hang is the GPU-side watchdog catching up with a compile/translation storm (mesh + heavy PS pipelines bound back-to-back in the cutscene), not a bad command — the 13-lists burst before your hang matches our "GPU idle at stop, CPU-side never completes" picture from the opposite end (we trace the CPU, you see the GPU timeout).\n2. Screening: ask this tester forreg query HKLM\\System\\CurrentControlSet\\Control\\GraphicsDrivers /v TdrLevelfirst — with TDR off, the same stall freezes the desktop instead of returning 0x887A0006, and the report lands as a wrong class (our cross-post to xcl#175 today, your own #1054).\n3. The dropped-pipeline list is the real lead, not the hang:64-bit image atomic,lane mask read as data,select on untracked maskare translator gaps that force the title onto degraded paths all the way to the storm — same lesson as our BCPack merge, where fixing one refusal class dropped a downstream failure count from 512 to 0 (#1337). If #1068 lands the mad/lerp trio, add these three hashes to the differential corpus.\n\nIf your runtime grows a compile-ahead knob, our community's strongest single lever at this wall is exactly that (pre-compile cutscene mesh PS/VS during the loading screen); happy to share the A/B design we use in #675.@NuraadGit on GitHub · 2026-11-24 16:24 UTC · original
45b59cf5905ce5eamay well not be the cause: it's the last program the log saw first bound, not the command that hung. On an RTX 2080 the same mesh program (MS_VS_BreakableGlassNoCrack_AlphaPrepass) andvertex 67e814f3c3be6dac, pixel 46447d58f4954cd1bind and get host pipelines in both world runs I checked. Those runs lasted 12 minutes with no device removal. I don't have per-draw proof that the mesh one drew. That stack had #493 + #206 + #189 among others, atVICTORY_SHADER_LOOP_LIMIT=32.One note on the thread: the report says RX 7600 XT, which is AMD, so the NVIDIA explanations (32-lane-only waves) don't apply as they stand.
What would narrow it on that card:
--profile diag --features diagnosticsbuild withVICTORY_D3D12_DRED=1, as @Ingenioeren says. The line that names the stopped command is the useful one.VICTORY_SHADER_LOOP_LIMIT=1024. On @h0useadv's RX 9070 XT, the world "hangs" were translated loops running to the 2^20 cap, and a lower limit addressed them (their loop-limit check in #71).main. They bound root SRV reads and handle views off their host copy's elements, and aren't NVIDIA-only.AI-assisted (Claude Code). The hardware, title copy and runs are the user's.
@Marvisak on GitHub · 2026-11-25 09:59 UTC · original
Automated triage for the maintainers.
Thanks for the report: RX 7600 XT, opening cutscene,
DXGI_ERROR_DEVICE_HUNGat frame 1740, with the dropped-shader reasons. The last pipeline logged is the last one first bound, not necessarily the command that hung. The0x887A0004is theno breadcrumbspart of the line (fromGetAutoBreadcrumbsOutputincrates/victory-gpu/src/host.rs), and the removal reason is0x887A0006. Device removals on AMD around the cutscene and world entry are tracked in #59, the oldest complete report. #304 (RX 9070 XT) stops at a similar stage.To place this run, please add:
git rev-parse HEAD);mainbuilt withcargo build --profile diag -p victory --features diagnostics, withVICTORY_D3D12_DRED=1, and thecrashes.logline that names the stopped list and command, pasted as text. In a release buildVICTORY_D3D12_DEBUG=1has no effect: it only works in diagnostics builds.Generated by Claude Code