Device removed (0x887A0006) after 28-66 min on RTX 5070 Ti 12 GB: texture memory sits 1.9-3 GB above the queue's own line and the queue never gets room back (756 "no room" vs 6 "room") #4931

Open
opened 2026-12-01 14:33:36 +00:00 by github-bot · 8 comments
Owner

@⁠wrongsnow on GitHub · 2026-12-01 14:30 UTC · original

Body

Short version: on a 12 GB card this build always dies after 13-66 minutes with DXGI_ERROR_DEVICE_HUNG (0x887A0006) or with a host command list did not close (0x80070057), and the length of the session tracks the VRAM budget almost linearly. The texture queue finishes every session 1.9-2.4 GB above its own "line", with no room, new textures wait printed hundreds of times and room almost never. Lowering VICTORY_VRAM_BUDGET_MB only postpones it (10.9 GB -> 40 min, 9.0 GB -> 66 min); making the texture cache release sooner made it shorter (29 min). I could not find a setting that stops it.

System

  • Windows 11 24H2, build 26100.8457
  • AMD Ryzen 9 8940HX (16C/32T), 32 GB DDR5, page file on (16-32 GB on C:)
  • NVIDIA RTX 5070 Ti Laptop, 12 GB, driver 610.62, hardware GPU scheduling on
  • 2560x1440 display; game output 2560x1440 (Series X profile, VICTORY_NATIVE_1440P=1), DLSS Quality
  • Laptop set to its performance profile (ASUS "Turbo") and Windows power plan "High performance"; the card draws 95-107 W under load, so it is not power-throttled

Builds and settings where it happens

build SHA-256 (first 16) frame generation video memory budget session length how it ended
v2026.11.30.03 d178c927334740e0 3x AUTO (~10.9 GB) 40.0 min 0x887A0006 device hung, 2x nvlddmkm 153
v2026.11.30.03 d178c927334740e0 off AUTO 13 min a host command list did not close (0x80070057)
v2026.11.30.01 77811902a17cb8a0 3x AUTO (~10.9 GB) 28.4 min a host command list did not close (0x80070057)
v2026.11.30.03 d178c927334740e0 2x 9000 MB 66.1 min 0x887A0006 device hung, 2x nvlddmkm 153
v2026.11.30.03 d178c927334740e0 2x 9000 MB + VICTORY_TEXTURE_KEEP=0 + VICTORY_TEXTURE_SOFT_MB=1500 29.1 min a host command list did not close (0x80070057)

Launch line in every run, apart from the budget:

victory.exe play "<title>.exe" --res 1440 --dlss quality --framegen <n>

The 9000 MB budget was set through %LOCALAPPDATA%\victory\victory-settings.txt (VICTORY_VRAM_BUDGET_MB=9000); setting the same value as an environment variable or on the command line had no effect, play replaces it.

Several shorter sessions while I switched settings ended the same way at 2-28 minutes; nothing ever ran past 66 minutes.

Evidence from the 66-minute run (budget 9000 MB)

The last room line before it died:

the texture queue's room: 10461 MB in use - 1681 MB free in texture blocks + 0 MB kept for card
copies of title buffers + 302 MB kept for render targets = 9082 MB against a line of 7200 MB
(80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 2218 MB in texture copies):
no room, new textures wait

Then, 3 seconds before the device went:

ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a
submission (nothing of ours was running on the card), of 9 lists, for 3006.3 ms; pipeline
library: no call running; its file is mapped (965462598 bytes), the handle kept open; this run
replaced the file under the mapping 3 times, last 569.3 s ago; ...
ERROR victory_gpu::host: relay: the device was lost before fence value 1219291 was reached
(once it is, every fence reads u64::MAX); device removed: <localized: "GPU will not respond to
more commands, most likely the calling application passed invalid commands"> (0x887A0006)

Windows logged nvlddmkm event 153 twice in that same second (21:44:29 and 21:44:31 local). There was no Display event 4101 and no bugcheck - the driver recovered, the layer's device was gone.

no room was printed 756 times in that session and room 6 times.

In the 40-minute run on the same build (AUTO budget) the same line read 12120 MB in use ... against a line of 10142 MB ... no room, new textures wait, no room 427 times against room 32 times, and it ended the same way.

The part I think matters

  1. Textures end up 1.9-3 GB above the line the queue itself computes (9082 vs 7200; 11846 vs 8770; 12120 vs 10142). Whatever is released, is not enough to come back under the line, and it never recovers for the rest of the session.
  2. no room dominates the whole session (756:6), so the texture queue is starved from early on; frames still render, so this is not the same thing as the "no room at the start" case.
  3. Session length correlates with the budget: same build, same scene, 10.9 GB -> 40 min, 9.0 GB -> 66 min. That is why I read this as a slow resource problem rather than one bad command.
  4. Two failures show up: 0x887A0006 device hung (with frame generation) and a host command list did not close (0x80070057): a command recorded into it was invalid (with and without frame generation, and on .01 as well).

Also seen at every start (may be unrelated)

WARN victory_hle::modules::xmem: XMemVirtualAlloc: no room at first in the title's window
size=6538919936 kind=0x42000 flags=0x23 error=<os error 8: not enough memory>
largest_free_mb=6143 free_runs=5 spare_given_back=true

The title asks for ~6.1 GB in one reservation at startup and the layer cannot place it "at first". It then continues. I mention it because commit 9e405ccb ("keep 512 MB below 4 GiB for the title's 32-bit reservations, given back on refusal, #4043") is on main but not in .03.

What I tried, and what did not help

  • Frame generation off - still dies, 13 min, 0x80070057 instead of 0x887A0006.
  • VRAM budget 9000 MB (via the F1 settings file) - helped a lot (28-40 min -> 66 min) but did not stop it. Real usage still ended 1.5 GB above the budget.
  • VICTORY_TEXTURE_BUDGET_MB=8000 - no effect on real usage (the queue's budget stayed at the automatic value); I understand from the docs this is a hard "refuse past it" limit, so I dropped it.
  • TdrDelay/TdrLevel - left at defaults on purpose. The device removal takes ~3 s of blocked submitting thread, so a longer TdrDelay would only make the hang longer.
  • ASUS Silent vs Turbo, Windows Balanced vs High performance - Turbo/High performance is worth ~2.5x on this machine (the card went from 26-42 W to 95-107 W); all the numbers above are with the fast settings.
  • Full pipeline preload - works as documented on this build: 76,426 pipelines were built and written to a 964 MB library, and later runs load it with host pipeline library loaded bytes=965350898 mapped=true. It removes the startup stalls, but not this crash.

Release paths - tried, they made it worse

With the 9000 MB budget left in place I then set VICTORY_TEXTURE_KEEP=0 (the docs say the default keeps idle texture copies for up to ten minutes) and VICTORY_TEXTURE_SOFT_MB=1500 instead of 3000 - i.e. make the queue give memory back sooner rather than cap what goes in.

That run lasted 29.1 minutes and ended with a host command list did not close (0x80070057), i.e. noticeably shorter than the 66 minutes the same build managed with the default release settings, and it did not stop the climb either:

the texture queue's room: 10432 MB in use ... = 9114 MB against a line of 7200 MB
(80.0 % of a budget of 9000 MB ...): no room, new textures wait

(no room 325 times against room 6 times in those 29 minutes.)

So releasing idle textures sooner did not bring the queue back under its line and shortened the session. I have gone back to the 9000 MB budget with the default release settings, which remains the longest-lived configuration I have found (66 min).

Questions

  1. With a 12 GB card on the Series X profile at 1440p, is it expected that texture memory ends up ~2 GB above the queue's own line and stays there? If not, which of the release paths (VICTORY_TEXTURE_KEEP, VICTORY_TEXTURE_SOFT_MB, VICTORY_TEXTURE_SWEEP, VICTORY_CARD_WINDOWS_IDLE_MS) is the one that should be bringing it back?
  2. Is the 0x887A0006 here a symptom of that (a command that reads a resource that was taken away), or a separate bug? Is VICTORY_D3D12_DEBUG=1 the right way to get the command named, and is the debug layer from the "Graphics Tools" optional feature enough for the release build?
  3. Related reports I found, in case they are the same thing: #4355 (device removed after 42 min), #4474 (device removed at a scene change), #4443, #4252.
  4. Would runs that end this way help more with VICTORY_CARD_ACCOUNTING=1 / VICTORY_CARD_BREAKDOWN=1 on, and do you want the play log (69 MB for the 66-minute one) attached, or just the tail?

Attachments I can provide

  • The play log of the 66-minute run (victory-nvidia-play-20261201-123825-23452.log, 69 MB), the 40-minute run (41 MB), and the 13-minute no-frame-generation run (16 MB).
  • The victory-settings.txt used, the launch .cmd, and the per-second room line extracted to CSV if that is easier to read than the log.

victory-nvidia-play-20261201-085400-32404-v11.30.01.zip
victory-nvidia-play-20261201-123825-23452.zip

room-66min.csv

**@⁠wrongsnow** on GitHub · 2026-12-01 14:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930) # Body **Short version:** on a 12 GB card this build always dies after 13-66 minutes with `DXGI_ERROR_DEVICE_HUNG (0x887A0006)` or with `a host command list did not close (0x80070057)`, and the length of the session tracks the VRAM budget almost linearly. The texture queue finishes every session 1.9-2.4 GB *above* its own "line", with `no room, new textures wait` printed hundreds of times and `room` almost never. Lowering `VICTORY_VRAM_BUDGET_MB` only postpones it (10.9 GB -> 40 min, 9.0 GB -> 66 min); making the texture cache release sooner made it shorter (29 min). I could not find a setting that stops it. ## System - Windows 11 24H2, build 26100.8457 - AMD Ryzen 9 8940HX (16C/32T), 32 GB DDR5, page file on (16-32 GB on C:) - **NVIDIA RTX 5070 Ti Laptop, 12 GB**, driver **610.62**, hardware GPU scheduling on - 2560x1440 display; game output 2560x1440 (Series X profile, `VICTORY_NATIVE_1440P=1`), DLSS Quality - Laptop set to its performance profile (ASUS "Turbo") and Windows power plan "High performance"; the card draws 95-107 W under load, so it is not power-throttled ## Builds and settings where it happens | build | SHA-256 (first 16) | frame generation | video memory budget | session length | how it ended | |---|---|---|---|---|---| | v2026.11.30.03 | `d178c927334740e0` | 3x | AUTO (~10.9 GB) | **40.0 min** | `0x887A0006` device hung, 2x `nvlddmkm` 153 | | v2026.11.30.03 | `d178c927334740e0` | **off** | AUTO | **13 min** | `a host command list did not close (0x80070057)` | | v2026.11.30.01 | `77811902a17cb8a0` | 3x | AUTO (~10.9 GB) | **28.4 min** | `a host command list did not close (0x80070057)` | | v2026.11.30.03 | `d178c927334740e0` | 2x | **9000 MB** | **66.1 min** | `0x887A0006` device hung, 2x `nvlddmkm` 153 | | v2026.11.30.03 | `d178c927334740e0` | 2x | 9000 MB + `VICTORY_TEXTURE_KEEP=0` + `VICTORY_TEXTURE_SOFT_MB=1500` | **29.1 min** | `a host command list did not close (0x80070057)` | Launch line in every run, apart from the budget: ``` victory.exe play "<title>.exe" --res 1440 --dlss quality --framegen <n> ``` The 9000 MB budget was set through `%LOCALAPPDATA%\victory\victory-settings.txt` (`VICTORY_VRAM_BUDGET_MB=9000`); setting the same value as an environment variable or on the command line had no effect, `play` replaces it. Several shorter sessions while I switched settings ended the same way at 2-28 minutes; nothing ever ran past 66 minutes. ## Evidence from the 66-minute run (budget 9000 MB) The last `room` line before it died: ``` the texture queue's room: 10461 MB in use - 1681 MB free in texture blocks + 0 MB kept for card copies of title buffers + 302 MB kept for render targets = 9082 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 2218 MB in texture copies): no room, new textures wait ``` Then, 3 seconds before the device went: ``` ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a submission (nothing of ours was running on the card), of 9 lists, for 3006.3 ms; pipeline library: no call running; its file is mapped (965462598 bytes), the handle kept open; this run replaced the file under the mapping 3 times, last 569.3 s ago; ... ERROR victory_gpu::host: relay: the device was lost before fence value 1219291 was reached (once it is, every fence reads u64::MAX); device removed: <localized: "GPU will not respond to more commands, most likely the calling application passed invalid commands"> (0x887A0006) ``` Windows logged `nvlddmkm` **event 153** twice in that same second (21:44:29 and 21:44:31 local). There was **no** `Display` event 4101 and **no** bugcheck - the driver recovered, the layer's device was gone. `no room` was printed **756** times in that session and `room` **6** times. In the 40-minute run on the same build (AUTO budget) the same line read `12120 MB in use ... against a line of 10142 MB ... no room, new textures wait`, `no room` 427 times against `room` 32 times, and it ended the same way. ## The part I think matters 1. Textures end up **1.9-3 GB above the line the queue itself computes** (9082 vs 7200; 11846 vs 8770; 12120 vs 10142). Whatever is released, is not enough to come back under the line, and it never recovers for the rest of the session. 2. `no room` dominates the whole session (756:6), so the texture queue is starved from early on; frames still render, so this is not the same thing as the "no room at the start" case. 3. Session length correlates with the budget: same build, same scene, 10.9 GB -> 40 min, 9.0 GB -> 66 min. That is why I read this as a slow resource problem rather than one bad command. 4. Two failures show up: `0x887A0006` device hung (with frame generation) and `a host command list did not close (0x80070057): a command recorded into it was invalid` (with and without frame generation, and on .01 as well). ## Also seen at every start (may be unrelated) ``` WARN victory_hle::modules::xmem: XMemVirtualAlloc: no room at first in the title's window size=6538919936 kind=0x42000 flags=0x23 error=<os error 8: not enough memory> largest_free_mb=6143 free_runs=5 spare_given_back=true ``` The title asks for ~6.1 GB in one reservation at startup and the layer cannot place it "at first". It then continues. I mention it because commit `9e405ccb` ("keep 512 MB below 4 GiB for the title's 32-bit reservations, given back on refusal, #4043") is on `main` but not in .03. ## What I tried, and what did not help - **Frame generation off** - still dies, 13 min, `0x80070057` instead of `0x887A0006`. - **VRAM budget 9000 MB** (via the F1 settings file) - helped a lot (28-40 min -> 66 min) but did not stop it. Real usage still ended 1.5 GB above the budget. - **VICTORY_TEXTURE_BUDGET_MB=8000** - no effect on real usage (the queue's budget stayed at the automatic value); I understand from the docs this is a hard "refuse past it" limit, so I dropped it. - **TdrDelay/TdrLevel** - left at defaults on purpose. The device removal takes ~3 s of blocked submitting thread, so a longer TdrDelay would only make the hang longer. - **ASUS Silent vs Turbo, Windows Balanced vs High performance** - Turbo/High performance is worth ~2.5x on this machine (the card went from 26-42 W to 95-107 W); all the numbers above are with the fast settings. - **Full pipeline preload** - works as documented on this build: 76,426 pipelines were built and written to a 964 MB library, and later runs load it with `host pipeline library loaded bytes=965350898 mapped=true`. It removes the startup stalls, but not this crash. ## Release paths - tried, they made it worse With the 9000 MB budget left in place I then set `VICTORY_TEXTURE_KEEP=0` (the docs say the default keeps idle texture copies for up to ten minutes) and `VICTORY_TEXTURE_SOFT_MB=1500` instead of 3000 - i.e. make the queue give memory back sooner rather than cap what goes in. That run lasted **29.1 minutes** and ended with `a host command list did not close (0x80070057)`, i.e. noticeably *shorter* than the 66 minutes the same build managed with the default release settings, and it did not stop the climb either: ``` the texture queue's room: 10432 MB in use ... = 9114 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB ...): no room, new textures wait ``` (`no room` 325 times against `room` 6 times in those 29 minutes.) So releasing idle textures sooner did not bring the queue back under its line and shortened the session. I have gone back to the 9000 MB budget with the default release settings, which remains the longest-lived configuration I have found (66 min). ## Questions 1. With a 12 GB card on the Series X profile at 1440p, is it expected that texture memory ends up ~2 GB above the queue's own line and stays there? If not, which of the release paths (`VICTORY_TEXTURE_KEEP`, `VICTORY_TEXTURE_SOFT_MB`, `VICTORY_TEXTURE_SWEEP`, `VICTORY_CARD_WINDOWS_IDLE_MS`) is the one that should be bringing it back? 2. Is the `0x887A0006` here a symptom of that (a command that reads a resource that was taken away), or a separate bug? Is `VICTORY_D3D12_DEBUG=1` the right way to get the command named, and is the debug layer from the "Graphics Tools" optional feature enough for the release build? 3. Related reports I found, in case they are the same thing: #4355 (device removed after 42 min), #4474 (device removed at a scene change), #4443, #4252. 4. Would runs that end this way help more with `VICTORY_CARD_ACCOUNTING=1` / `VICTORY_CARD_BREAKDOWN=1` on, and do you want the play log (69 MB for the 66-minute one) attached, or just the tail? ## Attachments I can provide - The play log of the 66-minute run (`victory-nvidia-play-20261201-123825-23452.log`, 69 MB), the 40-minute run (41 MB), and the 13-minute no-frame-generation run (16 MB). - The `victory-settings.txt` used, the launch `.cmd`, and the per-second `room` line extracted to CSV if that is easier to read than the log. [victory-nvidia-play-20261201-085400-32404-v11.30.01.zip](https://github.com/user-attachments/files/35687570/victory-nvidia-play-20261201-085400-32404-v11.30.01.zip) [victory-nvidia-play-20261201-123825-23452.zip](https://github.com/user-attachments/files/35687572/victory-nvidia-play-20261201-123825-23452.zip) [room-66min.csv](https://github.com/user-attachments/files/35687647/room-66min.csv)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 14:33:37 +00:00
Author
Owner

@⁠tyr0nsur on GitHub · 2026-12-01 14:37 UTC · original

I compared the first “no room” row in your CSV with the last one. The gap to the effective queue threshold was already 2,149 MiB at 12:39:32 UTC and was 2,138 MiB at 13:44:27.

Counter (MiB) First no room Last sample
DXGI local usage 9,036 10,461
Free ranges inside allocated texture blocks 691 1,681
Texture copies counted by the queue 2,896 2,218
Usage after the queue's free-space and reserve adjustments 9,093 9,082

The queue stayed starved while the counted texture copies decreased by 678 MiB. That makes the breakdown by allocation type more informative than another smaller texture soft limit. The budget reported on that line is the budget the layer uses for its decisions. On this release, VICTORY_VRAM_BUDGET_MB clamps that number while the usage field still comes directly from DXGI. Release source

For the next matched run, --set VICTORY_CARD_BREAKDOWN=1 would add the allocation categories to the memory samples. The rows around the first “no room” and the final two minutes, plus the first D3D12 error if present, would answer more than the queue CSV alone. For the Close() error, use a diagnostics build with Windows Graphics Tools and --set VICTORY_D3D12_DEBUG=1. The release gates out that layer even when Graphics Tools is installed. Debug-layer gate

**@⁠tyr0nsur** on GitHub · 2026-12-01 14:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7314570731) I compared the first “no room” row in your CSV with the last one. The gap to the effective queue threshold was already 2,149 MiB at 12:39:32 UTC and was 2,138 MiB at 13:44:27. | Counter (MiB) | First no room | Last sample | | --- | ---: | ---: | | DXGI local usage | 9,036 | 10,461 | | Free ranges inside allocated texture blocks | 691 | 1,681 | | Texture copies counted by the queue | 2,896 | 2,218 | | Usage after the queue's free-space and reserve adjustments | 9,093 | 9,082 | The queue stayed starved while the counted texture copies decreased by 678 MiB. That makes the breakdown by allocation type more informative than another smaller texture soft limit. The `budget` reported on that line is the budget the layer uses for its decisions. On this release, `VICTORY_VRAM_BUDGET_MB` clamps that number while the usage field still comes directly from DXGI. [Release source](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/host.rs#L17907-L17909) For the next matched run, `--set VICTORY_CARD_BREAKDOWN=1` would add the allocation categories to the memory samples. The rows around the first “no room” and the final two minutes, plus the first D3D12 error if present, would answer more than the queue CSV alone. For the `Close()` error, use a diagnostics build with Windows Graphics Tools and `--set VICTORY_D3D12_DEBUG=1`. The release gates out that layer even when Graphics Tools is installed. [Debug-layer gate](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/host.rs#L1645-L1650)
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:38 UTC · original

For the launcher setting, victory play on v2026.11.30.03 clears an inherited VICTORY_VRAM_BUDGET_MB and applies explicit --set values after the saved settings. The native CLI spelling is --set VICTORY_VRAM_BUDGET_MB=9000. If that was already the spelling you used, the existing run’s switches: header and first queue budget line would help locate the difference. Release settings code

I posted a focused Windows-checked change for the inherited memory switches in #4014. It preserves their effective values and the saved-file and --set precedence. Patch and results

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 14:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7314594174) For the launcher setting, `victory play` on `v2026.11.30.03` clears an inherited `VICTORY_VRAM_BUDGET_MB` and applies explicit `--set` values after the saved settings. The native CLI spelling is `--set VICTORY_VRAM_BUDGET_MB=9000`. If that was already the spelling you used, the existing run’s `switches:` header and first queue budget line would help locate the difference. [Release settings code](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/apps/victory/src/play.rs) I posted a focused Windows-checked change for the inherited memory switches in #4014. It preserves their effective values and the saved-file and `--set` precedence. [Patch and results](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4014) AI-assisted with OpenAI Codex.
Author
Owner

@⁠wrongsnow on GitHub · 2026-12-01 15:44 UTC · original

Thanks both — both comments are useful, and one of them corrects me.

On the switch plumbing (Andrew, #4014) — you are right, with one addition

We did not use an inherited environment variable. We used the saved F1 file
(%LOCALAPPDATA%\victory\victory-settings.txt), and on .03 that path does reach
the layer. Evidence from the 66-minute run:

  • switches: header contains VICTORY_VRAM_BUDGET_MB=9000, together with
    VICTORY_TEXTURE_ROOM_PERCENT=80 VICTORY_SLOT_EVICT=1 VICTORY_SAMPLED_MARKS=1 VICTORY_SAMPLED_EVICT=0 VICTORY_MENU_FRAMEGEN=2 VICTORY_FRAMEGEN_X=2 VICTORY_MENU_RES=1440 VICTORY_DLSS_MODE=quality
  • first queue line: … = 2965 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 365 MB in texture copies): room

So the 66.1- and 74.2-minute runs really ran at a 9,000 MB budget; the budget number
is not where the difference lies. Separately I did try the environment variable first
and got exactly the behaviour #4014 describes (no effect). For the next matched run I
will use --set VICTORY_VRAM_BUDGET_MB=9000 and clear the F1 key, so there is no
ambiguity about which path supplied it.

On the curve (tyr0nsur) — confirmed, and I think your reading is the important one

  • first no room, 12:39:32Z (34 s in): 9036 MB in use - 691 MB free in texture blocks + 0 + 748 MB kept for render targets = 9093 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 2896 MB in texture copies): no room, new textures wait
  • last, 13:44:27Z (65 min later): 10461 - 1681 + 0 + 302 = 9082 MB against a line of 7200 MB (… 2218 MB in texture copies): no room, new textures wait

Which matches your table: the gap to the effective threshold is 2,149 MiB at the first
no room and 2,138 MiB at the last sample, counted texture copies fall 678 MiB while
DXGI usage rises 1,425 MiB, and the queue never comes back under the line — no room
756 times against room 6 in 66 minutes. The same shape appears on v2026.11.30.01
(427 vs 32 over 28.4 min) and on the run with the earlier release settings
(325 vs 6 over 29.1 min). I agree that another smaller soft limit is not the lever,
and I am not asking for one.

First D3D12 error — it depends on the run, so both:

  • 66-minute run: there is no Close() error at all. It ends with 0x887A0006
    (device removed / GPU hung) at 13:44:34Z, and Windows logs nvlddmkm event 153
    twice in that same second (13:44:29Z, 13:44:31Z). No Display event 4101, no
    bugcheck, the driver recovered and our device was gone.
  • 28.4-minute run (v2026.11.30.01): a host command list did not close (0x80070057): a command recorded into it was invalid at 09:22:22Z.
  • Turning frame generation off does not avoid it: that run died with the same
    0x80070057 after 13 minutes.

Debug layer — you are right and I had missed it: let debug = cfg!(feature = "diagnostics") && switch::on("VICTORY_D3D12_DEBUG"), so the release
build can never enable it even with Graphics Tools installed. I will build with
--profile diag --features diagnostics, install Graphics Tools, and post the named
command.

Next matched run (short): --set VICTORY_VRAM_BUDGET_MB=9000 --set VICTORY_CARD_BREAKDOWN=1, and I will post the rows around the first no room, the
last two minutes, the by-kind breakdown, and the first ERROR.

On the VICTORY_SAMPLED_EVICT / white-skin note in #4014 — that is the most useful
thing in this thread for me. I had the naive version of that experiment queued and it
would have failed for exactly the reason you describe. If you want a patch attempt, the
shape I would propose is: evict a cold sampled texture only when its re-upload is
guaranteed to be admitted — reserve the freed bytes and let first_upload_decision
admit a texture whose slot_evicted stamp is a few seconds old, outside the whole-card
budget; if the reserve is spent, do not evict at all. Happy to write that as a PR
behind a switch (default on, =0 keeps today's behaviour) with unit tests, or to keep
it out of the tree if you would rather not go that way.

One question. If ~10 GB really is the floor on this title at 1440p Series X (your
4.4 GB non-texture + ~3.7 GB of textures), then sitting pinned at the wall is expected
and the remaining question is only why it survives 30–74 minutes at that level before
an invalid command shows up, rather than failing immediately. Is there a known
chaining mechanism there, or is that still open?

Note on the original report: I wrote it in Chinese first and used AI translation
for the English, so terminology and some phrasing may be inaccurate — please forgive
that, and tell me if a sentence reads wrong and I will restate it. Every number in it
was taken from the logs; the attached logs and CSV are the ground truth.

**@⁠wrongsnow** on GitHub · 2026-12-01 15:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7316428582) Thanks both — both comments are useful, and one of them corrects me. **On the switch plumbing (Andrew, #4014) — you are right, with one addition** We did not use an inherited environment variable. We used the saved F1 file (`%LOCALAPPDATA%\victory\victory-settings.txt`), and on .03 that path *does* reach the layer. Evidence from the 66-minute run: - `switches:` header contains `VICTORY_VRAM_BUDGET_MB=9000`, together with `VICTORY_TEXTURE_ROOM_PERCENT=80 VICTORY_SLOT_EVICT=1 VICTORY_SAMPLED_MARKS=1 VICTORY_SAMPLED_EVICT=0 VICTORY_MENU_FRAMEGEN=2 VICTORY_FRAMEGEN_X=2 VICTORY_MENU_RES=1440 VICTORY_DLSS_MODE=quality` - first queue line: `… = 2965 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 365 MB in texture copies): room` So the 66.1- and 74.2-minute runs really ran at a 9,000 MB budget; the budget number is not where the difference lies. Separately I did try the environment variable first and got exactly the behaviour #4014 describes (no effect). For the next matched run I will use `--set VICTORY_VRAM_BUDGET_MB=9000` and clear the F1 key, so there is no ambiguity about which path supplied it. **On the curve (tyr0nsur) — confirmed, and I think your reading is the important one** - first `no room`, 12:39:32Z (34 s in): `9036 MB in use - 691 MB free in texture blocks + 0 + 748 MB kept for render targets = 9093 MB against a line of 7200 MB (80.0 % of a budget of 9000 MB; 6944 MB after face headroom, 2896 MB in texture copies): no room, new textures wait` - last, 13:44:27Z (65 min later): `10461 - 1681 + 0 + 302 = 9082 MB against a line of 7200 MB (… 2218 MB in texture copies): no room, new textures wait` Which matches your table: the gap to the effective threshold is 2,149 MiB at the first `no room` and 2,138 MiB at the last sample, counted texture copies fall 678 MiB while DXGI usage rises 1,425 MiB, and the queue never comes back under the line — `no room` 756 times against `room` 6 in 66 minutes. The same shape appears on v2026.11.30.01 (427 vs 32 over 28.4 min) and on the run with the earlier release settings (325 vs 6 over 29.1 min). I agree that another smaller soft limit is not the lever, and I am not asking for one. **First D3D12 error** — it depends on the run, so both: - 66-minute run: there is no `Close()` error at all. It ends with `0x887A0006` (device removed / GPU hung) at 13:44:34Z, and Windows logs `nvlddmkm` event 153 twice in that same second (13:44:29Z, 13:44:31Z). No Display event 4101, no bugcheck, the driver recovered and our device was gone. - 28.4-minute run (v2026.11.30.01): `a host command list did not close (0x80070057): a command recorded into it was invalid` at 09:22:22Z. - Turning frame generation off does not avoid it: that run died with the same `0x80070057` after 13 minutes. **Debug layer** — you are right and I had missed it: `let debug = cfg!(feature = "diagnostics") && switch::on("VICTORY_D3D12_DEBUG")`, so the release build can never enable it even with Graphics Tools installed. I will build with `--profile diag --features diagnostics`, install Graphics Tools, and post the named command. **Next matched run** (short): `--set VICTORY_VRAM_BUDGET_MB=9000 --set VICTORY_CARD_BREAKDOWN=1`, and I will post the rows around the first `no room`, the last two minutes, the by-kind breakdown, and the first ERROR. **On the `VICTORY_SAMPLED_EVICT` / white-skin note in #4014** — that is the most useful thing in this thread for me. I had the naive version of that experiment queued and it would have failed for exactly the reason you describe. If you want a patch attempt, the shape I would propose is: evict a cold sampled texture **only** when its re-upload is guaranteed to be admitted — reserve the freed bytes and let `first_upload_decision` admit a texture whose `slot_evicted` stamp is a few seconds old, outside the whole-card budget; if the reserve is spent, do not evict at all. Happy to write that as a PR behind a switch (default on, `=0` keeps today's behaviour) with unit tests, or to keep it out of the tree if you would rather not go that way. **One question.** If ~10 GB really is the floor on this title at 1440p Series X (your 4.4 GB non-texture + ~3.7 GB of textures), then sitting pinned at the wall is expected and the remaining question is only why it survives 30–74 minutes at that level before an invalid command shows up, rather than failing immediately. Is there a known chaining mechanism there, or is that still open? **Note on the original report:** I wrote it in Chinese first and used AI translation for the English, so terminology and some phrasing may be inaccurate — please forgive that, and tell me if a sentence reads wrong and I will restate it. Every number in it was taken from the logs; the attached logs and CSV are the ground truth.
Author
Owner

@⁠wrongsnow on GitHub · 2026-12-01 15:51 UTC · original

Quick clarification while I collect the breakdown: the 9 GB budget did reach the layer in our runs — we used the saved F1 settings file, and the log's switches: header plus the queue line show a budget of 9000 MB. So the 66/74-minute runs were really at 9 GB. I'll follow up with VICTORY_CARD_BREAKDOWN=1 rows and a diagnostics-build capture.
I am collecting the rest now — the --set VICTORY_CARD_BREAKDOWN=1 rows around the
first no room and around the last two minutes, plus a diagnostics-build capture of
the first D3D12 error — and will post them here soon.

**@⁠wrongsnow** on GitHub · 2026-12-01 15:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7316617904) Quick clarification while I collect the breakdown: the 9 GB budget did reach the layer in our runs — we used the saved F1 settings file, and the log's switches: header plus the queue line show a budget of 9000 MB. So the 66/74-minute runs were really at 9 GB. I'll follow up with VICTORY_CARD_BREAKDOWN=1 rows and a diagnostics-build capture. I am collecting the rest now — the `--set VICTORY_CARD_BREAKDOWN=1` rows around the first `no room` and around the last two minutes, plus a diagnostics-build capture of the first D3D12 error — and will post them here soon.
Author
Owner

@⁠wrongsnow on GitHub · 2026-12-01 17:03 UTC · original

Matched run done, with --set and the breakdown. This one also answers the "who holds the memory"
question, and it changes my own reading of the earlier runs.

Run: v2026.11.30.03, --set VICTORY_VRAM_BUDGET_MB=11000 --set VICTORY_FRAMEGEN_X=3 --set VICTORY_CARD_BREAKDOWN=1 --set VICTORY_CARD_ACCOUNTING=1, Series X, native 1440p, DLSS
Quality. 61 minutes, ended 16:59:26Z with 0x887A0006; the submitting thread was stuck 5,173 ms;
nvlddmkm 153 three times (16:59:19Z/21Z/25Z). The --set value did reach the layer — switches
header has VICTORY_VRAM_BUDGET_MB=11000 and the first queue line says
(80.0 % of a budget of 11000 MB …).

What holds the memory, last second before the device went:
card 12,655 MB in use of a budget of 10,700 MB (+1,955 over its own budget);
host textures 23,041 (6,395 MB) ← the largest single item; free texture blocks 2,158 MB;
host copies of textures the title fills 21,656 alive (3,650 MB); aliased targets 0 MB;
process committed 33,875 MB.

Queue, first vs last (your comparison, repeated at 11 GB):

  • first no room, 15:56:03Z (~2 min in): 10179 - 234 + 0 + 725 = 10670 MB against a line of 8573 MB (… 8317 MB after face headroom …): no room → 2,353 MB over the effective threshold
  • last, 16:59:15Z: 12656 - 2173 + 0 + 320 = 10803 MB against 8626 MB (… 8370 after face headroom …) → 2,433 MB over
  • no room 732 times, room 16 times.

The new bit — it is not that nothing is released, it is that it is thrashing. At the end, per
second: 163 host copies let go (23 MB) and 113 made again (30 MB), 316 made in all;
482,052 copies let go since the start. So the layer spends the session evicting and
re-uploading at ~160/~110 per second, parked ~2.4 GB above its own line.

That also explains an earlier result of mine: setting VICTORY_TEXTURE_KEEP=0 (release sooner)
made the session shorter (29.1 min vs 66–74), because it increased the churn. And a
correction to my first report: the 11 GB run lasted 61 min, so survival is not monotonic in
the budget as I implied; 9 GB gave 66.1 and 74.2 min.

Direction I would try (small and unit-testable, happy to send it as a PR behind a switch):
admission has no hysteresis — a copy is let go and re-admitted at the same threshold, so the card
parks above the line forever. Admit only below line - VICTORY_TEXTURE_HYSTERESIS_MB (say 512)
once the queue has been out of room, and do not re-admit a copy that was let go less than N ms
ago unless the card is below that lower mark. That trades a slightly later texture load for a
near-zero churn and, I hope, no invalid command at minute 30-70.

Is churn at the wall expected on this title, or is the hysteresis direction something you would
want? If you prefer, I can also just attach the three CSVs below and leave the code alone.

Attached: breakdown-run.csv (755 rows), memory-run.csv (2,767), `ro

breakdown-run.csv
memory-run.csv
room-run.csv

**@⁠wrongsnow** on GitHub · 2026-12-01 17:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7318677606) Matched run done, with `--set` and the breakdown. This one also answers the "who holds the memory" question, and it changes my own reading of the earlier runs. **Run**: v2026.11.30.03, `--set VICTORY_VRAM_BUDGET_MB=11000 --set VICTORY_FRAMEGEN_X=3 --set VICTORY_CARD_BREAKDOWN=1 --set VICTORY_CARD_ACCOUNTING=1`, Series X, native 1440p, DLSS Quality. 61 minutes, ended 16:59:26Z with `0x887A0006`; the submitting thread was stuck 5,173 ms; `nvlddmkm` 153 three times (16:59:19Z/21Z/25Z). The `--set` value did reach the layer — switches header has `VICTORY_VRAM_BUDGET_MB=11000` and the first queue line says `(80.0 % of a budget of 11000 MB …)`. **What holds the memory**, last second before the device went: `card 12,655 MB in use of a budget of 10,700 MB` (+1,955 over its own budget); `host textures 23,041 (6,395 MB)` ← the largest single item; `free texture blocks 2,158 MB`; `host copies of textures the title fills 21,656 alive (3,650 MB)`; `aliased targets 0 MB`; process `committed 33,875 MB`. **Queue, first vs last (your comparison, repeated at 11 GB)**: - first `no room`, 15:56:03Z (~2 min in): `10179 - 234 + 0 + 725 = 10670 MB against a line of 8573 MB (… 8317 MB after face headroom …): no room` → **2,353 MB over the effective threshold** - last, 16:59:15Z: `12656 - 2173 + 0 + 320 = 10803 MB against 8626 MB (… 8370 after face headroom …)` → **2,433 MB over** - `no room` 732 times, `room` 16 times. **The new bit — it is not that nothing is released, it is that it is thrashing.** At the end, per second: **163 host copies let go (23 MB)** and **113 made again (30 MB)**, 316 made in all; **482,052** copies let go since the start. So the layer spends the session evicting and re-uploading at ~160/~110 per second, parked ~2.4 GB above its own line. That also explains an earlier result of mine: setting `VICTORY_TEXTURE_KEEP=0` (release sooner) made the session **shorter** (29.1 min vs 66–74), because it increased the churn. And a correction to my first report: the 11 GB run lasted 61 min, so survival is **not** monotonic in the budget as I implied; 9 GB gave 66.1 and 74.2 min. **Direction I would try** (small and unit-testable, happy to send it as a PR behind a switch): admission has no hysteresis — a copy is let go and re-admitted at the same threshold, so the card parks above the line forever. Admit only below `line - VICTORY_TEXTURE_HYSTERESIS_MB` (say 512) once the queue has been out of room, and do not re-admit a copy that was let go less than N ms ago unless the card is below that lower mark. That trades a slightly later texture load for a near-zero churn and, I hope, no invalid command at minute 30-70. Is churn at the wall expected on this title, or is the hysteresis direction something you would want? If you prefer, I can also just attach the three CSVs below and leave the code alone. Attached: `breakdown-run.csv` (755 rows), `memory-run.csv` (2,767), `ro [breakdown-run.csv](https://github.com/user-attachments/files/35694563/breakdown-run.csv) [memory-run.csv](https://github.com/user-attachments/files/35694564/memory-run.csv) [room-run.csv](https://github.com/user-attachments/files/35694562/room-run.csv)
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 17:10 UTC · original

The 11,000 MB value reached the layer. The later 10,700 MB DXGI budget still applies because the override is an upper bound on the OS budget. Budget calculation

The churn is now measured. An ordinary-queue band by itself may have little effect here: at the last sample the ordinary queue was already 2,433 MB past its effective line, yet host copies were still being made. The idle sweep also has a drain target below the queue line. First uploads and other copy paths have their own admission rules. Idle sweep thresholds · First upload checks

Please keep the CSVs here. I'd start by identifying which path makes those 113 copies per second back while the ordinary queue reports no room. That tells us where to apply and measure a cooldown. #4463 is planning the shared budget and drain thresholds, so I'd link this run there before adding a second policy. The freeze at the end still needs its own matching evidence.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 17:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7318865961) The 11,000 MB value reached the layer. The later 10,700 MB DXGI budget still applies because the override is an upper bound on the OS budget. [Budget calculation](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/v2026.11.30.03/crates/victory-gpu/src/host.rs#L17874-L17913) The churn is now measured. An ordinary-queue band by itself may have little effect here: at the last sample the ordinary queue was already 2,433 MB past its effective line, yet host copies were still being made. The idle sweep also has a drain target below the queue line. First uploads and other copy paths have their own admission rules. [Idle sweep thresholds](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/v2026.11.30.03/crates/victory-gpu/src/host.rs#L177-L212) · [First upload checks](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/v2026.11.30.03/crates/victory-gpu/src/resource.rs#L2624-L2678) Please keep the CSVs here. I'd start by identifying which path makes those 113 copies per second back while the ordinary queue reports no room. That tells us where to apply and measure a cooldown. #4463 is planning the shared budget and drain thresholds, so I'd link this run there before adding a second policy. The freeze at the end still needs its own matching evidence.
Author
Owner

@⁠wrongsnow on GitHub · 2026-12-01 17:38 UTC · original

Thanks — the upper-bound explanation matches what the lines show (11,000 → 10,716 → 10,700 as DXGI
moved), so we are consistent on the budget.

On which path makes the copies back, I went through the .03 source with the run in hand, and I think
the first-upload gate is not "closed by policy" but mis-computed, which is why it refuses
everything while other paths keep making copies.

1. The first-upload gate never opens on this machine. Last 748 samples: 0 allowed, ~115,000
refused per 5 s, all counted as ExplicitBudget — but VICTORY_TEXTURE_BUDGET_MB was not set
in that run (switches: header has no VICTORY_TEXTURE_BUDGET*, only VICTORY_TEXTURE_ROOM_PERCENT=80,
VICTORY_TEXTURE_SOFT_MB=3000, VICTORY_TEXTURE_POOL=1, …). Reading room_for_first_upload at
v2026.11.30.03, the second gate dynamic_texture_cap charges the same ExplicitBudget bucket, so the
label is misleading: what is refusing is the dynamic cap, not an explicit byte limit. Worth its own
counter (it cost me an hour chasing a limit that was never set).

2. That cap looks too small by the free space inside allocated texture blocks. At the tag:

others = used - HOST_TEXTURES[1]; // non-texture card bytes
cap = budget - keep_free(512 MB) - others;
used (DXGI) includes the free ranges inside already-allocated 64 MB texture blocks — 234 MB at the first no room and 2,158 MB in the last second — so others is overstated by exactly that, and cap is understated by it. room() next door does credit it (used.saturating_sub(pool::texture_room()), with VICTORY_ROOM_REAL), so the two admission paths disagree.

Numbers from the run:

first no room: budget 10,716, used 10,179, host textures ~4,413, cap ≈ 4,438 → right at the cap
last sample: budget 10,700, used 12,655, host textures 6,395, cap ≈ 3,928 → 2,467 MB past the cap
3. So where do the 113/s come from? Not from the first-upload gate (0 allowed). They come from the paths that do not consult it — the filled-texture refresh and the rest of the index pass. Measured in that same run: making host copies (creation and residency) 34 ms per 5 s in the index pass, 785 slots served at their first look per 5 s (15.2 frames late on average, 909 at most), and uploaded since the start: 1,803,554 textures, 142,481 MB — that is ~39 MB/s of texture traffic for 61 minutes. "Made again" for filled copies is only ~24/s, so the churn is mostly the index pass.

Suggested first change (one function, testable): credit the free space of the texture blocks in dynamic_texture_cap the way room() does, and give the dynamic-cap refusal its own reason counter. That reopens first-upload admission without raising the cap. Then a cooldown on the index pass's re-make path, measured against the same three CSVs.

I will link this run into #4463 as you suggested rather than proposing a second policy here. For the 5,173 ms freeze I have the last 96 things done from that second and can run the diagnostics build with Graphics Tools when you want it — say the word and I will post the named command.

Alright, that's me done for tonight — I'm off to bed, it's 1:30 am here. I'll keep testing tomorrow and post the next matched run once I have it. Thanks again, the pointers were genuinely useful (the cap label one especially — I'd have kept staring at the wrong variable otherwise).

first-upload-refusals.csv

**@⁠wrongsnow** on GitHub · 2026-12-01 17:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7319615892) Thanks — the upper-bound explanation matches what the lines show (11,000 → 10,716 → 10,700 as DXGI moved), so we are consistent on the budget. On which path makes the copies back, I went through the .03 source with the run in hand, and I think the first-upload gate is not "closed by policy" but **mis-computed**, which is why it refuses everything while other paths keep making copies. **1. The first-upload gate never opens on this machine.** Last 748 samples: 0 allowed, ~115,000 refused per 5 s, all counted as `ExplicitBudget` — but `VICTORY_TEXTURE_BUDGET_MB` was **not set** in that run (`switches:` header has no `VICTORY_TEXTURE_BUDGET*`, only `VICTORY_TEXTURE_ROOM_PERCENT=80`, `VICTORY_TEXTURE_SOFT_MB=3000`, `VICTORY_TEXTURE_POOL=1`, …). Reading `room_for_first_upload` at v2026.11.30.03, the second gate `dynamic_texture_cap` charges the same `ExplicitBudget` bucket, so the label is misleading: what is refusing is the dynamic cap, not an explicit byte limit. Worth its own counter (it cost me an hour chasing a limit that was never set). **2. That cap looks too small by the free space inside allocated texture blocks.** At the tag: others = used - HOST_TEXTURES[1]; // non-texture card bytes cap = budget - keep_free(512 MB) - others; used (DXGI) includes the free ranges inside already-allocated 64 MB texture blocks — 234 MB at the first no room and 2,158 MB in the last second — so others is overstated by exactly that, and cap is understated by it. room() next door does credit it (used.saturating_sub(pool::texture_room()), with VICTORY_ROOM_REAL), so the two admission paths disagree. Numbers from the run: first no room: budget 10,716, used 10,179, host textures ~4,413, cap ≈ 4,438 → right at the cap last sample: budget 10,700, used 12,655, host textures 6,395, cap ≈ 3,928 → 2,467 MB past the cap 3. So where do the 113/s come from? Not from the first-upload gate (0 allowed). They come from the paths that do not consult it — the filled-texture refresh and the rest of the index pass. Measured in that same run: making host copies (creation and residency) 34 ms per 5 s in the index pass, 785 slots served at their first look per 5 s (15.2 frames late on average, 909 at most), and uploaded since the start: 1,803,554 textures, 142,481 MB — that is ~39 MB/s of texture traffic for 61 minutes. "Made again" for filled copies is only ~24/s, so the churn is mostly the index pass. Suggested first change (one function, testable): credit the free space of the texture blocks in dynamic_texture_cap the way room() does, and give the dynamic-cap refusal its own reason counter. That reopens first-upload admission without raising the cap. Then a cooldown on the index pass's re-make path, measured against the same three CSVs. I will link this run into #4463 as you suggested rather than proposing a second policy here. For the 5,173 ms freeze I have the last 96 things done from that second and can run the diagnostics build with Graphics Tools when you want it — say the word and I will post the named command. Alright, that's me done for tonight — I'm off to bed, it's 1:30 am here. I'll keep testing tomorrow and post the next matched run once I have it. Thanks again, the pointers were genuinely useful (the cap label one especially — I'd have kept staring at the wrong variable otherwise). [first-upload-refusals.csv](https://github.com/user-attachments/files/35696009/first-upload-refusals.csv)
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 17:41 UTC · original

This matches two changes already being worked on. #4990 has the same counter ambiguity, and the fixed-cap versus dynamic-reserve split is being prepared there. #4990 follow-up

For the first-upload behavior, #4828 at b3ca3736 permits reuse of an already allocated range after checking the texture's actual D3D12 size and alignment in the pool it would use. It also defers the allocation if another upload takes that range first. The 2,158 MB total is split across blocks and pools, so it helps explain the discrepancy and can't guarantee an individual upload fits. A comparison with #4828 would measure that distinction.

For the 5.17 s freeze, the first D3D12 validation error immediately before the failure, if one is logged, is the next detail I would look at. The CSVs are sufficient for the budget discussion.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 17:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4930#issuecomment-7319700043) This matches two changes already being worked on. #4990 has the same counter ambiguity, and the fixed-cap versus dynamic-reserve split is being prepared there. [#4990 follow-up](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/4990) For the first-upload behavior, [#4828 at b3ca3736](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4828) permits reuse of an already allocated range after checking the texture's actual D3D12 size and alignment in the pool it would use. It also defers the allocation if another upload takes that range first. The 2,158 MB total is split across blocks and pools, so it helps explain the discrepancy and can't guarantee an individual upload fits. A comparison with #4828 would measure that distinction. For the 5.17 s freeze, the first D3D12 validation error immediately before the failure, if one is logged, is the next detail I would look at. The CSVs are sufficient for the budget discussion.
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#4931
No description provided.