[Bug]: compute f16876929fa64f9f hangs the AMD compiler for 17 min → TDR 0x887A0006; VICTORY_COMPILER_GUARD doesn't interrupt it #49
Labels
No labels
accessibility
bug
crash
documentation
duplicate
enhancement
good first issue
graphics
help wanted
invalid
needs logs
performance
question
rdna2
rdna3
rdna4
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/eikkapine--victory-amd#49
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?
@teratotolili-coder on GitHub · 2026-11-30 18:57 UTC · original
Hardware & OS
| GPU | AMD Radeon RX 9070 XT (RDNA4, 16 GB), current Adrenalin | | CPU / RAM | Ryzen 5 5600, 32 GB, pagefile on SSD | | OS | Windows 11 x64
Launch Profile / Preset
RAZDA4A XEN.bat — Balanced (Default)
Frame Generation & Launch Count
Frame Gen OFF (Native) — 2nd+ launch (warm cache)
Issue Category
Out of Memory (0x8007000E) / Device Removed
What happened?
Summary
The host device is removed with
0x887A0006(DEVICE_HUNG) after 12–20 minutes of play. The cause is a single compute shader (f16876929fa64f9f) that hangs the AMD compiler for 17 minutes, andVICTORY_COMPILER_GUARD=0does not interrupt it. Windows TDR then kills the device.Reproduced on 3 different builds (.2, .3, .5) and across different in-game scenes. The shader hash and pipeline key are identical every time.
Environment
eikkapine/victory-amd(tested on v2026.11.30.2, .3, .5)The shader
compute f16876929fa64f9f
pipeline key: 0629334fc89d66f8cd24f4f5d4b88871
library id: ba4ecbf65561380fc40d67a226acd10b
The last line before every crash:
pipeline library: make of ba4ecbf65561380fc40d67a226acd10b
[compute f16876929fa64f9f] running for 1034680.4 ms on thread 11448
VICTORY_COMPILER_GUARD=0is logged as(VICTORY_COMPILER_GUARD=0: not)— the guard is disabled, so the layer waits for the compiler instead of timing it out.Right after this,
0x887A0006arrives. The submitter is idle (the submitting thread was between submissions (nothing of ours was running on the card)), so this is not a hung GPU command — it's TDR killing the device because shader compilation never returned.Evidence it's the same shader every time
f16876929fa64f9ff16876929fa64f9ff16876929fa64f9fDifferent streets, different textures, different scenes — the same compute shader. So it's not scene content; it's this specific pipeline.
Bumping
VICTORY_SCRATCH_SPARE_MB/VICTORY_SEND_SPARE_MBfrom 8/24 to 128/128 in v.5 pushed the crash from 12 to 20 minutes, but did not remove it. That confirms the shader is the trigger, not memory pressure (pressure only affects when the game reaches it).Secondary issue: pipeline library never loads
Every new pipeline this run:
pipeline library: made [mesh ...] in 0.2 ms
(the library did not load it: Параметр задан неверно. (0x80070057))
saved 412592 bytesat one point — so the file is written.0x80070057=E_INVALIDARG).VICTORY_SKIP_PIPELINESis the only workaround that survives a restart.Effect: Warm Shaders only recompiles what was already known; new pipelines are retried every launch, and the bad shader is retried every launch until it kills the device.
Suggested fixes (in order of impact)
CreateComputePipelineState(e.g. 30–60 s). On timeout, mark the pipeline asbadand return instead of waiting for TDR. This alone would have prevented all three crashes.VICTORY_COMPILER_GUARD=1actually interrupt a hang, not just a process crash. Right now it does nothing for a stuck compiler.0629334fc89d66f8cd24f4f5d4b88871to a default deny-list or ship it in the release'sVICTORY_SKIP_PIPELINES. Workaround not yet confirmed by user0x80070057). It defeats Warm Shaders and makes the bad shader recur every launch.Workaround for other users (until fixed)
In ps1 file
VICTORY_SKIP_PIPELINES = '240cb516c1af0bc3;0629334fc89d66f8cd24f4f5d4b88871' # RDNA4 hair-shadow + our bad compute shader
VICTORY_COMPILER_GUARD=1(not sure)
This skips the bad pipeline and asks the layer to guard the compiler. The pipeline won't render (it already didn't), but the crash goes away.
Related
0xc0000005under VRAM pressure on 12 GB. Different symptom, same subsystem under load. Our logs also showemergency GPU/commit reclaim ... commit_before_mb=2065 commit_after_mb=2065andobjects let go ... 1 145 040 028, so memory pressure is present, but the crash here is deterministic on one shader, not on pressure alone.Attached
run-*.logfrom the v.5 crash (contains the full device-removal dump, the 1034 s compile line, and the0x80070057library lines).settings-*.txtfrom the same launch.run-20261130-231029.log
settings-20261130-231029.txt
Logs (
collect_logs.batoutput or last ~100 lines oflogs\last_run.log)