v2026.11.29.05: VRAM overflows after ~10 min (15.1/14.8 GB) — shadow card copies reach 2.98 GB & slot_evict frees 0 MB with VICTORY_SAMPLED_EVICT=0 #3597
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 Gotischer on 2026-11-30T01:31:28Z.
What you would like
Tested
v2026.11.29.05for ~20 minutes on an RTX 5080 (1440p, DLSS Balanced, FrameGen 3x) withVICTORY_TEXTURE_ROOM_PERCENT=70,VICTORY_COMMIT_FLOOR_MB=1024, and an expanded Windows pagefile (commit_limit_mib=87345). No crash occurred (crashes.lognot generated).What improved
memguard0x8007000Efailures resolved:0memory guarddeferrals (made=504,loaded=4322), and the 35mesh/graphics0x8007000Epipeline failures from the previous run are completely gone.WARN victory_gpu::pipeline::refused: pipeline failures: 1 host pipelines failed (1 compute 0x8007000e), 0 shaders do not translate(key="7f61193d2c0e5f22")Root cause of VRAM overflow after ~10 minutes
Even with
VICTORY_TEXTURE_ROOM_PERCENT=70, card VRAM grew steadily from12,522 / 14,734 MBat 5 min to14,744 / 14,779 MBat 10 min (01:10:30), triggering 10,056x StreamlineExceeded VRAM budget+DLSS out of VRAM, 39, and reached15,115 / 14,779 MB(with14,428 MBshared memory) at 20 min (01:20:49):shadow.rscard copies grow to 2,979 MB (nearly 3xcard_room_kept()'s 1 GiB estimate) & 12,344 MB total host copies:victory_gpu::host: host copies in the card's memory: 3734 copies 2979 MBvictory_gpu::procmem:host copies of title memory 5568 (12344 MB),process memory: 43494 MB private ... 61054 MB committedcrates/victory-gpu/src/shadow.rs,card_room_kept()caps its reserve assumption atconst SEEN: u64 = 1 << 30(1 GiB), so ~3 GB ofshadowcard copies + ~10.3 GB indexed textures + 270 depth twins + DLSS/FG 3x exceed the 14.8 GB budget.VICTORY_SLOT_EVICT=1freed 0 MB for almost the entire 20-minute run:slot_evictran 1,029 sweeps (21.12 msavg) and evicted0 textures (0 MB)until a single5.5 MBtexture at the very end:20,175cold bindless textures (1,770 MB) reported byvictory_gpu::sampledas unsampled within the idle window are never evicted becauseapps/victory/src/play.rssetsVICTORY_SAMPLED_EVICT=0.~52,194idle-looking textures (76,446 - 24,252) are not inSHADER_HEAPS(evictable_slotsonly scansSHADER_HEAPS) and are not reclaimed bylet_go_idleeither.**Other warn
ings/errors still present:**
4xERROR streamline: [getTaggedResource] Failed to find global tag 'kBufferTypeDepth'200xWARN victory_gpu::texture: HERO LEAD: a placed texture view lies in the memory of a texture the host copied into...201xWARN victory_gpu::draw: a texture picked by index changed after its upload...Attached:
victory-nvidia-play-20261130-010035-4896.log.Are you working on a fix?
None
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SulimanAlsalmi0 on 2026-11-30T10:09:31Z.
Same pattern on 12 GB / 16 GB RAM, build
41adb55(which already has the #2778 key translation): card memory creeps for 38 min,slot_evictlets go of 0 textures, run ends in device removedSetup: RTX 5070 12 GB, driver 621.24 (32.0.16.2124); Ryzen 7 7700; 16 GB RAM; Windows 11 build 26300; Agility 1.614.1. VILauncher 2.0.2, preset
play-foxhound, Series S, picture 960x540 with DLSS Performance to 1080p, frame generation off, 30 fps cap. Non-default switches:VICTORY_VRAM_BUDGET_MB=10500,VICTORY_LEVELS_ON_DEMAND=1. Preset defaults as shipped:VICTORY_SLOT_EVICT=1,VICTORY_SAMPLED_MARKS=1,VICTORY_SAMPLED_EVICT=0.Timeline: 38 min of real play (story missions with driving and flying). The run ended about a minute after landing an aircraft: card memory jumped from 12.4 to 13.25 GB in that minute.
Card memory as the system counts it (
memory now:lines):The DXGI local budget was 10.5–11.2 GB the whole time, so the card sat over budget from about minute 3. From the room lines: render targets ~0.7 GB, card copies of title buffers ~3.3 GB (3,407 copies), and texture copies growing 3.5 GB (09:21) → 6.3 GB (09:48).
no room, new textures waitwas the state from 09:13 to the end.Slot eviction never let anything go. It was on and evicting the whole run, but freed 0 textures in 38 min:
evictable_slots' result back to title addresses (raws.get(&raw)), so the #2778 keyspace mix-up is not the cause here. They look like the "not inSHADER_HEAPS" group described above.Across the run this was 1.2–2.2 GB of unmarked index-picked textures. With
VICTORY_SAMPLED_EVICT=0(off since 2026-11-28 for foliage flicker) nothing can take them.16 GB RAM side:
new memory waited for ... 200000 times, 226758.2 ms.End of the run: thousands of
no upload buffer/no unordered-access bufferfailures with0x8007000E(256 KiB and 64 KiB). Then0x887A0005, andhost GPU device removed after 1 submissions sent ahead (VICTORY_RELAY=1) of 45 lists; no breadcrumbs ... (0x887A0007). The last lines before it:Every crash on this machine (several runs, 2 to 38 min) ended at about 18–18.6 GB of card plus shared memory in use.
Questions:
VICTORY_SAMPLED_EVICTcome back in a narrower form, for example only while the card is over its DXGI budget, or skipping the foliage case? On this machine it is the only thing that could free 1–2 GB before the device is lost.The full play log (37 MB) is available if useful.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SulimanAlsalmi0 on 2026-11-30T18:47:29Z.
Follow-up on
84bd61e(v2026.11.30.02): same machine, the creep is gone. 77 min with no crash, card memory flat under budget.Same setup as my comment above:
play-foxhound.VICTORY_VRAM_BUDGET_MB=10500,VICTORY_LEVELS_ON_DEMAND=1,SLOT_EVICT=1,SAMPLED_MARKS=1,SAMPLED_EVICT=0.41adb55(38 min)84bd61e(77 min)0x887A0007)no roomroomA typical room line now:
How memory is held down now: new textures are refused, not old ones evicted.
What is left on 16 GB is RAM paging, not the card:
compile memory ... pressured=true.new memory waited for ... 323000 times, 309628.4 ms: about 5 min of the 77 min.new card memory waited for until it is mapped ... 164200 times, 44168.7 ms.Questions:
SAMPLED_EVICTthat only runs when the byte limit is refusing uploads. It would trade cold textures for the ones the scene is waiting on.file_mib=960).Thanks for #3272 / #4005 / #3848. On this machine they turned a guaranteed crash into a stable session.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SulimanAlsalmi0 on 2026-11-30T20:43:54Z.
Follow-up on
e1251c3(v2026.11.30.03): 58 min, no crash, freezes down from 24% to 4% of the time. Most of the gain is the pipeline preload.Same machine as above: RTX 5070 12 GB, 16 GB RAM, Ryzen 7 7700. Same preset and switches (
VICTORY_VRAM_BUDGET_MB=10500,LEVELS_ON_DEMAND=1,SLOT_EVICT=1). The launcher is now VILauncher 2.1.0. Its graphics settings for this run were Series S on and render scale 0.25.84bd61e(77 min)e1251c3(58 min)1. The preload works, and it costs about 30 minutes once.
shader preparation 1927.3 s).2. Card memory now sits a little over the budget, but it is stable.
room:3. Index-picked textures are still being held back.
4. RAM is still the limit on 16 GB.
Questions:
room(9,153 MB against a line of 9,732 MB), yet every first upload is refusedby an explicit byte limit. Which limit is that? Is it the 512 MB card reserve from #4005, since in use (10,686 MB) is above the 10,500 MB budget?SAMPLED_EVICT?Thanks again. This is the first build where the game plays for an hour on this machine with freezes down to 4 % of the time.