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
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 Robotniq on 2026-11-28T01:51:25Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T01:51:32Z.
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)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CuteBooty on 2026-11-28T02:09:40Z.
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: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/76#issuecomment-7231965547
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-28T03:17:04Z.
Symptom match on another 8 GB card, not a confirmation of the reserve.
Our PC: RTX 2070 SUPER 8 GB, Ryzen 7 5800X, 32 GB RAM, Windows 11, driver 621.40, Series S + DLSS. The build is our own fork (avatarmanz upstream of 2026-11-25 plus our changes), not your main. Issue: https://github.com/Jesper-Andersson/VIctory-8GB-30fps/issues/24
What our logs show (one long run,
textures shown, since the startline):So the time is spent waiting for memory, not in our upload path.
We have not measured any render-target reserve on our build, so I cannot say it is the same cause as your 3,072 MB reserve.
I can run PR #76 or
VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600on this card if you want a third 8 GB data point.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CuteBooty on 2026-11-28T03:19:36Z.
Follow-up: I tried
VICTORY_TEXTURE_ROOM_PERCENT=85beside the smaller reserve, as suggested here. RTX 3070 8 GB, Series S, 1920x1080, no DLSS,VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048,64d4931b3+ PR #560, one session of 41.6 minutes, most of it in and around Jason's house (a mission there).7093 MB in use - 1146 MB free in texture blocks + 50 MB kept for card copies of title buffers + 0 MB kept for render targets = 5997 MB against a line of 5912 MB (85.0 % of a budget of 6956 MB): no room, new textures wait.One session on one machine. The 1.1 GB free inside blocks while the queue waits may be worth a look next to #543 (pool placement); I have not tested that.
Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by burgmarcos on 2026-11-28T04:11:27Z.
A 4 GB card: the reserve stays, and releasing it does not empty the queue
Same mechanism as yours, at 4 GB. The targets hold 1,170 to 1,418 MB here, under the 1,536 MiB that would release the 3,072 MiB default, so the reserve never came back. Over the run it sat at 1,654 to 1,902 MB of a 2,624 MB texture budget:
With
VICTORY_CARD_ROOM_FOR_TARGETS_MB=768andVICTORY_CARD_ROOM_FOR_TARGETS_SETTLE_MS=8000it reads 0 MB once the targets settle, and the line moves to the textures:What it did and did not change:
So the reserve is released as intended, but on a 4 GB card it does not empty the queue: about 19,500 slots wait either way. The picture went from geometry with no textures on the walls to a lit interior, but the runs saw different scenes, so I would not put that down to the setting; the room lines are the clean measurement. Late in the second run, sunlit surfaces washed out to white, as in your 8 GB session. The frame was 272 ms on the GPU at 5,060 draws, about 2.3 fps, so this is texture room, not playability.
One note on the number: 768 was chosen only because it is under twice the targets. 1,600 would also have released here (half is 800 MB) and keeps more of the card for the world's first frame, so it is probably the safer value; I did not A/B the two.
A separate cause of the same black cutscene, for anyone reading: with 935 host pipelines still being made, the log reported 400 to 1,685 draws a frame dropped for want of one, and the picture was black with subtitles. At 0 pending, about five minutes later, the geometry drew. That resolves itself; the texture queue is the part that needs the reserve released.
I opened #712 for the docs side of this.
Logs of both runs are available if useful; they contain a local folder name, so I would trim that line.
Prepared with AI assistance (OpenCode); the runs were played on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T04:20:32Z.
A related data point from a different configuration: RTX 4060 desktop 8 GB, Linux / GE-Proton11-14, Series X 1080to1440, 30 cap, DLSS/FG off, full requested ray tracing and water lighting, write-back and synchronization. Current
.01(63b902fe1720a5188ee79d94a88c8de0470f6349) with the previously documented backing/DXC adaptations (#628 baseline).The local loading-stage texture queue was already refusing new textures with roughly 2.6 GiB still reserved for render targets. Tested a conservative reservation change, rather than using the Series S recommendation directly. Same executable, cloned profile seed, separate cold external caches, identical effective settings except
VICTORY_CARD_ROOM_FOR_TARGETS_MB(default 3072 versus 2560). Texture admission remains at the default 90% line, default reserve-settle interval unchanged. No render target or texture resolution changes.The accounting responds to the requested change, but the queue still has no room in the final two samples in either arm. Both runs show artwork then black, actual exit 5 during the existing #628 loading failure (124.983 / 125.688 s); no guard stop, OOM increment, recorded kernel GPU fault or reported fence error. Min available system RAM 2331 / 2214 MiB. The last periodic frame summaries have just 11 / 12 draws and zero reported missing-host-pipeline drops; this is not the same demonstrated in-world pipeline-backlog case described in #712. I have not qualified post-load target sizes, scene-matched texture throughput, rendering quality or FPS, so I would not recommend this lower reservation as a general Series X default from these results. It is useful evidence of the allocation pressure at loading, not a cure.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-28T04:45:50Z.
On your
main(8fc22547, diagnostics build), four changed settings cut "no room, new textures wait" lines from about 30 to about 4 per 150 s on an 8 GB card.RTX 2070 SUPER 8 GB, Ryzen 7 5800X, Windows 11, Series S, DLSS Quality, your
play-foxhound.ps1 -Build diag.S and M are the same build, the same save and the same route (scripted Enter presses, then 150 s in the world).
VICTORY_CARD_ROOM_FOR_TARGETS_MB=1280,VICTORY_TEXTURE_STAGE_MS=250,VICTORY_TEXTURE_CATCHUP=1, andVICTORY_LEAVE_OUT=02384a60fda6f2d0(heat haze731a39171b568298runs again).One room line each: S1 kept 2,053 MB for render targets, M1 137 MB.
By eye, the S runs showed black terrain and large objects. M1 showed no black textures and no low-detail models.
Not tested: one PC, one scene, 3 pairs; the effects of the four changes are not separated. Frame-time pairs, M minus S: +5 / +3 / −2 ms, inside our roughly 8 ms noise. We did not test #730 (reserve = min(3,072 MiB, 30 % of budget), about 2,160 MB here). Our M arm used 1,280 MB plus three other settings, so it shows how far the reserve may need to go on 8 GB, not how #730 behaves.
Measured and written with AI assistance (Claude Code); the runs were played on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T04:55:40Z.
Thanks for the multi-setting comparison, Jesper-Andersson. I tested one of the switches separately on the RTX 4060 8 GB / 16 GB Linux machine, GE-Proton11-14. Same retained
.01executable with the #730 reservation-only adaptation, same cloned profile, separate fresh external caches, Series X 1080to1440, 30 cap, DLSS/FG off. Identical effective switches exceptVICTORY_TEXTURE_CATCHUP=0vs1; stage budget remains 16 ms, render-target reserve adaptive, ordinary waiting and full requested lighting/write-back retained. The existing code increases the staging byte/time allowances when a pass has at least 1024 due entries; it does not override the VRAM admission line.A correction to my earlier wording in this thread: the periodic headline's large "waiting" count is all tracked queue entries, not all waiting for first upload. In the earlier fixed 3072/2560 MiB arms the final total queue counts were 22148/21408, but the detailed lines reported only 2/1 due at those instants, and 13407/14127 already uploaded whole awaiting recheck. No-room is the global admission accounting decision; it does not establish the cause of the story-load failure. The detailed counters are periodic samples, not an exhaustive per-pass history.
Both new arms hit the same first-story loading failure (#628), loading artwork then black overlay, 136.293/136.223 s, no guard stop, OOM increment, recorded kernel GPU fault or reported fence error. Large due counts appeared earlier in both runs, but one cold loading pair is not matched gameplay throughput. Enabling catch-up alone did not improve final admission or world entry in this configuration. Your actual Series S comparison covers a different workload and four settings; it remains useful evidence, not contradicted by this result.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-28T05:29:02Z.
The reserve alone gives almost all of the drop; catch-up alone gives none.
Separating the four changes from my earlier comment: same PC (RTX 2070 SUPER 8 GB, driver 621.40),
main8fc22547diagnostics build, Series S, DLSS Performance (earlier: Quality), same save and route, 150 s in the world, interleaved after one discarded run.VICTORY_CARD_ROOM_FOR_TARGETS_MB=1280.STAGE_MS=250,CATCHUP=1).Render targets on a "no room" line: S1 1,876 MB, R1 122 MB.
In-world, catch-up alone left the count at about 31 against about 30 for defaults. That is consistent with ArturoWolff's 4060 test, which differs (Linux/Proton, cold loading stage, DLSS off, catch-up-off arm already 1/10 no-room).
Steady medians (last 60 s) ranged 51 to 64 ms across all six runs; two runs of one arm differed by up to 12 ms, so I can't separate the arms on frame time.
Not tested: #730 (min(3,072, 30 % of budget), about 2,160 MB here), black textures per arm, any scene but one.
Measured with AI assistance (Claude Code); the runs were played on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Robotniq on 2026-11-28T09:24:07Z.
Follow-up from the same PC as the issue: where the card's memory goes in a long session, and three switches measured on a scripted route.
Setup: RTX 3070 Ti 8 GB, i7-13700F, 32 GB RAM, Windows 11. Series S, DLSS Quality, title ray tracing off (43 pipelines skipped,
VICTORY_SKIP_PIPELINES),VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600,VICTORY_TEXTURE_ROOM_PERCENT=85,play-foxhound.ps1 -Build diag. Build: our own tree, based onmainat0cef07ewith the fxceless/victory-fork tree of 27 Nov merged in, plus local changes: no memory stack (VICTORY_SLOT_EVICT,VICTORY_ALLOCATOR_TRIM,VICTORY_BUDGET_PACK), noVICTORY_POOL_STATS.1. End of the issue's 18-minute session (budget 7,152 MB, in use 7,160 MB; the layer's log lines)
CurrentUsageby 73 MB, about 36 KiB each, not the 256 bytes asked for. About four minutes into a 5-minute run (a new count line in our tree), 4,206 card buffers alive had asked for 4 KiB or less: about 1,000 per-list indirect budgets (the second switch below removes them; 3,214 left) and about 3,200 hash buffers of card copies, mostly 48 bytes each, which is what the copies line counts them at (at ~36 KiB each, about 115 MB).2. Switches (scripted, same save, 300 s in the world, median fps after the first minute; one run per arm; noise about ±1 fps)
Each row is a pair of runs whose switch lists differ only in that switch, but none is a clean one-switch test on main: both runs of every pair also had experimental switches of our tree that main does not have (a sky-light floor; in rows 2 and 3 also two texture-pool settings), each row kept the rows above it on (row 3 also the hash packing), row 1's two runs had a rebuild in between, and row 3's first run also saved frames to disk. Compare within a row.
VICTORY_POOL_SMALL0 → 1VICTORY_INDIRECT_CARD_BUDGETunset → 0WriteBufferImmediate+ 4 transitions per recording); by draws (3,500-5,000 / 5,000-7,000 / 7,000+): 21.4/19.7/16.9 → 22.4/20.5/17.8VICTORY_MEMORY_CARD_MBunset → 0 (title ray tracing off)VICTORY_POOL_SMALL: both launchers set 0 (code default 1) after two device losses on an AMD card, cause never proven. About ten runs here with 1: no device loss (one early run that also had one of our texture-pool switches, dropped since, stopped on a command-list error). See #342 (16 GB), #79 (8 GB laptop).VICTORY_switches; use-More @{...}(script) or--set NAME=VALUE(victory play).Not tested: other PCs and scenes;
mainwith the memory stack (on since63b902f), above allVICTORY_INDIRECT_CARD_BUDGET=0besideVICTORY_BUDGET_PACK=1; these switches without our own; AMD, Series X, frame generation, title ray tracing on; a long session with the switches; a by-eye comparison.Measured with AI assistance (Claude Code); the runs were made on my machine.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T19:50:44Z.
Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.
If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!