GPU device removed (0x887A0006) on compute shader 4c0ac499ad613809 during prologue intro #1347
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#1347
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?
@Ganfieof on GitHub · 2026-11-24 17:34 UTC · original
Environment
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
list 26 of 27, of its 21: dispatch 32x1x1 [compute 4c0ac499ad613809](Uav s1+8: uav 4096x1 f41 flags 0x4)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.logandcrashes.logare attached below.victory_diag.log
crashes.log
@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
0x887A0006removal 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 compute4c0ac499ad613809as 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 incrates/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
@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 in0e9b8bb), 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:9aa61fc9…andad1cf51b…were refused with "a lane mask holding lanes elsewhere read as data",a62731e9…with "a select on an untracked mask". What changed inmask_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. Adevice hungon a 4060 may well need its own look; what is gone is thelanes elsewhererefusal 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:
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:23 UTC · original
Correction to the switch list in my comment above, before someone tries it:
VICTORY_ONLYis 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_TRACE_FAILS=1andVICTORY_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 fordxc -dumpbin.