Series S on an 8 GB card: the 3,072 MB kept for render targets is never given back (targets stay under half of it), about 1.6 GB of the card unused while thousands of textures wait #609

Open
opened 2026-11-28 01:51:57 +00:00 by github-bot · 2 comments
Owner

@⁠Robotniq on GitHub · 2026-11-28 01:51 UTC · original

Hardware and setup

  • GeForce RTX 3070 Ti 8 GB, Core i7-13700F, 32 GB RAM, Windows 11 build 26200
  • Series S profile, DLSS Quality (1280x720 to 1920x1080), frame generation off, ray tracing off
  • Built from source, diag profile. The code in question is the same in main at 64d4931 (crates/victory-gpu/src/resource.rs: targets_most, targets_room_kept, targets_kept).

What happens

VICTORY_CARD_ROOM_FOR_TARGETS_MB defaults to 3,072, and targets_kept gives the reserve back only once the targets hold half of it or more and have not grown for 20 s (targets >= most / 2). The comments there say the figures were measured at 1440p, where the targets level off at 2.1 to 2.9 GB.

On Series S the host copies the host renders to or writes level off at about 1.42 to 1.49 GB, just under the 1,536 MB that would release the reserve. So the reserve stays for the whole run: about 1.6 to 1.7 GB "kept for render targets" that never come, on a card whose budget is about 7.0 GB.

One of the room lines, in the prison rooms:

5905 MB in use - 987 MB free in texture blocks + 108 MB kept for card copies of title buffers + 1734 MB kept for render targets = 6760 MB against a line of 6334 MB (90.0 % of a budget of 7038 MB): no room, new textures wait

What it looked like in play: characters' clothes as a low-resolution blotch or blown out to white, noise on walls and signs behind glass, black arms, different from one session to the next in the same scene.

Measured (same scripted run of the opening, 3.5 minutes in the world)

default (3,072) VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600
room lines saying "no room, new textures wait" 33 of 40 6 of 40
oldest texture due and not uploaded 2,126 frames 256 frames
most slots due at once 12,876 6,303
texture blocks at the end 43 (2,752 MB) 59 (3,776 MB)
frames a second, 3,500 to 5,000 draws 26.7 25.8

With 1,600 the reserve reads 0 MB once the targets have settled, as intended.

A caution with it

With the reserve gone and the default line (90 % of the budget), an 8-minute play session went over the card's budget in 66 of 91 readings, by up to 356 MB (peak 7,533 MB in use). With VICTORY_TEXTURE_ROOM_PERCENT=85 beside it, an 18-minute session stayed within the budget in 219 of 220 readings (3.6 GB of texture blocks), and the picture faults above were gone or rare.

Suggestion

Make the reserve follow the profile: on Series S the targets are about half of what they are at 1440p, so either a smaller default there (1,600 worked here) or a release condition that does not depend on reaching half of a figure measured at 1440p (for instance: release once the targets have not grown for the settle time, whatever their size).

Logs of both runs are available if useful.

Written with AI assistance (Claude Code); the figures are from the session logs.

**@⁠Robotniq** on GitHub · 2026-11-28 01:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/609) **Hardware and setup** - GeForce RTX 3070 Ti 8 GB, Core i7-13700F, 32 GB RAM, Windows 11 build 26200 - Series S profile, DLSS Quality (1280x720 to 1920x1080), frame generation off, ray tracing off - Built from source, diag profile. The code in question is the same in `main` at `64d4931` (`crates/victory-gpu/src/resource.rs`: `targets_most`, `targets_room_kept`, `targets_kept`). **What happens** `VICTORY_CARD_ROOM_FOR_TARGETS_MB` defaults to 3,072, and `targets_kept` gives the reserve back only once the targets hold half of it or more and have not grown for 20 s (`targets >= most / 2`). The comments there say the figures were measured at 1440p, where the targets level off at 2.1 to 2.9 GB. On Series S the host copies the host renders to or writes level off at about 1.42 to 1.49 GB, just under the 1,536 MB that would release the reserve. So the reserve stays for the whole run: about 1.6 to 1.7 GB "kept for render targets" that never come, on a card whose budget is about 7.0 GB. One of the room lines, in the prison rooms: ``` 5905 MB in use - 987 MB free in texture blocks + 108 MB kept for card copies of title buffers + 1734 MB kept for render targets = 6760 MB against a line of 6334 MB (90.0 % of a budget of 7038 MB): no room, new textures wait ``` What it looked like in play: characters' clothes as a low-resolution blotch or blown out to white, noise on walls and signs behind glass, black arms, different from one session to the next in the same scene. **Measured (same scripted run of the opening, 3.5 minutes in the world)** | | default (3,072) | `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600` | |---|---|---| | room lines saying "no room, new textures wait" | 33 of 40 | 6 of 40 | | oldest texture due and not uploaded | 2,126 frames | 256 frames | | most slots due at once | 12,876 | 6,303 | | texture blocks at the end | 43 (2,752 MB) | 59 (3,776 MB) | | frames a second, 3,500 to 5,000 draws | 26.7 | 25.8 | With 1,600 the reserve reads 0 MB once the targets have settled, as intended. **A caution with it** With the reserve gone and the default line (90 % of the budget), an 8-minute play session went over the card's budget in 66 of 91 readings, by up to 356 MB (peak 7,533 MB in use). With `VICTORY_TEXTURE_ROOM_PERCENT=85` beside it, an 18-minute session stayed within the budget in 219 of 220 readings (3.6 GB of texture blocks), and the picture faults above were gone or rare. **Suggestion** Make the reserve follow the profile: on Series S the targets are about half of what they are at 1440p, so either a smaller default there (1,600 worked here) or a release condition that does not depend on reaching half of a figure measured at 1440p (for instance: release once the targets have not grown for the settle time, whatever their size). Logs of both runs are available if useful. Written with AI assistance (Claude Code); the figures are from the session logs.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 01:51:57 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 01:51 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-28 01:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/609#issuecomment-7231964577) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-28 02:09 UTC · original

Same finding on a second 8 GB card, at a different place, and there is already a pull request for it: #76 sizes this reserve by the most the targets have held (open, not merged).

RTX 3070 8 GB, Series S, 1920x1080 without DLSS, at Jason's house: the targets level off at about 1,380 MB, the reserve stays at about 1,690 MB, and 243 of 249 "no room" samples over three short runs would have had room without it. The tables are in my comment on the pull request, posted the same minute as this issue: #76

Your caution holds here too. One 14-minute run with VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048 and the default 90 % line: the reserve was released 78 s after start, "no room" fell from 55 of 72 samples to 62 of 164, and then the card filled for real, with "in use" above the DXGI budget in 18 of 164 samples (peak 6,811 MB) and no out-of-memory or error lines. I have not tried VICTORY_TEXTURE_ROOM_PERCENT=85 beside it yet.

Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine.

**@⁠CuteBooty** on GitHub · 2026-11-28 02:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/609#issuecomment-7232172302) Same finding on a second 8 GB card, at a different place, and there is already a pull request for it: #76 sizes this reserve by the most the targets have held (open, not merged). RTX 3070 8 GB, Series S, 1920x1080 without DLSS, at Jason's house: the targets level off at about 1,380 MB, the reserve stays at about 1,690 MB, and 243 of 249 "no room" samples over three short runs would have had room without it. The tables are in my comment on the pull request, posted the same minute as this issue: https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/76 Your caution holds here too. One 14-minute run with `VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048` and the default 90 % line: the reserve was released 78 s after start, "no room" fell from 55 of 72 samples to 62 of 164, and then the card filled for real, with "in use" above the DXGI budget in 18 of 164 samples (peak 6,811 MB) and no out-of-memory or error lines. I have not tried `VICTORY_TEXTURE_ROOM_PERCENT=85` beside it yet. Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#609
No description provided.