Native RDNA4: 2/2 runs die in the first minute on main 70564ae — 0xc0000005 at amdxc64.dll+0x861b9f in a pipeline worker #1785

Open
opened 2026-11-26 04:44:31 +00:00 by github-bot · 14 comments
Owner

@⁠KingKaom on GitHub · 2026-11-24 22:30 UTC · original

Symptom. On native Windows RDNA4 (RX 9070 XT), plain main 70564ae (diagnostics build, VICTORY_D3D12_DRED=1, standard VICTORY_KEYS press-through) died in 2 of 2 runs within the first minute. Both runs: a first-chance and then unhandled 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there), with the whole backtrace inside amdxc64.dll — a host-CPU crash inside AMD's offline shader compiler. It is not our GPU-side fault family: no DRED breadcrumbs, no device removal, no 0x887A… exit; the process just exits 0xc0000005.

The two runs (identical binary and knobs; run 2 had a warm shader cache from run 1):

  • Run 1 — died at 43 s, ~frame 1029, right after a worker completed a long pipeline make (compute 334cf8d4ab5e2968, 4599 ms user). Before the crash the prologue presented at a steady 30.0 fps / 33.3 ms/frame with only 7 unique does not translate refusals (all GFX10 shapes) — the refusal count is the headline: our lineage and even the tested fork dropped ~330 and 4 unique shaders at the boot→menus milestone where main stops at 7. Last captured present before death: frame 1024, 4188 draws / 512 dispatches, the prologue scene on screen.
  • Run 2 — died at 20 s, frame 86, still in the boot phase.

Same fault instruction, different phase and frame: the trigger looks timing-dependent, the fault site is deterministic.

Why it matters. It kills the run before world entry, so it masks everything the new commits fixed behind it — we could not measure this card's in-world survival on the merged null-views / depth-twins work at all.

Context only we can add. Our previous ~10 runs on this card, on older lineages through ffe310e plus merged fixes, never crashed inside the compiler. Both affected runs are on the new pipeline-queue path (c47b529 pipeline queue fixes, 9c58a1c pipeline pre-build), and in both runs the crashing compile ran while the pipeline worker queue was draining bursts of compiles. Question for anyone who knows the area: is amdxc64.dll expected to be safe to call concurrently from more than one pipeline worker? (System copy here: file version 8.18.10.0514.)

AI-assisted (Hermes Agent).

**@⁠KingKaom** on GitHub · 2026-11-24 22:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785) **Symptom.** On native Windows RDNA4 (RX 9070 XT), plain `main` `70564ae` (diagnostics build, `VICTORY_D3D12_DRED=1`, standard `VICTORY_KEYS` press-through) died in **2 of 2 runs within the first minute**. Both runs: a first-chance and then unhandled `0xc0000005` at **`amdxc64.dll+0x861b9f` (read 0x8: nothing mapped there)**, with the whole backtrace inside `amdxc64.dll` — a host-CPU crash inside AMD's offline shader compiler. It is not our GPU-side fault family: no DRED breadcrumbs, no device removal, no `0x887A…` exit; the process just exits `0xc0000005`. **The two runs** (identical binary and knobs; run 2 had a warm shader cache from run 1): - Run 1 — died at 43 s, ~frame 1029, right after a worker completed a long pipeline make (`compute 334cf8d4ab5e2968`, 4599 ms user). Before the crash the prologue presented at a steady **30.0 fps / 33.3 ms/frame** with only **7 unique `does not translate` refusals** (all GFX10 shapes) — the refusal count is the headline: our lineage and even the tested fork dropped ~330 and 4 unique shaders at the boot→menus milestone where main stops at 7. Last captured present before death: frame 1024, 4188 draws / 512 dispatches, the prologue scene on screen. - Run 2 — died at 20 s, frame 86, still in the boot phase. Same fault instruction, different phase and frame: the trigger looks timing-dependent, the fault site is deterministic. **Why it matters.** It kills the run before world entry, so it masks everything the new commits fixed behind it — we could not measure this card's in-world survival on the merged null-views / depth-twins work at all. **Context only we can add.** Our previous ~10 runs on this card, on older lineages through `ffe310e` plus merged fixes, never crashed inside the compiler. Both affected runs are on the new pipeline-queue path (`c47b529` pipeline queue fixes, `9c58a1c` pipeline pre-build), and in both runs the crashing compile ran while the pipeline worker queue was draining bursts of compiles. Question for anyone who knows the area: is `amdxc64.dll` expected to be safe to call concurrently from more than one pipeline worker? (System copy here: file version 8.18.10.0514.) *AI-assisted (Hermes Agent).*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:44:31 +00:00
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 22:57 UTC · original

Addendum, same head: the fault does not need the game running.

On the same binary (70564ae, diagnostics build, RX 9070 XT), victory translate --cache --pipelines over the title's shader pack completes translation of 25,985 containers in 148 s, then exits with 0xc0000005 about 8 s into the pipeline phase — last line title pipelines to start early pipelines=3019, nothing after it. A pre-warmed shader cache does not protect a game run either: with the translation cache full, the game died 1.5 s after device creation at the same instruction (amdxc64.dll+0x861b9f, read 0x8, same 30-frame compiler backtrace) — earlier than the uncached runs (20–43 s), so cache state moves the timing, not the fault.

So translate --cache --pipelines is a no-game, ~3-minute reproduction harness for this crash on RDNA4 (the pipeline phase crashed on its first attempt; the game path on this head 3/3).

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-24 22:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7146841348) Addendum, same head: the fault does not need the game running. On the same binary (`70564ae`, diagnostics build, RX 9070 XT), `victory translate --cache --pipelines` over the title's shader pack completes translation of 25,985 containers in 148 s, then exits with `0xc0000005` about 8 s into the pipeline phase — last line `title pipelines to start early pipelines=3019`, nothing after it. A pre-warmed shader cache does not protect a game `run` either: with the translation cache full, the game died 1.5 s after device creation at the same instruction (`amdxc64.dll+0x861b9f`, read 0x8, same 30-frame compiler backtrace) — earlier than the uncached runs (20–43 s), so cache state moves the timing, not the fault. So `translate --cache --pipelines` is a no-game, ~3-minute reproduction harness for this crash on RDNA4 (the pipeline phase crashed on its first attempt; the game path on this head 3/3). AI-assisted (Hermes Agent)
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 00:11 UTC · original

Concurrency A/B on the game-free harness, same head (70564ae), same binary, warm cache — the thread-count question from the body is tested and does not hold as a dodge.

Source first: translate --jobs N flows straight into the pipeline phase — warm() ends with prebuild::run(&paths, threads) (translate.rs:424), and the pre-build runs its pipeline jobs through exactly threads worker threads (prebuild.rs:204, each() spawns threads workers). So --jobs 1 serializes every host-side compiler call in the crashing phase.

Measured, from D3D12 device-ready to exit:

run workers outcome
control default (parallelism) 0xc0000005, ~7.5 s into early pipelines — 2/2
trial 1 (serialized) 0xc0000005, 9.3 s into early pipelines

(The serialized run's container pass was 100% cache hits in 104.7 s vs 91.5 s default — the container pass is not what dies; both runs stop at the same place, ~8–9 s into the 3019-early-pipeline phase. Game runs on this head are separately 3/3 at the same instruction.)

Reading: one call at a time does not dodge the fault, and time-to-death barely moves, so a pure interleaving race is not the trigger — either the bad state is reached deterministically in the first compiler work of the phase, or inside the compiler itself (its own internal threading is not something we can rule out from here). Weakening rather than dismissing the concurrency angle: it just isn't required to reproduce.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 00:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7148244059) Concurrency A/B on the game-free harness, same head (`70564ae`), same binary, warm cache — the thread-count question from the body is tested and does not hold as a dodge. Source first: `translate --jobs N` flows straight into the pipeline phase — `warm()` ends with `prebuild::run(&paths, threads)` (translate.rs:424), and the pre-build runs its pipeline jobs through exactly `threads` worker threads (prebuild.rs:204, `each()` spawns `threads` workers). So `--jobs 1` serializes every host-side compiler call in the crashing phase. Measured, from D3D12 device-ready to exit: | run | workers | outcome | | --- | --- | --- | | control | default (parallelism) | `0xc0000005`, ~7.5 s into early pipelines — 2/2 | | trial | 1 (serialized) | `0xc0000005`, 9.3 s into early pipelines | (The serialized run's container pass was 100% cache hits in 104.7 s vs 91.5 s default — the container pass is not what dies; both runs stop at the same place, ~8–9 s into the 3019-early-pipeline phase. Game runs on this head are separately 3/3 at the same instruction.) Reading: one call at a time does not dodge the fault, and time-to-death barely moves, so a pure interleaving race is not the trigger — either the bad state is reached deterministically in the first compiler work of the phase, or inside the compiler itself (its own internal threading is not something we can rule out from here). Weakening rather than dismissing the concurrency angle: it just isn't required to reproduce. *AI-assisted (Hermes Agent)*
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 00:35 UTC · original

Still reproduces on newest main — retested 4118f33 (217 commits past the previously tested head, several of them shader-translator changes feeding this compiler different DXIL). Same fault, new timing:

  • 0xc0000005, first-chance and unhandled, at amdxc64.dll+0x861b9f (read 0x8), identical backtrace through the D3D12Core pipeline-state path, RX 9070 XT, driver 32.0.32029.2010.
  • Unlike the last head (0 frames, dead 7.5 s after device), this run presented 668 frames (16.9 fps prologue) and died 27.8 s after device ready. The translator changes had just invalidated the shader cache, so the fault landed while compiles of 0.5–1.0 s were running concurrently with presentation.
  • 4/4 across three heads, in-game and with the game-free translate --cache --pipelines harness. None of the 217 commits moved it.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 00:35 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7148674814) Still reproduces on newest `main` — retested `4118f33` (217 commits past the previously tested head, several of them shader-translator changes feeding this compiler different DXIL). Same fault, new timing: - `0xc0000005`, first-chance and unhandled, at `amdxc64.dll+0x861b9f` (read `0x8`), identical backtrace through the D3D12Core pipeline-state path, RX 9070 XT, driver 32.0.32029.2010. - Unlike the last head (0 frames, dead 7.5 s after device), this run **presented 668 frames** (16.9 fps prologue) and died 27.8 s after device ready. The translator changes had just invalidated the shader cache, so the fault landed while compiles of 0.5–1.0 s were running concurrently with presentation. - 4/4 across three heads, in-game and with the game-free `translate --cache --pipelines` harness. None of the 217 commits moved it. AI-assisted (Hermes Agent)
Author
Owner

@⁠Luislariosss on GitHub · 2026-11-25 01:14 UTC · original

Independent reproduction of the same fault family on a different RDNA4 card, plus a candidate for the "bad state reached deterministically" question in the body.

Our setup. RX 9060 XT (RDNA4, 16 GB), amdxc64.dll 32.0.32015.7029, Windows 11 26200, main 70564ae (re-checked on 42363ab). Same shape of death as yours: 0xc0000005 with the whole stack inside amdxc64.dll, no DRED breadcrumbs, no 0x887A… exit. Two offsets, both ours:

  • amdxc64.dll+0x85fd0f — three runs, in-game only, 42–90 s after world entry.
  • amdxc64.dll+0x861b9f — the offset in your report, once, in-game.

So on this card the fault site is not a single instruction; it is "somewhere in the compiler", and which one you land on depends on which program it was compiling.

What we hand that compiler. We ran the official DXIL validator over the shader pack (victory translate --validate --list <archive>, VICTORY_DXIL = DXC 1.9.2609.5 dxil.dll), i.e. on exactly what pipeline.rs would pass to CreateComputePipelineState / graphics PSO creation:

  • 808 programs the validator rejects, out of ~27,160 pipelines' worth of programs.
  • 736 × "Entry function performs some operation that is incompatible with the shader stage or other entry properties" (735 compute).
  • 72 × "For shader 'main', vertex plus primitive output size is greater than 32768" (71 mesh).

The runtime does not validate before pipeline creation by design (emit/validator.rs:1-6: the DXIL carries the container hash we compute ourselves, so D3D12 takes it). That is a plausible answer to your concurrency question from the addendum: an interleaving race is not required if some of the work handed to the compiler is invalid in the first place. It also fits the phase you measured — your --jobs 1 run dies ~8–9 s into the same early-pipeline subset with the timing barely moving.

The crash follows the programs, not the session. With VICTORY_SKIP_PIPELINES set to three compute hashes that crashed the compiler, one run stayed in the world for 4m38s (against 42–90 s without them) and was still presenting when the harness ended it. Skipping is a blunt instrument — it drops the draws — but it says the compiler dies per program.

Watch out for memory pressure when you compare timings. Our last run died with E_OUTOFMEMORY (0x8007000E) on 4 MB shared buffers a fraction of a second before the 0xc0000005. The Breakpad context at that point: 3.1 GB of a 47.2 GB commit limit free, 585 MB of RAM free, working set paged down to ~2 GB. You measured "time-to-death barely moves" with plenty of RAM; here the same fault arrives earlier when the process is thrashing, and the allocation failure immediately precedes it. Worth checking whether your harness sits anywhere near a commit limit.

Reproduction, no game needed on your side either:

set VICTORY_DXIL=<path to dxil.dll>
victory translate --validate --list <shader archive>

It prints one line per rejected program with the program name, stage and the class; on 42363ab we get 808 again (736 + 72), i.e. the 288 commits since 70564ae do not change it. If your card reproduces the compiler fault with no game running, this gives you a way to know which programs are invalid before compiling any of them.

What we are doing about it. #1936 adds a gate in victory-gpu::shader_cache::host_shader: a translation the validator rejects becomes a cached refusal with its reason (the draws are dropped, like any other refusal), so invalid DXIL never reaches the driver, and the count of refusals is logged. It does not make these programs correct — for the compute class the emitter's own stage checks seem to be involved — but it stops the driver from being asked to compile them.

One honest caveat on the compute class: we dumped three of the rejected programs and the individual operations in them (implicit Sample, Gather, SampleCmpLevelZero, f16 conversions) are each legal in a 32×1×1 compute group at SM 6.6 when compiled from HLSL with DXC, so the incompatibility is somewhere else in what we emit around them. We are still narrowing that down; the validator refuses them either way.

AI-assisted.

**@⁠Luislariosss** on GitHub · 2026-11-25 01:14 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7149345655) Independent reproduction of the same fault family on a different RDNA4 card, plus a candidate for the "bad state reached deterministically" question in the body. **Our setup.** RX 9060 XT (RDNA4, 16 GB), `amdxc64.dll` 32.0.32015.7029, Windows 11 26200, `main` `70564ae` (re-checked on `42363ab`). Same shape of death as yours: `0xc0000005` with the whole stack inside `amdxc64.dll`, no DRED breadcrumbs, no `0x887A…` exit. Two offsets, both ours: - `amdxc64.dll+0x85fd0f` — three runs, in-game only, 42–90 s after world entry. - `amdxc64.dll+0x861b9f` — the offset in your report, once, in-game. So on this card the fault site is not a single instruction; it is "somewhere in the compiler", and which one you land on depends on which program it was compiling. **What we hand that compiler.** We ran the official DXIL validator over the shader pack (`victory translate --validate --list <archive>`, `VICTORY_DXIL` = DXC 1.9.2609.5 `dxil.dll`), i.e. on exactly what `pipeline.rs` would pass to `CreateComputePipelineState` / graphics PSO creation: - **808 programs the validator rejects**, out of ~27,160 pipelines' worth of programs. - 736 × "Entry function performs some operation that is incompatible with the shader stage or other entry properties" (735 compute). - 72 × "For shader 'main', vertex plus primitive output size is greater than 32768" (71 mesh). The runtime does not validate before pipeline creation by design (`emit/validator.rs:1-6`: the DXIL carries the container hash we compute ourselves, so D3D12 takes it). That is a plausible answer to your concurrency question from the addendum: an interleaving race is not required if some of the work handed to the compiler is invalid in the first place. It also fits the phase you measured — your `--jobs 1` run dies ~8–9 s into the same early-pipeline subset with the timing barely moving. **The crash follows the programs, not the session.** With `VICTORY_SKIP_PIPELINES` set to three compute hashes that crashed the compiler, one run stayed in the world for **4m38s** (against 42–90 s without them) and was still presenting when the harness ended it. Skipping is a blunt instrument — it drops the draws — but it says the compiler dies per program. **Watch out for memory pressure when you compare timings.** Our last run died with `E_OUTOFMEMORY (0x8007000E)` on 4 MB shared buffers a fraction of a second *before* the `0xc0000005`. The Breakpad context at that point: 3.1 GB of a 47.2 GB commit limit free, 585 MB of RAM free, working set paged down to ~2 GB. You measured "time-to-death barely moves" with plenty of RAM; here the same fault arrives earlier when the process is thrashing, and the allocation failure immediately precedes it. Worth checking whether your harness sits anywhere near a commit limit. **Reproduction, no game needed on your side either:** ```text set VICTORY_DXIL=<path to dxil.dll> victory translate --validate --list <shader archive> ``` It prints one line per rejected program with the program name, stage and the class; on `42363ab` we get 808 again (736 + 72), i.e. the 288 commits since `70564ae` do not change it. If your card reproduces the compiler fault with no game running, this gives you a way to know *which* programs are invalid before compiling any of them. **What we are doing about it.** #1936 adds a gate in `victory-gpu::shader_cache::host_shader`: a translation the validator rejects becomes a cached refusal with its reason (the draws are dropped, like any other refusal), so invalid DXIL never reaches the driver, and the count of refusals is logged. It does not make these programs correct — for the compute class the emitter's own stage checks seem to be involved — but it stops the driver from being asked to compile them. One honest caveat on the compute class: we dumped three of the rejected programs and the individual operations in them (implicit `Sample`, `Gather`, `SampleCmpLevelZero`, f16 conversions) are each legal in a 32×1×1 compute group at SM 6.6 when compiled from HLSL with DXC, so the incompatibility is somewhere else in what we emit around them. We are still narrowing that down; the validator refuses them either way. *AI-assisted.*
Author
Owner

@⁠Luislariosss on GitHub · 2026-11-25 01:29 UTC · original

Correction and follow-up to my previous comment.

Correction. I wrote that the individual operations in the rejected compute programs are legal in a 32×1×1 group. That is true when DXC compiles HLSL, but misleading here: DXC 1.9 writes validator version 1.9 by default, and the translator declares 1.6. Before 1.8, DXC treats Sample/SampleBias as pixel-only, so any compute or mesh program that emits them fails with the generic "Function uses features incompatible with the shader stage (cs)" and no detail line. Compiling a minimal Texture2D.Sample in [numthreads(32,1,1)] with -validator-version 1.6 or 1.7 reproduces the exact text; 1.8 accepts it. So the compute class is invalid by construction, not a quirk of one group size.

Result of the gate. On hardware, with #1936 and no skip-list, one RX 9060 XT run stayed in the world about 5 min 40 s with no 0xc0000005, refusing 223 distinct compute programs on the way. That supports the reading that the compiler dies on specific invalid programs, not on timing alone.

Caveat. That run also logged a flood of E_OUTOFMEMORY on small shared buffers after ~1 min 45 s in the world, so I am not claiming it is stable, only that the compiler fault did not occur.

AI-assisted.

**@⁠Luislariosss** on GitHub · 2026-11-25 01:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7149602379) Correction and follow-up to my previous comment. **Correction.** I wrote that the individual operations in the rejected compute programs are legal in a 32×1×1 group. That is true when DXC compiles HLSL, but misleading here: DXC 1.9 writes validator version 1.9 by default, and the translator declares **1.6**. Before 1.8, DXC treats `Sample`/`SampleBias` as pixel-only, so any compute or mesh program that emits them fails with the generic "Function uses features incompatible with the shader stage (cs)" and no detail line. Compiling a minimal `Texture2D.Sample` in `[numthreads(32,1,1)]` with `-validator-version 1.6` or `1.7` reproduces the exact text; `1.8` accepts it. So the compute class is invalid by construction, not a quirk of one group size. **Result of the gate.** On hardware, with #1936 and no skip-list, one RX 9060 XT run stayed in the world about 5 min 40 s with no `0xc0000005`, refusing 223 distinct compute programs on the way. That supports the reading that the compiler dies on specific invalid programs, not on timing alone. **Caveat.** That run also logged a flood of `E_OUTOFMEMORY` on small shared buffers after ~1 min 45 s in the world, so I am not claiming it is stable, only that the compiler fault did not occur. *AI-assisted.*
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 01:31 UTC · original

Second RDNA4 box confirms the census — RX 9070 XT, driver 32.0.32029.2010, same harness on main 4118f33 (our SDK's validator: dxil.dll 1.9.2602.17, a minor behind yours).

  • 25,982 programs: 24,872 validated, 806 validator rejects = 735 × compute "operation incompatible with the shader stage" + 71 × mesh "output size greater than 32768". Within 2 of your 736 + 72 across a different head, different driver stack and an older validator — the reject set is not card- or driver-specific.
  • Besides those, 304 programs are refused before validation by the translator's own checks (198 × "an address in an SGPR that is no root parameter", 106 emit-class) — those never reach dxil.dll.
  • "The crash follows the programs" matches our shape on an older head: skipping one compute hash alone (eeed82b877b44b5f, that head's DRED-faulting compute) survived 61 min in-world vs 620 s on the same binary. Caveat: that head (a pr336-lineage base) died with the GPU-side page-fault class, not amdxc64.dll — so it is per-program death, but not the compiler crash itself. Are your three compiler-crash skip hashes on record somewhere, and does one of them match eeed82b877b44b5f? The #59 thread independently fingered that program with a host-side null-SRV mechanism (view on a 56-byte record), so it plausibly carries more than one failure mode.
  • Memory pressure is not our trigger: all four game repros and the harness deaths in the top comment ran with commit headroom (we did not log absolute free-RAM figures).

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 01:31 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7149647544) Second RDNA4 box confirms the census — RX 9070 XT, driver 32.0.32029.2010, same harness on `main` `4118f33` (our SDK's validator: dxil.dll 1.9.2602.17, a minor behind yours). - 25,982 programs: 24,872 validated, **806 validator rejects** = 735 × compute "operation incompatible with the shader stage" + 71 × mesh "output size greater than 32768". Within 2 of your 736 + 72 across a different head, different driver stack and an older validator — the reject set is not card- or driver-specific. - Besides those, 304 programs are refused before validation by the translator's own checks (198 × "an address in an SGPR that is no root parameter", 106 emit-class) — those never reach `dxil.dll`. - "The crash follows the programs" matches our shape on an older head: skipping one compute hash alone (`eeed82b877b44b5f`, that head's DRED-faulting compute) survived 61 min in-world vs 620 s on the same binary. Caveat: that head (a pr336-lineage base) died with the GPU-side page-fault class, not `amdxc64.dll` — so it is per-program death, but not the compiler crash itself. Are your three compiler-crash skip hashes on record somewhere, and does one of them match `eeed82b877b44b5f`? The #59 thread independently fingered that program with a host-side null-SRV mechanism (view on a 56-byte record), so it plausibly carries more than one failure mode. - Memory pressure is not our trigger: all four game repros and the harness deaths in the top comment ran with commit headroom (we did not log absolute free-RAM figures). *AI-assisted (Hermes Agent)*
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 04:40 UTC · original

In-game verdict on #1936 (the validator gate), RX 9070 XT: the gate dodges the compiler crash completely. Our blocker moved from "does the compiler survive" to "what wedges the run ~39 minutes in".

Two runs on the current head, one variable (the gate):

  • Control — plain main 940d32f (the copy-back page-marking head): 0xc0000005, first-chance and unhandled, at amdxc64.dll+0x861b9f (read 0x8), byte-identical backtrace, dead 34.4 s after device ready with 881 frames presented (prologue), no world entry. Fourth consecutive head, fifth game repro — the current translator churn has not moved it.
  • Trial — 940d32f + #1936 merged (only conflict was in the shader-cache gate call site), validator gate ON with our SDK's dxil.dll (1.9.2602.17): 5,251 frames presented across 36.4 minutes, zero 0xc0000005, zero device removals. The frame curve is the usual lineage shape: frames 1–1000 at ~31 fps, then a drop through ~1.4 fps from ~frame 2000 — our runs' world-entry signature — holding 1.4–2.2 fps for the last ~33 minutes (202 draws/dispatches per frame with page-table copies active). So on this card the first main-based run I have that gets past the compiler at all and presents half an hour of post-prologue frames.
  • The gate was live from device creation: shaders_rejected climbed from 83 to a final 283 (278 by minute 12, only +5 over the last 27 minutes — it converges). Cold-cache note: the gate keys the shader cache, so the whole pack re-translated once.
  • No E_OUTOFMEMORY at all. @⁠Luislariosss's RX 9060 XT flooded small shared buffers after ~1m45s under the gate; on this 32 GB card there was no memory pressure for the whole run.

The run ended a different way, and I want to flag it before it is mistaken for the same family: 38 min 48 s after launch, the log went silent mid frame-loop — after presenting frame 5,251, the last lines are the frame-wait poll returning normally and a title memory page table copies=5088 blocks=63 summary. No fault, no device removed, no DRED breadcrumbs, no new log line for the next 1h43m; process alive but wedged (working set had fallen 17.6 GB → 3.9 GB); we killed it. That reads title/host-side, not compiler-side.

Two questions for gated runs (@⁠Luislariosss, anyone else on #1936): (1) does your run's log stay alive the whole time, or have you seen it go silent mid-frame-loop like this? (2) world entry — do your gated runs actually reach the world (frame-rate drop past the prologue), or stop at the prologue too?

Net for the milestone chain: the gate turns "die 30–90 s in, inside the compiler" into "39 minutes of frames, then a different wedge." Worth landing — the crash family it screens out is exactly the one this issue is about.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 04:40 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7153064475) **In-game verdict on #1936 (the validator gate), RX 9070 XT: the gate dodges the compiler crash completely.** Our blocker moved from "does the compiler survive" to "what wedges the run ~39 minutes in". Two runs on the current head, one variable (the gate): - **Control** — plain `main` `940d32f` (the copy-back page-marking head): `0xc0000005`, first-chance and unhandled, at `amdxc64.dll+0x861b9f` (read `0x8`), byte-identical backtrace, dead 34.4 s after device ready with 881 frames presented (prologue), no world entry. Fourth consecutive head, fifth game repro — the current translator churn has not moved it. - **Trial** — `940d32f` + #1936 merged (only conflict was in the shader-cache gate call site), validator gate ON with our SDK's `dxil.dll` (1.9.2602.17): **5,251 frames presented across 36.4 minutes, zero `0xc0000005`, zero device removals.** The frame curve is the usual lineage shape: frames 1–1000 at ~31 fps, then a drop through ~1.4 fps from ~frame 2000 — our runs' world-entry signature — holding 1.4–2.2 fps for the last ~33 minutes (202 draws/dispatches per frame with page-table copies active). So on this card the first `main`-based run I have that gets past the compiler at all and presents half an hour of post-prologue frames. - The gate was live from device creation: `shaders_rejected` climbed from 83 to a final **283** (278 by minute 12, only +5 over the last 27 minutes — it converges). Cold-cache note: the gate keys the shader cache, so the whole pack re-translated once. - **No `E_OUTOFMEMORY` at all.** @⁠Luislariosss's RX 9060 XT flooded small shared buffers after ~1m45s under the gate; on this 32 GB card there was no memory pressure for the whole run. The run ended a different way, and I want to flag it before it is mistaken for the same family: 38 min 48 s after launch, the log went silent **mid frame-loop** — after presenting frame 5,251, the last lines are the frame-wait poll returning normally and a `title memory page table copies=5088 blocks=63` summary. No fault, no `device removed`, no DRED breadcrumbs, no new log line for the next 1h43m; process alive but wedged (working set had fallen 17.6 GB → 3.9 GB); we killed it. That reads title/host-side, not compiler-side. Two questions for gated runs (@⁠Luislariosss, anyone else on #1936): (1) does your run's log stay alive the whole time, or have you seen it go silent mid-frame-loop like this? (2) world entry — do your gated runs actually reach the world (frame-rate drop past the prologue), or stop at the prologue too? Net for the milestone chain: the gate turns "die 30–90 s in, inside the compiler" into "39 minutes of frames, then a different wedge." Worth landing — the crash family it screens out is exactly the one this issue is about. AI-assisted (Hermes Agent)
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 12:46 UTC · original · edited 2026-11-26 00:49 UTC

Automated triage for the maintainers.

Run report: RX 9070 XT (RDNA4), driver 32.0.32029.2010. The crash is 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8) inside AMD's shader compiler during pipeline creation. It reproduced in-game and with translate --cache --pipelines alone on 70564ae, 4118f33 and 940d32f. #1783 is an earlier report of the same address, and #2124 bisects its appearance to c75fdba.

Fixed on main. A bisect in this thread (FrozenGuy7, RX 9070 XT, 70 compute containers that faulted the driver, each translated and built in its own process) puts the fix at 850b66f ("Shaders: one handle per descriptor at a fixed address, and per join"), which is in main:

  • 940d32f and 286a00e (the parent of 850b66f): 55 of 70 fault.
  • 850b66f and 842b0cb: 0 faults, without #2122.
  • KingKaom's full translate --cache --pipelines on 842b0cb (RX 9070 XT) is clean: 23,503 pipelines made, no compiler fault.
  • An in-game run on 842b0cb with the driver's cache moved aside compiled 1,911 host pipelines over 18 min 51 s with no amdxc64.dll fault.

The change is in the handle emission in crates/victory-shader/src/emit/lower.rs (one heap handle per descriptor at a fixed address, cached in the entry block), which cuts the number of handles per program from thousands to dozens. Current main is 63bcca4.

Open PR #2122 (a buffer size query gets a handle of its own) is still open and rebased onto 13f91ca. It was the first change shown to remove this crash, and its own GPU test still kills the process on the 9070 XT when the size query is forced back onto the loads' handle. So it may still be worth having as a guard. That decision is for the maintainers, and it does not need to keep this report open.

Other failures seen in this thread are separate and need their own issues if they reproduce on current main:

  • the title-side fault at +0x536df19 (#2122 alone, 940d32f);
  • the title-side fault at +0x308f3b with memory load at 97 % (842b0cb).

Note for testers: AMD's own shader cache for victory.exe (%LOCALAPPDATA%\AMD\DxcCache) can grow to several GB after full pre-builds. At ~7.8 GB the title stopped ~1 s after launch (0x80000003, out of memory) until that cache was moved aside. Clear it before comparing runs.

This issue will be closed in 48 hours unless the reporter replies or a maintainer removes the triage: proposed close label.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7162840937) · edited 2026-11-26 00:49 UTC <!-- victory-issue-triage v1 verdict=proposed-close seen=2026-11-26T00:34:47Z at=2026-11-26T00:49:33Z --> Automated triage for the maintainers. Run report: RX 9070 XT (RDNA4), driver 32.0.32029.2010. The crash is `0xc0000005` at `amdxc64.dll+0x861b9f` (read 0x8) inside AMD's shader compiler during pipeline creation. It reproduced in-game and with `translate --cache --pipelines` alone on `70564ae`, `4118f33` and `940d32f`. #1783 is an earlier report of the same address, and #2124 bisects its appearance to `c75fdba`. **Fixed on main.** A bisect in this thread (FrozenGuy7, RX 9070 XT, 70 compute containers that faulted the driver, each translated and built in its own process) puts the fix at `850b66f` ("Shaders: one handle per descriptor at a fixed address, and per join"), which is in `main`: - `940d32f` and `286a00e` (the parent of `850b66f`): 55 of 70 fault. - `850b66f` and `842b0cb`: 0 faults, without #2122. - KingKaom's full `translate --cache --pipelines` on `842b0cb` (RX 9070 XT) is clean: 23,503 pipelines made, no compiler fault. - An in-game run on `842b0cb` with the driver's cache moved aside compiled 1,911 host pipelines over 18 min 51 s with no `amdxc64.dll` fault. The change is in the handle emission in `crates/victory-shader/src/emit/lower.rs` (one heap handle per descriptor at a fixed address, cached in the entry block), which cuts the number of handles per program from thousands to dozens. Current main is `63bcca4`. Open PR #2122 (a buffer size query gets a handle of its own) is still open and rebased onto `13f91ca`. It was the first change shown to remove this crash, and its own GPU test still kills the process on the 9070 XT when the size query is forced back onto the loads' handle. So it may still be worth having as a guard. That decision is for the maintainers, and it does not need to keep this report open. Other failures seen in this thread are separate and need their own issues if they reproduce on current main: - the title-side fault at `+0x536df19` (#2122 alone, `940d32f`); - the title-side fault at `+0x308f3b` with memory load at 97 % (`842b0cb`). Note for testers: AMD's own shader cache for `victory.exe` (`%LOCALAPPDATA%\AMD\DxcCache`) can grow to several GB after full pre-builds. At ~7.8 GB the title stopped ~1 s after launch (`0x80000003`, out of memory) until that cache was moved aside. Clear it before comparing runs. This issue will be closed in 48 hours unless the reporter replies or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 13:19 UTC · original

Triage asked whether #2122 alone is enough on RDNA4 — tested, and the answer is: yes for the compiler crash, no for getting to the world. RX 9070 XT, one variable against the control in my comment above (plain main 940d32f → that head + #2122 e14ee3d, merged base is exactly this main), same binary profile (diag), same key schedule, cold shader cache (the translator change re-translates the pack, as the PR notes).

  • The amdxc64.dll fault is gone. Control 940d32f died at 34.4 s after device ready with the byte-identical amdxc64.dll+0x861b9f (read 0x8) crash from this thread; the #2122 build showed zero compiler faults while running 2,912 translations and 1,271 host-pipeline builds from a cold cache — and the compiler stayed busy the whole run, so this is not a cache-hit dodge.
  • But the run now dies differently, later, on the title side: unhandled 0xc0000005, READ of 0x584424f54e00 ("nothing mapped there") at victory-image-….dll+0x536df19, full backtrace inside the title image, at frame ~1,969, t+94 s — never reached the world. Death coincides with the first heavy-scene ramp: the frame meter goes 29.0 fps/12 draws → 27.1 fps/10 draws → 0.1 fps with copies 2136.6 ms 3044.9 MB + dropped 5417 without a host pipeline → 0.8 fps/754 draws, crash one step later. Two of the four registers at fault (rbp/r12) hold ASCII-shaped values (0x524f5459…), which reads like string data reached through a bad pointer.
  • Context for that second failure: without the #1936 gate, the 735 stage-invalid compute programs from the census above go to the driver unvalidated instead of being refused — my earlier gated run on this card (same keys, same base) presented 36 minutes with no fault at all. So the candidates for the new death are one of those unvalidated programs drawing over its buffers, or an unrelated title bug that the compiler crash previously hid. A run with both #2122 and #1936 is on this machine right now and will separate the two.

For the tracker: on this card, #2122 alone converts the pre-world compiler death (34 s, 881 frames) into a later title-side death (94 s, frame ~1,969) — progress on this issue, but the menu→world bar still needs the gate (or the program behind the new crash).

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 13:19 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7163605907) Triage asked whether #2122 alone is enough on RDNA4 — tested, and the answer is: **yes for the compiler crash, no for getting to the world.** RX 9070 XT, one variable against the control in my comment above (plain `main` `940d32f` → that head + #2122 `e14ee3d`, merged base is exactly this main), same binary profile (diag), same key schedule, cold shader cache (the translator change re-translates the pack, as the PR notes). - **The `amdxc64.dll` fault is gone.** Control `940d32f` died at 34.4 s after device ready with the byte-identical `amdxc64.dll+0x861b9f` (read `0x8`) crash from this thread; the #2122 build showed **zero** compiler faults while running 2,912 translations and 1,271 host-pipeline builds from a cold cache — and the compiler stayed busy the whole run, so this is not a cache-hit dodge. - **But the run now dies differently, later, on the title side**: unhandled `0xc0000005`, READ of `0x584424f54e00` ("nothing mapped there") at `victory-image-….dll+0x536df19`, full backtrace inside the title image, at **frame ~1,969, t+94 s** — never reached the world. Death coincides with the first heavy-scene ramp: the frame meter goes 29.0 fps/12 draws → 27.1 fps/10 draws → 0.1 fps with `copies 2136.6 ms 3044.9 MB` + `dropped 5417 without a host pipeline` → 0.8 fps/754 draws, crash one step later. Two of the four registers at fault (`rbp`/`r12`) hold ASCII-shaped values (`0x524f5459…`), which reads like string data reached through a bad pointer. - Context for that second failure: without the #1936 gate, the 735 stage-invalid compute programs from the census above go to the driver unvalidated instead of being refused — my earlier gated run on this card (same keys, same base) presented 36 minutes with no fault at all. So the candidates for the new death are one of those unvalidated programs drawing over its buffers, or an unrelated title bug that the compiler crash previously hid. A run with **both** #2122 and #1936 is on this machine right now and will separate the two. For the tracker: on this card, #2122 alone converts the pre-world compiler death (34 s, 881 frames) into a later title-side death (94 s, frame ~1,969) — progress on this issue, but the menu→world bar still needs the gate (or the program behind the new crash). *AI-assisted (Hermes Agent)*
Author
Owner

@⁠zielujestem on GitHub · 2026-11-25 14:18 UTC · original

Tested #2122 (head e14ee3d) with the steps from #1783.

  • RX 9070 XT, driver 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB,
    Windows 11 build 26320
  • Release build, Rust 1.98.1, --locked, empty separate cache
  • translate --cache --pipelines --jobs 8 with shaders.rpf, the exe,
    XboxBvhBuilder.dll and amd_fidelityfx_upscaler_xbox.dll

Result: finished with exit code 0 in one run (12.9 min in total),
no amdxc64.dll crash and no Windows crash event.

  • Containers: 25,678 translated, 307 refused, 82 s
  • Pipelines: 28,164 in the pack, 688 s: 23,429 made,
    3,629 already in the library
  • Skipped: 852 rasteriser state not named, 139 depth-stencil state
    not named, 61 compute + 40 pixel shaders do not translate,
    8 shader not found, 3 blend state not named, 2 other stages,
    1 refused by the host
  • Peak private memory: 17.0 GB (growing through the run)

Before (70564ae, same steps and machine): 2 of 2 runs crashed at
amdxc64.dll+0x861b9f, at about 4% of the pipelines in the first.

Not tested: the game itself with this build. No control run of
940d32f without the PR on this machine.

**@⁠zielujestem** on GitHub · 2026-11-25 14:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7165067850) Tested #2122 (head e14ee3d) with the steps from #1783. - RX 9070 XT, driver 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, Windows 11 build 26320 - Release build, Rust 1.98.1, --locked, empty separate cache - `translate --cache --pipelines --jobs 8` with shaders.rpf, the exe, XboxBvhBuilder.dll and amd_fidelityfx_upscaler_xbox.dll Result: finished with exit code 0 in one run (12.9 min in total), no amdxc64.dll crash and no Windows crash event. - Containers: 25,678 translated, 307 refused, 82 s - Pipelines: 28,164 in the pack, 688 s: 23,429 made, 3,629 already in the library - Skipped: 852 rasteriser state not named, 139 depth-stencil state not named, 61 compute + 40 pixel shaders do not translate, 8 shader not found, 3 blend state not named, 2 other stages, 1 refused by the host - Peak private memory: 17.0 GB (growing through the run) Before (70564ae, same steps and machine): 2 of 2 runs crashed at amdxc64.dll+0x861b9f, at about 4% of the pipelines in the first. Not tested: the game itself with this build. No control run of 940d32f without the PR on this machine.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 15:24 UTC · original

Both PRs together, RX 9070 XT: 2 h 01 min, zero faults. Triage asked for #2122 alone; since both fixes were up, we ran the merged pair (main 940d32f + #2122 + #1936, gate ON) as one more run — same binary profile (diag), same interactive key schedule, cold cache.

  • Survived our kill at 2 h 01 min with no 0xc0000005, no device removal, no wedge: the log streamed continuously to the last line (4,886 draws and page-table copies still active when we stopped it).
  • The 38m48s stall from the gate-only run did not reproduce — though this run never entered the world, so treat that as one data point for a stall class that lives after world entry.
  • What a stable run is still left with is the cost floor: final line 1.5 fps at 683 ms/frame, copies dominating the frame prep (73.5 ms / 136.5 MB per frame) with 121.7 ms on the GPU, and a steady ~301 draws/frame still dropping for a missing host pipeline. That, not the compiler, is what separates a stable run from a playable one — the first frontier AMD build we have benched on this same card is presenting lit scenes around 5 fps, so the copy and draw path is where the gap lives.

No new issue filed: the stall class stays here until it reproduces, per the triage note.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 15:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7166801971) **Both PRs together, RX 9070 XT: 2 h 01 min, zero faults.** Triage asked for #2122 alone; since both fixes were up, we ran the merged pair (`main` `940d32f` + #2122 + #1936, gate ON) as one more run — same binary profile (diag), same interactive key schedule, cold cache. - Survived our kill at 2 h 01 min with no `0xc0000005`, no device removal, no wedge: the log streamed continuously to the last line (4,886 draws and page-table copies still active when we stopped it). - The 38m48s stall from the gate-only run did not reproduce — though this run never entered the world, so treat that as one data point for a stall class that lives after world entry. - What a stable run is still left with is the cost floor: final line 1.5 fps at 683 ms/frame, copies dominating the frame prep (73.5 ms / 136.5 MB per frame) with 121.7 ms on the GPU, and a steady ~301 draws/frame still dropping for a missing host pipeline. That, not the compiler, is what separates a stable run from a playable one — the first frontier AMD build we have benched on this same card is presenting lit scenes around 5 fps, so the copy and draw path is where the gap lives. No new issue filed: the stall class stays here until it reproduces, per the triage note. AI-assisted (Hermes Agent)
Author
Owner

@⁠zielujestem on GitHub · 2026-11-25 20:58 UTC · original

Note from the same RX 9070 XT: after the full --pipelines pre-build of
#2122 (on top of earlier pre-builds of other builds), AMD's shared driver
cache for victory.exe (%LOCALAPPDATA%\AMD\DxcCache) had grown to ~7.8 GB
(one file 6.3 GB). From then on the title stopped ~1 s after launch
(0x80000003 at image+0x19f4f58, r11 0xc0000017), in two other builds that
had worked before, also after a reboot. Moving that program's two .parc
files aside fixed it.

**@⁠zielujestem** on GitHub · 2026-11-25 20:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7174440434) Note from the same RX 9070 XT: after the full `--pipelines` pre-build of #2122 (on top of earlier pre-builds of other builds), AMD's shared driver cache for victory.exe (%LOCALAPPDATA%\AMD\DxcCache) had grown to ~7.8 GB (one file 6.3 GB). From then on the title stopped ~1 s after launch (0x80000003 at image+0x19f4f58, r11 0xc0000017), in two other builds that had worked before, also after a reboot. Moving that program's two .parc files aside fixed it.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-25 23:15 UTC · original

translate --cache --pipelines on current main (842b0cb), RX 9070 XT (RDNA4), driver 32.0.32029.2010: clean pass, no compiler fault.

  • Pipeline stage: 23,503 made + 3,632 found in the library (28,164 in the pack), 636 s. Skipped: 852 rasteriser state not named, 139 depth-stencil, 24 compute does not translate, 3 blend, 8 shader not found, 2 other stages, 1 pixel does not translate.
  • Translation stage: 25,756 translated, 229 refused (the census was --cache, so per-reason detail is in the saved log if wanted).
  • #2122 was not added on top: with the unpatched build already clean here, a +run would only re-confirm zielujestem's. One caveat on warmth: the host pipeline library was cold for these heads (only 3,632 library hits), but the DXC cache was partially warm from earlier runs — it grew 5.17 GB → 8.52 GB across the pass, so the vast majority of these pipelines really did compile.
  • Consistent with zielujestem's report, the pass grew the DXC cache past the size they saw a launch-time 0x80000003 on; a game launch right after this pass is running clean so far — I'll follow up with world-entry numbers if anything faults.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-25 23:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7177314746) **`translate --cache --pipelines` on current `main` (`842b0cb`), RX 9070 XT (RDNA4), driver 32.0.32029.2010: clean pass, no compiler fault.** - Pipeline stage: 23,503 made + 3,632 found in the library (28,164 in the pack), 636 s. Skipped: 852 rasteriser state not named, 139 depth-stencil, 24 compute does not translate, 3 blend, 8 shader not found, 2 other stages, 1 pixel does not translate. - Translation stage: 25,756 translated, 229 refused (the census was `--cache`, so per-reason detail is in the saved log if wanted). - `#2122` was not added on top: with the unpatched build already clean here, a +run would only re-confirm zielujestem's. One caveat on warmth: the host pipeline library was cold for these heads (only 3,632 library hits), but the DXC cache was partially warm from earlier runs — it grew 5.17 GB → 8.52 GB across the pass, so the vast majority of these pipelines really did compile. - Consistent with zielujestem's report, the pass grew the DXC cache past the size they saw a launch-time `0x80000003` on; a game launch right after this pass is running clean so far — I'll follow up with world-entry numbers if anything faults. <sub>AI-assisted (Hermes Agent)</sub>
Author
Owner

@⁠FrozenGuy7 on GitHub · 2026-11-26 00:34 UTC · original

Bisected the fix: 850b66f ("Shaders: one handle per descriptor at a fixed address, and per join") ends the amdxc64.dll+0x861b9f fault on RX 9070 XT, without #2122.

Host: RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 9800X3D, 32 GB RAM, Windows 11 26300. Release builds, default settings.

Reproducer (no game run, ~1.5 s per shader): 70 compute containers that faulted the driver in game runs (collected from a fork's recorded pipelines, kept locally, not attached). Each one goes through victory translate --pipelines --list <one container> in a process of its own, so a fault ends only that process. Counts are of the 70.

build faults pipelines made
940d32f 55 14
286a00e (parent of 850b66f) 55 14
850b66f 0 69
842b0cb (current main) 0 70

The missing one on the first three rows is 39f0e9aeb156a61c. It ends without a fault and without a pipeline there, and makes one on 842b0cb; it is not part of this fault.

Bisect between 940d32f (faults) and 842b0cb (clean): 14 builds tested. Every build from 850b66f on was clean; every one before it that was tested had 55. That matches KingKaom's clean translate --cache --pipelines on 842b0cb above.

In game, 842b0cb, cold: release build, default settings, no VICTORY_SKIP_PIPELINES. Shaders were translated ahead (translate --cache, no --pipelines), and AMD's %LOCALAPPDATA%\AMD\DxcCache was moved aside, so the driver compiled every pipeline during play. The run went through the boot screens, the intro cutscene and into the prologue: 18 min 51 s, 1,911 host pipelines made, no amdxc64.dll fault. For comparison, on the same machine the forks without 850b66f faulted at amdxc64.dll+0x861b9f between 9 s and 12 min into a run.

The run did end on a different fault, inside the title's own code (0xc0000005 at victory-image-…+0x308f3b, read 0xffffffffffffffff, no driver frames in the stack), with memory load at 97 %. That looks like a separate issue; I'm noting it here only so it isn't mistaken for this one.

For forks that branched before this. Forks based on ffe310e or earlier don't contain c75fdba but still fault, because their own translator changes give the driver the same pattern. In one of them, 66 of these 70 fault. A plain cherry-pick of 850b66f conflicts there (lower.rs, bitcode.rs): it relies on the DXIL writer's reachability from 286a00e and on the entry-block handle cache. Taking both commits is probably the minimum for a fork.

What this doesn't show: whether 850b66f removes the trigger itself or only stops these shaders from reaching it. Its description counts heap handles going from thousands to dozens per program, which fits the fault being in the compiler's handling of many repeated handles. I haven't reduced a shader to confirm that.

No game data here: commit hashes, one shader hash, counts, fault addresses and error strings only.

AI-assisted: the reproducer, bisect and this text were done with Claude Code; the hardware and runs are mine.

**@⁠FrozenGuy7** on GitHub · 2026-11-26 00:34 UTC · [original](https://github.com/Marvisak/VIctory/issues/1785#issuecomment-7178902388) **Bisected the fix: `850b66f` ("Shaders: one handle per descriptor at a fixed address, and per join") ends the `amdxc64.dll+0x861b9f` fault on RX 9070 XT, without #2122.** **Host:** RX 9070 XT 16 GB (RDNA4), Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 9800X3D, 32 GB RAM, Windows 11 26300. Release builds, default settings. **Reproducer (no game run, ~1.5 s per shader):** 70 compute containers that faulted the driver in game runs (collected from a fork's recorded pipelines, kept locally, not attached). Each one goes through `victory translate --pipelines --list <one container>` in a process of its own, so a fault ends only that process. Counts are of the 70. | build | faults | pipelines made | | --- | ---: | ---: | | `940d32f` | 55 | 14 | | `286a00e` (parent of `850b66f`) | 55 | 14 | | `850b66f` | 0 | 69 | | `842b0cb` (current `main`) | 0 | 70 | The missing one on the first three rows is `39f0e9aeb156a61c`. It ends without a fault and without a pipeline there, and makes one on `842b0cb`; it is not part of this fault. Bisect between `940d32f` (faults) and `842b0cb` (clean): 14 builds tested. Every build from `850b66f` on was clean; every one before it that was tested had 55. That matches KingKaom's clean `translate --cache --pipelines` on `842b0cb` above. **In game, `842b0cb`, cold:** release build, default settings, no `VICTORY_SKIP_PIPELINES`. Shaders were translated ahead (`translate --cache`, no `--pipelines`), and AMD's `%LOCALAPPDATA%\AMD\DxcCache` was moved aside, so the driver compiled every pipeline during play. The run went through the boot screens, the intro cutscene and into the prologue: **18 min 51 s, 1,911 host pipelines made, no `amdxc64.dll` fault.** For comparison, on the same machine the forks without `850b66f` faulted at `amdxc64.dll+0x861b9f` between 9 s and 12 min into a run. The run did end on a different fault, inside the title's own code (`0xc0000005 at victory-image-…+0x308f3b`, read `0xffffffffffffffff`, no driver frames in the stack), with memory load at 97 %. That looks like a separate issue; I'm noting it here only so it isn't mistaken for this one. **For forks that branched before this.** Forks based on `ffe310e` or earlier don't contain `c75fdba` but still fault, because their own translator changes give the driver the same pattern. In one of them, 66 of these 70 fault. A plain cherry-pick of `850b66f` conflicts there (`lower.rs`, `bitcode.rs`): it relies on the DXIL writer's reachability from `286a00e` and on the entry-block handle cache. Taking both commits is probably the minimum for a fork. **What this doesn't show:** whether `850b66f` removes the trigger itself or only stops these shaders from reaching it. Its description counts heap handles going from thousands to dozens per program, which fits the fault being in the compiler's handling of many repeated handles. I haven't reduced a shader to confirm that. No game data here: commit hashes, one shader hash, counts, fault addresses and error strings only. AI-assisted: the reproducer, bisect and this text were done with Claude Code; the hardware and runs are mine.
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#1785
No description provided.