Place small textures at 4 KiB in the pool #1491
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1491"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by FaLLenSKiLL1 on 2026-11-28T20:45:13Z.
Summary
VICTORY_POOL_SMALLis on in the launcher. Textures of 64 KiB and less sit at 4 KiB in the pool, where the host allows it.Logs:
victory-nvidia-play-20261128-202800andvictory-nvidia-play-20261128-194556.Test plan
VICTORY_POOL_SMALL=1against=0on the same buildImported from trustno1-coder/VIctory-NVIDIA. Originally posted by tikD1337 on 2026-11-28T21:38:54Z.
A data point before this goes on by default. On an RTX 4070 Ti SUPER (driver 621.01, Series S),
VICTORY_POOL_SMALL=1on its own made the walls of the house in the prologue black from their first frame, on every run, with nothing in the log. With it off, they were fine.A probe on the card showed that 4 KiB placement as such is fine: ten kinds of the title's small textures placed side by side at 4 KiB all kept their bytes. What breaks is a small texture sharing a 64 KiB stretch of a pool block with a 64 KiB-aligned texture. #1543 cuts the small ones from blocks of their own. With it the walls, the prison and the faces were clean, and the switch still saves the memory (VRAM max 10.1 GB against 12.5 GB with it off).
So if this PR turns the switch on in the launcher, it may want #1543 under it. Your RTX 2060 numbers fit: the saving is real, but on this card the shared blocks are not safe.
(AI-assisted, Claude Code; runs played on the card above.)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by burgmarcos on 2026-11-28T22:02:20Z.
Follow-up validation on RTX 3050 4 GB (Series S profile, DLSS Performance, FG off, FPS cap 60):
Baseline (from #1277):
Tested VICTORY_POOL_SMALL=1;VICTORY_TEXTURE_ROOM_PERCENT=80:
Interpretation: the small-texture pool (PR #1491 / #1543) and lower room line do increase upload bandwidth, but on a 4 GB card the texture queue simply outpaces the card's capacity. The pool helps get more data onto the GPU, but without additional VRAM the queue keeps growing and the frame collapses when the game streams a new area.
Conclusion for 4 GB cards: