Add --auto-fps hardware profiler for GPU VRAM, RAM, and CPU cores #4798
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!4798
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4797"
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?
@YounesAH15 on GitHub · 2026-12-01 09:05 UTC · original
YounesAH15:feat/auto-fps-profile→main· +228 −2 · 2 files · 1 commits · openWhat it changes
Adds an opt-in
--auto-fpsflag tovictory play(off by default; existing defaults unchanged) that probes DXGI adapter name + dedicated VRAM (streamline::adapter_info), system RAM, logical CPU cores, Streamline, and FidelityFX availability, and selects a conservative launch profile:<= 6 GiBVRAM: Series S, DLSS Ultra Performance,VICTORY_TEXTURE_SOFT_MB=2000,VICTORY_TEXBACK_FULL_OVERWRITE=1.<= 9 GiBVRAM (e.g. 8 GB RTX 3050/3060/3070/4060): Series S, DLSS Performance,VICTORY_TEXTURE_SOFT_MB=2500,VICTORY_TEXBACK_FULL_OVERWRITE=1.> 9 GiBVRAM: Series X, DLSS Quality,VICTORY_TEXTURE_SOFT_MB=3000.> 9 GiB), else FSR 3 2x when FidelityFX DLLs are present, caps at 60 FPS, setsVICTORY_LAND_THREADSto(cores / 2).clamp(3, 6), and respects any explicit--setoverrides.How it was tested
8,042 MBVRAM), 40 GB RAM, 12 threads, Windows 11 — tested--auto-fpscombined onmy-play(--auto-fps --ignore-menu+VICTORY_FIDELITYFX_DIR, Series S, DLSS Performance, FSR 3 2x, 60 FPS cap,VICTORY_TEXTURE_SOFT_MB=2500,VICTORY_LAND_THREADS=6,VICTORY_TEXBACK_FULL_OVERWRITE=1).victory playlaunched Series X 1440p on an 8 GB card, spilling5–6 GBinto shared memory.191samples,5,596 / 7,274 MBpeak VRAM; in-world run combined with#4465/#4532/#4682/#4694/#3760).cargo testpassed for the crates it touches: yes — rebased ontoorigin/main5fabb46eat commit45694a0e:cargo test -p victory --locked: 95 passed, 0 failed (92 unit includingauto_fps_plan_selects_expected_tiers, 1cache_paths, 2census).cargo clippy -p victory --no-deps --all-targets --locked -- -D warnings: passed cleanly (0 errors, 0 warnings). (Note: fullcargo clippy -p victory --all-targets --locked -- -D warningsfails identically onorigin/main5fabb46edue to 5 pre-existing findings incrates/victory-gpu/src/host/{font.rs, menu.rs, panel.rs}, addressed in #4680 / #4708.)Checked for overlap
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 11:08 UTC · original
On
45694a0e, the automatic texture and upload tuning is applied aftersettings()has merged the saved file. Its override check only looks at--set, so a saved limit or unset can be replaced by the automatic value.53c659d53983779e8be764ab7bffba0e04d7c170 treats saved entries and explicit
--setentries as overrides for those three settings. It also recognizes the case-insensitive spelling of a--setkey on Windows. Review commitI ran the unchanged settings merge and the exact Auto-FPS overlay from both revisions using synthetic inputs. The author head changed a saved 1,600 MiB texture cap to 2,000 MiB, a saved one-thread value to four, and an empty overwrite entry to enabled. The follow-up kept both saved values and left the empty entry unset. With no overrides the profile still supplied its values. The staged policy accepted the one changed file.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change in.AI-assisted with OpenAI Codex.
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.