Report from a 16 GB / RTX 3060 12 GB machine: world runs at ~3 fps, a page-file stall that looks like a hang, and what did and did not help #366

Closed
opened 2026-11-26 03:41:45 +00:00 by github-bot · 0 comments
Owner

@⁠vixtoejoao76-dev on GitHub · 2026-11-24 23:56 UTC · original

No screenshots, shader names, hashes or game data are included, per the asset policy.
Measurements were gathered with the help of an AI coding assistant (Claude Code) and checked against the fork's own copystat log lines.

Setup

  • Windows 11, AMD Ryzen 7 5700G (8 cores / 16 threads), 16 GB DDR4-3200 (2 x 8 GB), NVIDIA GeForce RTX 3060 12 GB
  • Series X profile, fork at 1684989 (release build with the diagnostics feature), warm shader cache and pipeline library
  • Scripted Enter presses from the title screen into the prologue; every number below is a steady-state average of several 5-second windows

1. What works here

The prologue cutscene renders in 3D (character with hair, buildings, sky, sunlit areas; shadowed areas are black, as in the README).

Configuration ms/frame fps
default ~540 1.9
VICTORY_RELAY=2 370-385 2.6-2.7
VICTORY_RELAY=2 + skipping 4 indirect-lighting pipelines (below) 304-329 3.0-3.3

No device loss in several runs of 8-13 minutes once the cache is warm.

2. Stall at the world transition: it was Windows commit, not a flag

On this machine the title process peaks at about 23 GB private bytes in the world, plus about 5 GB of memory shared with the card. With an auto-managed page file the log line ... MB left to commit showed 0.5-1.5 GB of headroom at the peak. Four runs in a row (with and without extra switches) then produced no frames for about 40 seconds at the world transition, and the title's own hang detector ended the process by writing to address 0. The same executable and switches that failed four times passed once the page file was fixed at 40 GB (commit limit 37 GB to 72 GB; headroom at the peak about 33 GB).

Suggestion: a README note that the world needs roughly 23 GB of commit plus the shared memory, with a fixed page file recommended on 16 GB machines, and perhaps a warning when left to commit drops under a few GB (the number is already logged).

I had first concluded that VICTORY_WIDE_BACK=1 and the README's combined switch set "freeze the transition"; that was this memory stall, not the switches (retested below).

3. Switches, measured with enough commit headroom

  • VICTORY_WIDE_BACK=1: passes the transition but is slower: 350 / 352 / 340 ms against about 302 ms without it (same other settings). Plausibly more threads fighting for memory on a 16 GB machine.
  • VICTORY_CARD_BUFFERS_MB=1024: 310-326 ms, no measurable change; copies stay at about 110 MB per frame.
  • VICTORY_DISPLAY_MODE: the world's render targets stay 2560x1440 whether the reported mode is 1280x720 or 3840x2160 (368 ms against 370 ms per frame), so it is not a performance lever.
  • VICTORY_BARRIER_TEST=both: GPU time 161 ms against 175 ms, so the waits around the indirect clamp are not the bottleneck here.

4. GPU time by command (VICTORY_GPU_TIMING)

About 258 ms of GPU time per frame: ~150 ms in ~5000 indirect commands, ~89 ms in ~3400 dispatches, under 14 ms in draws and mesh. The heaviest single commands are passes of the indirect-lighting system (screen-probe ray tracing, ray-request evaluation, probe gather/copy, allocation-request registration): about 39-43 ms per frame together. The README says that lighting does not reach the image yet, so I skipped just those four pipelines with VICTORY_SKIP_PIPELINES: 304-329 ms per frame and GPU time down from ~165 ms to ~75-100 ms, with no visible artefact in the frames I looked at (not a frame-by-frame comparison; the camera moves). Skipping the whole family (153 pipelines) was worse (329 ms), probably because clear/argument passes also stop; after the four heavy ones only about 4 ms of that family is left.

Suggestion: an opt-in preset that skips those passes until the lighting is working.

5. What is left on this machine: RAM

With the GI passes skipped the frame is CPU bound (~180 ms of preparing). During the world: 0 MB free RAM, Windows memory compression holding 3.6 GB, the process 3.4 GB resident of 22.7 GB committed, about 66k page faults per frame (260-300k per second system-wide) with only 0-460 disk page reads per second, so these are soft faults. No other process competes for CPU (about 0.2 cores in total); the whole system uses about 5.1 core-equivalents against 3.1 for the title. That the extra work is memory compression is an inference; I could not read the CPU time of the system processes.

6. Failures seen

  • --console series-s: device removed (invalid call) as soon as the world starts.
  • Upstream VIctory main at 70564ae on this GPU: device removed after about 8 seconds, with no room for the null buffer views and about 310k title slot past the host heap warnings (the title wants 1,245,184 view slots, this driver caps the heap at 1,000,000). The fork handles the cap; I mention it in case upstream wants to know.

Happy to run anything else on this machine (RTX 3060, 16 GB), including the commit-limit change above.

**@⁠vixtoejoao76-dev** on GitHub · 2026-11-24 23:56 UTC · [original](https://github.com/fxceless/victory-fork/issues/366) No screenshots, shader names, hashes or game data are included, per the asset policy. Measurements were gathered with the help of an AI coding assistant (Claude Code) and checked against the fork's own `copystat` log lines. ## Setup - Windows 11, AMD Ryzen 7 5700G (8 cores / 16 threads), 16 GB DDR4-3200 (2 x 8 GB), NVIDIA GeForce RTX 3060 12 GB - Series X profile, fork at `1684989` (release build with the `diagnostics` feature), warm shader cache and pipeline library - Scripted Enter presses from the title screen into the prologue; every number below is a steady-state average of several 5-second windows ## 1. What works here The prologue cutscene renders in 3D (character with hair, buildings, sky, sunlit areas; shadowed areas are black, as in the README). | Configuration | ms/frame | fps | |---|---|---| | default | ~540 | 1.9 | | `VICTORY_RELAY=2` | 370-385 | 2.6-2.7 | | `VICTORY_RELAY=2` + skipping 4 indirect-lighting pipelines (below) | 304-329 | 3.0-3.3 | No device loss in several runs of 8-13 minutes once the cache is warm. ## 2. Stall at the world transition: it was Windows commit, not a flag On this machine the title process peaks at about 23 GB private bytes in the world, plus about 5 GB of memory shared with the card. With an auto-managed page file the log line `... MB left to commit` showed 0.5-1.5 GB of headroom at the peak. Four runs in a row (with and without extra switches) then produced no frames for about 40 seconds at the world transition, and the title's own hang detector ended the process by writing to address 0. The same executable and switches that failed four times passed once the page file was fixed at 40 GB (commit limit 37 GB to 72 GB; headroom at the peak about 33 GB). Suggestion: a README note that the world needs roughly 23 GB of commit plus the shared memory, with a fixed page file recommended on 16 GB machines, and perhaps a warning when `left to commit` drops under a few GB (the number is already logged). I had first concluded that `VICTORY_WIDE_BACK=1` and the README's combined switch set "freeze the transition"; that was this memory stall, not the switches (retested below). ## 3. Switches, measured with enough commit headroom - `VICTORY_WIDE_BACK=1`: passes the transition but is slower: 350 / 352 / 340 ms against about 302 ms without it (same other settings). Plausibly more threads fighting for memory on a 16 GB machine. - `VICTORY_CARD_BUFFERS_MB=1024`: 310-326 ms, no measurable change; copies stay at about 110 MB per frame. - `VICTORY_DISPLAY_MODE`: the world's render targets stay 2560x1440 whether the reported mode is 1280x720 or 3840x2160 (368 ms against 370 ms per frame), so it is not a performance lever. - `VICTORY_BARRIER_TEST=both`: GPU time 161 ms against 175 ms, so the waits around the indirect clamp are not the bottleneck here. ## 4. GPU time by command (`VICTORY_GPU_TIMING`) About 258 ms of GPU time per frame: ~150 ms in ~5000 indirect commands, ~89 ms in ~3400 dispatches, under 14 ms in draws and mesh. The heaviest single commands are passes of the indirect-lighting system (screen-probe ray tracing, ray-request evaluation, probe gather/copy, allocation-request registration): about 39-43 ms per frame together. The README says that lighting does not reach the image yet, so I skipped just those four pipelines with `VICTORY_SKIP_PIPELINES`: 304-329 ms per frame and GPU time down from ~165 ms to ~75-100 ms, with no visible artefact in the frames I looked at (not a frame-by-frame comparison; the camera moves). Skipping the whole family (153 pipelines) was worse (329 ms), probably because clear/argument passes also stop; after the four heavy ones only about 4 ms of that family is left. Suggestion: an opt-in preset that skips those passes until the lighting is working. ## 5. What is left on this machine: RAM With the GI passes skipped the frame is CPU bound (~180 ms of preparing). During the world: 0 MB free RAM, Windows memory compression holding 3.6 GB, the process 3.4 GB resident of 22.7 GB committed, about 66k page faults per frame (260-300k per second system-wide) with only 0-460 disk page reads per second, so these are soft faults. No other process competes for CPU (about 0.2 cores in total); the whole system uses about 5.1 core-equivalents against 3.1 for the title. That the extra work is memory compression is an inference; I could not read the CPU time of the system processes. ## 6. Failures seen - `--console series-s`: device removed (invalid call) as soon as the world starts. - Upstream VIctory `main` at `70564ae` on this GPU: device removed after about 8 seconds, with `no room for the null buffer views` and about 310k `title slot past the host heap` warnings (the title wants 1,245,184 view slots, this driver caps the heap at 1,000,000). The fork handles the cap; I mention it in case upstream wants to know. Happy to run anything else on this machine (RTX 3060, 16 GB), including the commit-limit change above.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:41:45 +00:00
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#366
No description provided.