RX 9070 (RDNA 4): driver shader compiler crashes while pipelines compile on main a803c87 #505

Open
opened 2026-11-26 03:44:53 +00:00 by github-bot · 2 comments
Owner

@⁠tightfall on GitHub · 2026-11-25 01:51 UTC · original

Setup: RX 9070, Windows 11, Adrenalin 26.11.2. Build: main a803c87 (diag profile, with #375 on top), cold shader cache.

What happens: about one minute after launch, before the world, the process dies in the AMD driver's shader
compiler: amdxc64.dll+0x861b9f, while several pipelines compile at once. Reproduced in three runs.

  • With VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,39f0e9aeb156a61c it gets past that point and then hits the same
    amdxc64.dll+0x861b9f crash while several ped_*:CS_RaytracingResolve compute pipelines
    (7ce83073…, e05a2c13…, d4343b9a…) and others compile.
  • Without the skip, [compute 39f0e9aeb156a61c] (indirect_diffuse_lighting:CS_ScreenProbes_ActivateRays) starts
    compiling and never finishes. On 2119b0e, with the clean-up passes from 1684989, the same shader built in ~80 s
    with a 1.7 GB peak, so this looks like a regression between 2119b0e and a803c87 (3bff182 is my first guess, but
    I have not bisected it).

For comparison: 2119b0e plus myokex/victory-amd reaches gameplay on the same machine and runs for 10+ minutes
without a compiler crash.

I can bisect between 2119b0e and a803c87 if that helps.

This report was written with AI assistance (Claude Code). Tested only on the setup above.

**@⁠tightfall** on GitHub · 2026-11-25 01:51 UTC · [original](https://github.com/fxceless/victory-fork/issues/505) **Setup:** RX 9070, Windows 11, Adrenalin 26.11.2. Build: `main` a803c87 (diag profile, with #375 on top), cold shader cache. **What happens:** about one minute after launch, before the world, the process dies in the AMD driver's shader compiler: `amdxc64.dll+0x861b9f`, while several pipelines compile at once. Reproduced in three runs. - With `VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,39f0e9aeb156a61c` it gets past that point and then hits the same `amdxc64.dll+0x861b9f` crash while several `ped_*:CS_RaytracingResolve` compute pipelines (`7ce83073…`, `e05a2c13…`, `d4343b9a…`) and others compile. - Without the skip, `[compute 39f0e9aeb156a61c]` (indirect_diffuse_lighting:CS_ScreenProbes_ActivateRays) starts compiling and never finishes. On 2119b0e, with the clean-up passes from 1684989, the same shader built in ~80 s with a 1.7 GB peak, so this looks like a regression between 2119b0e and a803c87 (3bff182 is my first guess, but I have not bisected it). **For comparison:** 2119b0e plus myokex/victory-amd reaches gameplay on the same machine and runs for 10+ minutes without a compiler crash. I can bisect between 2119b0e and a803c87 if that helps. This report was written with AI assistance (Claude Code). Tested only on the setup above.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:44:53 +00:00
Author
Owner

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

Measured on an RX 9070 XT (Windows 11, Adrenalin driver 32.0.31044.16, older than the 26.11.2 here): the host compile of compute 39f0e9aeb156a61c alone, outside the game. Its container was saved with VICTORY_DUMP_MATCH, then victory translate <that folder> --pipelines with a diag build of each commit. Every run had its own VICTORY_SHADER_LOOP_LIMIT, so the driver's own shader cache never answered for an earlier compile.

build seconds peak private memory
2119b0e 270.4, 270.9 2.0 GB
3bff182 255 (from its log's times) not recorded
31714de 267, 257.5 2.0 GB
main (c96b4f2, then 310c6eb) 256, 272.7 2.0 GB
main + #598 (e8981f3) 267, 266.7 2.0 GB

On this driver nothing between 2119b0e and main changes the cost, and #598 does not either: about 4.5 minutes and 2 GB at every point. In the game (main c96b4f2) the same pipeline was made about 5 minutes after its shader was translated, and later runs got it from the driver's cache at once. So the change from ~80 s to a compile that does not end looks tied to the newer driver; the same steps on 26.11.2 would tell. The container has 2,509 descriptor loads, which is where #598's clamp changes apply.

**@⁠hxghr6** on GitHub · 2026-11-25 12:16 UTC · [original](https://github.com/fxceless/victory-fork/issues/505#issuecomment-7162143066) Measured on an RX 9070 XT (Windows 11, Adrenalin driver 32.0.31044.16, older than the 26.11.2 here): the host compile of `compute 39f0e9aeb156a61c` alone, outside the game. Its container was saved with `VICTORY_DUMP_MATCH`, then `victory translate <that folder> --pipelines` with a diag build of each commit. Every run had its own `VICTORY_SHADER_LOOP_LIMIT`, so the driver's own shader cache never answered for an earlier compile. | build | seconds | peak private memory | |---|---|---| | 2119b0e | 270.4, 270.9 | 2.0 GB | | 3bff182 | 255 (from its log's times) | not recorded | | 31714de | 267, 257.5 | 2.0 GB | | main (c96b4f2, then 310c6eb) | 256, 272.7 | 2.0 GB | | main + #598 (e8981f3) | 267, 266.7 | 2.0 GB | On this driver nothing between 2119b0e and main changes the cost, and #598 does not either: about 4.5 minutes and 2 GB at every point. In the game (main c96b4f2) the same pipeline was made about 5 minutes after its shader was translated, and later runs got it from the driver's cache at once. So the change from ~80 s to a compile that does not end looks tied to the newer driver; the same steps on 26.11.2 would tell. The container has 2,509 descriptor loads, which is where #598's clamp changes apply.
Author
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 21:17 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 2 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:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/505#issuecomment-7174888287) 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 2 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#505
No description provided.