7900 GRE + 32 GB: renderer patches work (CPU costs gone, GPU 91–95% busy) but 39.7 GB private memory causes swapping and 0.1 fps in heavy scenes #189

Open
opened 2026-11-26 11:22:06 +00:00 by github-bot · 1 comment
Owner

@⁠PostKeysNdDoOne on GitHub · 2026-11-26 10:56 UTC · original

Tested on a 7900 GRE (16 GB) + 32 GB RAM. The renderer patches work — CPU-side costs are gone, GPU is 91–95% busy. But memory hits 39.7 GB private and the system starts swapping, dropping to 0.1 fps (18.7 s/frame) in heavy scenes with 178k draws/frame. The 3.1 fps scene is comparable to the unpatched fork. The 64 GB RAM recommendation is accurate — 32 GB isn't enough for this fork.

**@⁠PostKeysNdDoOne** on GitHub · 2026-11-26 10:56 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/189) Tested on a 7900 GRE (16 GB) + 32 GB RAM. The renderer patches work — CPU-side costs are gone, GPU is 91–95% busy. But memory hits 39.7 GB private and the system starts swapping, dropping to 0.1 fps (18.7 s/frame) in heavy scenes with 178k draws/frame. The 3.1 fps scene is comparable to the unpatched fork. The 64 GB RAM recommendation is accurate — 32 GB isn't enough for this fork.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:22:06 +00:00
Author
Owner

@⁠tumbubu on GitHub · 2026-11-26 19:33 UTC · original

Another 32 GB data point, on Windows: RX 7900 XT (20 GB) + Ryzen 5 5600X + 32 GB RAM. Two things to add.

  1. With Windows' default paging file, a run dies when commit runs out.
  2. In an 11.5-minute run, only 17–25 GB of the 37–40 GB of private memory stays in RAM.

Setup

  • Windows 11 Pro 26300, AMD Radeon RX 7900 XT 20 GB, driver 32.0.31036.15, AMD Ryzen 5 5600X (6 cores), 32 GB RAM.
  • Diag build of this repo, scripts/play.ps1 defaults (neither -Safe nor -RayTracing), Series X profile.
  • The CPU has 6 cores against the README's i9-12900K, so frame times are not directly comparable.

1. Out of commit: an abort, not slowness

The paging file was system-managed: 6.9 GB at the time, for a commit limit of 38.7 GB. A run in the world ended with:

WARN victory_gpu::host: no unordered-access buffer error=Not enough memory resources are available to complete this operation. (0x8007000E) size=67108864
memory allocation of 3256837 bytes failed

The second line came 80 ms after the first. Over the last minute, the copystat memory line showed:

60 s before last line
private 37.5 GB 41.9 GB
left to commit 2.2 GB 0.38 GB
host copies of title memory 5.2 GB 6.4 GB
texture staging buffers alive ~100 2,075

The card's own memory was at 17.5 of 18.6 GB of budget. A system-managed paging file did not grow fast enough for that jump.

After setting a fixed 32 GB paging file (commit limit 63.9 GB), the next run went 11.5 minutes without a crash. That run was on 2de9980; the crashing one was earlier the same day, and I did not record its build. A line next to the README's 64 GB recommendation might save people on 32 GB a crash: set a fixed paging file of 32 GB or more.

2. The 11.5-minute run on 2de9980

VICTORY_OUTPUT=1920x1080 and VICTORY_RENDER_SCALE=1.0, so it rendered at 1080p. No victory shaders or warm --used was run beforehand.

minute shaders translated fps (min–mean–max) private / in RAM
0 (menus, loading) 2,868 4–26–30 24 / 19 GB
1–3 (entering the world) 222 0.4–7.5–30 31–37 / 24–25 GB
4–7 50 3–11–16 37 / 17–19 GB
8–10 70 0.7–8–15 37–40 / 19–25 GB
11 (a scene with ~9,500 draws) 42 0.2–2.5–6 40 / 25 GB
  • The world runs at 7–14 fps most of the time, with dips to 0.2–1 fps.
  • Private memory stays at 37–40 GB, of which 17–25 GB is in RAM; the rest is paged out. That matches the swapping described above.
  • Near the end the 20 GB card also filled up: textures picked by index: the card has no room for more; they wait. Rendering at 1080p may have contributed.
  • Shader translation was almost all in the first minute, so it is not what made the world stutter here.

Not tested: the default render scale (2/3), the Series S profile, and runs with victory shaders and warm --used done beforehand.

AI-assisted (Claude Code); the numbers come from VIctory's own log lines. No game files.

**@⁠tumbubu** on GitHub · 2026-11-26 19:33 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/189#issuecomment-7201711353) **Another 32 GB data point, on Windows: RX 7900 XT (20 GB) + Ryzen 5 5600X + 32 GB RAM. Two things to add.** 1. **With Windows' default paging file, a run dies when commit runs out.** 2. **In an 11.5-minute run, only 17–25 GB of the 37–40 GB of private memory stays in RAM.** **Setup** - Windows 11 Pro 26300, AMD Radeon RX 7900 XT 20 GB, driver 32.0.31036.15, AMD Ryzen 5 5600X (6 cores), 32 GB RAM. - Diag build of this repo, `scripts/play.ps1` defaults (neither `-Safe` nor `-RayTracing`), Series X profile. - The CPU has 6 cores against the README's i9-12900K, so frame times are not directly comparable. **1. Out of commit: an abort, not slowness** The paging file was system-managed: 6.9 GB at the time, for a commit limit of 38.7 GB. A run in the world ended with: ``` WARN victory_gpu::host: no unordered-access buffer error=Not enough memory resources are available to complete this operation. (0x8007000E) size=67108864 memory allocation of 3256837 bytes failed ``` The second line came 80 ms after the first. Over the last minute, the `copystat` memory line showed: | | 60 s before | last line | |---|---:|---:| | private | 37.5 GB | 41.9 GB | | left to commit | 2.2 GB | 0.38 GB | | host copies of title memory | 5.2 GB | 6.4 GB | | texture staging buffers alive | ~100 | 2,075 | The card's own memory was at 17.5 of 18.6 GB of budget. A system-managed paging file did not grow fast enough for that jump. After setting a fixed 32 GB paging file (commit limit 63.9 GB), the next run went 11.5 minutes without a crash. That run was on `2de9980`; the crashing one was earlier the same day, and I did not record its build. A line next to the README's 64 GB recommendation might save people on 32 GB a crash: set a fixed paging file of 32 GB or more. **2. The 11.5-minute run on `2de9980`** `VICTORY_OUTPUT=1920x1080` and `VICTORY_RENDER_SCALE=1.0`, so it rendered at 1080p. No `victory shaders` or `warm --used` was run beforehand. | minute | shaders translated | fps (min–mean–max) | private / in RAM | |---|---:|---|---| | 0 (menus, loading) | 2,868 | 4–26–30 | 24 / 19 GB | | 1–3 (entering the world) | 222 | 0.4–7.5–30 | 31–37 / 24–25 GB | | 4–7 | 50 | 3–11–16 | 37 / 17–19 GB | | 8–10 | 70 | 0.7–8–15 | 37–40 / 19–25 GB | | 11 (a scene with ~9,500 draws) | 42 | 0.2–2.5–6 | 40 / 25 GB | - The world runs at 7–14 fps most of the time, with dips to 0.2–1 fps. - Private memory stays at 37–40 GB, of which 17–25 GB is in RAM; the rest is paged out. That matches the swapping described above. - Near the end the 20 GB card also filled up: `textures picked by index: the card has no room for more; they wait`. Rendering at 1080p may have contributed. - Shader translation was almost all in the first minute, so it is not what made the world stutter here. **Not tested:** the default render scale (2/3), the Series S profile, and runs with `victory shaders` and `warm --used` done beforehand. AI-assisted (Claude Code); the numbers come from VIctory's own log lines. No game files.
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/avatarmanz--VIctory-7900XTX#189
No description provided.