# AMD RDNA4 (RX 9070 XT): first-chance AV inside amdxc64.dll while a translated compute pipeline is created #2517

Open
opened 2026-11-26 05:08:01 +00:00 by github-bot · 1 comment
Owner

@⁠3sssm0keee on GitHub · 2026-11-25 15:10 UTC · original

AMD RDNA4 (RX 9070 XT): first-chance AV inside amdxc64.dll while a translated compute pipeline is created

Summary. On an RX 9070 XT the title boots, runs the first-boot menus at 30 fps and reaches the intro credits and the world, but most runs end after 45–140 s with 0xC0000005 raised inside AMD's shader compiler (amdxc64.dll+0x861b9f, rcx = 0, read of 0x8). The fault happens on the pipeline-creation path, right after a host pipeline shaders=[compute …] line. It is a first-chance AV in the driver, not in Victory: the whole stack down to D3D12Core is AMD code.

Nothing here needs game files: no package contents, keys or dumps are attached, only log excerpts.

Environment

GPU :AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32029.2010
Shader: compiler C:\Windows\System32\amdxc64.dll 8.18.10.0514 (2026-11-18)
OS :Windows 10.0.26200 x64
CPU :AMD Ryzen 7 9800X3D
RAM : 64 GB
Victory :940d32f (GPU: a marked page's copy-back does not save the page for its own copy), cargo build --release -p victory
Shaders :victory.exe translate --cache --pipelines … → 25,985 containers, 25,678 translated, 307 refused

Steps

cargo build --release -p victory
victory.exe translate --cache --pipelines <game>\shaders.rpf <game>\<title>.exe <game>\XboxBvhBuilder.dll <game>\amd_fidelityfx_upscaler_xbox.dll
victory.exe run <game>\<title>.exe --execute

(VICTORY_CACHE_DIR / VICTORY_DATA_DIR set to local folders; nothing else special.)

Expected

The title keeps running as it does on the 6700 XT / 7800 XT / RTX machines in the README.

Actual

Menus at 30 fps, then a crash while pipelines are being built. Five runs, same build and cache:

Run Time Farthest frame End
1 ~4 min 5,697 (world, 3,610 draws/frame) window closed, no crash
2 58 s 1,553 0xC0000005 in amdxc64.dll
3 44 s 1,047 0xC0000005 in amdxc64.dll
4 63 s 1,285 0xC0000005 in amdxc64.dll
5 2 min 18 s 1,375 0xC0000005 in amdxc64.dll

The fault, verbatim from the log (run 5):

VIctory: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
    rax 0x20e970c4458 rbx 0x20753ed0870 rcx 0x0 rdx 0x20e57d10280 rsi 0x20b4b3e17c0
    rdi 0x20ba5e0a960 rsp 0x3a19cfa5c0 rbp 0x1 r8 0x20753ed0870 r9 0x20ba5e0a998
    r10 0x6007840000c00 r11 0x3a19cfa608 r12 0x6907000000000 r13 0x20e64adf320
    r14 0x20ba5e0a960 r15 0x0
  #0  amdxc64.dll+0x861b9f
  #1  amdxc64.dll+0x957eba
  #2  amdxc64.dll+0x959456
  #3  amdxc64.dll+0x957814
  #4  amdxc64.dll+0x864d5d
  #5  amdxc64.dll+0x955d16
  #6  amdxc64.dll+0x676605
  #7  amdxc64.dll+0x6779d1
  #8  amdxc64.dll+0x68e6a9
  #9  amdxc64.dll+0x67fbf1
  #10 amdxc64.dll+0x5de4b7
  #11 amdxc64.dll+0x64e489
  #12 amdxc64.dll+0x6501a7
  #13 amdxc64.dll+0x6323a5
  #14 amdxc64.dll+0x64e36d
  #15 amdxc64.dll+0x61ac8a
  #16 amdxc64.dll+0x61a044
  #17 amdxc64.dll+0x62d167
  #28 amdxc64.dll+0x2660d7
  #29 D3D12Core.dll+0x680cd
  #30 D3D12Core.dll+0x67db8
  #31 D3D12Core.dll+0xba49
  #32 D3D12Core.dll+0xb5f8
  #33 D3D12Core.dll+0x39c6
  #34 D3D12Core.dll+0x35a7
  #35 d3d12.dll+0x1707
  #36 D3D12Core.dll+0x7877
  #37 D3D12Core.dll+0xd896c
  #38 victory.exe+0x1a8a89
  #39 victory.exe+0x18f813
  host: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 10.0.26200

The three pipelines created immediately before it (run 5, frame 1373):

first bind pipeline=… frame=1373 stage="compute" size=62504 hash=592680ab38031b20
first bind pipeline=… frame=1373 stage="compute" size=11336 hash=b01e713adfd1b66a
first bind pipeline=… frame=1373 stage="compute" size=64856 hash=464f5ba0daa4d1bb

rcx = 0 suggests the compiler walks a null pointer it was handed ([rcx+8]), which is why I am reporting it as a driver-side fault rather than a bad SPIR-V/DXIL blob: the same pipelines are created without incident on other GPUs, and one run on this card survived four minutes (it built 84,246 pipelines before the window was closed).

What I tried

  • Deleting pipelines/early-pipelines.txt (so the run starts with title pipelines to start early pipelines=0, exactly like the first run) moved the crash from ~45 s to 2 min 18 s but did not remove it: it still ends inside amdxc64.dll.
  • The crash is not tied to a fixed frame; it follows whichever compute pipeline is being created at the time.

Question

Is this a known RDNA4 / Adrenalin issue on your side (something in the translated DXIL that only this compiler chokes on)? I can run a --profile diag --features diagnostics build with VICTORY_D3D12_DRED=1, dump the pipeline hash and the shader blobs for the one that crashes, or narrow it to a single pipeline if you tell me which switch you prefer. Happy to test a fix on this card.

**@⁠3sssm0keee** on GitHub · 2026-11-25 15:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/2517) # AMD RDNA4 (RX 9070 XT): first-chance AV inside `amdxc64.dll` while a translated compute pipeline is created **Summary.** On an RX 9070 XT the title boots, runs the first-boot menus at 30 fps and reaches the intro credits and the world, but most runs end after 45–140 s with `0xC0000005` raised *inside AMD's shader compiler* (`amdxc64.dll+0x861b9f`, `rcx = 0`, read of `0x8`). The fault happens on the pipeline-creation path, right after a `host pipeline shaders=[compute …]` line. It is a first-chance AV in the driver, not in Victory: the whole stack down to `D3D12Core` is AMD code. Nothing here needs game files: no package contents, keys or dumps are attached, only log excerpts. ## Environment GPU :AMD Radeon RX 9070 XT (RDNA4), driver `32.0.32029.2010` Shader: compiler `C:\Windows\System32\amdxc64.dll` 8.18.10.0514 (2026-11-18) OS :Windows 10.0.26200 x64 CPU :AMD Ryzen 7 9800X3D RAM : 64 GB Victory :`940d32f` (`GPU: a marked page's copy-back does not save the page for its own copy`), `cargo build --release -p victory` Shaders :`victory.exe translate --cache --pipelines …` → 25,985 containers, 25,678 translated, 307 refused ## Steps ``` cargo build --release -p victory victory.exe translate --cache --pipelines <game>\shaders.rpf <game>\<title>.exe <game>\XboxBvhBuilder.dll <game>\amd_fidelityfx_upscaler_xbox.dll victory.exe run <game>\<title>.exe --execute ``` (`VICTORY_CACHE_DIR` / `VICTORY_DATA_DIR` set to local folders; nothing else special.) ## Expected The title keeps running as it does on the 6700 XT / 7800 XT / RTX machines in the README. ## Actual Menus at 30 fps, then a crash while pipelines are being built. Five runs, same build and cache: | Run | Time | Farthest frame | End | |---|---|---|---| | 1 | ~4 min | 5,697 (world, 3,610 draws/frame) | window closed, no crash | | 2 | 58 s | 1,553 | `0xC0000005` in `amdxc64.dll` | | 3 | 44 s | 1,047 | `0xC0000005` in `amdxc64.dll` | | 4 | 63 s | 1,285 | `0xC0000005` in `amdxc64.dll` | | 5 | 2 min 18 s | 1,375 | `0xC0000005` in `amdxc64.dll` | The fault, verbatim from the log (run 5): ``` VIctory: first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) rax 0x20e970c4458 rbx 0x20753ed0870 rcx 0x0 rdx 0x20e57d10280 rsi 0x20b4b3e17c0 rdi 0x20ba5e0a960 rsp 0x3a19cfa5c0 rbp 0x1 r8 0x20753ed0870 r9 0x20ba5e0a998 r10 0x6007840000c00 r11 0x3a19cfa608 r12 0x6907000000000 r13 0x20e64adf320 r14 0x20ba5e0a960 r15 0x0 #0 amdxc64.dll+0x861b9f #1 amdxc64.dll+0x957eba #2 amdxc64.dll+0x959456 #3 amdxc64.dll+0x957814 #4 amdxc64.dll+0x864d5d #5 amdxc64.dll+0x955d16 #6 amdxc64.dll+0x676605 #7 amdxc64.dll+0x6779d1 #8 amdxc64.dll+0x68e6a9 #9 amdxc64.dll+0x67fbf1 #10 amdxc64.dll+0x5de4b7 #11 amdxc64.dll+0x64e489 #12 amdxc64.dll+0x6501a7 #13 amdxc64.dll+0x6323a5 #14 amdxc64.dll+0x64e36d #15 amdxc64.dll+0x61ac8a #16 amdxc64.dll+0x61a044 #17 amdxc64.dll+0x62d167 #28 amdxc64.dll+0x2660d7 #29 D3D12Core.dll+0x680cd #30 D3D12Core.dll+0x67db8 #31 D3D12Core.dll+0xba49 #32 D3D12Core.dll+0xb5f8 #33 D3D12Core.dll+0x39c6 #34 D3D12Core.dll+0x35a7 #35 d3d12.dll+0x1707 #36 D3D12Core.dll+0x7877 #37 D3D12Core.dll+0xd896c #38 victory.exe+0x1a8a89 #39 victory.exe+0x18f813 host: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 10.0.26200 ``` The three pipelines created immediately before it (run 5, frame 1373): ``` first bind pipeline=… frame=1373 stage="compute" size=62504 hash=592680ab38031b20 first bind pipeline=… frame=1373 stage="compute" size=11336 hash=b01e713adfd1b66a first bind pipeline=… frame=1373 stage="compute" size=64856 hash=464f5ba0daa4d1bb ``` `rcx = 0` suggests the compiler walks a null pointer it was handed (`[rcx+8]`), which is why I am reporting it as a driver-side fault rather than a bad SPIR-V/DXIL blob: the same pipelines are created without incident on other GPUs, and one run on this card survived four minutes (it built 84,246 pipelines before the window was closed). ## What I tried * Deleting `pipelines/early-pipelines.txt` (so the run starts with `title pipelines to start early pipelines=0`, exactly like the first run) moved the crash from ~45 s to 2 min 18 s but did not remove it: it still ends inside `amdxc64.dll`. * The crash is not tied to a fixed frame; it follows whichever compute pipeline is being created at the time. ## Question Is this a known RDNA4 / Adrenalin issue on your side (something in the translated DXIL that only this compiler chokes on)? I can run a `--profile diag --features diagnostics` build with `VICTORY_D3D12_DRED=1`, dump the pipeline hash and the shader blobs for the one that crashes, or narrow it to a single pipeline if you tell me which switch you prefer. Happy to test a fix on this card.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:08:01 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 16:05 UTC · original

Automated triage for the maintainers.

Run report: RX 9070 XT (driver 32.0.32029.2010, amdxc64 8.18.10.0514), Windows 26200, main 940d32f. Four of five runs ended 44 s to 2 min 18 s in at amdxc64.dll+0x861b9f (read 0x8) while a compute pipeline was being created. That is the same RDNA4 driver-compiler crash as #1783 (same card and driver, also in translate --cache --pipelines), where the cause is discussed; #1785 and #2124 report it too. Open PR #2122 is linked to #1783.

The hashes of the compute programs created just before the crash (in this report) are useful there.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 16:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/2517#issuecomment-7167583253) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T15:10:47Z at=2026-11-25T16:05:15Z --> Automated triage for the maintainers. Run report: RX 9070 XT (driver 32.0.32029.2010, amdxc64 8.18.10.0514), Windows 26200, main 940d32f. Four of five runs ended 44 s to 2 min 18 s in at `amdxc64.dll+0x861b9f` (read 0x8) while a compute pipeline was being created. That is the same RDNA4 driver-compiler crash as #1783 (same card and driver, also in `translate --cache --pipelines`), where the cause is discussed; #1785 and #2124 report it too. Open PR #2122 is linked to #1783. The hashes of the compute programs created just before the crash (in this report) are useful there. --- _Generated by [Claude Code](https://claude.ai/code)_
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#2517
No description provided.