memguard: scale the commit floor to the PC's RAM so 16 GB PCs can com… #3379
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!3379
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3379"
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?
@rickx09x on GitHub · 2026-11-29 22:29 UTC · original
rickx09x:memguard-small-host-commit-floor→main· +174 −11 · 5 files · 1 commits · closed without merging…pile
A flat 4096 MB commit floor is unreachable on a 16 GB PC (the title commits ~17 GB), so every driver compile was put off: no pipelines, 0 draws, black picture. Below 24 GiB of RAM the default floor is an eighth of the RAM (1536..4096 MB); larger PCs are unchanged and an explicit VICTORY_COMMIT_FLOOR_MB still wins. On small PCs the guard counts pagefile growth as the residency state already does, and texture staging does not grow for 3 s after a compile is put off for commit. Adds tests for the floor and the RTX 3070 Ti (30 series, no DLSS frame generation).
Claude-Session: https://claude.ai/code/session_01QCd6hXPEAyMEqW76Nojdgd
Fixes #
What it changes
How it was tested
cargo testpassed for the crates it touches: yes / noChecked for overlap
@cloph-dsp on GitHub · 2026-11-30 10:22 UTC · original
Independent verification (AI-assisted: Hy4 flash). Windows / rustc 1.100.0 (MSVC), dedicated
CARGO_TARGET_DIR=D:\Victory-Contrib\NVIDIA-Contrib\target-3379, worktree atce65cd94with base716a0c99(single-commit parent). Ran, one at a time:All five:
test result: ok. 1 passed; 0 failed; 979 filtered out(exit 0). Negative control:git grep -Ffor each test name on the base commit finds no match — all five are new.git diff --check 716a0c99..ce65cd94clean (exit 0). GPU/driver: N/A — these are CPU-only synthetic figures and card-name strings. No game data, assets, extracted shaders, DRM or decrypt used.Pull request closed