16 GB PCs with 8 GB cards: texture copies held to 1 GB, and a page-file warning where Windows sizes it #3397
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3397"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Pierrot1398 on 2026-11-29T22:46:47Z.
Related: #944, #1915, #2453, #2523 (out of memory on 8 GB cards and 16 GB PCs). Not a full fix: see "What is still open".
What it changes
On a PC of 13.9 GB of RAM (Ryzen 7 5700G, whose integrated GPU takes part of 16 GB) with an RTX 5060 Ti 8 GB, every start of v2026.11.29.03 ended with
0x8007000Eat the end of the world's load: the card full, the PC's memory shared with the card at 6.5 to 6.8 GB of its 6,502 MB budget, the RAM free under 300 MB. Neither the Series S profile, a smaller picture, levels on demand nor a fixed 40 GB page file changed that.What grew there was the host copies of title buffers: 4,855 to 5,567 MB in the last 5.6 s of one start, only 1,132 MB of them on the card, which the texture copies (3.4 GB) had filled. A copy the card cannot take stays in the PC's memory, the shared part of it.
Two commits:
VICTORY_TEXTURE_CAP_MBcaps the bytes of host copies of title textures. It is 1024 by default whereresidency::small_host_ramsays so, and none elsewhere;0takes it off, a number of MB sets it.roomrefuses at the cap (before the floor). A first upload (the black-face fix) passes it by the allowance it already passes the card's line by, no more. An explicitVICTORY_TEXTURE_BUDGET_MBstill decides alone. The cap's bytes go to the buffer copies: about 3.0 GB of them were on the card with it, against 1.1 GB without.streamline::commit_limit,ullTotalPageFile) and asks for a fixed size up to the 52 GB the fixed-size warning already asks for. With a fixed 40 GB page file the world loaded about 1.5 minutes sooner, and that start stopped with 20.6 GB still left to commit.How it was tested
VICTORY_KEYS) and measured for 6 minutes.The start of five that still stopped had the same texture copies (1,212 MB) and the same buffer copies on the card (3,010 MB) as one that played on; its buffer copies peaked at 7,288 MB against 6,910 MB. The load asks for about 400 MB more from one start to the next, and on this PC that is the whole margin.
One more start, played by hand: 11 to 14 fps in the world, most textures there, some missing, faces without their expressions. It stopped at 8 minutes, when a later load pushed the shared memory to 6,758 MB.
cargo testpassed for the crates it touches: yes.victory-gpuresource::46 of 46,victoryplay::29 of 29, with 3 new tests. In the wholevictory-gpu --librun, 2 tests fail that this does not touch:shader_cache::tests::every_switch_of_the_translator_is_in_the_key(VICTORY_SCALAR_SPLITS is not read by the translator any more, onmainas well) andhost::menu::tests::a_change_is_saved_at_once_however_the_game_was_started(passes alone). Clippy finds nothing in the changed lines (mainhas warnings of its own elsewhere).What is still open
Checked for overlap
VICTORY_TEXTURE_MAX), not the bytes of all copies; #1944, #2334 and #2910 change other parts ofresource.rsandshadow.rs(first uploads past the budget, 8 GB tuning, windows in shared memory). None sets a byte cap on small hosts.🤖 Generated with Claude Code
https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:52:39Z.
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed