play: enable memory stack defaults (VICTORY_SLOT_EVICT, VICTORY_ALLOCATOR_TRIM, VICTORY_BUDGET_PACK) #25
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/25"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T07:58:18Z.
Summary
Port the memory-stack default enablement from
trustno1-coder/VIctory-NVIDIA(63b902f) intoapps/victory/src/play.rsSETTINGS:VICTORY_SLOT_EVICT=1,VICTORY_ALLOCATOR_TRIM=1, andVICTORY_BUDGET_PACK=1by default in launcher runs (all remain overridable via--set/ saved F1 menu config).play::tests::memory_stack_defaults_on_and_overridable.Rig Specs Tested On
Run Settings & Profile
release/victory --features diagnostics@bae4af3series-s(defaultverify-world.ps1baseline profile)offDLSS quality(-DlssMode quality)offVICTORY_*Overrides:D:\victory-build\verify-tools\verify-world.ps1 -Exe 'D:\victory-build\verify-bins\pr25-diag.exe' -GoldenDataDir 'D:\victory-data\golden-data-minivi' -OutDir 'D:\victory-data\verify-runs\pr25-memory-stack' -WorldSeconds 75 -BaselineJson 'D:\victory-data\verify-runs\baseline-main\summary.json' -ExtraEnv @{ VICTORY_SLOT_EVICT = '1'; VICTORY_ALLOCATOR_TRIM = '1'; VICTORY_BUDGET_PACK = '1' } -AutoNudgeMenudraws >= 500, max11253draws/frame),75sin-worldMeasurements & Verification
3.0 fps(334.9 ms, min1.4 fps) while compiling remaining dock PSOs (863 -> 294remaining).5874-6065draws/frame, last 6 windows):9.4-10.3 fps(96.9-105.9 ms/frame,preparing 55.2-61.5 ms,GPU 0.4-1.8 ms,copyback 8.0-10.0 ms).24PNGs sampled (lit=16/24, median luma102.95, edge energy7.09,0.0%magenta); inspectedframe-8485.png&frame-8493.png(crisp textures, lighting, sky, ocean, HUD intact, zero eviction flicker/artifacts).off)copystatpeak5915 MBVRAM /6952 MBbudget (5449 MBshared PC RAM);3905idle textures (313 MB) let go with only65(4 MB) re-uploaded,passes that made none for lack of room: 0,final_waiting=5085; private RAM19560-19693 MB(17790 MBresident).0(crashes=0,no_host_texture_errors=0)cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(asset policy: 294 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p xtask(6 passed; 0 failed)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings(0warnings)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features victory-gpu/diagnostics -- -D warnings(0warnings)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory(24unit +2censuspassed;0failed)--releasebuilds (objdump -p:0non-system MinGW DLLs)Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T08:03:01Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-gpu-test· CI (check):passingReview Summary
This PR is a clean, minimal change to
apps/victory/src/play.rsthat enables three memory-management flags by default inSETTINGS:VICTORY_SLOT_EVICT=1VICTORY_ALLOCATOR_TRIM=1VICTORY_BUDGET_PACK=1It also adds
play::tests::memory_stack_defaults_on_and_overridable, verifying that all three keys default to"1"insettings()and can be overridden to"0"viaPlay::more(--set).Verification Notes
origin/mainthatSETTINGSinapps/victory/src/play.rsdoes not already define any of these three keys, so there are no duplicate entries or ordering conflicts.slot_evict,allocator_trim,budget_pack) by default for allvictory playsessions—and the reported verification command passed the three variables explicitly via-ExtraEnv—a quick local real-GPU smoke test viavictory playis recommended before merge to confirm stable VRAM pressure handling, no texture eviction flicker/re-upload churn, and no D3D12 errors.Generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-28T21:11:14Z.
Real-GPU Playtest Report (Combined Build 1 Stack — RT OFF)
Tested in combined Build 1 (
origin/main+ Build 1 PRs#2, #3, #4, #6, #7, #9, #10, #11, #12, #14, #15, #18, #19, #22, #25, #26, #27, #33, #34, #36, #40, #43, #44, #46) on NVIDIA GeForce RTX 4060 Ti (8 GB), Windows, Series S (quality-720p, DLSS Quality):1a-build1-world.log) — 0 crashes, 0 DRED resets, clean exit.28.2 fps(35.4 ms/frame) mid-run,16.9 fps(59.3 ms/frame,4,446draws/frame) in heavy scene.tearing=true,0refused presents.926c46bab3b86bd6): Translated and built host PSO cleanly.VICTORY_THIN_GATE): Active (0no free dynamic descriptor slotswarnings).6,934 MBin use (33texture blocks =2,112 MB,1,036 MBfree),0bogusPOOL:errors.16,577upscalings (0failed).8,802textures were still queued /206non-RT draws dropped without a host pipeline; no D3D12 errors.