Series S on an 8 GB card: the 3,072 MB kept for render targets is never given back (targets stay under half of it), about 1.6 GB of the card unused while thousands of textures wait #609
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/trustno1-coder--VIctory-NVIDIA#609
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?
@Robotniq on GitHub · 2026-11-28 01:51 UTC · original
Hardware and setup
mainat64d4931(crates/victory-gpu/src/resource.rs:targets_most,targets_room_kept,targets_kept).What happens
VICTORY_CARD_ROOM_FOR_TARGETS_MBdefaults to 3,072, andtargets_keptgives the reserve back only once the targets hold half of it or more and have not grown for 20 s (targets >= most / 2). The comments there say the figures were measured at 1440p, where the targets level off at 2.1 to 2.9 GB.On Series S the host copies the host renders to or writes level off at about 1.42 to 1.49 GB, just under the 1,536 MB that would release the reserve. So the reserve stays for the whole run: about 1.6 to 1.7 GB "kept for render targets" that never come, on a card whose budget is about 7.0 GB.
One of the room lines, in the prison rooms:
What it looked like in play: characters' clothes as a low-resolution blotch or blown out to white, noise on walls and signs behind glass, black arms, different from one session to the next in the same scene.
Measured (same scripted run of the opening, 3.5 minutes in the world)
VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600With 1,600 the reserve reads 0 MB once the targets have settled, as intended.
A caution with it
With the reserve gone and the default line (90 % of the budget), an 8-minute play session went over the card's budget in 66 of 91 readings, by up to 356 MB (peak 7,533 MB in use). With
VICTORY_TEXTURE_ROOM_PERCENT=85beside it, an 18-minute session stayed within the budget in 219 of 220 readings (3.6 GB of texture blocks), and the picture faults above were gone or rare.Suggestion
Make the reserve follow the profile: on Series S the targets are about half of what they are at 1440p, so either a smaller default there (1,600 worked here) or a release condition that does not depend on reaching half of a figure measured at 1440p (for instance: release once the targets have not grown for the settle time, whatever their size).
Logs of both runs are available if useful.
Written with AI assistance (Claude Code); the figures are from the session logs.
@github-actions[bot] on GitHub · 2026-11-28 01:51 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@CuteBooty on GitHub · 2026-11-28 02:09 UTC · original
Same finding on a second 8 GB card, at a different place, and there is already a pull request for it: #76 sizes this reserve by the most the targets have held (open, not merged).
RTX 3070 8 GB, Series S, 1920x1080 without DLSS, at Jason's house: the targets level off at about 1,380 MB, the reserve stays at about 1,690 MB, and 243 of 249 "no room" samples over three short runs would have had room without it. The tables are in my comment on the pull request, posted the same minute as this issue: #76
Your caution holds here too. One 14-minute run with
VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048and the default 90 % line: the reserve was released 78 s after start, "no room" fell from 55 of 72 samples to 62 of 164, and then the card filled for real, with "in use" above the DXGI budget in 18 of 164 samples (peak 6,811 MB) and no out-of-memory or error lines. I have not triedVICTORY_TEXTURE_ROOM_PERCENT=85beside it yet.Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine.