memguard: scale the commit floor to the PC's RAM so 16 GB PCs can com… #3379
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by rickx09x on 2026-11-29T22:29:49Z.
…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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cloph-dsp on 2026-11-30T10:22:24Z.
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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:52:47Z.
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.