Pool & defaults: add texture block compaction (VICTORY_TEXTURE_COMPACT=1) and separate 6 GB VRAM tier #14
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/ImTaneax--VIctory-RTX3050-4gb!14
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-14"
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?
@adib-cyber007 on GitHub · 2026-12-03 09:47 UTC · original
adib-cyber007:pr/13-shared-pressure-compact-and-6gb-tier→main· +573 −23 · 7 files · 1 commits · openTwo focused VRAM improvements for 4 GB and 6 GB GPUs (note:
residency.rsin this fork already tracks DXGI shared-memory pressure vianext_pressure_with_shared_for, so this PR focuses strictly on what is not here yet):1. Texture block compaction (
VICTORY_TEXTURE_COMPACT=1, opt-in)DoubleGhosty/cool_fox0f7539b0(PR #197, GPL-3.0).VICTORY_TEXTURE_COMPACT=1, sparse blocks are marked for draining (Pool::drain), excluded from new allocations (!block.drain), and their remaining textures are seamlessly relocated into other free ranges while slots keep showing their old view until the copy completes (moved). Also adds a 5-secondthe card's memory by kind:telemetry line in release builds so compaction savings are visible immediately.2. Separate 6 GB VRAM tier in
apps/victory/src/defaults.rs(addresses #1)defaults.rsgrouped every<= 6144 MiBcard into the strict 4 GB preset (VICTORY_CARD_BUFFERS_MB=640,VICTORY_TEXTURE_MAX_DIM=512).vram_tier()cleanly into:<= 4608 MiB): Exact existing RTX 3050 / RTX 2050 4 GB settings unchanged.4608 < MiB <= 6656):VICTORY_CARD_BUFFERS_MB=1536,VICTORY_TEXTURE_MAX_DIM=1024,VICTORY_TEXTURE_ROOM_PERCENT=90(applied beforeALWAYS, while any explicit user/script env var still wins).Verification
pool::tests(including newdrainblock-selection, pinning, timeout, and reclaim tests), all 37descriptor::hosttests, all 17victorybin tests (includingvram_tiers_separate_4gb_6gb_and_larger_cards), default workspace check, and--features diagnosticscheck passed with zero new warnings.VICTORY_TEXTURE_COMPACT=1).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.