GPU device removed (0x887A0006) on compute shader 4c0ac499ad613809 during prologue intro #1347

Open
opened 2026-11-26 04:28:20 +00:00 by github-bot · 3 comments
Owner

@⁠Ganfieof on GitHub · 2026-11-24 17:34 UTC · original

Environment

  • OS: Windows 11 24H2 (26100.4061)
  • GPU: NVIDIA GeForce RTX 4060 (driver 32.0.16.2124)
  • Build: main branch (2026-11-24), diagnostics profile (VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1)

What happens

The game successfully passes the initial setup menus and starts the prologue intro ("VICE CITY, TWO YEARS AGO") with working audio and subtitles (~1 fps, 1200–1600 ms/frame, 3D scene missing due to untranslated GFX10 lane mask shaders). Shortly into the intro, the host GPU crashes with 0x887A0006 (device removed).

Crash & Diagnostic Details

  • Failing command: list 26 of 27, of its 21: dispatch 32x1x1 [compute 4c0ac499ad613809] (Uav s1+8: uav 4096x1 f41 flags 0x4)
  • Dropped compute shaders:
    • 9aa61fc93f91d095 (GFX10 code at 0x163e8: a lane mask holding lanes elsewhere read as data is not supported)
    • ad1cf51b8a6c7096 (GFX10 code at 0x9278: a lane mask holding lanes elsewhere read as data is not supported)
    • a62731e90739f195 (GFX10 code at 0xda90: a select on an untracked mask is not supported)

Full victory_diag.log and crashes.log are attached below.

victory_diag.log

crashes.log

**@⁠Ganfieof** on GitHub · 2026-11-24 17:34 UTC · [original](https://github.com/Marvisak/VIctory/issues/1347) ### Environment - **OS:** Windows 11 24H2 (26100.4061) - **GPU:** NVIDIA GeForce RTX 4060 (driver 32.0.16.2124) - **Build:** main branch (2026-11-24), diagnostics profile (`VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`) ### What happens The game successfully passes the initial setup menus and starts the prologue intro ("VICE CITY, TWO YEARS AGO") with working audio and subtitles (~1 fps, 1200–1600 ms/frame, 3D scene missing due to untranslated GFX10 lane mask shaders). Shortly into the intro, the host GPU crashes with `0x887A0006` (`device removed`). ### Crash & Diagnostic Details - **Failing command:** `list 26 of 27, of its 21: dispatch 32x1x1 [compute 4c0ac499ad613809]` (`Uav s1+8: uav 4096x1 f41 flags 0x4`) - **Dropped compute shaders:** - `9aa61fc93f91d095` (`GFX10 code at 0x163e8: a lane mask holding lanes elsewhere read as data is not supported`) - `ad1cf51b8a6c7096` (`GFX10 code at 0x9278: a lane mask holding lanes elsewhere read as data is not supported`) - `a62731e90739f195` (`GFX10 code at 0xda90: a select on an untracked mask is not supported`) Full `victory_diag.log` and `crashes.log` are attached below. [victory_diag.log](https://github.com/user-attachments/files/35360106/victory_diag.log) [crashes.log](https://github.com/user-attachments/files/35360124/crashes.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:28:20 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:16 UTC · original

Automated triage for the maintainers.

Thanks for the report (RTX 4060, driver 32.0.16.2124, Windows 11 24H2, diagnostics build, DRED). The 0x887A0006 removal in the prologue intro on NVIDIA is the device removal tracked in #71, the oldest complete report of it; this is the first report naming compute 4c0ac499ad613809 as the failing dispatch.

The dropped programs match main: "a lane mask holding lanes elsewhere read as data" and "a select on an untracked mask" are refusals in crates/victory-shader/src/emit/lower.rs. A refused program only drops its own dispatches, so they are not shown to cause the removal, though a later pass can read outputs they left empty. Open PR #1084 works on selects on an untracked mask.

"main branch (2026-11-24)" spans many commits. If you run again, please give the commit (git rev-parse --short HEAD) and post the result in #71.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:16 UTC · [original](https://github.com/Marvisak/VIctory/issues/1347#issuecomment-7159472353) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T17:34:23Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the report (RTX 4060, driver 32.0.16.2124, Windows 11 24H2, diagnostics build, DRED). The `0x887A0006` removal in the prologue intro on NVIDIA is the device removal tracked in #71, the oldest complete report of it; this is the first report naming compute `4c0ac499ad613809` as the failing dispatch. The dropped programs match `main`: "a lane mask holding lanes elsewhere read as data" and "a select on an untracked mask" are refusals in `crates/victory-shader/src/emit/lower.rs`. A refused program only drops its own dispatches, so they are not shown to cause the removal, though a later pass can read outputs they left empty. Open PR #1084 works on selects on an untracked mask. "main branch (2026-11-24)" spans many commits. If you run again, please give the commit (`git rev-parse --short HEAD`) and post the result in #71. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠pes7 on GitHub · 2026-11-26 15:22 UTC · original

The three translation gaps in this report are fixed on fix/prologue (#2936, the mask lowering in 0e9b8bb), and the crashing command's shader translates too. Checked against the exact hashes in the log, on a 1 200 s run of the prologue:

shader translated stage="compute" hash=9aa61fc93f91d095  user_data=4 samplers=6
shader translated stage="compute" hash=ad1cf51b8a6c7096  user_data=4 samplers=8
shader translated stage="compute" hash=a62731e90739f195  user_data=4 samplers=8
shader translated stage="compute" hash=4c0ac499ad613809  user_data=1 samplers=8

9aa61fc9… and ad1cf51b… were refused with "a lane mask holding lanes elsewhere read as data", a62731e9… with "a select on an untracked mask". What changed in mask_number/sop: a lane mask whose defining instruction is a scalar operation is now read as the numbers the console's lanes give it (a ballot where the block's lanes are known, the operand arithmetic where they are not) instead of being refused; the complement/copy case stops being a hard "elsewhere". The join rule was narrowed at the same time: an untracked phi edge is lenient only for a "lenient" phi registered during that read, so the other joins still refuse rather than produce a wrong mask.

Net effect counted from the diagnostics: four CSComputeSkinningPedBlendShapes* programs translate, compute programs 2 658 → 2 662, and no other line of any translated program changed.

The crash itself I cannot confirm either way: our runs are on an AMD card (RX 9070 XT), where the prologue now goes 477 world frames with 0 device removals and 0 exceptions in one 1 200 s run — no crash on 4c0ac499ad613809, which is the dispatch in this report. A device hung on a 4060 may well need its own look; what is gone is the lanes elsewhere refusal that left the surrounding work dropped.

If it still removes on the 4060 with that branch, these two switches should name the next one quickly:

VICTORY_ONLY=<hash>          translate/run only that pipeline's draws
VICTORY_TRACE_FAILS=1        say why each refusal happened, once
VICTORY_DUMP_SHADER=<hash>   write its translated DXIL to %TEMP%\victory-<hash>.dxil

Six shaders still do not translate in that run (all compute: a929109552ce, ceb5eb68cd99, 5dc3b2598662, 6f225b641c5b, 926c46bab3b8, and one more) — if one of those is on the 4060's path to this dispatch, it is worth knowing which.

**@⁠pes7** on GitHub · 2026-11-26 15:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/1347#issuecomment-7196175850) The three translation gaps in this report are fixed on `fix/prologue` (#2936, the mask lowering in `0e9b8bb`), and the crashing command's shader translates too. Checked against the exact hashes in the log, on a 1 200 s run of the prologue: ``` shader translated stage="compute" hash=9aa61fc93f91d095 user_data=4 samplers=6 shader translated stage="compute" hash=ad1cf51b8a6c7096 user_data=4 samplers=8 shader translated stage="compute" hash=a62731e90739f195 user_data=4 samplers=8 shader translated stage="compute" hash=4c0ac499ad613809 user_data=1 samplers=8 ``` `9aa61fc9…` and `ad1cf51b…` were refused with "a lane mask holding lanes elsewhere read as data", `a62731e9…` with "a select on an untracked mask". What changed in `mask_number`/`sop`: a lane mask whose defining instruction is a *scalar* operation is now read as the numbers the console's lanes give it (a ballot where the block's lanes are known, the operand arithmetic where they are not) instead of being refused; the complement/copy case stops being a hard "elsewhere". The join rule was narrowed at the same time: an untracked phi edge is lenient only for a "lenient" phi registered during that read, so the other joins still refuse rather than produce a wrong mask. Net effect counted from the diagnostics: four `CSComputeSkinningPedBlendShapes*` programs translate, compute programs 2 658 → 2 662, and no other line of any translated program changed. The crash itself I cannot confirm either way: our runs are on an AMD card (RX 9070 XT), where the prologue now goes 477 world frames with **0 device removals and 0 exceptions** in one 1 200 s run — no crash on `4c0ac499ad613809`, which is the dispatch in this report. A `device hung` on a 4060 may well need its own look; what is gone is the `lanes elsewhere` refusal that left the surrounding work dropped. If it still removes on the 4060 with that branch, these two switches should name the next one quickly: ``` VICTORY_ONLY=<hash> translate/run only that pipeline's draws VICTORY_TRACE_FAILS=1 say why each refusal happened, once VICTORY_DUMP_SHADER=<hash> write its translated DXIL to %TEMP%\victory-<hash>.dxil ``` Six shaders still do not translate in that run (all compute: `a929109552ce`, `ceb5eb68cd99`, `5dc3b2598662`, `6f225b641c5b`, `926c46bab3b8`, and one more) — if one of those is on the 4060's path to this dispatch, it is worth knowing which.
Author
Owner

@⁠pes7 on GitHub · 2026-11-26 15:23 UTC · original

Correction to the switch list in my comment above, before someone tries it: VICTORY_ONLY is a translate switch (VICTORY_ONLY=@0x<offset> translates just that container so one program's failures can be read in order), not a runtime one — it does not skip draws.

The runtime equivalents, both already documented in the README's switch table:

VICTORY_SKIP_PIPELINES=<hash>,...   skip host pipeline creation and omit that
                                    pipeline's draws and dispatches (indirect
                                    ones too) - this is the one to bisect a hang
VICTORY_TRACE_SHADERS=<hash>,...    with VICTORY_D3D12_DRED: every draw of that
                                    shader logged with what it binds
VICTORY_PIPELINE_LOG=<file>         a line per title pipeline: first used, made
                                    or loaded

VICTORY_TRACE_FAILS=1 and VICTORY_DUMP_SHADER=<hash> are as I wrote them: the first says why the emitter refused each instruction, in order; the second writes the translated DXIL for dxc -dumpbin.

**@⁠pes7** on GitHub · 2026-11-26 15:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/1347#issuecomment-7196211666) Correction to the switch list in my comment above, before someone tries it: `VICTORY_ONLY` is a **translate** switch (`VICTORY_ONLY=@0x<offset>` translates just that container so one program's failures can be read in order), not a runtime one — it does not skip draws. The runtime equivalents, both already documented in the README's switch table: ``` VICTORY_SKIP_PIPELINES=<hash>,... skip host pipeline creation and omit that pipeline's draws and dispatches (indirect ones too) - this is the one to bisect a hang VICTORY_TRACE_SHADERS=<hash>,... with VICTORY_D3D12_DRED: every draw of that shader logged with what it binds VICTORY_PIPELINE_LOG=<file> a line per title pipeline: first used, made or loaded ``` `VICTORY_TRACE_FAILS=1` and `VICTORY_DUMP_SHADER=<hash>` are as I wrote them: the first says why the emitter refused each instruction, in order; the second writes the translated DXIL for `dxc -dumpbin`.
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#1347
No description provided.