Reduce submit-time refresh work and reuse in-flight write ranges #3958
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!3958
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3958"
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?
@vilaris on GitHub · 2026-11-30 13:01 UTC · original
vilaris:perf/submit-page-selection→main· +245 −53 · 7 files · 5 commits · closed without mergingChanges
VICTORY_SUBMIT_DIRTY_PAGES=0to use the previous selection path.Before and after
Windows gameplay logs for the previous local implementation and the retained single-page copy implementation. Both runs used 2x frame generation.
Source logs:
victory-nvidia-play-20261130-125651-13072.logvictory-nvidia-play-20261130-130158-17296.logPreparing, refresh and copied volume use reporting windows with 9,000 to 11,000 candidates (94 before, 55 after). Slow-frame counts pool the final 30 frame-time windows of each capture. The retained implementation copied about 11% fewer bytes in these windows. These are separate gameplay captures from local builds, so scene load may explain part of the difference.
@Zeyphers on GitHub · 2026-11-30 20:20 UTC · original
Merged onto main
84bd61e2and benched on an RTX 2080 Super 8 GB and Ryzen 7 5800X (Series S, DLSS Quality, standing scene, 180 s): 9.8 fps median vs 9.2–9.7 baseline, so no measurable change on this CPU-bound rig. Two baseline runs differed by about 0.5 fps, so that's the noise. Only one run per PR, in a standing scene, not a walk.@nicolasabosch on GitHub · 2026-11-30 21:52 UTC · original
Tested on an RTX 4070 Laptop 8 GB: no measurable fps difference in this scene (2 runs).
Tested on main
e1251c31with this PR (3c30b4c9) merged on top and nothing else changed. Release build, same profile as main.Setup
victory play --series-s --dlss performance --framegen 2, with no fps cap and the window minimized.host:reports, about 200 s. These are real frames, not generated ones.On this laptop, identical main runs differ by up to about 2–2.5 fps, so only an effect of roughly 2–3 fps or more would be visible in this scene. Refresh time on the submit thread was 15.4 and 16.3 ms with this PR, against 13.3–15.4 ms on main, so it did not come down in this scene. The first run also translated every shader again: the PR edits a file under
crates/victory-shader/src, which changes the translator fingerprint.Not tested: driving, camera turns, interiors, an image comparison, other GPUs.
@korbannour578-alt on GitHub · 2026-12-01 12:05 UTC · original
Test result on an RTX 4060 Laptop 8 GB (i7-13620H 6P+4E, 32 GB RAM, NVIDIA 610.78), Series S profile, build
5fabb46e+ the warpGTAIV/VIctory-8GB small-card policy.I applied #4758 and #3958 together (one build, so I can't split the effect between them), with COPIES_FILLS_FAST, WATCH_FAST_JOURNAL, SUBMIT_SPLIT=1 and OFF_LINE=1 set.
So on this laptop it was a regression and I reverted it. Happy to test one PR at a time if that helps narrow it down.
Full laptop report: #4868
@tillo88 on GitHub · 2026-12-01 12:06 UTC · original
Replay bench: #3958 (head
3c30b4c9, its defaults, soVICTORY_SUBMIT_DIRTY_PAGESon) merged on top of v2026.11.30.03, 2 measured runs, against 18 runs of the same release without it.7575 of them known to copy nothing (7575 by page selection), a line the base runs don't have.Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up run not counted.
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
@trustno1-coder on GitHub · 2026-12-01 18:47 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed