[pr-performance] [memory] [startup] [NVIDIA] Reduce texture memory pressure and cold-load stalls #1794
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1794
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1794"
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?
@dapasko on GitHub · 2026-11-29 00:05 UTC · original
dapasko:codex/victory-upstream-integration→main· +6386 −544 · 36 files · 17 commits · closed without mergingWhat it changes
This integration is based on
d4b5d51. The commit history keeps the individual changes and credits the original PRs.The due-frame texture index from #1497 is opt-in with
VICTORY_DUE_INDEX=1. It uses the same first-upload and recheck priorities as the flat queue. SetVICTORY_DSTORAGE_STUCK_MSto enable the DirectStorage stall monitor.How it was tested
VICTORY_HOST_WAVE=32. This branch created 3 of 3, including6b82bc7d22016cb5, which previously reportedno wave32 lowering.cargo test --release --locked -p victory-gpu -p victory-hle --lib -- --test-threads=1passed 568 GPU tests and 205 HLE tests. The checks cover texture byte accounting, simultaneous VRAM and host pressure, bounded compute waits, and parity between the flat and indexed texture queues.VICTORY_DSTORAGE_STUCK_MS=1, verifying that the monitor tracks and clears both requests.Gameplay FPS, peak VRAM and time to reach a save still need a matched in-game A/B. The changes affect texture residency, pipeline scheduling and graphics resource lifetimes. They can be reverted without a save migration.
Checked for overlap
AI-assisted integration and verification. Hardware results above are from the submitter's Windows machine.
Codex/victory upstream integrationto [pr-performance] [memory] [startup] [NVIDIA] Reduce texture memory pressure and cold-load stalls@richards2002 on GitHub · 2026-11-29 01:22 UTC · original
Tested on a 16 GB card, since the description's testing was on an 8 GB RTX 4060.
System: RTX 4080 16 GB, driver 621.40 · Intel i5-10400, 32 GB · Windows 11 build 26300
Build: this PR's head
ab574d0, plus one local commit that keeps frame generation on over movies while a scene is upscaled (the head does not have9e61270/ #1579 from main). Release build,cargo build --release --locked -p victory.Baseline: main at
d459907with the same frame generation commit.Settings, both runs: Series X, 1440p native, DLSS Quality, DLSS frame generation 2x, preloaded (
victory preload), the same prologue area, free roam outdoors and indoors.One run each, and the routes were not identical (draws a frame averaged 6,406 in the baseline and 4,433 here), so treat the fps numbers as indicative.
DLSS: the upscaling was not recorded: ... out of VRAM (39)The clearest result is the last rows: in the baseline the card went over its budget about 9 minutes in, and from then on DLSS failed with "out of VRAM (39)" (the output keeps what it had) and frame generation stopped producing frames. With this PR neither happened in 14.8 minutes, and frame generation showed 1.9 frames for each one rendered.
The texture queue is busier (more uploads a minute, a higher peak waiting) but never logged "no room".
One thing for the rebase: on this head, without the movie gate change from main (
9e61270), the gate held every present in the world (a looping Bink video was open the whole time). With a frame generation over movies change on top, every one of those presents generated. So frame generation stays off in the world on this head as it is, until it is rebased onto main.Logs available if useful:
victory-nvidia-play-20261128-234051-28348.log(baseline) andvictory-nvidia-play-20261129-010121-17492.log(this PR).victory-nvidia-play-20261128-234051-28348.log
Uploading victory-nvidia-play-20261129-010121-17492.log…
Pull request closed