Host copies of render targets are never let go: +1.4 GB over a session squeezes texture admission on an 8 GB card (interiors go black later in a run) #791

Closed
opened 2026-11-28 06:00:25 +00:00 by github-bot · 7 comments
Owner

@⁠CuteBooty on GitHub · 2026-11-28 05:59 UTC · original

What the player sees: every session starts well, and later in the session the rooms you walk into come up black (walls, floor, furniture), while characters, screens and props are drawn. Outdoors is mostly fine. A restart fixes it for another 10-20 minutes. Issue #763 and Discussion #639 sound like the same decline on bigger cards.

PC: RTX 3070 8 GB (driver 621.24), Ryzen 7 5800X3D, 32 GB, Windows 11. Series S, 1920x1080, DLSS performance + frame generation 2x, victory.exe run. Build: main 63b902fe1 + #630 + #697 + a few local commits that do not touch release logic. Settings that matter: VICTORY_TEXTURE_POOL=1, VICTORY_SOFT_VIEWS=copies, VICTORY_SLOT_EVICT=1, VICTORY_TEXTURE_ROOM_PERCENT=85, VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048 (released: 0 MB kept in play).

What grows (three sessions, from the census lines):

session host copies the host renders to or writes host copies the title fills texture queue "no room"
16.7 min 29 / 195 MB -> 902 / 1,530 MB falls most samples
19.5 min 33 / 197 MB -> 1,015 / 1,690 MB 2,218 -> 1,769 MB 194 of 223 samples
12.3 min 33 / 197 MB -> 884 / 1,575 MB 2,386 -> 2,062 MB 78 of 139 samples

In the 19.5-minute session the count jumped 83 -> 576 within 5 s of entering the world, then rose by about 20 a minute, tapering; it fell only 15 times against 997 rises. Of 310 depth + UAV copies made, the shapes (128x128x6, 256x256x3, 512x384, 768x768, R16) look like per-light shadow maps [a reading]. Meanwhile the title-filled copies are pushed out (12.1 GB let go, 2.6 GB made again) and title textures without a copy reach 113,000.

The census line at the end of that session:

host copies the sweep never lets go: 1015 the host renders to or writes 1690 MB (0 of them placed 0 MB); of them 0 have title memory that is not mapped now 0 MB, 0 were not used for 30 s and are held by no list and no slot 0 MB, 0 are both 0 MB; and 29 copies of textures the title fills that the host copied into 31 MB

What the code does (two independent read-only reviews, nothing built or run on it):

  • Every title texture with the render-target, depth or UAV flag (fills() false) gets a committed host copy on first use in hosted(), plus a colour twin for depth + UAV.
  • That copy is released only from Drop for Resource, when the title's last Release arrives. let_go_idle and slot_evict both skip this class by design, and no switch caps it (VICTORY_TEXTURE_BUDGET_MB, VICTORY_TEXTURE_KEEP, VICTORY_SLOT_EVICT count filled copies only; VICTORY_CARD_ROOM_FOR_TARGETS_MB is a reserve, not a cap). The comment by targets_census records the same growth in an earlier run.
  • So this does not look like a leak inside the layer (the title still holds the resources), but like a missing policy: every target the title holds is a full card copy with no ceiling, and on 8 GB it squeezes the filled-texture queue.
  • Two things the census cannot show yet: "not mapped now" is computed only for placed textures, so address-backed targets whose memory the title has reused would not appear; and hosted(.., false) stamps used, which may keep the idle count at 0.

A suggestion, if it helps: four more numbers in targets_census: copies whose address now names a newer target; address-backed copies whose memory is unmapped (not only placed ones); title render/write textures created since the start; and released since the start. If the first two rise with the alive count, these are dead copies and a targets pass in let_go_idle under pressure could release them safely (last real use 60 s+ ago, held by no list or slot, no placed view aliasing it, contents provably dead). If creations stop after world entry and releases stay near zero, the title really holds them, and it becomes a question of what to do with live targets on small cards. Letting a live one go would need a write-back and a re-make that uploads from it, which is not small.

Related: #691 (VRAM at the budget), #756 / #784 (spare blocks, idle host lists), #609 / #76 (the target reserve), #763, #639. I can run a build with such counters on this card and report.

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

**@⁠CuteBooty** on GitHub · 2026-11-28 05:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791) **What the player sees:** every session starts well, and later in the session the rooms you walk into come up black (walls, floor, furniture), while characters, screens and props are drawn. Outdoors is mostly fine. A restart fixes it for another 10-20 minutes. Issue #763 and Discussion #639 sound like the same decline on bigger cards. **PC:** RTX 3070 8 GB (driver 621.24), Ryzen 7 5800X3D, 32 GB, Windows 11. Series S, 1920x1080, DLSS performance + frame generation 2x, `victory.exe run`. Build: main `63b902fe1` + #630 + #697 + a few local commits that do not touch release logic. Settings that matter: `VICTORY_TEXTURE_POOL=1`, `VICTORY_SOFT_VIEWS=copies`, `VICTORY_SLOT_EVICT=1`, `VICTORY_TEXTURE_ROOM_PERCENT=85`, `VICTORY_CARD_ROOM_FOR_TARGETS_MB=2048` (released: 0 MB kept in play). **What grows (three sessions, from the census lines):** | session | host copies the host renders to or writes | host copies the title fills | texture queue "no room" | |---|---|---|---| | 16.7 min | 29 / 195 MB -> 902 / 1,530 MB | falls | most samples | | 19.5 min | 33 / 197 MB -> 1,015 / 1,690 MB | 2,218 -> 1,769 MB | 194 of 223 samples | | 12.3 min | 33 / 197 MB -> 884 / 1,575 MB | 2,386 -> 2,062 MB | 78 of 139 samples | In the 19.5-minute session the count jumped 83 -> 576 within 5 s of entering the world, then rose by about 20 a minute, tapering; it fell only 15 times against 997 rises. Of 310 depth + UAV copies made, the shapes (128x128x6, 256x256x3, 512x384, 768x768, R16) look like per-light shadow maps [a reading]. Meanwhile the title-filled copies are pushed out (12.1 GB let go, 2.6 GB made again) and title textures without a copy reach 113,000. The census line at the end of that session: ``` host copies the sweep never lets go: 1015 the host renders to or writes 1690 MB (0 of them placed 0 MB); of them 0 have title memory that is not mapped now 0 MB, 0 were not used for 30 s and are held by no list and no slot 0 MB, 0 are both 0 MB; and 29 copies of textures the title fills that the host copied into 31 MB ``` **What the code does (two independent read-only reviews, nothing built or run on it):** - Every title texture with the render-target, depth or UAV flag (`fills()` false) gets a committed host copy on first use in `hosted()`, plus a colour twin for depth + UAV. - That copy is released only from `Drop for Resource`, when the title's last `Release` arrives. `let_go_idle` and `slot_evict` both skip this class by design, and no switch caps it (`VICTORY_TEXTURE_BUDGET_MB`, `VICTORY_TEXTURE_KEEP`, `VICTORY_SLOT_EVICT` count filled copies only; `VICTORY_CARD_ROOM_FOR_TARGETS_MB` is a reserve, not a cap). The comment by `targets_census` records the same growth in an earlier run. - So this does not look like a leak inside the layer (the title still holds the resources), but like a missing policy: every target the title holds is a full card copy with no ceiling, and on 8 GB it squeezes the filled-texture queue. - Two things the census cannot show yet: "not mapped now" is computed only for placed textures, so address-backed targets whose memory the title has reused would not appear; and `hosted(.., false)` stamps `used`, which may keep the idle count at 0. **A suggestion, if it helps:** four more numbers in `targets_census`: copies whose address now names a newer target; address-backed copies whose memory is unmapped (not only placed ones); title render/write textures created since the start; and released since the start. If the first two rise with the alive count, these are dead copies and a targets pass in `let_go_idle` under pressure could release them safely (last real use 60 s+ ago, held by no list or slot, no placed view aliasing it, contents provably dead). If creations stop after world entry and releases stay near zero, the title really holds them, and it becomes a question of what to do with live targets on small cards. Letting a live one go would need a write-back and a re-make that uploads from it, which is not small. Related: #691 (VRAM at the budget), #756 / #784 (spare blocks, idle host lists), #609 / #76 (the target reserve), #763, #639. I can run a build with such counters on this card and report. Measurements and this report were prepared with AI assistants (Claude Code and Codex); the runs were played on my machine.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 06:00:25 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 05:59 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 05:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7235013492) 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

@⁠kibagami-nc on GitHub · 2026-11-28 06:21 UTC · original

The counters you suggested are in #803, as a diagnostics build. The memory line's census of the host copies the sweep never lets go now also gives:

  • of those copies, the ones whose title memory has a newer target now: the title made another target at the same address after them (TARGETS_AT holds the newest at each address);
  • the ones whose title memory is not mapped now, placed or not (before, only placed ones were asked);
  • since the start, the title textures the host renders to or writes that the title made, and that it released.

This does not include the copies whose last real use was long ago, since the used stamp from hosted(.., false) you mention still keeps that count low.

If you run your 8 GB session with it, the end of that line should tell the two cases apart: dead copies that a pass could release, or targets the title really holds.

**@⁠kibagami-nc** on GitHub · 2026-11-28 06:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7235246604) The counters you suggested are in #803, as a diagnostics build. The memory line's census of the host copies the sweep never lets go now also gives: - of those copies, the ones whose title memory has a newer target now: the title made another target at the same address after them (`TARGETS_AT` holds the newest at each address); - the ones whose title memory is not mapped now, placed or not (before, only placed ones were asked); - since the start, the title textures the host renders to or writes that the title made, and that it released. This does not include the copies whose last real use was long ago, since the `used` stamp from `hosted(.., false)` you mention still keeps that count low. If you run your 8 GB session with it, the end of that line should tell the two cases apart: dead copies that a pass could release, or targets the title really holds.
Author
Owner

@⁠KaV3R on GitHub · 2026-11-28 07:33 UTC · original

Same symptom here on a 12 GB card: after a long session (a few hours), going into a different interior shows it almost fully black, with little or no lighting. Interiors earlier in the run looked fine.

PC: RTX 4070 SUPER 12 GB (driver 621.35), Ryzen 9 9950X3D, 62 GB RAM, Windows 11 26300. Release build at 8fc22547 (before 63b902fe, so VICTORY_SLOT_EVICT / VICTORY_ALLOCATOR_TRIM / VICTORY_BUDGET_PACK were off), Series X, 2560x1440, DLSS Quality, frame generation 2x.

What the log shows (one run, 4 h 40 min): the texture queue is over its line for the whole session, from the first minutes on, so new textures wait:

Time (UTC) In use Free in blocks Net Line Textures waiting
04:08 9526 MB 1005 MB 8521 MB 8362 MB 6-25k
05:56 9773 MB 928 MB 8845 MB 8418 MB ~17k
07:32 9758 MB 925 MB 8833 MB 8448 MB ~17k

At the end: "no room, new textures wait", 67165 of 67726 slots taken in 5 s "held back for room", 128 GB uploaded since the start. Host copies in the card's memory stay around 2.1 GB (3757 copies). So it fits your reading: on a new interior its textures can't get in, and what stays resident is the old area's.

Next here: a run on 63b902fe (memory stack on by default) to see whether the queue drops under its line and the late interiors light up. I can also run the #803 diagnostics build if the census helps.

AI-assisted (Claude Code): the log analysis and this text. Observed by me in play; no game files.

**@⁠KaV3R** on GitHub · 2026-11-28 07:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7236013737) Same symptom here on a 12 GB card: after a long session (a few hours), going into a different interior shows it almost fully black, with little or no lighting. Interiors earlier in the run looked fine. **PC:** RTX 4070 SUPER 12 GB (driver 621.35), Ryzen 9 9950X3D, 62 GB RAM, Windows 11 26300. Release build at 8fc22547 (before 63b902fe, so `VICTORY_SLOT_EVICT` / `VICTORY_ALLOCATOR_TRIM` / `VICTORY_BUDGET_PACK` were off), Series X, 2560x1440, DLSS Quality, frame generation 2x. **What the log shows** (one run, 4 h 40 min): the texture queue is over its line for the whole session, from the first minutes on, so new textures wait: | Time (UTC) | In use | Free in blocks | Net | Line | Textures waiting | |---|---:|---:|---:|---:|---:| | 04:08 | 9526 MB | 1005 MB | 8521 MB | 8362 MB | 6-25k | | 05:56 | 9773 MB | 928 MB | 8845 MB | 8418 MB | ~17k | | 07:32 | 9758 MB | 925 MB | 8833 MB | 8448 MB | ~17k | At the end: "no room, new textures wait", 67165 of 67726 slots taken in 5 s "held back for room", 128 GB uploaded since the start. Host copies in the card's memory stay around 2.1 GB (3757 copies). So it fits your reading: on a new interior its textures can't get in, and what stays resident is the old area's. Next here: a run on 63b902fe (memory stack on by default) to see whether the queue drops under its line and the late interiors light up. I can also run the #803 diagnostics build if the census helps. AI-assisted (Claude Code): the log analysis and this text. Observed by me in play; no game files.
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-28 08:58 UTC · original

I ran the #803 counters on the 8 GB card. The machine is an RTX 3070 8 GB (driver 621.24), a Ryzen 7 5800X3D, 32 GB and Windows 11 build 26200. The build was main 63b902fe plus my local patches, with #803 applied as is (diagnostics feature). Settings: Series S, DLSS performance, no frame generation, VICTORY_TEXTURE_ROOM_PERCENT=85, VICTORY_SLOT_EVICT=1.

Caveat first: this was one unattended run. It loaded a save and then stood still for 11 minutes after world entry. Nobody moved, so it says nothing about traversal or new interiors.

From the "never lets go" line, by minutes after world entry:

Minute Copies / MB Newer target at its memory Not mapped (placed or not) Made / released since start
loading 33 / 197 MB 0 / 0 MB 0 / 0 MB 607 / 4
0 (entry) 631 / 963 MB 3 / 2 MB 0 / 0 MB 1190 / 7
1 649 / 997 MB 9 / 26 MB 0 / 0 MB 1194 / 10
4 679 / 1044 MB 17 / 42 MB 0 / 0 MB 1197 / 13
6 696 / 1055 MB 28 / 49 MB 0 / 0 MB 1201 / 17
11 (end) 696 / 1055 MB 28 / 49 MB 0 / 0 MB 1203 / 19

How it reads against the guide in #803:

  • Held, not dead, standing still. Made was 1190 at world entry and 1203 at the end. Released stayed at 19. Made minus released was 1183 at entry and exactly 1184 on every line from minute 1 to the end. So after the first minute, each new target was matched by a release. The title made about 1,200 render, depth and UAV textures while loading, and it holds nearly all of them.
  • The dead-copy share is small here. Copies whose memory has a newer target peaked at 28, or 49 MB of 1,055 MB (4.6%). Copies whose memory is not mapped were 0 on all 137 lines.
  • The growth after entry looks like first use, not new targets. The copies rose from 631 to 696 (963 to 1,055 MB) after entry, while made rose by only 13. That fits textures made during loading getting their first host copy later. The totals can't show that texture by texture, though. Of the 1,203 made, the host held copies of 696 at the end.
  • The reference run looks the same. I ran the same build without #803, with the same scene and minutes: 622 / 962 MB at entry, 689 / 1,056 MB at the end. Mean frame time and CPU preparing time were within the spread between minutes. I make no claim about cost from one pair of runs.

What this can't tell:

  • Whether the title makes new targets and releases old ones in play, when new interiors load. If it does, the superseded and unmapped numbers could rise.
  • The used stamp caveat from hosted(.., false) still applies.

Next on this card: the same counters in a normal play session, with the same table.

(Unattended standing-still run without frame generation. Measurements and text prepared with my AI assistants, Claude Code and Codex. No game files.)

**@⁠CuteBooty** on GitHub · 2026-11-28 08:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7236934332) I ran the #803 counters on the 8 GB card. The machine is an RTX 3070 8 GB (driver 621.24), a Ryzen 7 5800X3D, 32 GB and Windows 11 build 26200. The build was main 63b902fe plus my local patches, with #803 applied as is (diagnostics feature). Settings: Series S, DLSS performance, no frame generation, `VICTORY_TEXTURE_ROOM_PERCENT=85`, `VICTORY_SLOT_EVICT=1`. **Caveat first:** this was one unattended run. It loaded a save and then stood still for 11 minutes after world entry. Nobody moved, so it says nothing about traversal or new interiors. From the "never lets go" line, by minutes after world entry: | Minute | Copies / MB | Newer target at its memory | Not mapped (placed or not) | Made / released since start | |---|---:|---:|---:|---:| | loading | 33 / 197 MB | 0 / 0 MB | 0 / 0 MB | 607 / 4 | | 0 (entry) | 631 / 963 MB | 3 / 2 MB | 0 / 0 MB | 1190 / 7 | | 1 | 649 / 997 MB | 9 / 26 MB | 0 / 0 MB | 1194 / 10 | | 4 | 679 / 1044 MB | 17 / 42 MB | 0 / 0 MB | 1197 / 13 | | 6 | 696 / 1055 MB | 28 / 49 MB | 0 / 0 MB | 1201 / 17 | | 11 (end) | 696 / 1055 MB | 28 / 49 MB | 0 / 0 MB | 1203 / 19 | **How it reads against the guide in #803:** - **Held, not dead, standing still.** Made was 1190 at world entry and 1203 at the end. Released stayed at 19. Made minus released was 1183 at entry and exactly 1184 on every line from minute 1 to the end. So after the first minute, each new target was matched by a release. The title made about 1,200 render, depth and UAV textures while loading, and it holds nearly all of them. - **The dead-copy share is small here.** Copies whose memory has a newer target peaked at 28, or 49 MB of 1,055 MB (4.6%). Copies whose memory is not mapped were 0 on all 137 lines. - **The growth after entry looks like first use, not new targets.** The copies rose from 631 to 696 (963 to 1,055 MB) after entry, while made rose by only 13. That fits textures made during loading getting their first host copy later. The totals can't show that texture by texture, though. Of the 1,203 made, the host held copies of 696 at the end. - **The reference run looks the same.** I ran the same build without #803, with the same scene and minutes: 622 / 962 MB at entry, 689 / 1,056 MB at the end. Mean frame time and CPU preparing time were within the spread between minutes. I make no claim about cost from one pair of runs. **What this can't tell:** - Whether the title makes new targets and releases old ones in play, when new interiors load. If it does, the superseded and unmapped numbers could rise. - The `used` stamp caveat from `hosted(.., false)` still applies. Next on this card: the same counters in a normal play session, with the same table. (Unattended standing-still run without frame generation. Measurements and text prepared with my AI assistants, Claude Code and Codex. No game files.)
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-28 14:53 UTC · original

Here are the #803 counters from a PLAY session on the same 8 GB card, as promised. Setup: RTX 3070 8 GB, Ryzen 7 5800X3D, 32 GB, Windows 11 26200, driver 621.24. Build: main 63b902fe, my local patches, #803, and also #923, #933, #945 and #888. Settings: Series S, DLSS performance, frame generation 2x, VICTORY_TEXTURE_ROOM_PERCENT=85, VICTORY_SLOT_EVICT=1. The session lasted 11.6 minutes, moving through the world.

The player's words at the end: the run "started out looking really good", but by the time they finished, "the texture quality and black textures were worse". That's the same late-run pattern as in the issue.

The "never lets go" line, last line of each minute (minute 0 is loading):

Minute Copies / MB Newer target at its memory Not mapped Made / released Made - released
0 573 / 846 MB 0 / 0 MB 0 1192 / 11 1181
1 660 / 1026 MB 6 / 21 MB 0 1203 / 17 1186
2 688 / 1299 MB 6 / 21 MB 0 1203 / 17 1186
4 753 / 1386 MB 32 / 60 MB 0 1212 / 27 1185
8 763 / 1417 MB 32 / 60 MB 0 1217 / 34 1183
10 840 / 1506 MB 39 / 66 MB 0 1220 / 35 1185
end 844 / 1518 MB 40 / 66 MB 0 1220 / 35 1185

How it reads against the guide in #803:

  • Held, as standing still. Made minus released stayed between 1,183 and 1,186 the whole session. The title made 28 more targets in play and released 24. Not mapped was 0 on every line.
  • The dead share is small. Copies whose memory has a newer target peaked at 40, or 66 MB of 1,518 MB (4%). A pass that released provably dead copies would free about that much here.
  • The growth is first use of held targets. The copies grew from 846 to 1,518 MB, an extra 670 MB, while made rose by only 28. So in play, the targets the title made at load and keeps get their first host copy as new areas use them, and none of them is let go again.
  • The texture queue was at its line from about one minute in. That shows in 644 "no room, new textures wait" lines over the session, card use rising from 5.3 to 6.5 GB, and 11,824 passes that made no texture for lack of room. That fits the textures getting worse later.

(A note in passing: VICTORY_FRAME_INTERVAL_US=1000 changed nothing on this CPU-bound machine. Frames were not quantized at 33 / 67 ms.)

Where this points, as far as I can tell: a "dead copies" pass alone would not fix this card. The memory is in copies of targets the title still holds. Any relief would have to come from letting go of the host copies of held but idle targets, with a write-back and a re-make on next use, or from not giving every target a full card copy on 8 GB. As said before, that is not small. I can test a build with such a policy on this card.

(Measurements and text prepared with my AI assistants, Claude Code and Codex. No game files.)

**@⁠CuteBooty** on GitHub · 2026-11-28 14:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7241020937) Here are the #803 counters from a PLAY session on the same 8 GB card, as promised. Setup: RTX 3070 8 GB, Ryzen 7 5800X3D, 32 GB, Windows 11 26200, driver 621.24. Build: main 63b902fe, my local patches, #803, and also #923, #933, #945 and #888. Settings: Series S, DLSS performance, frame generation 2x, `VICTORY_TEXTURE_ROOM_PERCENT=85`, `VICTORY_SLOT_EVICT=1`. The session lasted 11.6 minutes, moving through the world. The player's words at the end: the run "started out looking really good", but by the time they finished, "the texture quality and black textures were worse". That's the same late-run pattern as in the issue. The "never lets go" line, last line of each minute (minute 0 is loading): | Minute | Copies / MB | Newer target at its memory | Not mapped | Made / released | Made - released | |---|---:|---:|---:|---:|---:| | 0 | 573 / 846 MB | 0 / 0 MB | 0 | 1192 / 11 | 1181 | | 1 | 660 / 1026 MB | 6 / 21 MB | 0 | 1203 / 17 | 1186 | | 2 | 688 / 1299 MB | 6 / 21 MB | 0 | 1203 / 17 | 1186 | | 4 | 753 / 1386 MB | 32 / 60 MB | 0 | 1212 / 27 | 1185 | | 8 | 763 / 1417 MB | 32 / 60 MB | 0 | 1217 / 34 | 1183 | | 10 | 840 / 1506 MB | 39 / 66 MB | 0 | 1220 / 35 | 1185 | | end | 844 / 1518 MB | 40 / 66 MB | 0 | 1220 / 35 | 1185 | **How it reads against the guide in #803:** - **Held, as standing still.** Made minus released stayed between 1,183 and 1,186 the whole session. The title made 28 more targets in play and released 24. Not mapped was 0 on every line. - **The dead share is small.** Copies whose memory has a newer target peaked at 40, or 66 MB of 1,518 MB (4%). A pass that released provably dead copies would free about that much here. - **The growth is first use of held targets.** The copies grew from 846 to 1,518 MB, an extra 670 MB, while made rose by only 28. So in play, the targets the title made at load and keeps get their first host copy as new areas use them, and none of them is let go again. - **The texture queue was at its line from about one minute in.** That shows in 644 "no room, new textures wait" lines over the session, card use rising from 5.3 to 6.5 GB, and 11,824 passes that made no texture for lack of room. That fits the textures getting worse later. (A note in passing: `VICTORY_FRAME_INTERVAL_US=1000` changed nothing on this CPU-bound machine. Frames were not quantized at 33 / 67 ms.) **Where this points, as far as I can tell:** a "dead copies" pass alone would not fix this card. The memory is in copies of targets the title still holds. Any relief would have to come from letting go of the host copies of held but idle targets, with a write-back and a re-make on next use, or from not giving every target a full card copy on 8 GB. As said before, that is not small. I can test a build with such a policy on this card. (Measurements and text prepared with my AI assistants, Claude Code and Codex. No game files.)
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 20:46 UTC · original

#803 is now merged into main: the memory line now tells dead render-target host copies apart from the ones the title still holds. That's the measurement, not the fix yet. A log from the next release over a long session, from start to when rooms turn black, would show which kind grows.

**@⁠trustno1-coder** on GitHub · 2026-11-28 20:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7245534494) #803 is now merged into main: the memory line now tells dead render-target host copies apart from the ones the title still holds. That's the measurement, not the fix yet. A log from the next release over a long session, from start to when rooms turn black, would show which kind grows.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:49 UTC · original

Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.

If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/791#issuecomment-7261582268) Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then. If it still happens on the [latest release](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest), please open a new issue with the play log and crashes.log from that run. Thanks for reporting!
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#791
No description provided.