[GTA 6] DXGI_ERROR_DEVICE_HUNG (0x887A0006) during opening cutscene at frame 1740 (mesh shader 45b59cf5905ce5ea) #1062

Open
opened 2026-11-26 04:18:42 +00:00 by github-bot · 4 comments
Owner

@⁠thomasryik-arch on GitHub · 2026-11-24 15:24 UTC · original

GPU / Driver: [RX 7600xt

pws

crashes.log

]
Build: VIctory release build (with VICTORY_D3D12_DEBUG=1)
Behavior:

  • Opening cutscene plays audio smoothly with delayed 2D subtitles; 3D/video visuals do not render (dropped pipelines).
  • Pause menu runs at ~15 FPS; Settings tab drops to ~2 FPS with dropped inputs.
  • Crashes during the opening cutscene at frame 1740 (DXGI_ERROR_DEVICE_HUNG / 0x887A0006, 0x887A0004 after submission of 13 lists).

Last pipelines bound before crash:

  • frame=1739 stage="mesh" hash=45b59cf5905ce5ea (translated)
  • frame=1740 vertex=67e814f3c3be6dac, pixel=46447d58f4954cd1

Top 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)
**@⁠thomasryik-arch** on GitHub · 2026-11-24 15:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/1062) **GPU / Driver:** [RX 7600xt <img width="1920" height="1034" alt="pws" src="https://github.com/user-attachments/assets/e3e498e9-9bbd-4f7e-868b-765d6503f403" /> [crashes.log](https://github.com/user-attachments/files/35347039/crashes.log) ] **Build:** VIctory release build (with `VICTORY_D3D12_DEBUG=1`) **Behavior:** - Opening cutscene plays audio smoothly with delayed 2D subtitles; 3D/video visuals do not render (dropped pipelines). - Pause menu runs at ~15 FPS; Settings tab drops to ~2 FPS with dropped inputs. - Crashes during the opening cutscene at **frame 1740** (`DXGI_ERROR_DEVICE_HUNG` / `0x887A0006`, `0x887A0004` after submission of 13 lists). **Last pipelines bound before crash:** - `frame=1739 stage="mesh" hash=45b59cf5905ce5ea` (translated) - `frame=1740 vertex=67e814f3c3be6dac, pixel=46447d58f4954cd1` **Top 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`)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:42 +00:00
Author
Owner

@⁠Ingenioeren on GitHub · 2026-11-24 15:27 UTC · original

If the 0x887A0004 in this report is on the no breadcrumbs line, it is the result of GetAutoBreadcrumbsOutput. The separate device removed field comes from GetDeviceRemovedReason and is where 0x887A0006 identifies the reported hang. On ffe310e, 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 returned 0x887A0004. With auto-breadcrumbs forced on before device creation, it returned S_OK. The removal reason in this synthetic test was 0x887A0005 in both runs. This confirms that the breadcrumb error can change independently of the removal reason. Microsoft's breadcrumb API documentation

For 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) with VICTORY_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 options

AI-assisted. The synthetic probe used no game files and did not reproduce the cutscene hang.

**@⁠Ingenioeren** on GitHub · 2026-11-24 15:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/1062#issuecomment-7136059157) If the `0x887A0004` in this report is on the `no breadcrumbs` line, it is the result of `GetAutoBreadcrumbsOutput`. The separate `device removed` field comes from `GetDeviceRemovedReason` and is where `0x887A0006` identifies the reported hang. On `ffe310e`, these come from [the breadcrumb query](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/crates/victory-gpu/src/host.rs#L653-L660) and [the final failure report](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/crates/victory-gpu/src/host.rs#L95-L104). 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 returned `0x887A0004`. With auto-breadcrumbs forced on before device creation, it returned `S_OK`. The removal reason in this synthetic test was `0x887A0005` in both runs. This confirms that the breadcrumb error can change independently of the removal reason. [Microsoft's breadcrumb API documentation](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12deviceremovedextendeddata-getautobreadcrumbsoutput) For 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`) with `VICTORY_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 options](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/README.md#L106-L124) _AI-assisted. The synthetic probe used no game files and did not reproduce the cutscene hang._
Author
Owner

@⁠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 0x887A0006 after 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 for reg query HKLM\\System\\CurrentControlSet\\Control\\GraphicsDrivers /v TdrLevel first — 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 mask are 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.

**@⁠pickles976** on GitHub · 2026-11-24 15:35 UTC · [original](https://github.com/Marvisak/VIctory/issues/1062#issuecomment-7136279848) 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 `0x887A0006` after 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 for `reg query HKLM\\System\\CurrentControlSet\\Control\\GraphicsDrivers /v TdrLevel` first — 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 mask` are 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.
Author
Owner

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

45b59cf5905ce5ea may 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) and vertex 67e814f3c3be6dac, pixel 46447d58f4954cd1 bind 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, at VICTORY_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:

  1. A --profile diag --features diagnostics build with VICTORY_D3D12_DRED=1, as @⁠Ingenioeren says. The line that names the stopped command is the useful one.
  2. The same run with 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).
  3. #493 + #206 on top of 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.

**@⁠NuraadGit** on GitHub · 2026-11-24 16:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/1062#issuecomment-7137605621) `45b59cf5905ce5ea` may 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`) and `vertex 67e814f3c3be6dac, pixel 46447d58f4954cd1` bind 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, at `VICTORY_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: 1. A `--profile diag --features diagnostics` build with `VICTORY_D3D12_DRED=1`, as @⁠Ingenioeren says. The line that names the stopped command is the useful one. 2. The same run with `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). 3. #493 + #206 on top of `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.*
Author
Owner

@⁠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_HUNG at frame 1740, with the dropped-shader reasons. The last pipeline logged is the last one first bound, not necessarily the command that hung. The 0x887A0004 is the no breadcrumbs part of the line (from GetAutoBreadcrumbsOutput in crates/victory-gpu/src/host.rs), and the removal reason is 0x887A0006. 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:

  • the AMD driver version and the Windows version/build;
  • the VIctory commit (git rev-parse HEAD);
  • ideally a run of current main built with cargo build --profile diag -p victory --features diagnostics, with VICTORY_D3D12_DRED=1, and the crashes.log line that names the stopped list and command, pasted as text. In a release build VICTORY_D3D12_DEBUG=1 has no effect: it only works in diagnostics builds.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 09:59 UTC · [original](https://github.com/Marvisak/VIctory/issues/1062#issuecomment-7159080753) <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T16:24:02Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the report: RX 7600 XT, opening cutscene, `DXGI_ERROR_DEVICE_HUNG` at frame 1740, with the dropped-shader reasons. The last pipeline logged is the last one first bound, not necessarily the command that hung. The `0x887A0004` is the `no breadcrumbs` part of the line (from `GetAutoBreadcrumbsOutput` in `crates/victory-gpu/src/host.rs`), and the removal reason is `0x887A0006`. 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: - the AMD driver version and the Windows version/build; - the VIctory commit (`git rev-parse HEAD`); - ideally a run of current `main` built with `cargo build --profile diag -p victory --features diagnostics`, with `VICTORY_D3D12_DRED=1`, and the `crashes.log` line that names the stopped list and command, pasted as text. In a release build `VICTORY_D3D12_DEBUG=1` has no effect: it only works in diagnostics builds. --- _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#1062
No description provided.