RX 9070 (RDNA4) with 31 GB RAM on a-publier cd8dfc0: about 20 fps in the prison, 41 GB private on a 31 GB PC, and 29 compute pipelines lost to an AMD compiler crash #298

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

@⁠alexdeliu on GitHub · 2026-11-26 19:28 UTC · original

A second machine for the README's "tested on one machine only", and the 32 GB case from "The goal".

Machine: Ryzen 7 7700, 31 GB RAM (page file 35 GB on C:), Radeon RX 9070 16 GB (driver 32.0.32029.2010), Windows 11. 3840x2160 window.

Build and settings: a-publier at cd8dfc0, cargo build --locked --profile diag -p victory --features diagnostics. Settings are scripts/play.ps1's defaults (not -Safe), plus VICTORY_PANEL=1 and VICTORY_ADAPTER=9070 (this PC also has an iGPU). Series X profile. Shaders were put in the store first with victory shaders. The pipelines were cold: this was the first run of this build.

Frame rate

phase what the panel and window title showed
menus 30 fps
first scenes, while about 1,000 pipelines were still being made 2-5 fps, frames of 280-520 ms
prison interior (Lucia), pipelines made, 4 minutes sampled every 4 s, standing and walking 19.7 fps on average (14-22), 51 ms (45-71 ms)

In the prison, the panel reads GPU 37-40 ms and SUB 47-57 ms, and the card is 61-80% busy. The log's frame line in the same minutes: about 47 ms preparing (copies 14 ms / 100 MB), 28 ms copying back (62 MB). About 500 draws a frame are dropped without a host pipeline (3 being made), plus about 50 indirect.

Memory, the 32 GB case

  • 41.2 GB private, of which 19.5 GB resident. The PC had 733 MB free and 684 MB left to commit, so a longer session would probably have run out of commit.
  • The panel read VICTORY RAM 40.0 GB, RAM 30.6/31.1 GB, CMT 64.4.
  • Hard paging: about 6,300 pages/s while loading, then about 290/s on average in the prison (peaks near 1,000/s). The frame rate held up anyway.
  • From the log's memory line:
    • host textures 7.5 GB (38,814 alive);
    • shared buffers made 9.1 GB;
    • upload buffers 3.3 GB;
    • card buffers 2.8 GB;
    • host copies of title memory 4.2 GB (764 windows, 3.1 GB);
    • "private bytes grew 10,003 MB while lists were made".

So on a 32 GB PC it runs, and at close to the README's frame rate, but with no commit headroom left. The 10 GB for lists and the 9 GB of shared buffers look like the first places to cut. I'd like to measure that here, since this PC is the 32 GB case.

29 compute pipelines are lost to the AMD compiler on RDNA4

This run logged 29 of the driver's compiler crashed making a pipeline: it is left out, the worker is replaced, all compute, all at the same instruction of amdxc64.dll (rip=...1b9f, offset 0x861b9f in 32.0.32029.2010). The containment works: no crash of the run, and the workers are replaced.

Offline (Belobug's old main with a local trace, victory translate --pipelines, one pipeline per process) I could pin some of them by name:

  • these crash amdxc64 on the RX 9070 every time: the tree and wind animation skinning programs bvh_skinning:CSComputeSkinningTreeAnim, ...TreeAnimVelocity and CSComputeTreeAnim;
  • ...UmWind crashed once in three tries;
  • the same programs make pipelines fine on an RDNA2 iGPU (gfx1036, driver 32.0.21045).

The AMD Driver Experiments I tried (shader compiler optimizations off, FP optimizations off, shader cache off) did not change it. I couldn't confirm the experiments were applied, so treat that as a weak result.

The 9070 XT is RDNA4 too, so these passes are probably missing there as well. They may be part of "distant trees aren't drawn" and of the outdoor tree and plant flicker. I'm reporting the crash to AMD with the facts only (no game code), and I'll try to find a translation-side shape that avoids it.

Screenshots with the panel are available if useful.

**@⁠alexdeliu** on GitHub · 2026-11-26 19:28 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/298) A second machine for the README's "tested on one machine only", and the 32 GB case from "The goal". **Machine:** Ryzen 7 7700, **31 GB RAM** (page file 35 GB on C:), Radeon RX 9070 16 GB (driver 32.0.32029.2010), Windows 11. 3840x2160 window. **Build and settings:** `a-publier` at `cd8dfc0`, `cargo build --locked --profile diag -p victory --features diagnostics`. Settings are `scripts/play.ps1`'s defaults (not `-Safe`), plus `VICTORY_PANEL=1` and `VICTORY_ADAPTER=9070` (this PC also has an iGPU). Series X profile. Shaders were put in the store first with `victory shaders`. The pipelines were cold: this was the first run of this build. ## Frame rate | phase | what the panel and window title showed | |---|---| | menus | 30 fps | | first scenes, while about 1,000 pipelines were still being made | 2-5 fps, frames of 280-520 ms | | prison interior (Lucia), pipelines made, 4 minutes sampled every 4 s, standing and walking | **19.7 fps on average (14-22), 51 ms (45-71 ms)** | In the prison, the panel reads GPU 37-40 ms and SUB 47-57 ms, and the card is 61-80% busy. The log's frame line in the same minutes: about 47 ms preparing (copies 14 ms / 100 MB), 28 ms copying back (62 MB). About 500 draws a frame are dropped without a host pipeline (3 being made), plus about 50 indirect. ## Memory, the 32 GB case - 41.2 GB private, of which 19.5 GB resident. **The PC had 733 MB free and 684 MB left to commit**, so a longer session would probably have run out of commit. - The panel read `VICTORY RAM 40.0 GB`, `RAM 30.6/31.1 GB`, `CMT 64.4`. - Hard paging: about 6,300 pages/s while loading, then about 290/s on average in the prison (peaks near 1,000/s). The frame rate held up anyway. - From the log's memory line: - host textures 7.5 GB (38,814 alive); - shared buffers made 9.1 GB; - upload buffers 3.3 GB; - card buffers 2.8 GB; - host copies of title memory 4.2 GB (764 windows, 3.1 GB); - "private bytes grew 10,003 MB while lists were made". So on a 32 GB PC it runs, and at close to the README's frame rate, but with no commit headroom left. The 10 GB for lists and the 9 GB of shared buffers look like the first places to cut. I'd like to measure that here, since this PC is the 32 GB case. ## 29 compute pipelines are lost to the AMD compiler on RDNA4 This run logged 29 of `the driver's compiler crashed making a pipeline: it is left out, the worker is replaced`, all compute, **all at the same instruction of amdxc64.dll** (`rip=...1b9f`, offset 0x861b9f in 32.0.32029.2010). The containment works: no crash of the run, and the workers are replaced. Offline (Belobug's old `main` with a local trace, `victory translate --pipelines`, one pipeline per process) I could pin some of them by name: - these crash amdxc64 on the RX 9070 every time: the tree and wind animation skinning programs `bvh_skinning:CSComputeSkinningTreeAnim`, `...TreeAnimVelocity` and `CSComputeTreeAnim`; - `...UmWind` crashed once in three tries; - **the same programs make pipelines fine on an RDNA2 iGPU** (gfx1036, driver 32.0.21045). The AMD Driver Experiments I tried (shader compiler optimizations off, FP optimizations off, shader cache off) did not change it. I couldn't confirm the experiments were applied, so treat that as a weak result. The 9070 XT is RDNA4 too, so these passes are probably missing there as well. They may be part of "distant trees aren't drawn" and of the outdoor tree and plant flicker. I'm reporting the crash to AMD with the facts only (no game code), and I'll try to find a translation-side shape that avoids it. Screenshots with the panel are available if useful.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:49:08 +00:00
Author
Owner

@⁠alexdeliu on GitHub · 2026-11-26 20:19 UTC · original

Update, and a correction to the report above:

  • The 29 crashed pipelines are not the tree animation. I mapped their hashes to translate --list: all 29 are ped_*:CS_RaytracingResolve. The tree-animation programs crash amdxc64 offline too, but for a different reason, and they didn't come up in these scenes.
  • The cause is one clean-up pass. When REUSE lets one dx.op.getDimensions serve the uses of an equal one below it, the RX 9070's compiler crashes. Keeping getDimensions out of REUSE makes all 29 pipelines. In game, at the same spot: 0 compiler crashes, and the same frame time (51.6 ms median). PR: #324
  • The run with VICTORY_PANEL=1 also ended once on a panic in the panel's per-core CPU meter (clamp(0, negative) when a core's counter stepped back). PR: #325
**@⁠alexdeliu** on GitHub · 2026-11-26 20:19 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/298#issuecomment-7202546066) Update, and a correction to the report above: - **The 29 crashed pipelines are not the tree animation.** I mapped their hashes to `translate --list`: all 29 are `ped_*:CS_RaytracingResolve`. The tree-animation programs crash amdxc64 offline too, but for a different reason, and they didn't come up in these scenes. - **The cause is one clean-up pass.** When REUSE lets one `dx.op.getDimensions` serve the uses of an equal one below it, the RX 9070's compiler crashes. Keeping `getDimensions` out of REUSE makes all 29 pipelines. In game, at the same spot: 0 compiler crashes, and the same frame time (51.6 ms median). PR: #324 - The run with `VICTORY_PANEL=1` also ended once on a panic in the panel's per-core CPU meter (`clamp(0, negative)` when a core's counter stepped back). PR: #325
This discussion has been locked. Commenting is limited to contributors.
No description provided.