Series S profile unplayable on 8GB VRAM/16GB RAM: texture working set permanently exceeds budget line even with PR #76 settings #1918
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Theconesfm on 2026-11-29T02:33:27Z.
Summary
On an 8 GB RTX + 16 GB RAM system, the Series S profile for GTA6 (v1.0.2.1) cannot keep its texture working set within the budget line. Textures stream in at 5-10 fps indefinitely, many never upload, and the title breakpad-crashes after 5-7 minutes with 97% system RAM used.
PR #76's
VICTORY_CARD_ROOM_FOR_TARGETS_MBknob fixes the ~2110 MB render-target over-reservation (confirmed: now 0 MB reserved on this run), but the game's texture set itself is ~5800 MB resident and the budget line sits at ~5715 MB at 85% of a 6723 MB budget — permanently 50-150 MB over, sono room, new textures waitpersists forever.Environment
main--series-s --dlss balanced(no framegen)preloadcompletedvictory-settings.txtObserved (fresh log, after preload)
GPU is 1.9 ms of a 118 ms frame — idle. CPU prepares frames in 96.8 ms, 40 ms of which is uploading 223 MB of texture pages per frame. PCIe-upload bound, not GPU-bound.
Earlier run with
VICTORY_CARD_ROOM_FOR_TARGETS_MB=512, VICTORY_TEXTURE_ROOM_PERCENT=70:Raising
VICTORY_TEXTURE_ROOM_PERCENTfrom 70 → 85 → 88 improves fps from ~3 → ~6 → ~8.5 but never clears the "no room" line. Further raises squeeze render targets.Crash
After ~6 minutes play (Series S, DLSS balanced, no framegen):
crashes.log:Null-pointer write inside
victory-imagewhile system RAM was at 97% — likely an allocation-failure return the caller doesn't check.System RAM, not VRAM. Earlier log line:
14358 host copies of the levels viewed alone (984 MB on the card, 7855 MB of title memory whole)— ~8 GB mirrored on the 16 GB host is the proximate cause.Logs attached
play.log— running at ~12 fps with the latest settings (sanitized).play-crashed.log— the run that crashed after ~6 minutes (sanitized).crashes.log— the Victory crashes journal entry.game.crash.log— the title's own breakpad context.Questions
VICTORY_HELD_LEVELS(default 0 = whole; drop top mip?)VICTORY_LEVELS_ON_DEMANDVICTORY_TEXTURE_BUDGET_MBVICTORY_TEXTURE_KEEP,VICTORY_SLOT_EVICT,VICTORY_LAZY_TEXTURESVICTORY_REUPLOAD_WHEN_FULLWhat I can test
Happy to run specific
--set VICTORY_X=Ycombinations and post freshthe texture queue's room+frame times+ fps lines, or minidumps.Related
VICTORY_CARD_ROOM_FOR_TARGETS_MBfix) — applied, confirms render-target bug is distinct from this texture-pool issuecrashes.log
game.crash.log
play.log
play-crashed.log
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-29T02:44:35Z.
Same class of PC here, for comparison: RTX 2070 SUPER 8 GB, 32 GB RAM, Series S + DLSS Performance, our branch based on upstream main from 2026-11-28. I read your attached logs and current main (
568c5e5d). Below is what I think a user on 8 GB can set today, with the defaults as the code has them. None of it is a fix. I have not run your settings, and I have not tested on a 16 GB PC.Our numbers look like yours. Budget ~7.1-7.2 GB, line ~6.4-6.5 GB (the default 90 %), and once the world loads the card sits at 6.9-7.1 GB in use with "no room" in most room checks (43 of 114 in one run, 93 of 99 in another). As in your logs, "kept for render targets" drops to 0 within ~20 s. So the steady "no room" comes from textures filling the card in our runs as well, not from the targets reserve. Your play.log, after the world loads: mostly 6.7-6.8 GB in use of a 6.9-7.1 GB budget, line 6.1-6.3 GB, and 9 of 17 checks say "no room". The crashed run: 16 of 32, with the budget down to 6.6-6.8 GB. The big difference between our PCs is RAM.
RAM. The README asks for 32 GB or more (README.md:74). Your crash came at 97 % memory load, and I don't know of a switch on main that removes the host-side texture copies. One thing that does seem specific to 16 GB is how the idle texture sweep behaves:
host_texture_idle_ms()returns 1 s (residency.rs:178-180). Your log reports 2,841 MiB free at frame 4, so this is probably active for the whole run.VICTORY_HOST_TEXTURE_SWEEP=0restores the card-only rule (residency.rs:156-160). The trade-off is that fewer host copies are freed under RAM pressure, so on 16 GB it could make the RAM problem worse. I'd try it only as an A/B and watch memory load.Your questions, on main
568c5e5d:VICTORY_TEXTURE_ROOM_PERCENT: when unset, the line is 90 % on cards with a budget of 7.5 GB or less (resource.rs:2460-2461), so your 88 is a little below the default. The launcher sets 86 only when frame generation is made ready (play.rs:378). Going above 90 takes headroom that targets and DLSS need.VICTORY_HELD_LEVELS: this is already on when unset (resource.rs:1381). The "=0: whole" text in the log line describes what turning it off does. Your log shows it at work: 40,201 copies, 2,889 MB on the card against 18,159 MB if the textures were whole.VICTORY_TEXTURE_BUDGET_MB: this does not add a cap on top of the line. It replaces the card-usage test with a limit on the textures' own bytes (resource.rs:2004-2005), so a value set too high can run the card past its budget.VICTORY_LEVELS_ON_DEMAND=1: the launcher default is 0 (play.rs:91). On our PC it gave black textures and much longer texture waits, so we keep it off.VICTORY_SLOT_EVICT: the launcher turns it on (play.rs:123). It starts at 85 % or at the line, whichever is lower, and frees at most 256 MB per sweep (resource.rs:3035-3051, 3160).VICTORY_CARD_ROOM_FOR_TARGETS_MB: the default is 3072, and setting it switches to a reserve that drops to 0 after 20 s of no target growth (resource.rs:2227-2268). Our targets peaked at ~0.8-1.0 GB at Series S + DLSS Performance (Balanced renders more pixels), so 256 may leave the targets short while the world loads. We use 1280. Open PR #1911 proposes 1536 for Series S.VICTORY_WINDOWS_BAR_MB=2048: the default is 0. It puts windows of title memory in card memory while a fifth of the budget is free (shadow.rs:601-611). I can't tell from the log how much it held. A run without it could free card memory, but those windows would then likely sit in system RAM instead, which may make things worse at 97 % memory load; I haven't tested it, so watch memory load if you try it.Open PRs that touch this (not on main, so a build is needed): #1763 (tested on an RTX 5060 Laptop 8 GB: slot-eviction fixes plus prioritising on-screen textures), #1772 (above), #1771 and #1805 (size and budget checks for first uploads over the line), #1733 (
VICTORY_RESIDENCY_HIGH=1, off by default: plain textures leave the card first), #1562 (adaptive texture pool). #1759 took a different route: textures made without their top levels under pressure. It is closed. A memory batch in our branch that included a port of it kept the card at ~6.4 GB flat instead of ~7.1 GB and rising. Part of that came from making ~49k textures without their top levels, so it costs detail (one run each, not a clean A/B).If you run an A/B, these lines would compare well with ours:
the texture queue's room, the per-second fps line, andhost memory pressure.This was written with AI assistance (Claude Code).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by amanoshouko on 2026-11-29T15:24:44Z.
Same picture on an 8 GB RTX 4060 Laptop, but with 32 GB of RAM — so this run is pure VRAM pressure, no host-memory OOM. Adding numbers in case they help separate the two.
b99f876b…VICTORY_EARLY_DEPTH=1,VICTORY_WC_NO_BACK=1Three points in one session (2026-11-29, 23:04 → 23:22)
7001 MB in use - 798 MB free + 130 + 494 = 6827 MB against a line of 5139 MB7078 MB in use - 771 MB free + 129 + 494 = 6930 MB against a line of 5164 MB7313 MB in use - **101 MB free** + 106 + 490 = 7808 MB against a line of 5087 MBFrame rate at the last point: 12 fps, 85.6 ms/frame, 3,989 draws.
nvidia-smi: 7,600 MiB of 8,188.Two things that may be useful:
80.0 % of a budget of 6359 MB, and 6,359 is itself 80 % of the 7,956 MB the layer sees as the card's own. That puts the line at 5,087 MB — about 600 MB below the ~5,700 MB line in the 8 GB RTX 2070 SUPER comment. IfVICTORY_TEXTURE_ROOM_PERCENTis what sets it (resource.rs:2460-2461 as described there), raising it to 90 would move our line to roughly 5,720 MB with this card.I have not tried
VICTORY_TEXTURE_ROOM_PERCENT=90yet. I can run it and post thethe texture queue's room/ per-second fps /host memory pressurelines before and after, if that comparison is wanted.The visual symptom is what this issue's title says: textures flickering black, mostly on the character's arms and on nearby surfaces, worst in the city.
For completeness, the same build on this PC also hit
0xc0000005at+0x23cf683on 2026-11-28 (three runs, identical stack); that is written up in #1031.Written with AI assistance (Claude Code).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by amanoshouko on 2026-11-29T15:32:18Z.
A/B on the same PC, same session, a few minutes apart, for whoever considers raising the line: it moves the line, but the title fills the new headroom too, and the flicker does not change.
no room--set VICTORY_TEXTURE_ROOM_PERCENT=90)Same settings otherwise (Series S, DLSS ultraperformance, 360p scene, frame generation 2X). With 90 % the queue simply refills to the new line within two minutes:
6225 MB in use - 282 MB free in texture blocks … no room. The black flicker on the character's arms and nearby surfaces is unchanged.One thing worth knowing for anyone testing: setting
VICTORY_TEXTURE_ROOM_PERCENTas an environment variable did nothing on v2026.11.29.01 (the log stayed at80.0 % of a budget of …across 19 checks). Onlyvictory play … --set VICTORY_TEXTURE_ROOM_PERCENT=90changed it.VICTORY_LDS_WRITE_ONLY_OKbehaved the same way, though that one I could not A/B separately because the cache files are not named by the 16-hex run hash.So on an 8 GB card the percentage is not the lever — the texture set is larger than the card either way.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by spook40 on 2026-11-29T21:30:19Z.
Hardware: NVIDIA RTX 3060 Ti (8 GB VRAM, ~6.8–7.2 GB DXGI budget)
Profile: Xbox Series S (
1080to1440,--dlss performance,--fps 60)Findings
victory-settings.txtoverrides CLI and env flags:--dlss performanceandVICTORY_TEXTURE_BUDGET_MB=2000still resulted inVICTORY_DLSS=0and no texture budget cap whenvictory-settings.txtwas present.VICTORY_DLSS=0stayed active, FSR 3 Frame Gen was disabled at startup (FSR 3 frame generation stays off: it needs DLSS for the upscaling).victory-settings.txtlet DLSS Performance turn on, but reset the profile toseries-xand forcedVICTORY_POOL_SMALL=0andVICTORY_LEVELS_ON_DEMAND=0.8 GB VRAM ceiling and
0x8007000EOOMs:victory-settings.txt, VRAM stayed pinned above 97% (card past 97 %hit 706,314 times), preventingsmall_room()from creating small texture fallbacks and causing 53 host pipeline failures (1 graphics 0x8007000e; 52 mesh 0x8007000e).victory-settings.txtwas cleared and Series S + DLSS Performance were saved through the F1 menu,0x8007000Epipeline failures dropped to 0 across a 6-minute run.Performance:
62.8–94 ms/frame), heavily CPU-bound (42.5–68 mspreparing submissions,13–23 mscopying back,3.6–8.9 msGPU time).Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by amanoshouko on 2026-11-30T07:20:14Z.
A time series from one 97-minute session on v2026.11.29.05, in case the growth matters more than the single samples above. Same PC as my earlier comment: RTX 4060 Laptop 8 GB, 32 GB RAM, Series S, DLSS ultraperformance, 360p scene, frame generation 2X. No crash; the picture simply degrades as the session goes on (by the end everything is soft and low-resolution).
Columns are the numbers in
the texture queue's room, in MB: textures in use, free in texture blocks, kept for card copies of title buffers, kept for render targets, the total, and the line.Two things I did not expect:
in usegrows for the whole session, 1.2 GB after the first frame to 10 GB at the end, while the line stays at about 5 GB. It never comes back down. If "in use" counts textures resident in system memory as well as the card, that is the host side growing; if it counts only what the queue considers resident, then something is holding ~5 GB past the line.kept for card copies of title buffersgoes to zero at about 40 minutes and stays there (850 → 0 MB), whilefree in texture blockshovers between 8 and 920 MB. That looks like the layer giving up on keeping the title's buffer copies on the card from that point on.Frame times at the end: median 136–145 ms, p95 up to 518 ms. At the start of the session they were much lower. The card is 8 GB, so some of this is simply the world streaming in, but the monotonic climb of
in usewith an almost flatfreelooks more like a residency/eviction problem than a steady state.The play log is 112 MB (
victory-nvidia-play-20261130-053821-22944.log); I can attach it if it helps.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by amanoshouko on 2026-11-30T11:48:59Z.
A second session on v2026.11.29.05, same PC and settings as the 97-minute series above (RTX 4060 Laptop 8 GB, 32 GB RAM, Series S, DLSS ultraperformance, 360p scene, frame generation 2X). 40 minutes, ended by me, no crash, and the curve repeats almost exactly — which is the point of posting it: the growth is reproducible, not a one-off.
Frame times in the same session: median 16.7 ms at the start, 104.4 ms at the end (p95 263.8 ms). Nothing was changed during the run.
One measurement that may help tell the causes apart: during the last ten minutes
nvidia-smishowed 83 % GPU utilisation, 2,625 MHz, and only 46 W. This is a laptop on the vendor's highest power profile (not a power cap), so the card is not short of power — it is spending most of its time waiting, which fits texture uploads and host round-trips rather than compute. If it were compute-bound at 83 % the power draw would be far higher.Also confirming the earlier observation:
kept for card copies of title buffersfalls to zero and stays there (850 → 0 MB by about 35 minutes in this run, 40 minutes in the previous one).The play log is 46.7 MB (
victory-nvidia-play-20261130-110624-16760.log) if it is wanted.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:39:19Z.
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.