um: VICTORY_UM_VRAM_MB overrides the 1 GiB VRAM cap for title memory #15
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!15
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/15/head"
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?
@LOCKhart07 on GitHub · 2026-11-29 21:16 UTC · original
LOCKhart07:um-vram-cap→main· +11 −1 · 1 files · 1 commits · closed without mergingVRAM_CAP_BYTES(1 GiB) is checked per allocation (LIVE_VRAM + bytes <= cap), so the title's combined block (~2.1 GB here) never fits and goes to RAM whole; only ~144 MB of title memory ends up in VRAM. The card then reads that block over PCIe every frame.This adds
VICTORY_UM_VRAM_MBto override the cap (0= no cap). The default stays 1 GiB, so nothing changes unless it's set.Measured (RX 9070 XT 16 GB, Ryzen 7 7800X3D, Fedora 44, Wine 11.21 Staging, Series X, 2560x1440, RT off; same save and camera, ~8.5k draws/frame, hands-off scripted runs):
88c9c29, default cap88c9c29,VICTORY_UM_VRAM_MB=40965a60834(no cap,VICTORY_UNIFIED_VRAM=1)Card memory peaked around 11–12 GB of 16 with the block in VRAM. Maybe the default could scale with the adapter's VRAM budget (e.g. off below 12 GB, uncapped at 16 GB+) instead of a fixed 1 GiB.
Each row is a full 8-minute run with in-run A/A phases (halves within 0.3–0.4% of each other), so the ~1.5 ms is well outside the noise.
The rest of the gap to
5a60834(~3.7 ms) is something else; I haven't isolated it yet.🤖 Generated with Claude Code
@LOCKhart07 on GitHub · 2026-11-29 21:40 UTC · original
Closing: superseded by
109cdb5, where the room for title memory scales with the card (visible VRAM − 12 GiB). On a 16 GB 9070 XT that gives ~4 GB, so the ~2.1 GB combined block fits in VRAM, same as this PR did with VICTORY_UM_VRAM_MB=4096. Thanks!Pull request closed