Place small textures at 4 KiB in the pool #1491

Merged
FaLLenSKiLL1 merged 1 commit from upstream-pr/1491 into main 2026-11-29 08:16:56 +00:00
FaLLenSKiLL1 commented 2026-11-28 20:45:13 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by FaLLenSKiLL1 on 2026-11-28T20:45:13Z.


Summary

  • VICTORY_POOL_SMALL is on in the launcher. Textures of 64 KiB and less sit at 4 KiB in the pool, where the host allows it.
  • On an RTX 2060, Series S, the same build with only that switch changed: 13,259 such textures held 152 MB, 5,021 MB in use against 5,839 MB with it off, and the settled frame was 12.5-13 fps (77-80 ms, the card about 93% busy) against about 10 fps and 100 ms.
  • No device loss. The texture queue was still just over its line (5,044 against 4,579). The AMD device losses that kept this off stay in the comment where the switch is read.

Logs: victory-nvidia-play-20261128-202800 and victory-nvidia-play-20261128-194556.

Test plan

  • Series S, one world, VICTORY_POOL_SMALL=1 against =0 on the same build
  • No device loss through the load
  • Texture-block line and the frame time
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5544408404 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1491). Originally posted by [FaLLenSKiLL1](https://github.com/FaLLenSKiLL1) on 2026-11-28T20:45:13Z. --- ## Summary - `VICTORY_POOL_SMALL` is on in the launcher. Textures of 64 KiB and less sit at 4 KiB in the pool, where the host allows it. - On an RTX 2060, Series S, the same build with only that switch changed: 13,259 such textures held 152 MB, 5,021 MB in use against 5,839 MB with it off, and the settled frame was 12.5-13 fps (77-80 ms, the card about 93% busy) against about 10 fps and 100 ms. - No device loss. The texture queue was still just over its line (5,044 against 4,579). The AMD device losses that kept this off stay in the comment where the switch is read. Logs: `victory-nvidia-play-20261128-202800` and `victory-nvidia-play-20261128-194556`. ## Test plan - [ ] Series S, one world, `VICTORY_POOL_SMALL=1` against `=0` on the same build - [ ] No device loss through the load - [ ] Texture-block line and the frame time
tikD1337 commented 2026-11-28 21:38:54 +00:00 (Migrated from github.com)

Imported 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=1 on 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.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7246170119 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1491#issuecomment-7246170119). Originally posted by [tikD1337](https://github.com/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=1` on 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.)
burgmarcos commented 2026-11-28 22:02:20 +00:00 (Migrated from github.com)

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):

  • VICTORY_CARD_ROOM_FOR_TARGETS_MB=768 + SETTLE_MS=8000 only
  • Intro: ~29.9 fps, 33 ms/frame
  • World: ~4.7 fps, 250 ms/frame
  • 18,499 textures waiting, 1805 MB uploaded
  • Weighed 3497 MB vs line 2789 MB

Tested VICTORY_POOL_SMALL=1;VICTORY_TEXTURE_ROOM_PERCENT=80:

  • Intro improved: 30-43 fps, 23-33 ms/frame
  • World entry collapsed: 0.1-3.8 fps, 407-10 923 ms/frame
  • 28,509 textures uploaded (1,364 MB) - much higher throughput
  • 24,621 textures still waiting - queue grew larger
  • Weighed 3,377 MB vs line 2,454 MB (still over budget)

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:

  • VICTORY_POOL_SMALL=1 + VICTORY_TEXTURE_ROOM_PERCENT=80 helps the intro but hurts world stability
  • The only settings that keep the reserve released and avoid the world collapse are the baseline 768 MB + 8 s settle
  • Users on 4 GB should stick with the baseline settings from issue #1277 and avoid POOL_SMALL until PR #1491/#1543 are validated on ?4 GB hardware
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7246452005 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1491#issuecomment-7246452005). Originally posted by [burgmarcos](https://github.com/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):** - VICTORY_CARD_ROOM_FOR_TARGETS_MB=768 + SETTLE_MS=8000 only - Intro: ~29.9 fps, 33 ms/frame - World: ~4.7 fps, 250 ms/frame - 18,499 textures waiting, 1805 MB uploaded - Weighed 3497 MB vs line 2789 MB **Tested VICTORY_POOL_SMALL=1;VICTORY_TEXTURE_ROOM_PERCENT=80:** - Intro improved: 30-43 fps, 23-33 ms/frame - World entry collapsed: 0.1-3.8 fps, 407-10 923 ms/frame - **28,509 textures uploaded (1,364 MB)** - much higher throughput - **24,621 textures still waiting** - queue grew larger - Weighed 3,377 MB vs line 2,454 MB (still over budget) **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:** - VICTORY_POOL_SMALL=1 + VICTORY_TEXTURE_ROOM_PERCENT=80 helps the intro but hurts world stability - The only settings that keep the reserve released and avoid the world collapse are the baseline 768 MB + 8 s settle - Users on 4 GB should stick with the baseline settings from issue #1277 and avoid POOL_SMALL until PR #1491/#1543 are validated on ?4 GB hardware
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1491
No description provided.