RX 9070 XT (RDNA4): deterministic amdxc64.dll crash during pipeline compile on tip 988aa41 (pre-world) #1259

Open
opened 2026-11-26 06:07:03 +00:00 by github-bot · 5 comments
Owner

@⁠KingKaom on GitHub · 2026-11-26 04:10 UTC · original

Follow-on to #1252 — that wall is gone, here is the next one.

On tip 988aa41 (release build, DRED on, no knobs, two runs): the victory-image +0x2215c35 write-0x0 fault from #1252 no longer fires at all. The host now gets much further — 425 title shaders translated, first frame stats printed — and then dies at a new, completely different place: inside AMD's shader compiler.

Measured fault (2/2 runs, identical offsets):

  • 0xc0000005 read of 0x8 (rcx = 0x0) at amdxc64.dll+0x861b9f, unhandled (preceded by an identical first-chance).
  • Stack: victory.exe → D3D12Core.dll (pipeline-state creation) → a ~29-frame descent that stays entirely inside amdxc64.dll. No host frames below the fault point.
  • Deterministic spot: the fault lands during the driver compile of the pipeline state immediately after the 425th shader translation completes; the last translated shaders (ms before the fault) were compute dd18ab2b9c21b361 and a73284b60aa303ed. Both runs faulted at the same place in this sequence.
  • Phase: boot/title, pre-world. Time from process start to fault: 26.3 s cold, 3.0 s with a warm shader cache — only compile time changed between runs, the fault point did not.

Environment: Radeon RX 9070 XT (RDNA4), Windows driver 32.0.32029.2010. Tested on RX 9070 XT (RDNA4), measured.

Since the fault is inside the vendor DXC called from D3D12Core.dll, an NVIDIA host won't walk this code path — this looks like it may be the next wall specifically for the AMD cohort. Happy to test a knob that defers or serializes pipeline-state compiles if one exists, and to retry on a newer driver.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 04:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259) **Follow-on to #1252 — that wall is gone, here is the next one.** On tip `988aa41` (release build, DRED on, no knobs, two runs): the `victory-image +0x2215c35` write-`0x0` fault from #1252 no longer fires at all. The host now gets much further — 425 title shaders translated, first frame stats printed — and then dies at a new, completely different place: inside AMD's shader compiler. **Measured fault (2/2 runs, identical offsets):** - `0xc0000005` **read of `0x8`** (`rcx = 0x0`) at `amdxc64.dll+0x861b9f`, unhandled (preceded by an identical first-chance). - Stack: `victory.exe` → `D3D12Core.dll` (pipeline-state creation) → a ~29-frame descent that stays entirely inside `amdxc64.dll`. No host frames below the fault point. - Deterministic spot: the fault lands during the driver compile of the pipeline state immediately after the 425th shader translation completes; the last translated shaders (ms before the fault) were compute `dd18ab2b9c21b361` and `a73284b60aa303ed`. Both runs faulted at the same place in this sequence. - Phase: boot/title, pre-world. Time from process start to fault: 26.3 s cold, 3.0 s with a warm shader cache — only compile time changed between runs, the fault point did not. **Environment:** Radeon RX 9070 XT (RDNA4), Windows driver `32.0.32029.2010`. Tested on RX 9070 XT (RDNA4), measured. Since the fault is inside the vendor DXC called from `D3D12Core.dll`, an NVIDIA host won't walk this code path — this looks like it may be the next wall specifically for the AMD cohort. Happy to test a knob that defers or serializes pipeline-state compiles if one exists, and to retry on a newer driver. <sub>AI-assisted (Hermes Agent)</sub>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:07:03 +00:00
Author
Owner

@⁠KingKaom on GitHub · 2026-11-26 06:44 UTC · original

Retest on tip 46bf535 — same fault, same offsets; the death moved later (RX 9070 XT (RDNA4), measured, one run)

Pulled and rebuilt tip (includes #1260 and the day's diagnostic passes), release, DRED on, default knobs. The fault reproduces exactly: first-chance then unhandled 0xc0000005 read of 0x8 at amdxc64.dll+0x861b9f, the same 29-frame all-amdxc64.dll stack.

What is new: the fault now lands much later than on 988aa41. It came at t+12.1 s after presented frames were running — frame presented frame=128 draws=192, and the frame-stats line printed 30.0 fps, 33.3 ms/frame, 3 draws/frame, 751 being made — with world streaming files (ttdb terrain/maps) opening in a burst 0.1 s before the fault. 424 shaders had translated, the last one t+9.8 s.

So the offset is invariant across these two heads while the launch timeline shifted: the same compiler call faults regardless of when the pipeline reaches it.

Tested on RX 9070 XT (RDNA4), measured
AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 06:44 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259#issuecomment-7184729885) **Retest on tip `46bf535` — same fault, same offsets; the death moved later (RX 9070 XT (RDNA4), measured, one run)** Pulled and rebuilt tip (includes #1260 and the day's diagnostic passes), release, DRED on, default knobs. The fault reproduces exactly: first-chance then unhandled `0xc0000005` **read of `0x8`** at `amdxc64.dll+0x861b9f`, the same 29-frame all-`amdxc64.dll` stack. What is new: the fault now lands much later than on `988aa41`. It came at **t+12.1 s after presented frames were running** — `frame presented frame=128 draws=192`, and the frame-stats line printed `30.0 fps, 33.3 ms/frame, 3 draws/frame`, `751 being made` — with world streaming files (`ttdb` terrain/maps) opening in a burst 0.1 s before the fault. 424 shaders had translated, the last one t+9.8 s. So the offset is invariant across these two heads while the launch timeline shifted: the same compiler call faults regardless of when the pipeline reaches it. Tested on RX 9070 XT (RDNA4), measured <sub>AI-assisted (Hermes Agent)</sub>
Author
Owner

@⁠IxMxAMAR on GitHub · 2026-11-26 14:19 UTC · original

That offset is the crash #1213 is about. Here (RX 9070 XT, same driver 32.0.32029.2010) AMD's compiler dies at amdxc64.dll+0x861b9f when a buffer's getDimensions goes through the same uniform heap handle as its loads. #1213 asks the size through a non-uniform handle of its own. With it, a whole-archive translate --pipelines made all 25,636 pipelines here.

Two others have tried it since: GamingRipperDoc on an RX 9070 XT (#402: without it the crash came 4 s in, with it and #317 and #1216 the title ran 3 minutes with no device removal) and MrToucann on an RX 9060 XT (#1247, the four programs of this kind build).

No knob is needed. #1213 merges cleanly on current main (58de9bf):

git fetch https://github.com/fxceless/victory-fork pull/1213/head
git merge FETCH_HEAD

If yours goes away with it, a line on #1213 would help it get merged.

**@⁠IxMxAMAR** on GitHub · 2026-11-26 14:19 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259#issuecomment-7194639593) That offset is the crash #1213 is about. Here (RX 9070 XT, same driver 32.0.32029.2010) AMD's compiler dies at `amdxc64.dll+0x861b9f` when a buffer's `getDimensions` goes through the same uniform heap handle as its loads. #1213 asks the size through a non-uniform handle of its own. With it, a whole-archive `translate --pipelines` made all 25,636 pipelines here. Two others have tried it since: GamingRipperDoc on an RX 9070 XT (#402: without it the crash came 4 s in, with it and #317 and #1216 the title ran 3 minutes with no device removal) and MrToucann on an RX 9060 XT (#1247, the four programs of this kind build). No knob is needed. #1213 merges cleanly on current main (`58de9bf`): ``` git fetch https://github.com/fxceless/victory-fork pull/1213/head git merge FETCH_HEAD ``` If yours goes away with it, a line on #1213 would help it get merged.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-26 14:55 UTC · original

Retest with #1213 merged (tip 58de9bf + fix, merge head 9dcdf08): the amdxc64.dll+0x861b9f fault is gone on this card — 10.5 min, 2212 shader translations, 0 first-chance / 0 unhandled, steady 30.0 fps, boot now reaches the account picker (keyboard-deaf, controller-only, like every fork). Measured numbers on #1213: #1213

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 14:55 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259#issuecomment-7195533691) Retest with #1213 merged (tip `58de9bf` + fix, merge head `9dcdf08`): the `amdxc64.dll+0x861b9f` fault is **gone** on this card — 10.5 min, 2212 shader translations, 0 first-chance / 0 unhandled, steady 30.0 fps, boot now reaches the account picker (keyboard-deaf, controller-only, like every fork). Measured numbers on #1213: https://git.gtahub.st/github/fxceless--victory-fork/pulls/1213 <sub>AI-assisted (Hermes Agent)</sub>
Author
Owner

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

Confirmed independently from our second 9070 XT box: #1213 merges cleanly on tip and we boot 0-fault to picker (measured on VF-5). The same shader-compiler fault family is now biting under Wine/RDNA3 too (avatarmanz/VIctory-7900XTX#145), so the non-uniform-handle fix looks like the general cure, not an RDNA4 patch. World-level RDNA4 numbers coming from our side: Belobug/VIctory-Belobug-AMD#143.

— AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-26 20:40 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259#issuecomment-7202952935) Confirmed independently from our second 9070 XT box: #1213 merges cleanly on tip and we boot 0-fault to picker (measured on VF-5). The same shader-compiler fault family is now biting under Wine/RDNA3 too (avatarmanz/VIctory-7900XTX#145), so the non-uniform-handle fix looks like the general cure, not an RDNA4 patch. World-level RDNA4 numbers coming from our side: Belobug/VIctory-Belobug-AMD#143. — AI-assisted (Hermes Agent)
Author
Owner

@⁠KingKaom on GitHub · 2026-11-27 02:10 UTC · original

Tip 81d54b0, RX 9070 XT (RDNA4), measured (four boots today)

  • Without #1213: the compiler fault follows the tip — unhandled 0xc0000005 read of 0x8 at amdxc64.dll+0x861b9f, ~10 s into boot, before any menu, 2/2.
  • With #1213 merged (merge head 6d16d20): the compiler fault is gone and boot passes the compiler wave — then dies inside title code at 37 s and at 40 s, 2/2: 0xc0000005 write of 0x0 at victory-image-b99f876b74d4a77f.dll+0x2215c35 (two title frames above KERNEL32; load storm running, 12.9/16 cores busy, nothing on the card yet).

That second offset is the coin-flip boot fault we reported at ka1qux/BRVIctory-ka1qux#7 (since closed without diagnosis; that lineage was 3 clean boots in 6 here). An earlier head (merge head 9dcdf08) booted 0-fault to the account picker on this card in the comment above, so the title-thread null write may be a timing coin flip rather than new code — repeating on the next head will tell.

Net: on RDNA4 the current tip sits behind two gates in a row — #1213, then this title-thread write to 0x0.

—
AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-27 02:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/1259#issuecomment-7207895495) **Tip `81d54b0`, RX 9070 XT (RDNA4), measured (four boots today)** - Without #1213: the compiler fault follows the tip — unhandled `0xc0000005` **read of `0x8`** at `amdxc64.dll+0x861b9f`, ~10 s into boot, before any menu, 2/2. - With #1213 merged (merge head `6d16d20`): the compiler fault is gone and boot passes the compiler wave — then dies inside title code at 37 s and at 40 s, 2/2: `0xc0000005` **write of `0x0`** at `victory-image-b99f876b74d4a77f.dll+0x2215c35` (two title frames above KERNEL32; load storm running, 12.9/16 cores busy, nothing on the card yet). That second offset is the coin-flip boot fault we reported at ka1qux/BRVIctory-ka1qux#7 (since closed without diagnosis; that lineage was 3 clean boots in 6 here). An earlier head (merge head `9dcdf08`) booted 0-fault to the account picker on this card in the comment above, so the title-thread null write may be a timing coin flip rather than new code — repeating on the next head will tell. Net: on RDNA4 the current tip sits behind two gates in a row — #1213, then this title-thread write to `0x0`. — <sub>AI-assisted (Hermes Agent)</sub>
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/fxceless--victory-fork#1259
No description provided.