REPORT: RTX 4050 Laptop 6 GB | i5-13450HX | 16 GB: 12.7 fps heavy scenes on Series S + DLSS Performance; 21k "no upload buffer" (E_OUTOFMEMORY); driver crash on Series X #208

Closed
opened 2026-11-27 19:47:34 +00:00 by github-bot · 3 comments
Owner

@⁠Mike7581 on GitHub · 2026-11-27 19:46 UTC · original

Build and machine

  • VIctory-NVIDIA 29d8dbf, built from source (cargo build --release --locked -p victory), Streamline 2.14.16 via Get-NVIDIA-DLSS.cmd
  • GPU: RTX 4050 Laptop GPU, 6 GB VRAM, driver 621.40 (DLSS SR yes; DLSS-G off because hardware GPU scheduling is disabled)
  • CPU: i5-13450HX; RAM: 16 GB, page file 15 GB; Windows 11 build 26200
  • Title: my own copy, v1.0.2.1

Below the README's 32 GB, so this is a low-end data point (like #106, #196), not a bug claim against the spec.

Two sessions, same machine and build

Session 1 Session 2
Profile Series X, 2560x1440, DLSS Quality Series S, DLSS Performance, FG off, cap 30
Shader preload no yes (victory.exe preload: 31,501 shaders, 5,669/5,670 pipelines, 1016 s)
Length 10 min 42 s, ended in a crash 15 min, closed by me, no crash
fps, all samples 7.2 mean, 3.3 median (104 samples) 18.9 mean, 21.9 median (168 samples)
fps, heavy frames (≥1500 draws) 2.9 mean, 3.2 median (68 samples) 12.7 mean, 12.6 median (99 samples)
Heavy frame: ms/frame 1,639 (with long stalls) 145
Heavy frame: preparing (copies) 451 ms (194 ms, 69 MB) 67 ms (33 ms, 54 MB)
Heavy frame: GPU 45 ms 3 ms
Draws/frame (heavy) 3,213 4,838
VRAM in use vs budget 6,118 / ~5,006 MB 5,201 / 5,046 MB
Buffers turned down (card copies) 960 1,056
no upload buffer / no shared buffer 0 / 0 21,564 / 7,607

In session 2, as in #176 and #200, the frame is CPU-side; the GPU is nearly idle.

Session 1: Series X → crash after 10 min 35 s

Open world, in a mission (frame 3676):

unhandled exception 0xc0000005 at nvwgf2umx.dll+0x34a44a (read 0xc: nothing mapped there)
  #0..#14 nvwgf2umx.dll, #15-16 D3D12Core.dll, #17 victory.exe+0x75cdc0 ...
  • The lines before it are shader translations and new host mesh/compute pipelines, so it looks like a pipeline creation inside the driver.
  • At the crash: memory.load_percent 94, ~1 GB of commit free (of ~42.5 GB), VRAM 6118 MB in use vs a ~5006 MB budget, 960 buffers turned down.
  • fps in the last 20 s: 5.7 → 2.0 → 0.3.

Session 2: Series S → allocation failures

WARN counts:

  • 21,564× no upload buffer (E_OUTOFMEMORY): about 13,000 of 4 MB, 8,500 of 0.2 MB
  • 7,607× no shared buffer (4 MB and 8 MB)
  • 552× no read-back buffer
  • 64× uploads are refused for a moment after the host ran out of memory
  • host memory pressure reported physical_free_mib=3055 available_commit_mib=10875, and the card was at 5201 MB in use vs a 5046 MB budget.

So system RAM and commit were not exhausted; the card's budget was. These failures appear only in session 2: session 1 (Series X, VRAM further over budget) has none. On this card the layer seems to keep trying to create new 4 MB upload/shared buffers thousands of times while over budget. A pooled ring or a back-off after the first failure (related to #57) might help 6 GB cards, and I'd like to measure that on the same scene. Is there an existing switch I should try first?

Other warnings (session 2)

  • 28× a pipeline creation method that is not implemented: the title goes without this pipeline
  • 1× a dispatch without a host pipeline dropped
  • 1× Streamline getOptimalSettings returns invalid size (Series S + Performance)

Written with AI assistance (Claude Code, Claude Opus 5.5); every number above was taken from the session logs and the crash log.

**@⁠Mike7581** on GitHub · 2026-11-27 19:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/208) ### Build and machine - VIctory-NVIDIA `29d8dbf`, built from source (`cargo build --release --locked -p victory`), Streamline 2.14.16 via `Get-NVIDIA-DLSS.cmd` - GPU: RTX 4050 Laptop GPU, 6 GB VRAM, driver 621.40 (DLSS SR yes; DLSS-G off because hardware GPU scheduling is disabled) - CPU: i5-13450HX; RAM: 16 GB, page file 15 GB; Windows 11 build 26200 - Title: my own copy, v1.0.2.1 Below the README's 32 GB, so this is a low-end data point (like #106, #196), not a bug claim against the spec. ### Two sessions, same machine and build | | Session 1 | Session 2 | |---|---|---| | Profile | Series X, 2560x1440, DLSS Quality | Series S, DLSS Performance, FG off, cap 30 | | Shader preload | no | yes (`victory.exe preload`: 31,501 shaders, 5,669/5,670 pipelines, 1016 s) | | Length | 10 min 42 s, ended in a crash | 15 min, closed by me, no crash | | fps, all samples | 7.2 mean, 3.3 median (104 samples) | 18.9 mean, 21.9 median (168 samples) | | fps, heavy frames (≥1500 draws) | **2.9 mean, 3.2 median** (68 samples) | **12.7 mean, 12.6 median** (99 samples) | | Heavy frame: ms/frame | 1,639 (with long stalls) | 145 | | Heavy frame: preparing (copies) | 451 ms (194 ms, 69 MB) | 67 ms (33 ms, 54 MB) | | Heavy frame: GPU | 45 ms | 3 ms | | Draws/frame (heavy) | 3,213 | 4,838 | | VRAM in use vs budget | 6,118 / ~5,006 MB | 5,201 / 5,046 MB | | Buffers turned down (card copies) | 960 | 1,056 | | `no upload buffer` / `no shared buffer` | 0 / 0 | 21,564 / 7,607 | In session 2, as in #176 and #200, the frame is CPU-side; the GPU is nearly idle. ### Session 1: Series X → crash after 10 min 35 s Open world, in a mission (frame 3676): unhandled exception 0xc0000005 at nvwgf2umx.dll+0x34a44a (read 0xc: nothing mapped there) #0..#14 nvwgf2umx.dll, #15-16 D3D12Core.dll, #17 victory.exe+0x75cdc0 ... - The lines before it are shader translations and new host mesh/compute pipelines, so it looks like a pipeline creation inside the driver. - At the crash: `memory.load_percent` 94, ~1 GB of commit free (of ~42.5 GB), VRAM 6118 MB in use vs a ~5006 MB budget, 960 buffers turned down. - fps in the last 20 s: 5.7 → 2.0 → 0.3. ### Session 2: Series S → allocation failures WARN counts: - **21,564× `no upload buffer` (E_OUTOFMEMORY)**: about 13,000 of 4 MB, 8,500 of 0.2 MB - 7,607× `no shared buffer` (4 MB and 8 MB) - 552× `no read-back buffer` - 64× `uploads are refused for a moment after the host ran out of memory` - `host memory pressure` reported `physical_free_mib=3055 available_commit_mib=10875`, and the card was at 5201 MB in use vs a 5046 MB budget. So system RAM and commit were not exhausted; the card's budget was. These failures appear only in session 2: session 1 (Series X, VRAM further over budget) has none. On this card the layer seems to keep trying to create new 4 MB upload/shared buffers thousands of times while over budget. A pooled ring or a back-off after the first failure (related to #57) might help 6 GB cards, and I'd like to measure that on the same scene. Is there an existing switch I should try first? ### Other warnings (session 2) - 28× `a pipeline creation method that is not implemented: the title goes without this pipeline` - 1× `a dispatch without a host pipeline dropped` - 1× Streamline `getOptimalSettings returns invalid size` (Series S + Performance) Written with AI assistance (Claude Code, Claude Opus 5.5); every number above was taken from the session logs and the crash log.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:47:34 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:59 UTC · original

Thanks for the report. v2026.11.27.6 is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Since this was posted, releases from v2026.11.27.4 on include:

  • a fix for memory that kept growing through a session (PR #58), behind late-session slowdowns, full RAM/VRAM and coloured blocks;
  • a fix for very long frames when the low memory range filled up (PR #88).

If you have time, please try .6 and post new numbers or a new log here. It helps to see what changed on your PC.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/208#issuecomment-7228030020) Thanks for the report. **v2026.11.27.6** is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Since this was posted, releases from v2026.11.27.4 on include: - a fix for memory that kept growing through a session (PR #58), behind late-session slowdowns, full RAM/VRAM and coloured blocks; - a fix for very long frames when the low memory range filled up (PR #88). If you have time, please try .6 and post new numbers or a new log here. It helps to see what changed on your PC.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 21:08 UTC · original

Thanks for the detailed report. It's noted, and it stays here for others to find. Closing it, since it's a measurement rather than a single bug to fix. Since it was posted, v2026.11.27.4 and later (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6) fixed memory that kept growing and very long frames when memory filled up. If you find a specific bug or crash, please open an issue for it with the log.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/208#issuecomment-7228178364) Thanks for the detailed report. It's noted, and it stays here for others to find. Closing it, since it's a measurement rather than a single bug to fix. Since it was posted, v2026.11.27.4 and later (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6) fixed memory that kept growing and very long frames when memory filled up. If you find a specific bug or crash, please open an issue for it with the log.
Author
Owner

@⁠Mike7581 on GitHub · 2026-11-27 23:11 UTC · original · edited 2026-11-27 23:28 UTC

Numbers on v2026.11.27.7 (df2daaf, built from source), same PC, Series S + DLSS Performance, FG off, 30 fps cap:

  • 29 min 51 s, closed by me, no crash
  • fps: 15.0 mean / 13.6 median overall; heavy frames (≥1500 draws, 273 samples) 12.9 mean / 12.6 median (12.7 on 29d8dbf)
  • heavy frame: 102 ms, preparing 52 ms (copies 24 ms, 44 MB), GPU 14 ms, copying back 12.5 ms, 4,861 draws
  • VRAM max 5,437 MB vs a 4,953–5,071 MB budget
  • no upload buffer: 6,754 (was 21,564), all in one burst at minute 9; no shared buffer 1,473; no read-back buffer 38
  • draws dropped per frame: ~456 without a host pipeline (2,100–2,900 in minutes 2 and 7–9, with none being made) and ~525 indirect (almost all ray-tracing passes without the structure builder)
  • 1 compute shader does not translate: 6b82bc7d22016cb5 (no wave32 lowering for this wave64 program)
  • the white screen in the prologue is #466 (same miss program); I commented there with this run's log: #466
fps per minute
min fps mean fps min fps max GPU ms draws
0 30.0 30.0 30.0 0.0 16
1 19.0 0.5 30.0 4.2 593
2 4.6 1.8 15.6 3.4 3,148
3 12.0 3.4 15.6 4.0 5,193
4 16.8 13.7 22.5 0.5 4,759
5 22.9 17.1 26.4 1.4 2,944
6 19.2 7.0 25.1 2.8 2,316
7 11.9 4.6 17.2 7.2 4,711
8 10.1 5.6 13.6 9.0 7,016
9 9.1 4.8 12.9 9.6 6,332
10 14.6 4.5 28.7 15.7 2,259
11 15.8 1.6 29.3 3.0 1,682
12 6.2 0.8 17.1 17.8 2,869
13 15.9 10.7 19.7 23.8 3,309
14 14.0 8.5 17.8 19.6 3,111
15 17.3 13.8 21.3 13.2 3,497
16 15.5 11.0 17.7 8.9 3,934
17 15.7 12.7 17.6 12.5 4,093
18 12.1 3.6 16.8 10.2 4,355
19 11.3 2.6 14.7 33.3 4,491
20 13.6 9.7 29.8 23.7 5,454
21 11.8 10.8 13.7 26.6 5,908
22 13.7 5.7 30.0 11.3 5,060
23 11.0 9.8 12.7 27.3 7,476
24 11.4 7.4 13.2 17.3 6,657
25 10.6 6.0 13.8 14.1 6,670
26 11.1 5.1 14.4 17.6 6,005
27 15.2 7.8 30.8 25.8 5,451
28 29.8 27.6 30.0 0.1 113
29 30.0 30.0 30.3 0.0 113

Written with AI assistance (Claude Code, Claude Opus 5.5); every number above was taken from the session log.

**@⁠Mike7581** on GitHub · 2026-11-27 23:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/208#issuecomment-7229941176) · edited 2026-11-27 23:28 UTC Numbers on v2026.11.27.7 (`df2daaf`, built from source), same PC, Series S + DLSS Performance, FG off, 30 fps cap: - 29 min 51 s, closed by me, **no crash** - fps: 15.0 mean / 13.6 median overall; heavy frames (≥1500 draws, 273 samples) **12.9 mean / 12.6 median** (12.7 on `29d8dbf`) - heavy frame: 102 ms, preparing 52 ms (copies 24 ms, 44 MB), GPU 14 ms, copying back 12.5 ms, 4,861 draws - VRAM max 5,437 MB vs a 4,953–5,071 MB budget - `no upload buffer`: 6,754 (was 21,564), all in one burst at minute 9; `no shared buffer` 1,473; `no read-back buffer` 38 - draws dropped per frame: ~456 without a host pipeline (2,100–2,900 in minutes 2 and 7–9, with none being made) and ~525 indirect (almost all ray-tracing passes without the structure builder) - 1 compute shader does not translate: `6b82bc7d22016cb5` (no wave32 lowering for this wave64 program) - the white screen in the prologue is #466 (same miss program); I commented there with this run's log: https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/466 <details><summary>fps per minute</summary> | min | fps mean | fps min | fps max | GPU ms | draws | |---:|---:|---:|---:|---:|---:| | 0 | 30.0 | 30.0 | 30.0 | 0.0 | 16 | | 1 | 19.0 | 0.5 | 30.0 | 4.2 | 593 | | 2 | 4.6 | 1.8 | 15.6 | 3.4 | 3,148 | | 3 | 12.0 | 3.4 | 15.6 | 4.0 | 5,193 | | 4 | 16.8 | 13.7 | 22.5 | 0.5 | 4,759 | | 5 | 22.9 | 17.1 | 26.4 | 1.4 | 2,944 | | 6 | 19.2 | 7.0 | 25.1 | 2.8 | 2,316 | | 7 | 11.9 | 4.6 | 17.2 | 7.2 | 4,711 | | 8 | 10.1 | 5.6 | 13.6 | 9.0 | 7,016 | | 9 | 9.1 | 4.8 | 12.9 | 9.6 | 6,332 | | 10 | 14.6 | 4.5 | 28.7 | 15.7 | 2,259 | | 11 | 15.8 | 1.6 | 29.3 | 3.0 | 1,682 | | 12 | 6.2 | 0.8 | 17.1 | 17.8 | 2,869 | | 13 | 15.9 | 10.7 | 19.7 | 23.8 | 3,309 | | 14 | 14.0 | 8.5 | 17.8 | 19.6 | 3,111 | | 15 | 17.3 | 13.8 | 21.3 | 13.2 | 3,497 | | 16 | 15.5 | 11.0 | 17.7 | 8.9 | 3,934 | | 17 | 15.7 | 12.7 | 17.6 | 12.5 | 4,093 | | 18 | 12.1 | 3.6 | 16.8 | 10.2 | 4,355 | | 19 | 11.3 | 2.6 | 14.7 | 33.3 | 4,491 | | 20 | 13.6 | 9.7 | 29.8 | 23.7 | 5,454 | | 21 | 11.8 | 10.8 | 13.7 | 26.6 | 5,908 | | 22 | 13.7 | 5.7 | 30.0 | 11.3 | 5,060 | | 23 | 11.0 | 9.8 | 12.7 | 27.3 | 7,476 | | 24 | 11.4 | 7.4 | 13.2 | 17.3 | 6,657 | | 25 | 10.6 | 6.0 | 13.8 | 14.1 | 6,670 | | 26 | 11.1 | 5.1 | 14.4 | 17.6 | 6,005 | | 27 | 15.2 | 7.8 | 30.8 | 25.8 | 5,451 | | 28 | 29.8 | 27.6 | 30.0 | 0.1 | 113 | | 29 | 30.0 | 30.0 | 30.3 | 0.0 | 113 | </details> Written with AI assistance (Claude Code, Claude Opus 5.5); every number above was taken from the session log.
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#208
No description provided.