Opt in to sparse backing for large title physical pools on Windows #2461
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!2461
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2461"
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?
@dsh38 on GitHub · 2026-11-29 13:16 UTC · original
dsh38:native-large-physical-pools→main· +26 −9 · 3 files · 3 commits · openWhat it changes
On native Windows,
VICTORY_FILE_BACKED_PAGES=largelets title physical pools of at least 256 MiB use temporary sparse files in the configured physical-pages directory. Smaller pools keep their native GPU import eligibility. This uses the checked cache path, section lifetime and delete-on-close handling from #1226. Mapping a writable file view marks its slices as used so the low-heap arranger cannot move a slice whose contents have already been exposed. The existing Wine opt-in and the default native backing selection keep their prior behaviour.How it was tested
829188e9. Series X, 2560×1440 internal output, DLSS Performance, ray-tracing structure builder on, Ada 4× requested, 1920×1080 window. Restored the same save and pipeline cache for each run.VICTORY_DYNAMIC_SLOTS=393216in both runs. The renderer reported a 1,000,000-entry host view heap. Measured Windows system commit above each run’s idle baseline 6–9 seconds after the first presented frame.cargo build --locked --release -p victorypassed. All 24 core library tests passed. All 46 active XMem tests passed serially, including the new writable-alias assertion and the existing file lifetime and DirectStorage tests. The full parallel HLE library run had two failures: the narrow command-line code-page test (also fails on stock on this PC) and a range-remapping timing test (passes serially). The staged asset-policy check passed.Checked for overlap
@dsh38 on GitHub · 2026-11-29 13:21 UTC · original
Follow-up on sustained play with the same RT-on Series X save, camera sequence and 393,216 slots. The stock host plus
VICTORY_WINDOWS_BAR_MB=4096alone hit the 5,500 MiB external commit guard after 58 s. On this branch,VICTORY_FILE_BACKED_PAGES=large,VICTORY_WINDOWS_BAR_MB=4096andVICTORY_POOL_SMALL=1completed the scheduled 420 s observation with 7,197 MiB minimum free system commit and a normal window close. System commit peaked at 60.15 GiB. During seconds 180–410 the game reported 3,200 source presents and 12,800 frames shown, with 14.0 median source FPS. The 4 KiB texture option was not tested independently here.CI on this PR and on its unchanged base both stop at the same unused
victory_loader::crash::unwind_copyincrash.rs:804. Base check · PR check.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.