16 GB RAM regression on 923e38c: 8 GiB WDDM L0 Shared GPU Memory exhausted in ~95s (CommandList::Close 0x8007000E) + VICTORY_WINDOWS_BAR_MB auto-config dropped #1520
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 GreekNinja on 2026-11-28T21:11:53Z.
Summary
On a 16 GB RAM + RTX 3060 12 GB (Resizable BAR enabled) + Ryzen 7 5700X (Windows 11, Series S) PC,
923e38chits Windows' 8 GiB Shared GPU Memory (L0) hard cap (50% of system RAM) in ~95 seconds of world load/gameplay, failing witha host command list did not close (0x8007000E)even when VRAM is only6.3 / 11.3 GBand 40 GB of pagefile commit is free.Root Causes (verified in
923e38c)VICTORY_WINDOWS_BAR_MB=3072auto-config was accidentally dropped for< 24 GBPCs:85a529badded automaticVICTORY_WINDOWS_BAR_MB=3072on< 24 GBRAM PCs inscripts/play-nvidia.ps1specifically to prevent the 1-minute0x8007000ECommandList::Closecrash on 16 GB + RTX 3060 rigs.22c6be2replacedscripts/play-nvidia.ps1with a 4-line shim toscripts/play-foxhound.ps1, dropping that< 24 GBcheck;apps/victory/src/play.rsalso never sets it.residency::limited_host_ram()only checks<= 32 GiB, treating 16 GB the same as 32 GB):VICTORY_BUFFER_POOL=1(pool.rs:30, 104, 392, 1071): 64 MiB L0 heaps (UPLOADS+SHARED) withREST = 2500 msquarantine; a single 64 KiB cached piece inUPLOAD_SPARE/SPARE/ExactPoolpins an entire 64 MiB L0 heap until 100% empty.VICTORY_UPLOAD_POOL_MB=1024(host.rs:2476): up to 2,048 MiB L0 (1024 MiB × 2 kinds), ignoringlimited_host_ram().host::send::SPARE(host/send.rs:120-125): up to 768 MiB L0, ignoringlimited_host_ram()and never trimmed inhost.rs::sweep()even underpressured()/critical_commit().VICTORY_EXACT_POOL_MB=256(shadow.rs:6219) andVICTORY_BUFFERS_AHEAD=4096(ahead.rs:47).Verified A/B/C Results (same PC, same
923e38cbuild)0x8007000EerrorsMakeResidentwaits923e38c+VICTORY_WAIT_RESIDENT=texturesnvwgf2umx.dllcrash (also #1496)VICTORY_TEXTURE_FIRST_UPLOAD_MB=0,VICTORY_SCRATCH_WB=0Close())CommandList::Close 0x8007000Eat ~95 sVICTORY_WINDOWS_BAR_MB=3072,VICTORY_BUFFER_POOL=0,VICTORY_UPLOAD_POOL_MB=128,VICTORY_EXACT_POOL_MB=64,VICTORY_BUFFERS_AHEAD=512Concrete Fix Proposal
< 24 GiBtierresidency::small_host_ram()(crates/victory-gpu/src/residency.rs:93) matching commit85a529b's threshold.small_host_ram()is true (all still overridable via env vars):VICTORY_BUFFER_POOL: default0on< 24 GiB(prevents 64 MiB L0 slab pinning).VICTORY_UPLOAD_POOL_MB:128per kind (vs1024).VICTORY_EXACT_POOL_MB:64(vs256).host::send::SPARE:128 MiB(vs768 MiB) + addsend::trim()called fromhost.rs::sweep()underpressured()/critical_commit().VICTORY_BUFFERS_AHEAD:512(vs4096) and pause refill underpressured().< 24 GiBautoVICTORY_WINDOWS_BAR_MBinapps/victory/src/play.rsandscripts/play-foxhound.ps1(or VRAM-budget-aware inshadow.rs:556:3072on >=10 GB VRAM budget,1536on 8 GB,0below 7 GB;window_mapped_foralready falls back safely when ReBAR is absent or VRAM > 80%).host.rs:2506-2565(trim_spare_chunks/trim_spare_uploads), keep a tiny hot floor (16–32 MiB) unlessresidency::critical_commit(), because on 16 GB PCshost memory pressurenever clears (needs >=5 GiB free RAM) and currently wipes spares to 0 bytes at 1 Hz.Note: This report/comment was generated and submitted automatically by an AI assistant analyzing real local play logs and source code on behalf of the user.