RDNA 4 AMD shader compiler crash #8

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

@⁠62koen on GitHub · 2026-11-25 23:11 UTC · original

First time it lasted a minute or two and now it's crashing instantly.
It's an issue on other VIctory forks too.

run-1795648103686-7640.log

**@⁠62koen** on GitHub · 2026-11-25 23:11 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8) First time it lasted a minute or two and now it's crashing instantly. It's an issue on other VIctory forks too. [run-1795648103686-7640.log](https://github.com/user-attachments/files/35437098/run-1795648103686-7640.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:14 +00:00
Author
Owner

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

Same crash here on another RDNA 4 card. Here is what we found; I think the root cause is the AMD shader compiler, not backtrace.io.

System: Radeon RX 9070 XT (RDNA 4), AMD driver 32.0.32029.2010, Ryzen 7 7800X3D, 32 GB RAM plus a 64 GB page file, Windows 11 (10.0.26300). Build: this fork at 0a43566, --profile diag --features diagnostics, started with scripts\play.ps1 -Safe. Shaders were pre-built with victory shaders (25,782 in the cache).

What happens: boot, intro video, loading screen, first cutscene caption, then a black screen with the cutscene's audio playing. About 2 minutes after start:

first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
  #0 amdxc64.dll+0x861b9f ... #28 amdxc64.dll+0x2660d7
  #29..#37 D3D12Core.dll / d3d12.dll
  #38 victory.exe (CreateComputePipelineState)

The HTTP connection blocked submit.backtrace.io:443 line comes afterwards: it is the title's own crash reporter trying to upload a minidump, which is correctly blocked. It is a symptom, not the cause.

It reproduces identically (same offset amdxc64.dll+0x861b9f, the same read of 0x8, always inside a host compute pipeline creation) in:

  • upstream marvisak/fxceless VIctory, release build;
  • this fork, diag build, -Safe;
  • victory translate <game> --validate --pipelines --jobs 8 without running the title (segfault after ~3 min). So it is reachable offline.

Not tied to one shader. I added a local log line before every host pipeline build, plus an opt-in VICTORY_NO_BUILD=<hashes> that never passes the listed shaders to the driver:

  • With default workers, about 10 compute pipelines were mid-build at the crash, and the set differed between runs.
  • With VICTORY_PIPELINE_WORKERS=1, exactly one compute pipeline was unfinished.
  • With that one shader blocked, the crash came again, with other compute pipelines mid-build and the blocked one never requested.

So the AMD compiler seems to crash on whatever compute pipeline it compiles at roughly that point in the game, independent of the shader and of concurrency. That suggests driver state corrupted earlier, or a DXIL construct common to many of these compute shaders. The VICTORY_SKIP_PIPELINES switch does not help, because it only drops draws and dispatches; the pipeline is still created.

Suggestions:

  • Is anyone on RDNA 4 (RX 9060/9070) past this point? It looks RDNA 4-specific (RDNA 3 works per your README).
  • Running victory translate --validate --pipelines --jobs 1 on an RDNA 4 machine should give a deterministic first failing pipeline without the title, which would make a clean report to AMD possible.
  • A guard such as __try around CreateComputePipelineState (with SEH) would let the run continue with that pipeline missing instead of ending the process, at least for diagnosis.

Happy to run further diagnostics on the 9070 XT if useful.

**@⁠Sandro12366** on GitHub · 2026-11-25 23:15 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177313557) Same crash here on another **RDNA 4** card. Here is what we found; I think the root cause is the AMD shader compiler, not backtrace.io. **System:** Radeon **RX 9070 XT** (RDNA 4), AMD driver 32.0.32029.2010, Ryzen 7 7800X3D, 32 GB RAM plus a 64 GB page file, Windows 11 (10.0.26300). Build: this fork at `0a43566`, `--profile diag --features diagnostics`, started with `scripts\play.ps1 -Safe`. Shaders were pre-built with `victory shaders` (25,782 in the cache). **What happens:** boot, intro video, loading screen, first cutscene caption, then a black screen with the cutscene's audio playing. About 2 minutes after start: ``` first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) #0 amdxc64.dll+0x861b9f ... #28 amdxc64.dll+0x2660d7 #29..#37 D3D12Core.dll / d3d12.dll #38 victory.exe (CreateComputePipelineState) ``` The `HTTP connection blocked submit.backtrace.io:443` line comes **afterwards**: it is the title's own crash reporter trying to upload a minidump, which is correctly blocked. It is a symptom, not the cause. **It reproduces identically** (same offset `amdxc64.dll+0x861b9f`, the same read of `0x8`, always inside a host compute pipeline creation) in: - upstream marvisak/fxceless VIctory, release build; - this fork, diag build, `-Safe`; - `victory translate <game> --validate --pipelines --jobs 8` **without running the title** (segfault after ~3 min). So it is reachable offline. **Not tied to one shader.** I added a local log line before every host pipeline build, plus an opt-in `VICTORY_NO_BUILD=<hashes>` that never passes the listed shaders to the driver: - With default workers, about 10 compute pipelines were mid-build at the crash, and the set differed between runs. - With `VICTORY_PIPELINE_WORKERS=1`, exactly one compute pipeline was unfinished. - With that one shader blocked, the crash came again, with other compute pipelines mid-build and the blocked one never requested. So the AMD compiler seems to crash on whatever compute pipeline it compiles at roughly that point in the game, independent of the shader and of concurrency. That suggests driver state corrupted earlier, or a DXIL construct common to many of these compute shaders. The `VICTORY_SKIP_PIPELINES` switch does not help, because it only drops draws and dispatches; the pipeline is still created. **Suggestions:** - Is anyone on RDNA 4 (RX 9060/9070) past this point? It looks RDNA 4-specific (RDNA 3 works per your README). - Running `victory translate --validate --pipelines --jobs 1` on an RDNA 4 machine should give a deterministic first failing pipeline without the title, which would make a clean report to AMD possible. - A guard such as `__try` around `CreateComputePipelineState` (with SEH) would let the run continue with that pipeline missing instead of ending the process, at least for diagnosis. Happy to run further diagnostics on the 9070 XT if useful.
Author
Owner

@⁠DevingClaudio on GitHub · 2026-11-25 23:28 UTC · original

Title: Crash in amdxc64.dll (null deref, read 0x8) on RX 9070 XT (RDNA 4), reproduces 5/5 runs

Summary

On an RX 9070 XT the process dies with an access violation inside AMD's shader compiler (amdxc64.dll+0x861b9f, read of 0x8, rcx = 0). The game-side frames are identical every time. This looks like the same crash as [link to the existing RDNA 4 issue]. I'm on the same driver build as that report (32.0.32029.2010) and get the identical fault offset, so this is a second independent confirmation on the same amdxc64.dll.

System

  • GPU: AMD Radeon RX 9070 XT (RDNA 4), 16 GB GDDR6, Device ID 7550, Revision C0, VBIOS 023.008.000.068
  • Driver: AMD Software Adrenalin Edition 26.11.2 (released 11/18/2026, up to date), AMD Windows Driver Version 32.0.32029.2010, Direct3D driver 9.17.11.0306
  • CPU: AMD Ryzen 7 7800X3D (8 cores), with the integrated AMD Radeon Graphics (512 MB) also present as a second adapter
  • RAM: 32 GB
  • OS: Windows 11 Professional 64-bit, version 26H1
  • Build: cargo build --locked --profile diag -p victory --features diagnostics (builds cleanly, 6 warnings, no errors)

What happens

  • Run 1: crashed about 2m23s in (frame 3047) during the intro cutscene. The streaming request list fbk_stry000_FBK_STRY000_INTRO was in Prestream, with 109 streaming requests

pending.

  • Later runs: crashed at Game Init, frame 0, 0s runtime. The timing varies, but the fault does not.

Crash details

5 crashes across 5 processes (18740, 21384, 7012, 3080, 6724). All have:

  • unhandled exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
  • rcx 0x0 (null base pointer, field at +8)
  • Identical 40-frame stack: frames #0-#28 in amdxc64.dll, #29-#37 in D3D12Core.dll / d3d12.dll, then victory.exe+0x3bbeca and victory.exe+0x43b07a

Only register values and PIDs differ between runs. The identical offsets mean the same amdxc64.dll build each time.

Full crashes.log and one *.crash.log attached.

Notes

  • Matches the existing report: same offset, same read, same area (host compute pipeline creation, per that report). I have not yet resolved victory.exe+0x3bbeca against the PDB to confirm the exact call.
  • The reporter of the existing issue has the same CPU (7800X3D) and also an RX 9070 XT, so both machines have an iGPU plus a discrete GPU. I don't know whether that matters, but it is a shared variable. I can test with the iGPU disabled if that would help.
  • Memory is tight in the game's own dump (Game Physical ~94.6% of budget), but the crash is deterministic and also happens at frame 0, so I don't think memory is the cause.

crashes.log

victory-20261126-000546-7012.crash.log
victory-20261126-000925-3080.crash.log
victory-20261126-001128-6724.crash.log

**@⁠DevingClaudio** on GitHub · 2026-11-25 23:28 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177602615) **Title:** Crash in amdxc64.dll (null deref, read 0x8) on RX 9070 XT (RDNA 4), reproduces 5/5 runs ## Summary On an RX 9070 XT the process dies with an access violation inside AMD's shader compiler (`amdxc64.dll+0x861b9f`, read of `0x8`, `rcx = 0`). The game-side frames are identical every time. This looks like the same crash as [link to the existing RDNA 4 issue]. I'm on the same driver build as that report (32.0.32029.2010) and get the identical fault offset, so this is a second independent confirmation on the same `amdxc64.dll`. ## System - GPU: AMD Radeon RX 9070 XT (RDNA 4), 16 GB GDDR6, Device ID 7550, Revision C0, VBIOS 023.008.000.068 - Driver: AMD Software Adrenalin Edition 26.11.2 (released 11/18/2026, up to date), AMD Windows Driver Version 32.0.32029.2010, Direct3D driver 9.17.11.0306 - CPU: AMD Ryzen 7 7800X3D (8 cores), with the integrated AMD Radeon Graphics (512 MB) also present as a second adapter - RAM: 32 GB - OS: Windows 11 Professional 64-bit, version 26H1 - Build: `cargo build --locked --profile diag -p victory --features diagnostics` (builds cleanly, 6 warnings, no errors) ## What happens - Run 1: crashed about 2m23s in (frame 3047) during the intro cutscene. The streaming request list `fbk_stry000_FBK_STRY000_INTRO` was in `Prestream`, with 109 streaming requests pending. - Later runs: crashed at `Game Init`, frame 0, 0s runtime. The timing varies, but the fault does not. ## Crash details 5 crashes across 5 processes (18740, 21384, 7012, 3080, 6724). All have: - `unhandled exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)` - `rcx 0x0` (null base pointer, field at +8) - Identical 40-frame stack: frames #0-#28 in `amdxc64.dll`, #29-#37 in `D3D12Core.dll` / `d3d12.dll`, then `victory.exe+0x3bbeca` and `victory.exe+0x43b07a` Only register values and PIDs differ between runs. The identical offsets mean the same `amdxc64.dll` build each time. Full `crashes.log` and one `*.crash.log` attached. ## Notes - Matches the existing report: same offset, same read, same area (host compute pipeline creation, per that report). I have not yet resolved `victory.exe+0x3bbeca` against the PDB to confirm the exact call. - The reporter of the existing issue has the same CPU (7800X3D) and also an RX 9070 XT, so both machines have an iGPU plus a discrete GPU. I don't know whether that matters, but it is a shared variable. I can test with the iGPU disabled if that would help. - Memory is tight in the game's own dump (Game Physical ~94.6% of budget), but the crash is deterministic and also happens at frame 0, so I don't think memory is the cause. [crashes.log](https://github.com/user-attachments/files/35437412/crashes.log) [victory-20261126-000546-7012.crash.log](https://github.com/user-attachments/files/35437422/victory-20261126-000546-7012.crash.log) [victory-20261126-000925-3080.crash.log](https://github.com/user-attachments/files/35437421/victory-20261126-000925-3080.crash.log) [victory-20261126-001128-6724.crash.log](https://github.com/user-attachments/files/35437423/victory-20261126-001128-6724.crash.log)
Author
Owner

@⁠QuelDude on GitHub · 2026-11-25 23:32 UTC · original

0098c090-9c58-4ba8-b567-a2cf8bb6ffbd.dmp
victory-20261125-182633-14880.crash.log

Same error on 9060xt 16 gig

amdxc64.dll+0x861b9f

**@⁠QuelDude** on GitHub · 2026-11-25 23:32 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177707467) [0098c090-9c58-4ba8-b567-a2cf8bb6ffbd.dmp](https://github.com/user-attachments/files/35437484/0098c090-9c58-4ba8-b567-a2cf8bb6ffbd.dmp) [victory-20261125-182633-14880.crash.log](https://github.com/user-attachments/files/35437485/victory-20261125-182633-14880.crash.log) Same error on 9060xt 16 gig amdxc64.dll+0x861b9f
Author
Owner

@⁠itsonewi on GitHub · 2026-11-25 23:38 UTC · original

One correction to the experiments above, because both conclusions drawn from VICTORY_SKIP_PIPELINES are guaranteed by how the switch is implemented.

It cannot stop a pipeline from being made. The hash list is read in crates/victory-gpu/src/pipeline.rs:475-505 and consulted from is_skipped() where draws and dispatches are issued — i.e. after the pipeline exists. The documented wording agrees (docs/README-fxceless.md:323: "omit draws and dispatches ... whose pipeline contains a listed hash"). So "with that one shader blocked, the crash came again with other compute pipelines mid-build" and "the crash just moves to another pipeline" do not distinguish a shader-specific fault from a state/shared-construct fault: the blocked hash was still compiled, just not dispatched afterwards.

A well-formed hash that matches nothing is silent. parse_skip_hashes warns only for hashes that are not 16 hex digits; whether a listed hash ever matched a pipeline is never printed. Before relying on it, check the drops summary or the DROPPED skipped shader <hash> lines.

What would actually isolate this, and what already exists in the tree: the process has a first-chance VEH (crates/victory-gpu/src/watch.rs, on_write) that rewrites Rip for faults raised inside our own copies (safecopy::failing_exit). The same shape can mark a pipeline-creation thread as "inside the driver call", catch 0xc0000005, and continue with that one pipeline missing instead of ending the process — the pipeline then reports as missing and its draws are dropped, exactly like a refused pipeline today. That turns a 5/5 process death into a run that keeps going and names every hash the driver crashed on, which is the clean list AMD would want.

Two smaller things in the reports above that may be worth one run each:

  • Two of the five confirmations (yours and DevingClaudio's) are on machines with a Ryzen 7800X3D iGPU plus a discrete 9070 XT. If the crash is reachable in translate --pipelines offline, it should reproduce with the iGPU disabled, which would settle whether adapter enumeration matters.
  • The 0x80070057 root-signature refusals in #12 are a separate, already-filed issue here.

AI use

AI-assisted reply (source reading). No build, no hardware run, no game files.

**@⁠itsonewi** on GitHub · 2026-11-25 23:38 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177847062) One correction to the experiments above, because both conclusions drawn from `VICTORY_SKIP_PIPELINES` are guaranteed by how the switch is implemented. **It cannot stop a pipeline from being made.** The hash list is read in `crates/victory-gpu/src/pipeline.rs:475-505` and consulted from `is_skipped()` where draws and dispatches are issued — i.e. *after* the pipeline exists. The documented wording agrees (`docs/README-fxceless.md:323`: "omit draws and dispatches ... whose pipeline contains a listed hash"). So "with that one shader blocked, the crash came again with other compute pipelines mid-build" and "the crash just moves to another pipeline" do not distinguish a shader-specific fault from a state/shared-construct fault: the blocked hash was still compiled, just not dispatched afterwards. **A well-formed hash that matches nothing is silent.** `parse_skip_hashes` warns only for hashes that are not 16 hex digits; whether a listed hash ever matched a pipeline is never printed. Before relying on it, check the drops summary or the `DROPPED skipped shader <hash>` lines. What would actually isolate this, and what already exists in the tree: the process has a first-chance VEH (`crates/victory-gpu/src/watch.rs`, `on_write`) that rewrites `Rip` for faults raised inside our own copies (`safecopy::failing_exit`). The same shape can mark a pipeline-creation thread as "inside the driver call", catch `0xc0000005`, and continue with that one pipeline missing instead of ending the process — the pipeline then reports as missing and its draws are dropped, exactly like a refused pipeline today. That turns a 5/5 process death into a run that keeps going and names every hash the driver crashed on, which is the clean list AMD would want. Two smaller things in the reports above that may be worth one run each: - Two of the five confirmations (yours and DevingClaudio's) are on machines with a Ryzen 7800X3D **iGPU plus** a discrete 9070 XT. If the crash is reachable in `translate --pipelines` offline, it should reproduce with the iGPU disabled, which would settle whether adapter enumeration matters. - The `0x80070057` root-signature refusals in #12 are a separate, already-filed issue here. ## AI use AI-assisted reply (source reading). No build, no hardware run, no game files.
Author
Owner

@⁠Sandro12366 on GitHub · 2026-11-25 23:39 UTC · original

my igpu is disabled

**@⁠Sandro12366** on GitHub · 2026-11-25 23:39 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177868946) my igpu is disabled
Author
Owner

@⁠whiteblackonezero on GitHub · 2026-11-25 23:40 UTC · original

Same crash on an RX 9070 XT (RDNA 4).

  • Driver: 32.0.32029.2010 (Adrenalin 26.11.2); OS: Windows 11 25H2 - 26200.9974; RAM 32 GB; this fork at 0a43566, diag build
  • Normal mode: crash at frame ~64, right after the first bind of a compute pipeline
  • -Safe: reaches the intro cutscene (black screen, audio), crash at frame ~2096
  • Both: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8), identical 40-frame stack (#28 amdxc64.dll+0x2660d7 ... #38 victory.exe+0x3bbeca)
  • Before the crash the host was far behind on pipelines (dropped ~2230/frame without a host pipeline: being made, ~0.9 fps)

iGPU disabled.

**@⁠whiteblackonezero** on GitHub · 2026-11-25 23:40 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177900478) Same crash on an RX 9070 XT (RDNA 4). - Driver: 32.0.32029.2010 (Adrenalin 26.11.2); OS: Windows 11 25H2 - 26200.9974; RAM 32 GB; this fork at 0a43566, diag build - Normal mode: crash at frame ~64, right after the first bind of a compute pipeline - `-Safe`: reaches the intro cutscene (black screen, audio), crash at frame ~2096 - Both: `first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8)`, identical 40-frame stack (`#28 amdxc64.dll+0x2660d7` ... `#38 victory.exe+0x3bbeca`) - Before the crash the host was far behind on pipelines (`dropped ~2230/frame without a host pipeline: being made`, ~0.9 fps) iGPU disabled.
Author
Owner

@⁠Caat0rce on GitHub · 2026-11-25 23:27 UTC · original · edited 2026-11-25 23:42 UTC

Same crash here on RDNA 4.

GPU: Radeon RX 9060 XT
Driver: 32.0.32029.2010 (Adrenalin 26.11.2)
OS: Windows 11, 32 GB RAM + large page file
Build: this fork, diag profile, scripts\play.ps1 -Safe

The title boots and renders ~60-70 frames, then ~2 seconds later it dies with:

first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
stack: amdxc64.dll -> D3D12Core.dll -> d3d12.dll -> victory.exe, on a victory-pipelines worker thread

Same offset and same read of 0x8 as reported above. It reproduces on every run (5+ runs, identical stack).
I haven't been able to isolate a single shader (I only tried VICTORY_SKIP_PIPELINES, which I now understand
only drops draws/dispatches after the pipeline is created, so it doesn't tell us anything).

Happy to test a build that catches the exception around pipeline creation and logs the failing hashes,
or any other diagnostic.

**@⁠Caat0rce** on GitHub · 2026-11-25 23:27 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7177578831) · edited 2026-11-25 23:42 UTC Same crash here on RDNA 4. GPU: Radeon RX 9060 XT Driver: 32.0.32029.2010 (Adrenalin 26.11.2) OS: Windows 11, 32 GB RAM + large page file Build: this fork, diag profile, scripts\play.ps1 -Safe The title boots and renders ~60-70 frames, then ~2 seconds later it dies with: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) stack: amdxc64.dll -> D3D12Core.dll -> d3d12.dll -> victory.exe, on a victory-pipelines worker thread Same offset and same read of 0x8 as reported above. It reproduces on every run (5+ runs, identical stack). I haven't been able to isolate a single shader (I only tried VICTORY_SKIP_PIPELINES, which I now understand only drops draws/dispatches after the pipeline is created, so it doesn't tell us anything). Happy to test a build that catches the exception around pipeline creation and logs the failing hashes, or any other diagnostic.
Author
Owner

@⁠schmiticle on GitHub · 2026-11-26 00:43 UTC · original

RX 9070 XT: 0a43566 runs the world at about 21 fps; the compiler crash still ends sessions, and one of the fork's own tests reproduces it in seconds

Machine: RX 9070 XT 16 GB, Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 7800X3D, 32 GB DDR5-6000 + 32 GB page file, Windows 11 26300. 0a43566, diag build, Series X, scripts\play.ps1 settings (not -Safe) plus VICTORY_SKIP_PIPELINES=42683eebec081520 (that program page-faulted this card on other trees). Shaders translated ahead with victory shaders.

With Marvisak/VIctory #317 added (annotateHandle as Effect::Lanes in bitcode/opt.rs), the first-room crash within a minute that others report here went away:

First run about 4 minutes of black picture while about 1,000 pipelines were made (39f0e9aeb156a61c alone about 90 s, all 10 workers at full CPU), then the world
Cell, prologue 40-50 ms a frame (20-25 fps); 22-25 fps over several minutes
A cutscene 33 ms, at the title's 30 fps
Run 1 13 minutes, closed by hand, no fault
Run 2 (pipeline library from run 1) no black start, 19 fps at 2 minutes; about 9 minutes in, a new area made new pipelines and the process died at amdxc64.dll+0x861b9f (read 0x8)
Memory 33-40 GB private, 2-5 GB of it in the page file

For comparison on this machine: victory-amd f25e735 about 195 ms a frame, DexNom 2e01ab4 about 241 ms.

What did not stop the crash:

  • #317 alone: survives the startup pipelines, dies later as above.
  • A port of Marvisak/VIctory #2122 (a buffer size query gets a handle of its own, by swapping handles with a second cache around the handle() call in descriptor_data; this tree has no entry_handles): victory translate <game> --pipelines still dies after 59 s, and Windows' error log names amdxc64.dll offset 0x861b9f. I may have ported it incompletely, since upstream's version sits on 850b66f's handle caches.

A reproducer without the title: emit::size_tests::the_record_count_of_a_structured_buffer_read_by_index kills the test process on this card (STATUS_ACCESS_VIOLATION) with and without the #2122 port. The other 277 tests of victory-shader --lib pass:

cargo test --profile diag -p victory-shader --lib -- --test-threads=1 the_record_count

It runs on hardware and WARP, so on an RDNA 4 card it is a seconds-long check for any fix of this crash.

Happy to test a branch or a patch.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data.

**@⁠schmiticle** on GitHub · 2026-11-26 00:43 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7179051774) **RX 9070 XT: `0a43566` runs the world at about 21 fps; the compiler crash still ends sessions, and one of the fork's own tests reproduces it in seconds** **Machine:** RX 9070 XT 16 GB, Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 7800X3D, 32 GB DDR5-6000 + 32 GB page file, Windows 11 26300. `0a43566`, diag build, Series X, `scripts\play.ps1` settings (not `-Safe`) plus `VICTORY_SKIP_PIPELINES=42683eebec081520` (that program page-faulted this card on other trees). Shaders translated ahead with `victory shaders`. **With Marvisak/VIctory #317 added** (`annotateHandle` as `Effect::Lanes` in `bitcode/opt.rs`), the first-room crash within a minute that others report here went away: | | | |---|---| | First run | about 4 minutes of black picture while about 1,000 pipelines were made (`39f0e9aeb156a61c` alone about 90 s, all 10 workers at full CPU), then the world | | Cell, prologue | 40-50 ms a frame (20-25 fps); 22-25 fps over several minutes | | A cutscene | 33 ms, at the title's 30 fps | | Run 1 | 13 minutes, closed by hand, no fault | | Run 2 (pipeline library from run 1) | no black start, 19 fps at 2 minutes; about 9 minutes in, a new area made new pipelines and the process died at `amdxc64.dll+0x861b9f` (read 0x8) | | Memory | 33-40 GB private, 2-5 GB of it in the page file | For comparison on this machine: victory-amd `f25e735` about 195 ms a frame, DexNom `2e01ab4` about 241 ms. **What did not stop the crash:** - #317 alone: survives the startup pipelines, dies later as above. - A port of Marvisak/VIctory #2122 (a buffer size query gets a handle of its own, by swapping `handles` with a second cache around the `handle()` call in `descriptor_data`; this tree has no `entry_handles`): `victory translate <game> --pipelines` still dies after 59 s, and Windows' error log names `amdxc64.dll` offset `0x861b9f`. I may have ported it incompletely, since upstream's version sits on 850b66f's handle caches. **A reproducer without the title:** `emit::size_tests::the_record_count_of_a_structured_buffer_read_by_index` kills the test process on this card (`STATUS_ACCESS_VIOLATION`) with and without the #2122 port. The other 277 tests of `victory-shader --lib` pass: ``` cargo test --profile diag -p victory-shader --lib -- --test-threads=1 the_record_count ``` It runs on hardware and WARP, so on an RDNA 4 card it is a seconds-long check for any fix of this crash. Happy to test a branch or a patch. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data._
Author
Owner

@⁠schmiticle on GitHub · 2026-11-26 01:23 UTC · original

A workaround that works on the RX 9070 XT: take the compiler's fault on the pipeline worker, leave that pipeline out, and carry on

Follow-up to my comment above. Neither #317 nor my port of upstream #2122 stopped amdxc64.dll+0x861b9f; after a translator change (so about 1,700 pipelines to make again) the title died within 2-40 s of starting, three launches running, also with VICTORY_PIPELINE_WORKERS=2.

So I added the recovery policy Belobug's fork uses (crates/victory-gpu/src/pipeline/library.rs at 71652a2; rpmaster2 describes it in Marvisak/VIctory #2124), written anew for this tree in pipeline/make.rs, about 150 lines:

  1. Pending::make runs HostPipeline::new with the pipeline's key in a thread-local, on victory-pipelines-* threads only.
  2. One vectored exception handler, registered first. It claims an exception only if it is an access violation, the address read is under 64 KiB, the faulting instruction is inside amdxc64.dll (its range learnt outside the handler) and the thread is making a pipeline. Anything else goes on to the write guards and the crash reporter as before.
  3. On a claim it appends the key and the offset to crashed-pipelines.txt beside the library, takes the pipeline off WAITING, and parks the thread for good (it never returns into the compiler).
  4. A small supervisor thread starts a replacement worker for each one parked.
  5. On later runs make returns None at once for any key in the file (logged), so draws that need it are dropped like a refused pipeline's.
  6. VICTORY_COMPILER_GUARD=0 turns it off.

Result, same machine and build: the next launch hit the fault at startup on pipeline 0629334fc89d66f8cd24f4f5d4b88871 (amdxc64.dll+0x861b9f). The handler took it, a replacement worker started, and the title ran 13 more minutes until I closed it, with the pipeline library saved. The launch after that skipped it at startup (left out: the driver's compiler crashed making it in an earlier run key=0629334f… shaders=f16876929fa64f9f) and has run since. That compute program is also the last one translated before the in-game crash in my comment above, so on this card at least one fault is tied to one program, not to chance. One pipeline left out, nothing visibly missing.

The usual caveat applies: a thread abandoned inside the driver's compiler may hold a lock of the driver's. I have not seen a hang from it in two sessions, but it is a workaround for the driver's bug, not a fix. Happy to share the patch if it is useful.

AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data.

**@⁠schmiticle** on GitHub · 2026-11-26 01:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7179724559) **A workaround that works on the RX 9070 XT: take the compiler's fault on the pipeline worker, leave that pipeline out, and carry on** Follow-up to my comment above. Neither #317 nor my port of upstream #2122 stopped `amdxc64.dll+0x861b9f`; after a translator change (so about 1,700 pipelines to make again) the title died within 2-40 s of starting, three launches running, also with `VICTORY_PIPELINE_WORKERS=2`. So I added the recovery policy Belobug's fork uses (`crates/victory-gpu/src/pipeline/library.rs` at 71652a2; rpmaster2 describes it in Marvisak/VIctory #2124), written anew for this tree in `pipeline/make.rs`, about 150 lines: 1. `Pending::make` runs `HostPipeline::new` with the pipeline's key in a thread-local, on `victory-pipelines-*` threads only. 2. One vectored exception handler, registered first. It claims an exception only if it is an access violation, the address read is under 64 KiB, the faulting instruction is inside `amdxc64.dll` (its range learnt outside the handler) and the thread is making a pipeline. Anything else goes on to the write guards and the crash reporter as before. 3. On a claim it appends the key and the offset to `crashed-pipelines.txt` beside the library, takes the pipeline off `WAITING`, and parks the thread for good (it never returns into the compiler). 4. A small supervisor thread starts a replacement worker for each one parked. 5. On later runs `make` returns `None` at once for any key in the file (logged), so draws that need it are dropped like a refused pipeline's. 6. `VICTORY_COMPILER_GUARD=0` turns it off. **Result, same machine and build:** the next launch hit the fault at startup on pipeline `0629334fc89d66f8cd24f4f5d4b88871` (`amdxc64.dll+0x861b9f`). The handler took it, a replacement worker started, and the title ran 13 more minutes until I closed it, with the pipeline library saved. The launch after that skipped it at startup (`left out: the driver's compiler crashed making it in an earlier run key=0629334f… shaders=f16876929fa64f9f`) and has run since. That compute program is also the last one translated before the in-game crash in my comment above, so on this card at least one fault is tied to one program, not to chance. One pipeline left out, nothing visibly missing. The usual caveat applies: a thread abandoned inside the driver's compiler may hold a lock of the driver's. I have not seen a hang from it in two sessions, but it is a workaround for the driver's bug, not a fix. Happy to share the patch if it is useful. _AI-assisted (Claude Code): measured on this machine with my own copy of the game. Names, hashes and counts only; no screenshots or game data._
Author
Owner

@⁠KingKaom on GitHub · 2026-11-26 08:32 UTC · original

VICTORY_SHADER_OPT=59 carries a live run past this wall on 0ce46d5 (RX 9070 XT, measured) — tested on RX 9070 XT (RDNA4), driver 32.0.32029.2010.

  • 0ce46d5, defaults: first frame at t+1.7 s, then first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) at t+6.7 s (identical signature to the reports above, same fault offset), after 862 shaders translated, during the next shader batch after the 4K backbuffers.
  • Same exe + VICTORY_SHADER_OPT=59: zero first-chance exceptions in 9.4 min — 4,410 shaders translated, 6,335 frames presented, host stats steady at 30.0 fps. We ended the run at the first-time account picker, which did not react to any keyboard input on our host; the four containers that still fault under =59 in the #52 table are presumably waiting at world load.

So #52's offline table reproduces in-game on a fresh head for us: defaults die at the compiler, =59 compiles its way to the sign-in gate.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 08:32 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7186719854) **`VICTORY_SHADER_OPT=59` carries a live run past this wall on `0ce46d5` (RX 9070 XT, measured)** — tested on RX 9070 XT (RDNA4), driver 32.0.32029.2010. - `0ce46d5`, defaults: first frame at t+1.7 s, then `first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)` at t+6.7 s (identical signature to the reports above, same fault offset), after 862 shaders translated, during the next shader batch after the 4K backbuffers. - Same exe + `VICTORY_SHADER_OPT=59`: **zero first-chance exceptions in 9.4 min** — 4,410 shaders translated, 6,335 frames presented, host stats steady at 30.0 fps. We ended the run at the first-time account picker, which did not react to any keyboard input on our host; the four containers that still fault under `=59` in the #52 table are presumably waiting at world load. So #52's offline table reproduces in-game on a fresh head for us: defaults die at the compiler, `=59` compiles its way to the sign-in gate. <sub>AI-assisted (Hermes Agent)</sub>
Author
Owner

@⁠0xmp3 on GitHub · 2026-11-26 08:50 UTC · original

0ce46d5 no longer boots on RX 9070 XT at all — same fault as #52/#145, and no switch gets past it (it did at 0a43566)

Pulled main today after 137 commits and it dies in AMD's compiler before the first frame, whatever the shader switches.
The build 137 commits earlier runs the game here, so this looks like a regression in the window, not a missing workaround.

Machine: RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029, Ryzen 5 5600, 64 GB, Windows 11 26300, Series X.
Build: 0ce46d5, cargo build --locked --profile diag -p victory --features diagnostics, scripts\play.ps1 -Safe, fresh
crashed.txt (emptied first, so nothing was skipped by an earlier run's record).

Every configuration dies the same way, 0xc0000005 at amdxc64.dll+0x85fd0f (read 0x8), always while making a
compute pipeline, and each time on a different program:

switches program in flight at the fault
none 9209777e8face9dd
VICTORY_SHADER_OPT=59 05e074ad67e0d6d6
VICTORY_SHADER_OPT=59 + 4 skipped d2f4f8e0e2610d8c
VICTORY_SHADER_OPT=0 (no clean-up at all) 726205f726e842e7
VICTORY_SHADER_OPT=59 + VICTORY_RDNA_FLOAT=0 + 5 skipped crashes again, no frame reached

Two things that follow:

  • It is not a clean-up-pass fault this time. SHADER_OPT=0 emits the module exactly as the lowering made it, and that
    still kills the compiler — so whatever RDNA 4's compiler objects to is in the emitted code as such, not in the
    optimiser's output. (SHADER_OPT=59 was the fix for the older 0x85fd0f fault, which is why it was the first thing I tried.)
  • It is not one program. Five runs, five different hashes, which is the opposite of the behaviour at 0a43566, where
    a fixed pair of programs crashed and skipping them was enough.

The comparison build: 0a43566 (137 commits back), -Safe + VICTORY_SHADER_OPT=59 +
VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,f16876929fa64f9f plays: the prologue, the whole first mission (boat mission
included, hull correct), police chases, a cop shootout, death and respawn, saves written and loaded across a restart —
573 world frames at 129.6 ms / 7.7 fps median, peak 15,288 draws, zero faults in 59 minutes.

So between 0a43566 and 0ce46d5 something changed that makes RDNA 4's compiler reject the emitted compute programs
broadly. I can bisect that window (137 commits, roughly seven build-and-boot steps) and report the commit — say the word
and I will. If you already suspect which merge it is (the pipeline/shader ones from the 33-PR triage are candidates),
the confirmation is cheap from my side either way.

**@⁠0xmp3** on GitHub · 2026-11-26 08:50 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7187076685) **`0ce46d5` no longer boots on RX 9070 XT at all — same fault as #52/#145, and no switch gets past it (it did at `0a43566`)** Pulled main today after 137 commits and it dies in AMD's compiler before the first frame, whatever the shader switches. The build 137 commits earlier runs the game here, so this looks like a regression in the window, not a missing workaround. **Machine**: RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029, Ryzen 5 5600, 64 GB, Windows 11 26300, Series X. **Build**: `0ce46d5`, `cargo build --locked --profile diag -p victory --features diagnostics`, `scripts\play.ps1 -Safe`, fresh `crashed.txt` (emptied first, so nothing was skipped by an earlier run's record). **Every configuration dies the same way**, `0xc0000005 at amdxc64.dll+0x85fd0f (read 0x8)`, always while making a compute pipeline, and each time on a *different* program: | switches | program in flight at the fault | |---|---| | none | `9209777e8face9dd` | | `VICTORY_SHADER_OPT=59` | `05e074ad67e0d6d6` | | `VICTORY_SHADER_OPT=59` + 4 skipped | `d2f4f8e0e2610d8c` | | `VICTORY_SHADER_OPT=0` (no clean-up at all) | `726205f726e842e7` | | `VICTORY_SHADER_OPT=59` + `VICTORY_RDNA_FLOAT=0` + 5 skipped | crashes again, no frame reached | Two things that follow: - **It is not a clean-up-pass fault this time.** `SHADER_OPT=0` emits the module exactly as the lowering made it, and that still kills the compiler — so whatever RDNA 4's compiler objects to is in the emitted code as such, not in the optimiser's output. (`SHADER_OPT=59` was the fix for the older `0x85fd0f` fault, which is why it was the first thing I tried.) - **It is not one program.** Five runs, five different hashes, which is the opposite of the behaviour at `0a43566`, where a fixed pair of programs crashed and skipping them was enough. **The comparison build**: `0a43566` (137 commits back), `-Safe` + `VICTORY_SHADER_OPT=59` + `VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,f16876929fa64f9f` plays: the prologue, the whole first mission (boat mission included, hull correct), police chases, a cop shootout, death and respawn, saves written and loaded across a restart — 573 world frames at 129.6 ms / 7.7 fps median, peak 15,288 draws, zero faults in 59 minutes. So between `0a43566` and `0ce46d5` something changed that makes RDNA 4's compiler reject the emitted compute programs broadly. I can bisect that window (137 commits, roughly seven build-and-boot steps) and report the commit — say the word and I will. If you already suspect which merge it is (the pipeline/shader ones from the 33-PR triage are candidates), the confirmation is cheap from my side either way.
Author
Owner

@⁠0xmp3 on GitHub · 2026-11-26 08:51 UTC · original

Correction: this is the driver, not a regression in 0ce46d5 — and my skip-list claim was wrong

@⁠KingKaom's run above is the control I was missing: same card, 0ce46d5, VICTORY_SHADER_OPT=59, zero first-chance
exceptions over 9.4 minutes and 4,410 shaders translated
. Mine crashes with that switch, without it, and with no
clean-up passes at all.

What differs is the driver. Mine is 32.0.32015.7029 (2026-10-18); theirs is 32.0.32029.2010 (Adrenalin 26.11.2). The
fault offset moves with it, which is the tell: I get amdxc64.dll+0x85fd0f, they get +0x861b9f, and #52's table and
the earlier reports in this thread use yet another. A fault offset belongs to one driver build, and I compared mine
against theirs as if the offset were a property of the code.

Second correction, also mine. I wrote that our skip list was "carrying" our runs. It cannot: is_skipped() is
consulted where draws and dispatches are issued, from a pipeline that already exists (pipeline.rs:508, and
@⁠itsonewi's note above says the same thing). VICTORY_SKIP_PIPELINES never prevents a pipeline from being made, so it
could not have been shielding us from a compiler crash. Our working configuration at 0a43566 was most likely
SHADER_OPT=59 on its own — we never ran that combination in isolation, and I should have before writing any of this up.

What I am doing about it: updating to 26.11.2 and re-running 0ce46d5 with =59 and no skip list, then
reporting the result here either way. Withdrawing the "regression" reading until that comes back — on the current
evidence it looks like 0ce46d5 is fine and my driver is stale, which is a much less interesting finding but the
correct one.

**@⁠0xmp3** on GitHub · 2026-11-26 08:51 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7187109503) **Correction: this is the driver, not a regression in `0ce46d5` — and my skip-list claim was wrong** @⁠KingKaom's run above is the control I was missing: same card, `0ce46d5`, `VICTORY_SHADER_OPT=59`, **zero first-chance exceptions over 9.4 minutes and 4,410 shaders translated**. Mine crashes with that switch, without it, and with no clean-up passes at all. **What differs is the driver.** Mine is 32.0.32015.7029 (2026-10-18); theirs is 32.0.32029.2010 (Adrenalin 26.11.2). The fault offset moves with it, which is the tell: I get `amdxc64.dll+0x85fd0f`, they get `+0x861b9f`, and #52's table and the earlier reports in this thread use yet another. A fault offset belongs to one driver build, and I compared mine against theirs as if the offset were a property of the code. **Second correction, also mine.** I wrote that our skip list was "carrying" our runs. It cannot: `is_skipped()` is consulted where draws and dispatches are issued, from a pipeline that already exists (`pipeline.rs:508`, and @⁠itsonewi's note above says the same thing). `VICTORY_SKIP_PIPELINES` never prevents a pipeline from being made, so it could not have been shielding us from a compiler crash. Our working configuration at `0a43566` was most likely `SHADER_OPT=59` on its own — we never ran that combination in isolation, and I should have before writing any of this up. **What I am doing about it:** updating to 26.11.2 and re-running `0ce46d5` with `=59` and **no** skip list, then reporting the result here either way. Withdrawing the "regression" reading until that comes back — on the current evidence it looks like `0ce46d5` is fine and my driver is stale, which is a much less interesting finding but the correct one.
Author
Owner

@⁠mintymerry7-create on GitHub · 2026-11-26 20:10 UTC · original

For the +0x861b9f variant (Adrenalin 26.11.2, 32.0.32029.2010): on our RDNA4 card (RX 9060 XT) it was always compute shader f16876929fa64f9f, right after its translation. Leaving that one pipeline out (VICTORY_LEAVE_OUT, its default in https://github.com/mintymerry7-create/VIctory-7900XTX/tree/rdna4-perf) stopped the crashes. A crash book there also remembers whichever pipeline was compiling when the process died and skips it if it crashes again. Details and a full RDNA4 config: #345.

(AI-assisted)

**@⁠mintymerry7-create** on GitHub · 2026-11-26 20:10 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7202378445) For the `+0x861b9f` variant (Adrenalin 26.11.2, 32.0.32029.2010): on our RDNA4 card (RX 9060 XT) it was always compute shader `f16876929fa64f9f`, right after its translation. Leaving that one pipeline out (`VICTORY_LEAVE_OUT`, its default in https://github.com/mintymerry7-create/VIctory-7900XTX/tree/rdna4-perf) stopped the crashes. A crash book there also remembers whichever pipeline was compiling when the process died and skips it if it crashes again. Details and a full RDNA4 config: #345. (AI-assisted)
Author
Owner

@⁠KingKaom on GitHub · 2026-11-26 20:40 UTC · original

RX 9070 XT input on the leave-out: our tip runs (cd8dfc0-era lineage, clean boots 4/4 today) never hit 0x861b9f at translate, so VICTORY_LEAVE_OUT has not been needed here — good insurance idea regardless, and the crash-book auto-skip is the right shape. We'll test the rdna4-perf branch when it rebases onto a tip we can reach free roam on.

— AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 20:40 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/8#issuecomment-7202952599) RX 9070 XT input on the leave-out: our tip runs (`cd8dfc0`-era lineage, clean boots 4/4 today) never hit `0x861b9f` at translate, so `VICTORY_LEAVE_OUT` has not been needed here — good insurance idea regardless, and the crash-book auto-skip is the right shape. We'll test the `rdna4-perf` branch when it rebases onto a tip we can reach free roam on. — AI-assisted (Hermes Agent)
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/avatarmanz--VIctory-7900XTX#8
No description provided.