8 GB VRAM / 16 GB RAM: shared GPU memory hits the Windows cap, uploads fail with 0x8007000E, picture goes black/garbled (v2026.11.29.04) #3280

Open
opened 2026-11-29 21:22:04 +00:00 by github-bot · 2 comments
Owner

@⁠11izann on GitHub · 2026-11-29 21:16 UTC · original

System
GPU: NVIDIA GeForce RTX 3070, 8 GB (driver 621.24, HAGS off)
CPU: Intel Core i5-10400F
RAM: 16 GB
Disk: NVMe SSD, page file set by hand to 32 GB (commit limit about 48 GB)
Windows 11 (build 26200), TdrDelay raised to 10 s
Release: v2026.11.29.04 (victory.exe SHA-256 853765913a8a6c1c…, matches the release)
Settings
Series S profile, picture 360 (lowest), DLSS Ultra Performance, frame generation off
Shader preload run before playing
Added in victory-settings.txt: VICTORY_TEXTURE_ROOM_PERCENT=72, VICTORY_SLOT_EVICT_PERCENT=75, VICTORY_SLOT_EVICT_LOW_PERCENT=65, VICTORY_SLOT_EVICT_MB=512
What happens
Story mode, Lucía's first robbery, after she takes the bag and pistol out of the trunk. As the new area streams in, frame rate drops from about 6 fps to 0.1–1 fps. The screen goes black or garbled until nothing can be made out. No crash on .04; I closed the game myself.

On older builds the same scene crashed instead:

a host command list did not close (0x8007000E)
with the default 2 s TDR: device removed 0x887A0005 after a frame took about 600 ms on the GPU
What the log shows (attached)
Shared GPU memory is at the Windows cap. On a 16 GB PC, Windows allows about 8 GB of shared GPU memory.

memory now: committed 21925 MB, the card's own 6509 MB in use of a budget of 7127 MB, the PC's shared with the card 7710 MB in use
238,913 failed buffer allocations in about 8 minutes: 171,451 no upload buffer and 67,462 no shared buffer, all 0x8007000E (sizes 256 KiB and 6 MiB).

The shared memory is not the layer's own staging. procmem reports only 53 MB of texture staging and 0 MB of upload buffers held by lists. The rest looks like VRAM overflow that Windows demoted to system memory.

in the PC's memory shared with the card: staging of textures 53 MB, upload buffers held by lists 0 (0 MB)
the PC has 291 MB free
host copies of title memory 4716 (6614 MB)
VRAM stays over the texture line and nothing is evicted. Usage sits about 1.7 GB above the 72 % line, and new textures wait:

the texture queue's room: 6506 MB in use ... = 6890 MB against a line of 5174 MB (72.0 % of a budget of 7186 MB ...): no room, new textures wait
Possible lead: slot eviction is blocked by bindless slots
Sampled marks show about 1.4 GB of VRAM in textures that no shader has sampled within the idle time:

texture slots shaders sampled (VICTORY_SAMPLED_MARKS=1, VRAM): 27460 marked over the last 30 frames; slot eviction's last pass: of 15153 textures shown by a slot shaders pick by index, 15150 were marked by no shader within its idle time (1422 MB)
slot_evict still lets almost nothing go. Nearly all idle textures are shown by a slot that shaders pick by index, and evictable_slots counts those as blocked:

slot eviction since the last line (VICTORY_SLOT_EVICT=1): 1 host copies of textures let go though slots showed them (0.2 MB) ... Evicting: yes; of the last 38232 idle-looking textures, 0 kept as a draw's table showed them, 14901 not to be taken (a slot shaders pick by index ...)
On a 32 GB+ PC this is probably harmless: the 16 GB shared cap absorbs the overflow. On 8 GB VRAM with 16 GB RAM, those 1.4 GB seem to decide whether the scene plays or falls apart.

One idea, behind a switch for low-memory cards: let slot_evict take textures whose index-picked slots the sampled marks show as unsampled for the idle time. Put those slots back to waiting the same way table slots are. I have not tried it, so there may be a reason this is unsafe that I can't see.

Attached
victory-nvidia-play-20261129-205758-4812.log (%LOCALAPPDATA%\victory\logs)
crashes.log (%LOCALAPPDATA%\VIctory\data\7952987A)

victory-nvidia-play-20261129-205758-4812.zip

crashes.log

**@⁠11izann** on GitHub · 2026-11-29 21:16 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3280) System GPU: NVIDIA GeForce RTX 3070, 8 GB (driver 621.24, HAGS off) CPU: Intel Core i5-10400F RAM: 16 GB Disk: NVMe SSD, page file set by hand to 32 GB (commit limit about 48 GB) Windows 11 (build 26200), TdrDelay raised to 10 s Release: v2026.11.29.04 (victory.exe SHA-256 853765913a8a6c1c…, matches the release) Settings Series S profile, picture 360 (lowest), DLSS Ultra Performance, frame generation off Shader preload run before playing Added in victory-settings.txt: VICTORY_TEXTURE_ROOM_PERCENT=72, VICTORY_SLOT_EVICT_PERCENT=75, VICTORY_SLOT_EVICT_LOW_PERCENT=65, VICTORY_SLOT_EVICT_MB=512 What happens Story mode, Lucía's first robbery, after she takes the bag and pistol out of the trunk. As the new area streams in, frame rate drops from about 6 fps to 0.1–1 fps. The screen goes black or garbled until nothing can be made out. No crash on .04; I closed the game myself. On older builds the same scene crashed instead: a host command list did not close (0x8007000E) with the default 2 s TDR: device removed 0x887A0005 after a frame took about 600 ms on the GPU What the log shows (attached) Shared GPU memory is at the Windows cap. On a 16 GB PC, Windows allows about 8 GB of shared GPU memory. memory now: committed 21925 MB, the card's own 6509 MB in use of a budget of 7127 MB, the PC's shared with the card 7710 MB in use 238,913 failed buffer allocations in about 8 minutes: 171,451 no upload buffer and 67,462 no shared buffer, all 0x8007000E (sizes 256 KiB and 6 MiB). The shared memory is not the layer's own staging. procmem reports only 53 MB of texture staging and 0 MB of upload buffers held by lists. The rest looks like VRAM overflow that Windows demoted to system memory. in the PC's memory shared with the card: staging of textures 53 MB, upload buffers held by lists 0 (0 MB) the PC has 291 MB free host copies of title memory 4716 (6614 MB) VRAM stays over the texture line and nothing is evicted. Usage sits about 1.7 GB above the 72 % line, and new textures wait: the texture queue's room: 6506 MB in use ... = 6890 MB against a line of 5174 MB (72.0 % of a budget of 7186 MB ...): no room, new textures wait Possible lead: slot eviction is blocked by bindless slots Sampled marks show about 1.4 GB of VRAM in textures that no shader has sampled within the idle time: texture slots shaders sampled (VICTORY_SAMPLED_MARKS=1, VRAM): 27460 marked over the last 30 frames; slot eviction's last pass: of 15153 textures shown by a slot shaders pick by index, 15150 were marked by no shader within its idle time (1422 MB) slot_evict still lets almost nothing go. Nearly all idle textures are shown by a slot that shaders pick by index, and evictable_slots counts those as blocked: slot eviction since the last line (VICTORY_SLOT_EVICT=1): 1 host copies of textures let go though slots showed them (0.2 MB) ... Evicting: yes; of the last 38232 idle-looking textures, 0 kept as a draw's table showed them, 14901 not to be taken (a slot shaders pick by index ...) On a 32 GB+ PC this is probably harmless: the 16 GB shared cap absorbs the overflow. On 8 GB VRAM with 16 GB RAM, those 1.4 GB seem to decide whether the scene plays or falls apart. One idea, behind a switch for low-memory cards: let slot_evict take textures whose index-picked slots the sampled marks show as unsampled for the idle time. Put those slots back to waiting the same way table slots are. I have not tried it, so there may be a reason this is unsafe that I can't see. Attached victory-nvidia-play-20261129-205758-4812.log (%LOCALAPPDATA%\victory\logs\) crashes.log (%LOCALAPPDATA%\VIctory\data\7952987A\) [victory-nvidia-play-20261129-205758-4812.zip](https://github.com/user-attachments/files/35583629/victory-nvidia-play-20261129-205758-4812.zip) [crashes.log](https://github.com/user-attachments/files/35583633/crashes.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 21:22:04 +00:00
Author
Owner

@⁠MAK-DO on GitHub · 2026-11-30 16:12 UTC · original

Same wall here on v2026.11.30.01, reproduced 4 times out of 4 at one story point, with the process memory breakdown at the moment it happens. In my runs the jump is the layer's host copies of title memory, not VRAM demoted by Windows.

PC: RTX 2080 8 GB (Turing), driver 621.24, Ryzen 7 5800X, 16 GB RAM, page file 37-49 GB, Windows 10 22H2 (19045). Build: v2026.11.30.01 (c71899d9) built from source, plus a local logging-only patch (F3 panel figures to a CSV). Series S, FSR 3 frame generation 2X, full preload done.

Where: starting from my prologue save, a few minutes in, right after a pre-rendered movie (the frame rate sits at the 60 cap, the movie plane gate is active), as the next area streams in. The game has not autosaved by then, so every run goes back through the same point.

What happens each time (from the procmem and memory now lines, about 5 s apart):

16:07:00  host copies of title memory 7686 (2019 MB)   private 17775 MB
16:07:07  host copies of title memory 12793 (7431 MB)  private 22860 MB
crashes.log: DXGI usage/budget: local 6744/7221 MiB, non-local 7674/7480 MiB
VIctory: host GPU failure: could not snapshot 9502720 dirty bytes from a private CPU mirror

So about 5.1 k new host copies and +5.4 GB in under 8 s, while the card itself stays under its budget. Shared GPU memory passes the Windows cap (about half the RAM), the 0x8007000E storm on upload and shared buffers follows, and the host GPU fails.

run settings changed at the crash how it ended
1 FG 2X, DLSS Performance, TEXTURE_ROOM_PERCENT=95 (this also drops the launcher's FG reserve, my mistake) card 7.4/7.2 GB, shared 7.7 GB could not snapshot ... private CPU mirror
2 launcher's 80 % + FG reserve, DLSS Ultra Performance (360p) card 6.5/7.2 GB; shared 4.4 -> 7.7 GB in 2 s; 3,067 first textures admitted over the room line in 5 s could not snapshot ... private CPU mirror
3 + VICTORY_TEXTURE_FIRST_UPLOAD_WINDOW_MB=128 first textures down to 462 then 44 per 5 s, but host copies of title memory 1,867 -> 7,344 MB in 10 s; non-local 7,674/7,480 MiB a host command list did not reset (0x8007000E)
4 + VICTORY_CARD_ALL=0 (new launcher default is 1) host copies 2,019 -> 7,431 MB in 8 s could not snapshot ... private CPU mirror

So on this PC neither the texture room, the first-upload cap nor CARD_ALL changes the outcome. What grows is the set of host copies of title memory as the new area loads. Before the crash the game ran well: 22-25 fps rendered in the last two runs (card ~31 ms, submission ~29 ms).

Questions I could not answer from the log:

  • Is there a switch that caps or pages out host copies of title memory on a 16 GB PC (the "loose host copies" of #3646 look related)?
  • Could these copies be pageable rather than in memory the card shares, as #1823 did for CPU-only mirrors?

I can rerun this exact point with any switch or a diagnostics build. A cleaned excerpt of the play log of run 4 (local paths and game file names removed; the procmem, memory, frame and warning lines kept) is available on request.

Written with AI assistance (Claude Code); the measurements are from my PC. No game files attached.

**@⁠MAK-DO** on GitHub · 2026-11-30 16:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3280#issuecomment-7284291607) Same wall here on v2026.11.30.01, reproduced 4 times out of 4 at one story point, with the process memory breakdown at the moment it happens. In my runs the jump is the layer's **host copies of title memory**, not VRAM demoted by Windows. **PC:** RTX 2080 8 GB (Turing), driver 621.24, Ryzen 7 5800X, **16 GB RAM**, page file 37-49 GB, Windows 10 22H2 (19045). Build: v2026.11.30.01 (`c71899d9`) built from source, plus a local logging-only patch (F3 panel figures to a CSV). Series S, FSR 3 frame generation 2X, full preload done. **Where:** starting from my prologue save, a few minutes in, right after a pre-rendered movie (the frame rate sits at the 60 cap, the movie plane gate is active), as the next area streams in. The game has not autosaved by then, so every run goes back through the same point. **What happens each time** (from the procmem and `memory now` lines, about 5 s apart): ``` 16:07:00 host copies of title memory 7686 (2019 MB) private 17775 MB 16:07:07 host copies of title memory 12793 (7431 MB) private 22860 MB crashes.log: DXGI usage/budget: local 6744/7221 MiB, non-local 7674/7480 MiB VIctory: host GPU failure: could not snapshot 9502720 dirty bytes from a private CPU mirror ``` So about 5.1 k new host copies and +5.4 GB in under 8 s, while the card itself stays under its budget. Shared GPU memory passes the Windows cap (about half the RAM), the 0x8007000E storm on upload and shared buffers follows, and the host GPU fails. | run | settings changed | at the crash | how it ended | |---|---|---|---| | 1 | FG 2X, DLSS Performance, `TEXTURE_ROOM_PERCENT=95` (this also drops the launcher's FG reserve, my mistake) | card 7.4/7.2 GB, shared 7.7 GB | could not snapshot ... private CPU mirror | | 2 | launcher's 80 % + FG reserve, DLSS Ultra Performance (360p) | card 6.5/7.2 GB; shared 4.4 -> 7.7 GB in 2 s; 3,067 first textures admitted over the room line in 5 s | could not snapshot ... private CPU mirror | | 3 | + `VICTORY_TEXTURE_FIRST_UPLOAD_WINDOW_MB=128` | first textures down to 462 then 44 per 5 s, but host copies of title memory 1,867 -> 7,344 MB in 10 s; non-local 7,674/7,480 MiB | a host command list did not reset (0x8007000E) | | 4 | + `VICTORY_CARD_ALL=0` (new launcher default is 1) | host copies 2,019 -> 7,431 MB in 8 s | could not snapshot ... private CPU mirror | So on this PC neither the texture room, the first-upload cap nor `CARD_ALL` changes the outcome. What grows is the set of host copies of title memory as the new area loads. Before the crash the game ran well: 22-25 fps rendered in the last two runs (card ~31 ms, submission ~29 ms). Questions I could not answer from the log: - Is there a switch that caps or pages out host copies of title memory on a 16 GB PC (the "loose host copies" of #3646 look related)? - Could these copies be pageable rather than in memory the card shares, as #1823 did for CPU-only mirrors? I can rerun this exact point with any switch or a diagnostics build. A cleaned excerpt of the play log of run 4 (local paths and game file names removed; the procmem, memory, frame and warning lines kept) is available on request. Written with AI assistance (Claude Code); the measurements are from my PC. No game files attached.
Author
Owner

@⁠green2345 on GitHub · 2026-12-01 17:16 UTC · original

Confirming this still happens — and got noticeably worse — on latest main (5fabb46e, after c71899d9, which pulled in PR #3994 / #3750; likely related to #4845 as well).

Hardware & Setup

  • CPU: Intel Core i5-11400F (6C/12T)
  • GPU: NVIDIA GeForce RTX 4060 8 GB (driver 610.88, DXGI budget 7189 MB)
  • RAM: 16 GB DDR4 + 24–36 GB NVMe pagefile (E:\pagefile.sys 24576 36864)
  • OS: Windows 11 24H2 (26100), VBS off, TdrDelay=10
  • Build: release (cargo build --release --locked), commit 5fabb46e
  • Settings: Series S, DLSS Balanced, DLSS FrameGen 2X, VICTORY_LEVELS_ON_DEMAND=0, VICTORY_PROCESS_MEMORY=0, VICTORY_PIPELINE_WORKERS=4, VICTORY_WATER_LIGHT=0, VICTORY_AMBIENT_SPECULAR=0

Before vs After (same PC & settings)

Metric Earlier stable build (26 min run) 5fabb46e (10 min run -> crash)
Gameplay median frame time 80.5 ms (~12.4 FPS) 101.6 ms (~9.8 FPS)
10% worst FPS 9.2 FPS 6.5 FPS
Committed memory 17.4 – 19.2 GB 20.8 – 23.3 GB
Dedicated VRAM (card's own) 4.2 – 4.5 GB 4.9 – 5.5 GB
Shared GPU memory (PC's shared with the card) 3.7 – 5.0 GB (stable) 5.7 – 7.7 GB (hits ~8 GB Windows cap)
no shared buffer (0x8007000E) 0 7,793 (+ 54 no read-back buffer)

As soon as PC's shared with the card hit 7719 MB, no shared buffer (0x8007000E) spammed 7,793 times in ~45 seconds, ending in 0xc0000005 at nvwgf2umx.dll+0x332103. free_physical_mb also dropped as low as 673 MB, tanking FPS to ~10 with F2 showing CPU bottleneck.

Attaching the full log below.

victory-nvidia-20261201-195320.zip

**@⁠green2345** on GitHub · 2026-12-01 17:16 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3280#issuecomment-7319043032) Confirming this still happens — and got noticeably worse — on latest `main` (`5fabb46e`, after `c71899d9`, which pulled in PR #3994 / #3750; likely related to #4845 as well). ### Hardware & Setup - **CPU:** Intel Core i5-11400F (6C/12T) - **GPU:** NVIDIA GeForce RTX 4060 8 GB (driver `610.88`, DXGI budget `7189 MB`) - **RAM:** 16 GB DDR4 + 24–36 GB NVMe pagefile (`E:\pagefile.sys 24576 36864`) - **OS:** Windows 11 24H2 (`26100`), VBS off, `TdrDelay=10` - **Build:** `release` (`cargo build --release --locked`), commit `5fabb46e` - **Settings:** Series S, DLSS Balanced, DLSS FrameGen 2X, `VICTORY_LEVELS_ON_DEMAND=0`, `VICTORY_PROCESS_MEMORY=0`, `VICTORY_PIPELINE_WORKERS=4`, `VICTORY_WATER_LIGHT=0`, `VICTORY_AMBIENT_SPECULAR=0` ### Before vs After (same PC & settings) | Metric | Earlier stable build (26 min run) | `5fabb46e` (10 min run -> crash) | |---|---|---| | Gameplay median frame time | `80.5 ms` (~12.4 FPS) | `101.6 ms` (~9.8 FPS) | | 10% worst FPS | `9.2 FPS` | `6.5 FPS` | | Committed memory | `17.4 – 19.2 GB` | `20.8 – 23.3 GB` | | Dedicated VRAM (`card's own`) | `4.2 – 4.5 GB` | `4.9 – 5.5 GB` | | Shared GPU memory (`PC's shared with the card`) | `3.7 – 5.0 GB` (stable) | `5.7 – 7.7 GB` (hits ~8 GB Windows cap) | | `no shared buffer` (`0x8007000E`) | `0` | `7,793` (+ `54` `no read-back buffer`) | As soon as `PC's shared with the card` hit `7719 MB`, `no shared buffer` (`0x8007000E`) spammed 7,793 times in ~45 seconds, ending in `0xc0000005` at `nvwgf2umx.dll+0x332103`. `free_physical_mb` also dropped as low as `673 MB`, tanking FPS to ~10 with F2 showing CPU bottleneck. Attaching the full log below. [victory-nvidia-20261201-195320.zip](https://github.com/user-attachments/files/35695083/victory-nvidia-20261201-195320.zip)
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#3280
No description provided.