RX 9070 XT (RDNA 4): PS_BreakableGlass_AlphaPrepass cad3ecfdcdcf2a7d crashes AMD's shader compiler (amdxc64.dll+0xd7d464, read 0x0) #900

Open
opened 2026-11-26 03:53:28 +00:00 by github-bot · 1 comment
Owner

@⁠hxghr6 on GitHub · 2026-11-25 12:15 UTC · original

Setup: RX 9070 XT, Windows 11, Adrenalin driver 32.0.31044.16. main 310c6eb, diag build; the same crash on main a26859f and a253706.

What happens: creating any host pipeline with the pixel shader PS_BreakableGlass_AlphaPrepass_026ff189 cad3ecfdcdcf2a7d ends the process inside AMD's compiler:

VIctory: unhandled exception 0xc0000005 at amdxc64.dll+0xd7d464 (read 0x0: nothing mapped there)
  #0  amdxc64.dll+0xd7d464
  #1  amdxc64.dll+0xd7b6ae
  ... (#2 to #26 in amdxc64.dll)
  #27 D3D12Core.dll+0x5cbc9 ... #35 D3D12Core.dll+0x7c014
  #36 victory.exe+0x4b2074

(victory translate has no crash reporter; this report is from a local build that installs it.)

Found offline, with no game run: victory translate --pipelines over the whole retail pack in 16 batches by hash digit. On this card 24,165 programs' pipelines were created and none refused; one batch ended with 0xC0000005, narrowed down to this one container.

What it is not:

  • not our DXIL: the WARP adapter (VICTORY_WARP=1) creates the same pipelines, and dxil.dll validates the shader;
  • not the pairing: it crashes with each real partner (VICTORY_PAIRS): VS_BreakableGlass_AlphaPrepass 2fae07c4cc90d1e8, bfcc615ea8031352, 49d065554a0f0a78, 4afb138ba2e54313 and MS_VS_BreakableGlass_AlphaPrepass 5266c3d9d965439a, 11a904f30770098d; the sibling PS 887e9fde6698b848 makes a pipeline with all six;
  • not a clean-up pass: every VICTORY_SHADER_OPT from 0 to 63 crashes the same way;
  • not the wave lowering: VICTORY_HOST_MAX_WAVE=32, VICTORY_FIRSTLANE_OWN, VICTORY_WAVE_WIDE, VICTORY_WAVE_LOCAL, VICTORY_WAVE_OWN_BITS, VICTORY_WAVE_DEEP_SKIPS: same crash;
  • not (alone) its 64-bit image atomics, its waveReadLaneAt reads or its typed buffer store: leaving each out (a local probe) still crashes. The device reports 64-bit atomics on typed and descriptor-heap resources and shader model 6.8.

Compared with its sibling, this variant adds 7 implicit-derivative samples, a typed buffer store, 9 lane reads and much more arithmetic (2,779 lines of DXIL against 844).

In the game a draw with this pipeline would end the run on this driver when the breakable glass's alpha prepass is used; VICTORY_SKIP_PIPELINES=cad3ecfdcdcf2a7d should avoid it (not tried in the game: my runs did not reach such glass).

Other drivers not tried. No game data in this report.

**@⁠hxghr6** on GitHub · 2026-11-25 12:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/900) **Setup:** RX 9070 XT, Windows 11, Adrenalin driver 32.0.31044.16. `main` 310c6eb, diag build; the same crash on `main` a26859f and a253706. **What happens:** creating any host pipeline with the pixel shader `PS_BreakableGlass_AlphaPrepass_026ff189` **cad3ecfdcdcf2a7d** ends the process inside AMD's compiler: ``` VIctory: unhandled exception 0xc0000005 at amdxc64.dll+0xd7d464 (read 0x0: nothing mapped there) #0 amdxc64.dll+0xd7d464 #1 amdxc64.dll+0xd7b6ae ... (#2 to #26 in amdxc64.dll) #27 D3D12Core.dll+0x5cbc9 ... #35 D3D12Core.dll+0x7c014 #36 victory.exe+0x4b2074 ``` (`victory translate` has no crash reporter; this report is from a local build that installs it.) **Found offline**, with no game run: `victory translate --pipelines` over the whole retail pack in 16 batches by hash digit. On this card 24,165 programs' pipelines were created and none refused; one batch ended with 0xC0000005, narrowed down to this one container. **What it is not:** - not our DXIL: the WARP adapter (`VICTORY_WARP=1`) creates the same pipelines, and `dxil.dll` validates the shader; - not the pairing: it crashes with each real partner (`VICTORY_PAIRS`): VS_BreakableGlass_AlphaPrepass 2fae07c4cc90d1e8, bfcc615ea8031352, 49d065554a0f0a78, 4afb138ba2e54313 and MS_VS_BreakableGlass_AlphaPrepass 5266c3d9d965439a, 11a904f30770098d; the sibling PS 887e9fde6698b848 makes a pipeline with all six; - not a clean-up pass: every `VICTORY_SHADER_OPT` from 0 to 63 crashes the same way; - not the wave lowering: `VICTORY_HOST_MAX_WAVE=32`, `VICTORY_FIRSTLANE_OWN`, `VICTORY_WAVE_WIDE`, `VICTORY_WAVE_LOCAL`, `VICTORY_WAVE_OWN_BITS`, `VICTORY_WAVE_DEEP_SKIPS`: same crash; - not (alone) its 64-bit image atomics, its `waveReadLaneAt` reads or its typed buffer store: leaving each out (a local probe) still crashes. The device reports 64-bit atomics on typed and descriptor-heap resources and shader model 6.8. Compared with its sibling, this variant adds 7 implicit-derivative samples, a typed buffer store, 9 lane reads and much more arithmetic (2,779 lines of DXIL against 844). **In the game** a draw with this pipeline would end the run on this driver when the breakable glass's alpha prepass is used; `VICTORY_SKIP_PIPELINES=cad3ecfdcdcf2a7d` should avoid it (not tried in the game: my runs did not reach such glass). Other drivers not tried. No game data in this report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:53:28 +00:00
Author
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 21:18 UTC · original

RDNA3 data for the programs named here: on a Radeon RX 7900 XTX with Adrenalin 32.0.32015.7029 (the driver build of #422), Windows 10, fxceless main d510ee4 + #402, every pass on, victory translate --validate --pipelines validated and created all 8 of them, and the rest of the title's 25,636 pipelines, without a crash in amdxc64.dll. Details and the table for all five reports are in #422 (#422).

**@⁠HAL9000RELOADED** on GitHub · 2026-11-25 21:18 UTC · [original](https://github.com/fxceless/victory-fork/issues/900#issuecomment-7174889004) RDNA3 data for the programs named here: on a Radeon RX 7900 XTX with Adrenalin 32.0.32015.7029 (the driver build of #422), Windows 10, fxceless `main` `d510ee4` + #402, every pass on, `victory translate --validate --pipelines` validated and created all 8 of them, and the rest of the title's 25,636 pipelines, without a crash in `amdxc64.dll`. Details and the table for all five reports are in #422 (https://git.gtahub.st/github/fxceless--victory-fork/issues/422).
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#900
No description provided.