Card buffers on 10-12 GB cards: every title buffer, 1536 MiB (2.5 -> 6.9 fps on an RTX 3060 12 GB) #225
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!225
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-225"
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?
@Zayfway on GitHub · 2026-11-26 12:00 UTC · original
Zayfway:nvidia-12gb-card-buffers→main· +50 −29 · 1 files · 1 commits · openOn 10–12 GB cards the automatic card-buffer limits (
default_card_limits_mb,fffafee) are 16 MiB and up / 512 MiB. On an RTX 3060 12 GB with 16 GB of RAM this keeps nearly every title buffer copy in the PC's memory, and the opening cutscenes run at about 2.5 fps. This PR gives budgets above 9 GiB and up to 12 GiB every title buffer (64 KiB and up) and 1536 MiB.Nothing else changes:
VICTORY_CARD_BUFFERS_MIN_MB,VICTORY_CARD_BUFFERS_MIN_KBandVICTORY_CARD_BUFFERS_MBstill override.Measurements
PC: RTX 3060 12 GB (WDDM budget 11,342 MiB), Ryzen 7 5700X, 16 GB RAM, Windows 11, Series S profile.
Method:
scripts/play.ps1settings, not-Safe.0dec5dc(main)0dec5dc+VICTORY_CARD_BUFFERS_MB=15360dec5dc+VICTORY_CARD_BUFFERS_MB=1536+VICTORY_CARD_BUFFERS_MIN_KB=6425e94d4), no overrideThe size cap and the minimum both matter: raising only the cap gave little.
Same switch on codec-d/cool_fox f4b48ad, whose launcher already sets
CARD_BUFFERS_MIN_KB=64. Same PC, same method:int3at world+300 s, where a global pool of the title ran out.Tests
cargo test -p victory-gpu --lib card_limits: 1 passed. The test is updated for the new tier and the KiB minimum, and checks an 11,342 MiB budget.cargo test -p victory-gpu --lib shadow: 35 passed, 1 ignored.cargo clippy -p victory-gpu --lib -- -D warnings: clean.Not tested
🤖 Generated with Claude Code
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.