Give NVIDIA cards of 10 to 19 GB their memory settings under auto #339
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!339
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-339"
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?
@maximecmb on GitHub · 2026-11-27 17:48 UTC · original
maximecmb:fix/auto-nvidia-card-memory→main· +139 −7 · 4 files · 5 commits · merged 2026-11-27 18:01 UTCSummary
-Machine autosizes three worker counts to the CPU (since7afb2da) and keeps the RTX 4090's memory settings on every NVIDIA card. Under a 20 GiB budget those leave title buffers under 4 MiB in the PC's memory, and that is what holds smaller cards back, not the worker counts: on an RTX 5080 with eight cores the automatic profile ran one scene at a median of 16.4 fps,-Machine 4070tisuperat 28.9.With this change the automatic profile adds, by the card's memory as its driver records it:
-Safe4070tisuperpreset's memory settings4070preset's memory settingsUp to eight cores it also sets the presets'
VICTORY_PIPELINE_WORKERS=3. The explicit presets are unchanged,-Machine 4090still gives the 4090 settings to any card, and-Moreoverrides each setting. The launcher prints one line when it adds the memory settings, naming-Machine 4090as the way back.This builds on the docs PR for the same PC (335) and contains its commits: it replaces that PR's "try this preset" line with the behaviour, and adds runs 10 to 12 and the table above to
docs/rtx5080-16gb.md. Merging this one alone carries both; if 335 goes in first, this reduces to the launcher change and the doc additions.Measurements
RTX 5080 16 GB (driver 617.42), Ryzen 7 9800X3D, 64 GB, Series S, diagnostics build of
fcded4e(run 12:55d8038plus this launcher change; no translator change between them). All three runs started from the same copy of a warmed cache and of the saves, ran unattended for 150 s of the opening cutscene (about 3,100 draws a frame) and were recorded.-Machine 4070tisuper-Machine autobefore this change-Machine autowith this changeRun 12's log:
card buffer limits vram_budget_mb=15209 card_buffers_min_kb=64 card_buffers_max_mb=1536,pipeline workers workers=3,card memory the CPU maps supported=true.Why these thresholds
shadow.rsswitches the default card-buffer tier (default_card_limits_mb): from there the defaults already put 1 MiB buffers in the card's memory.docs/rtx4070-performance.md, RTX 3060 12 GB indocs/rtx3060-16gb.md, RTX 5080 here.docs/laptop-16gb.md).VICTORY_MAP_THREADS=autois left as the automatic profile has it.What this does not cover
VICTORY_MAP_THREADS(auto against 1). Not run again.Visual review
Runs 10 to 12 were reviewed from one frame every 5 s of each recording. Run 12 shows the same shots, lighting, credits and HUD as run 10. Run 11 had pale green bars above and below the picture for about 12 s at the start of the world (0:41 to 0:53), while pipelines were still being made; runs 10 and 12 do not. Recordings stay local under the asset policy.
Verification
Get-AutoNvidiaSettingstaken from the script and called for twelve cases (16 GB / 8 cores with and without-Safe, 12 GB / 6, 10 GB / 14, 24 GB / 16 and / 8, 32 GB / 24, 20 GB / 12, 6 GB / 14, 8 GB / 8, memory unread / 8 and / 16): each returns the settings in the table and nothing else.-Machine auto, not under-Machine auto -Safeand not under-Machine 4090.scripts\play.ps1parses with no errors (the CI launcher check);cargo test -p xtaskandcargo xtask policypass. No Rust changes.🤖 Generated with Claude Code
@hamdanpor-ctrl on GitHub · 2026-11-27 17:51 UTC · original
Checked the small-card branch on a hybrid laptop: Intel Iris Xe plus RTX 3050 Laptop GPU 4 GB, i7-12700H (14 cores, 20 threads), 15.6 GiB, Windows 11 Pro. No game run;
scripts\play.ps1 -Exe <missing path> -Console series-sfrom2517ff1and frommainat312f5a8, which stops after printing the settings.ven_10de), not the Intel one:qwMemorySize4,294,967,296, so$cardGb= 4.VICTORY_PIPELINE_WORKERSstays as it was, and no card-buffer settings appear.main: "Settings for the automatic NVIDIA profile.", 8 / 6 / 4 threads for Series S, and the 15.6 GiB page-file note.AI-assisted (Claude Code).
@TaynanGT on GitHub · 2026-11-27 17:58 UTC · original
@hamdanpor-ctrl The 4 GB dry run at
2517ff1confirms the small-card boundary on the hybrid laptop. I updatedfa0d59eto read the memory from the detected adapter’s device key. The Windows checks cover the same Intel-plus-NVIDIA layout and a stale 24 GB entry beside an active 16 GB card.