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
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#366
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
copystatlog lines.Setup
1684989(release build with thediagnosticsfeature), warm shader cache and pipeline library1. What works here
The prologue cutscene renders in 3D (character with hair, buildings, sky, sunlit areas; shadowed areas are black, as in the README).
VICTORY_RELAY=2VICTORY_RELAY=2+ skipping 4 indirect-lighting pipelines (below)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 commitshowed 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 commitdrops under a few GB (the number is already logged).I had first concluded that
VICTORY_WIDE_BACK=1and 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.mainat70564aeon this GPU: device removed after about 8 seconds, withno room for the null buffer viewsand about 310ktitle slot past the host heapwarnings (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.