Windows 10 + RTX 4080: crash at start without the D3D12 Agility SDK; memory and per-frame CPU work grow during play #138

Closed
opened 2026-11-27 18:46:21 +00:00 by github-bot · 7 comments
Owner

@⁠vvarlord on GitHub · 2026-11-27 18:41 UTC · original

Windows 10 + RTX 4080: crash at start without the D3D12 Agility SDK; memory and per-frame CPU work grow during play

Three things from building and playing this fork on Windows 10 with an RTX 4080:

  1. On Windows 10 every graphics pipeline is refused and the title crashes at start. Shipping the D3D12 Agility SDK 1.620.2 beside victory.exe fixes it (patch below).
  2. Over a 46-minute session the process's memory grew about 1 GB a minute, and the submitting thread's work per frame grew from 22 ms to over 100 ms. This looks like a leak or a structure that keeps growing. (User: Not sure it is that drastic, growth only checked over a short time)
  3. A smaller bug: frame generation can't be switched off on an RTX 40 card while 3x–6x is selected.

System

OS Windows 10 Pro 22H2, build 19045.7807, hardware-accelerated GPU scheduling on
CPU AMD Ryzen 9 9950X3D, 16 cores / 32 threads
RAM 64 GB DDR5-6000 (62 GB usable), system-managed pagefile (20–24 GB)
GPU NVIDIA GeForce RTX 4080 16 GB, driver 617.42
Displays 3440×1440 at 144 Hz (primary), 2560×1440 at 144 Hz, 2560×1440 at 120 Hz, all on the RTX 4080. The title ran windowed on the Primary one.
Game drive Samsung 990 PRO 4 TB, NVMe SSD
Build Rust 1.98.1 (the pinned toolchain), MSVC 14.39, cargo build --release --locked -p victory
NVIDIA files Streamline 2.14.16, DLSS and DLSS-G 310.9.16, fetched by the program on first start
Settings Double-click start (victory play defaults): Series X profile, native 2560×1440, DLSS Quality, no frame-rate cap, frame generation made ready; switched on at 2x from F1

1. Windows 10: every graphics pipeline refused, crash at start

What happens: after the NVIDIA download the window opens, then the title crashes. Its own crash handler reports "Game State: Game Init" at frame 0, and the layer blocks the minidump upload. It happened the same way on both runs.

In the log, for every graphics pipeline (457 of 457 in one run):

WARN victory_gpu::pipeline::host: root signature: Unsupported bit-flag set (root signature flags c01).
WARN victory_gpu::pipeline::host: host root signature refused error=The parameter is incorrect. (0x80070057) shaders=[vertex 06dfe17b32337aa0, pixel 394abb74a7a2ade7]

Cause: root_signature() in crates/victory-gpu/src/pipeline/host.rs always sets CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED, which need shader model 6.6. Windows 10's in-box Direct3D 12 runtime (D3D12Core.dll 10.0.19041.7291 here) has no shader model 6.6 and rejects those flags. The README lists Windows 10 as supported, but the measurements were all taken on Windows 11.

Fix used here: the D3D12 Agility SDK. victory.exe exports D3D12SDKVersion and D3D12SDKPath, and Direct3D 12 then loads a newer runtime from a D3D12\ folder beside the exe.

--- /dev/null
+++ b/apps/victory/build.rs
@@ -0,0 +1,14 @@
+//! Exports `D3D12SDKVersion` and `D3D12SDKPath` (`src/main.rs`) from the
+//! program: Direct3D 12 looks for them among the executable's exports to
+//! load the D3D12 Agility SDK's runtime in place of Windows' own.
+
+fn main() {
+    println!("cargo:rerun-if-changed=build.rs");
+    let windows = std::env::var("CARGO_CFG_TARGET_OS").is_ok_and(|os| os == "windows");
+    let msvc = std::env::var("CARGO_CFG_TARGET_ENV").is_ok_and(|env| env == "msvc");
+    if windows && msvc {
+        for name in ["D3D12SDKVersion", "D3D12SDKPath"] {
+            println!("cargo:rustc-link-arg-bins=/EXPORT:{name},DATA");
+        }
+    }
+}
--- a/apps/victory/src/main.rs
+++ b/apps/victory/src/main.rs
@@ -20,3 +20,18 @@
 use anyhow::Result;
 use clap::{Parser, Subcommand, ValueEnum};
 
+/// The D3D12 Agility SDK, exported from the program by `build.rs`: Windows
+/// 10's own Direct3D 12 runtime has no shader model 6.6, so it refuses every
+/// root signature the translator makes (directly indexed heaps) and the title
+/// goes without its pipelines. Microsoft's `D3D12Core.dll` of this version
+/// (and `d3d12SDKLayers.dll` for the debug layer) must be in a `D3D12` folder
+/// beside the program: Direct3D 12 then loads that runtime in place of
+/// Windows' own, and without it makes no device on a Windows older than it.
+#[cfg(windows)]
+#[allow(non_upper_case_globals)]
+#[unsafe(no_mangle)]
+pub static D3D12SDKVersion: u32 = 620;
+#[cfg(windows)]
+#[allow(non_upper_case_globals)]
+#[unsafe(no_mangle)]
+pub static D3D12SDKPath: &[u8; 9] = b".\\D3D12\\\0";

Then D3D12Core.dll and d3d12SDKLayers.dll from the NuGet package Microsoft.Direct3D.D3D12 1.620.2 (build/native/bin/x64) go into D3D12\ beside victory.exe. Both are signed by Microsoft and on the package's list of distributable files.

Checked:

  • dumpbin /exports shows both symbols.
  • victory translate --pipelines <empty folder>, which makes a device and requires shader model 6.6, passes.
  • The title starts and plays.

Worth knowing before taking it upstream:

  • With the exports in place and no D3D12\ folder, Windows 10 makes no device at all: The D3D12 SDK version configuration of the host exe is invalid. A release would have to ship the folder, or victory play could fetch it on first start the way it fetches NVIDIA's files.
  • D3D12SDKPath is relative to the exe's folder, so for the one-file release the folder has to sit in the game folder too.
  • Not tested on Windows 11.

2. Resources used during one session

The session ran about 46 minutes and was ended normally ("title suspended; ending the title"). Frame generation was on at 2x for most of it.

Graphics card

Memory budget Windows reports 15,282 MB
Card memory in use at minute 2 11,153 MB
System memory used by the card at minute 2 9,281 MB
Texture pool in use 13.7 GB at minute 4, rising to 14.6 GB by the end (its line is about 13 GB, 86% of the budget). Five times "no room, new textures wait".
Host copies of title buffers on the card About 2.1 GB, flat
GPU busy, by the layer's own count 28–53%

Process and PC, sampled three times at minute 38:

Private memory of victory.exe 40.36 → 40.80 → 41.32 GB in 50 s
Working set 24.4–25.8 GB
Commit left, whole PC 9.6 → 8.65 GB
Pagefile in use 1.8 GB
CPU About 6.5 of 32 threads busy
Waits for new memory (VICTORY_WAIT_RESIDENT=0 counter) 191,000 over the session, 44.1 s in total, longest 239 ms

For reference, the title reserves 24 GB of address space at start and is told its limit is 13,824 MB.

Frame rate and submitting thread over the session

Minute Rendered/s Shown/s (with FG) GPU busy Submitting thread per frame
2 15.0 29.9 28% 22 ms
15 14.6 28.9 43% 31 ms
19 14.7 29.3 45% 44 ms
29 13.7 26.8 50% 59 ms
35 12.8 25.3 53% 72 ms
39 8.3 15.8 33% 119 ms
41 8.5 16.3 34% 122 ms
45 12.5 19.5 24% 77 ms

The audio was choppy. There are no audio lines in the log, so it is probably the stalls above, but that is a guess.

3. Memory and per-frame CPU work keep growing (possible leak)

Process memory: at minute 38, private memory grew about 1 GB a minute (40.36 → 41.32 GB in 50 s), with 8.65 GB of commit left on the PC. At that rate commit would have run out within ten minutes. The game was closed at minute 46, so I don't know what happens then, and I have no sample from earlier in the session. The memory the log does account for stays flat: host copies on the card at about 2.1 GB, and title memory by address at 4 pages. So whatever grows is not in the log.

Submitting thread: its work per frame went from 22 ms to 72–122 ms, and the GPU is idle behind it, so this is what pulled the frame rate down. Two parts of it grow far more than the rest:

Minute Putting the title's bytes under flights' writes (VICTORY_LATE_WAIT=2) Planning steps done on the card (VICTORY_CARD_STEPS=2)
2 0.6 ms 1.4 ms
17 1.4 ms 5.1 ms
29 10.6 ms 9.8 ms
35 19.2 ms 16.9 ms
37 30.0 ms 14.4 ms

Part of that is the scene, since the area got busier from minute 34. But the cost per unit of work rose as well:

  • Planning took 1.0–1.3 µs per fill up to minute 28, and 2.0–3.6 µs from minute 35.
  • The late wait took about 64 ns per changed run at minute 23, and 143 ns at minute 37.

A cost per unit that rises while the process keeps growing could mean that something these two passes walk keeps getting longer. That is a guess. I can run a diagnostics build or turn on a switch that shows where host memory goes, if one exists.

In-game effects

I started at chapter 1, and the game ran fine at a constant 14 fps real and 28 fps with frame generation. This continued until roughly after I broke Donnie out. That's when I first noticed the quality degrading, around the minute 38 mark where Claude captured the data. From there, the quality degraded drastically. The sound got so choppy and unpleasant that I had to take my headset off. More and more lighting bugs started to appear, and at one point the whole screen just turned white for about 10 seconds. The frame rate dropped to single digits. As soon as a cutscene started to play, the errors lessened slightly, but as soon as it went back to gameplay, they came straight back.

4. Smaller: frame generation can't be switched off on an RTX 40 with 3x–6x selected

An RTX 40 generates at most one frame per rendered frame. With 3x–6x selected in F1, the layer caps it to 2x correctly while frame generation is on. But on every frame without an upscale (menu, loading), it tries to switch frame generation off and passes the uncapped count, which Streamline refuses:

ERROR streamline: ... dlss_gEntry.cpp:1280[slSetData] Input data numFramesToGenerate (2) greater than DLSS-G supported numFramesToGenerateMax (1). Set input data count lower.
INFO victory_gpu::streamline: DLSS Frame Generation switched frame=55188 on=false times=3 code=38 result="invalid state"

This happened 13,399 times in this session. In crates/victory-gpu/src/streamline.rs, the cap to num_frames_to_generate_max sits inside if on && .... On the way off, wanted.max(2) - 1 goes to slDLSSGSetOptions unchanged, the call fails, calls.framegen_on stays true, and it is tried again on the next frame. Applying the cap on the way off too, or sending 1 when off, should fix it.

The full log of the session (42 MB) is available on request.

**@⁠vvarlord** on GitHub · 2026-11-27 18:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138) # Windows 10 + RTX 4080: crash at start without the D3D12 Agility SDK; memory and per-frame CPU work grow during play Three things from building and playing this fork on Windows 10 with an RTX 4080: 1. On Windows 10 every graphics pipeline is refused and the title crashes at start. Shipping the D3D12 Agility SDK 1.620.2 beside `victory.exe` fixes it (patch below). 2. Over a 46-minute session the process's memory grew about 1 GB a minute, and the submitting thread's work per frame grew from 22 ms to over 100 ms. This looks like a leak or a structure that keeps growing. (User: Not sure it is that drastic, growth only checked over a short time) 3. A smaller bug: frame generation can't be switched off on an RTX 40 card while 3x–6x is selected. ## System | | | |---|---| | OS | Windows 10 Pro 22H2, build 19045.7807, hardware-accelerated GPU scheduling on | | CPU | AMD Ryzen 9 9950X3D, 16 cores / 32 threads | | RAM | 64 GB DDR5-6000 (62 GB usable), system-managed pagefile (20–24 GB) | | GPU | NVIDIA GeForce RTX 4080 16 GB, driver 617.42 | | Displays | 3440×1440 at 144 Hz (primary), 2560×1440 at 144 Hz, 2560×1440 at 120 Hz, all on the RTX 4080. The title ran windowed on the Primary one. | | Game drive | Samsung 990 PRO 4 TB, NVMe SSD | | Build | Rust 1.98.1 (the pinned toolchain), MSVC 14.39, `cargo build --release --locked -p victory` | | NVIDIA files | Streamline 2.14.16, DLSS and DLSS-G 310.9.16, fetched by the program on first start | | Settings | Double-click start (`victory play` defaults): Series X profile, native 2560×1440, DLSS Quality, no frame-rate cap, frame generation made ready; switched on at 2x from F1 | ## 1. Windows 10: every graphics pipeline refused, crash at start **What happens:** after the NVIDIA download the window opens, then the title crashes. Its own crash handler reports "Game State: Game Init" at frame 0, and the layer blocks the minidump upload. It happened the same way on both runs. **In the log**, for every graphics pipeline (457 of 457 in one run): ``` WARN victory_gpu::pipeline::host: root signature: Unsupported bit-flag set (root signature flags c01). WARN victory_gpu::pipeline::host: host root signature refused error=The parameter is incorrect. (0x80070057) shaders=[vertex 06dfe17b32337aa0, pixel 394abb74a7a2ade7] ``` **Cause:** `root_signature()` in `crates/victory-gpu/src/pipeline/host.rs` always sets `CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED`, which need shader model 6.6. Windows 10's in-box Direct3D 12 runtime (`D3D12Core.dll` 10.0.19041.7291 here) has no shader model 6.6 and rejects those flags. The README lists Windows 10 as supported, but the measurements were all taken on Windows 11. **Fix used here:** the D3D12 Agility SDK. `victory.exe` exports `D3D12SDKVersion` and `D3D12SDKPath`, and Direct3D 12 then loads a newer runtime from a `D3D12\` folder beside the exe. ```diff --- /dev/null +++ b/apps/victory/build.rs @@ -0,0 +1,14 @@ +//! Exports `D3D12SDKVersion` and `D3D12SDKPath` (`src/main.rs`) from the +//! program: Direct3D 12 looks for them among the executable's exports to +//! load the D3D12 Agility SDK's runtime in place of Windows' own. + +fn main() { + println!("cargo:rerun-if-changed=build.rs"); + let windows = std::env::var("CARGO_CFG_TARGET_OS").is_ok_and(|os| os == "windows"); + let msvc = std::env::var("CARGO_CFG_TARGET_ENV").is_ok_and(|env| env == "msvc"); + if windows && msvc { + for name in ["D3D12SDKVersion", "D3D12SDKPath"] { + println!("cargo:rustc-link-arg-bins=/EXPORT:{name},DATA"); + } + } +} --- a/apps/victory/src/main.rs +++ b/apps/victory/src/main.rs @@ -20,3 +20,18 @@ use anyhow::Result; use clap::{Parser, Subcommand, ValueEnum}; +/// The D3D12 Agility SDK, exported from the program by `build.rs`: Windows +/// 10's own Direct3D 12 runtime has no shader model 6.6, so it refuses every +/// root signature the translator makes (directly indexed heaps) and the title +/// goes without its pipelines. Microsoft's `D3D12Core.dll` of this version +/// (and `d3d12SDKLayers.dll` for the debug layer) must be in a `D3D12` folder +/// beside the program: Direct3D 12 then loads that runtime in place of +/// Windows' own, and without it makes no device on a Windows older than it. +#[cfg(windows)] +#[allow(non_upper_case_globals)] +#[unsafe(no_mangle)] +pub static D3D12SDKVersion: u32 = 620; +#[cfg(windows)] +#[allow(non_upper_case_globals)] +#[unsafe(no_mangle)] +pub static D3D12SDKPath: &[u8; 9] = b".\\D3D12\\\0"; ``` Then `D3D12Core.dll` and `d3d12SDKLayers.dll` from the NuGet package [Microsoft.Direct3D.D3D12 1.620.2](https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.620.2) (`build/native/bin/x64`) go into `D3D12\` beside `victory.exe`. Both are signed by Microsoft and on the package's list of distributable files. **Checked:** - `dumpbin /exports` shows both symbols. - `victory translate --pipelines <empty folder>`, which makes a device and requires shader model 6.6, passes. - The title starts and plays. **Worth knowing before taking it upstream:** - With the exports in place and no `D3D12\` folder, Windows 10 makes no device at all: `The D3D12 SDK version configuration of the host exe is invalid`. A release would have to ship the folder, or `victory play` could fetch it on first start the way it fetches NVIDIA's files. - `D3D12SDKPath` is relative to the exe's folder, so for the one-file release the folder has to sit in the game folder too. - Not tested on Windows 11. ## 2. Resources used during one session The session ran about 46 minutes and was ended normally ("title suspended; ending the title"). Frame generation was on at 2x for most of it. **Graphics card** | | | |---|---| | Memory budget Windows reports | 15,282 MB | | Card memory in use at minute 2 | 11,153 MB | | System memory used by the card at minute 2 | 9,281 MB | | Texture pool in use | 13.7 GB at minute 4, rising to 14.6 GB by the end (its line is about 13 GB, 86% of the budget). Five times "no room, new textures wait". | | Host copies of title buffers on the card | About 2.1 GB, flat | | GPU busy, by the layer's own count | 28–53% | **Process and PC**, sampled three times at minute 38: | | | |---|---| | Private memory of `victory.exe` | 40.36 → 40.80 → 41.32 GB in 50 s | | Working set | 24.4–25.8 GB | | Commit left, whole PC | 9.6 → 8.65 GB | | Pagefile in use | 1.8 GB | | CPU | About 6.5 of 32 threads busy | | Waits for new memory (`VICTORY_WAIT_RESIDENT=0` counter) | 191,000 over the session, 44.1 s in total, longest 239 ms | For reference, the title reserves 24 GB of address space at start and is told its limit is 13,824 MB. **Frame rate and submitting thread over the session** | Minute | Rendered/s | Shown/s (with FG) | GPU busy | Submitting thread per frame | |---|---|---|---|---| | 2 | 15.0 | 29.9 | 28% | 22 ms | | 15 | 14.6 | 28.9 | 43% | 31 ms | | 19 | 14.7 | 29.3 | 45% | 44 ms | | 29 | 13.7 | 26.8 | 50% | 59 ms | | 35 | 12.8 | 25.3 | 53% | 72 ms | | 39 | 8.3 | 15.8 | 33% | 119 ms | | 41 | 8.5 | 16.3 | 34% | 122 ms | | 45 | 12.5 | 19.5 | 24% | 77 ms | The audio was choppy. There are no audio lines in the log, so it is probably the stalls above, but that is a guess. ## 3. Memory and per-frame CPU work keep growing (possible leak) **Process memory:** at minute 38, private memory grew about 1 GB a minute (40.36 → 41.32 GB in 50 s), with 8.65 GB of commit left on the PC. At that rate commit would have run out within ten minutes. The game was closed at minute 46, so I don't know what happens then, and I have no sample from earlier in the session. The memory the log does account for stays flat: host copies on the card at about 2.1 GB, and title memory by address at 4 pages. So whatever grows is not in the log. **Submitting thread:** its work per frame went from 22 ms to 72–122 ms, and the GPU is idle behind it, so this is what pulled the frame rate down. Two parts of it grow far more than the rest: | Minute | Putting the title's bytes under flights' writes (`VICTORY_LATE_WAIT=2`) | Planning steps done on the card (`VICTORY_CARD_STEPS=2`) | |---|---|---| | 2 | 0.6 ms | 1.4 ms | | 17 | 1.4 ms | 5.1 ms | | 29 | 10.6 ms | 9.8 ms | | 35 | 19.2 ms | 16.9 ms | | 37 | 30.0 ms | 14.4 ms | Part of that is the scene, since the area got busier from minute 34. But the cost per unit of work rose as well: - Planning took 1.0–1.3 µs per fill up to minute 28, and 2.0–3.6 µs from minute 35. - The late wait took about 64 ns per changed run at minute 23, and 143 ns at minute 37. A cost per unit that rises while the process keeps growing could mean that something these two passes walk keeps getting longer. That is a guess. I can run a diagnostics build or turn on a switch that shows where host memory goes, if one exists. ### In-game effects I started at chapter 1, and the game ran fine at a constant 14 fps real and 28 fps with frame generation. This continued until roughly after I broke Donnie out. That's when I first noticed the quality degrading, around the minute 38 mark where Claude captured the data. From there, the quality degraded drastically. The sound got so choppy and unpleasant that I had to take my headset off. More and more lighting bugs started to appear, and at one point the whole screen just turned white for about 10 seconds. The frame rate dropped to single digits. As soon as a cutscene started to play, the errors lessened slightly, but as soon as it went back to gameplay, they came straight back. ## 4. Smaller: frame generation can't be switched off on an RTX 40 with 3x–6x selected An RTX 40 generates at most one frame per rendered frame. With 3x–6x selected in F1, the layer caps it to 2x correctly while frame generation is on. But on every frame without an upscale (menu, loading), it tries to switch frame generation off and passes the uncapped count, which Streamline refuses: ``` ERROR streamline: ... dlss_gEntry.cpp:1280[slSetData] Input data numFramesToGenerate (2) greater than DLSS-G supported numFramesToGenerateMax (1). Set input data count lower. INFO victory_gpu::streamline: DLSS Frame Generation switched frame=55188 on=false times=3 code=38 result="invalid state" ``` This happened 13,399 times in this session. In `crates/victory-gpu/src/streamline.rs`, the cap to `num_frames_to_generate_max` sits inside `if on && ...`. On the way off, `wanted.max(2) - 1` goes to `slDLSSGSetOptions` unchanged, the call fails, `calls.framegen_on` stays `true`, and it is tried again on the next frame. Applying the cap on the way off too, or sending 1 when off, should fix it. The full log of the session (42 MB) is available on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:46:21 +00:00
Author
Owner

@⁠CuteBooty on GitHub · 2026-11-27 19:04 UTC · original

A data point for your point 2 and 3 (memory and per-frame work growing), from much smaller hardware: RTX 3070 8 GB, Ryzen 5 3600, 32 GB, Windows 11, Series S profile at 1080p, no DLSS, built from source.

I saw growth that follows play in the same way and counted where it came from. On this PC it was the table of placed-view shapes: padding words in the descriptions carry garbage, so nearly every buffer view looks new, the table (4,194,304 shapes) fills inside about 30 minutes of play, and after that views fall through to entries that are never released.

#58 fixes exactly this, and it is approved but not merged yet. With my own local patch of the same idea (not that branch):

Before (1010e023, 30 min) After (d12eb1b2 + patch, 37 min)
Placed-view shapes kept 4,188,419 (table full) 121,022
Views that fell through to never-released entries 246,627 0
Private memory, minute 10 -> 30 rising, about +2 GB flat within about 0.2 GB

More detail is in my comment on #58.

So it may be worth repeating your 46-minute session on the #58 branch: if the same thing is behind your numbers, the growth per minute and the submitting thread's time should both stop climbing. Your log can tell beforehand: in the memory, more lines, look at shapes of placed views kept and see whether it runs up to 4,194,304.

What I can not say from my runs:

  • I did not measure the submitting thread's time over a session, so I can not confirm that part of your report, only the memory part.
  • One session each, different routes, different base commits.
  • Something else still grows here: with the table small, private memory was flat for 20 minutes and then rose from about 21.3 to 23.6 GB in the last six minutes of the session. I have not found its cause. On Series X at 1440p your figures are far larger than mine, so there may be more than one grower in your run too.

No logs attached (mine carry local paths); I can post trimmed lines if useful.

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

**@⁠CuteBooty** on GitHub · 2026-11-27 19:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7226164130) A data point for your point 2 and 3 (memory and per-frame work growing), from much smaller hardware: RTX 3070 8 GB, Ryzen 5 3600, 32 GB, Windows 11, Series S profile at 1080p, no DLSS, built from source. I saw growth that follows play in the same way and counted where it came from. On this PC it was the table of placed-view shapes: padding words in the descriptions carry garbage, so nearly every buffer view looks new, the table (4,194,304 shapes) fills inside about 30 minutes of play, and after that views fall through to entries that are never released. **#58 fixes exactly this**, and it is approved but not merged yet. With my own local patch of the same idea (not that branch): | | Before (`1010e023`, 30 min) | After (`d12eb1b2` + patch, 37 min) | |---|---|---| | Placed-view shapes kept | 4,188,419 (table full) | 121,022 | | Views that fell through to never-released entries | 246,627 | 0 | | Private memory, minute 10 -> 30 | rising, about +2 GB | flat within about 0.2 GB | More detail is in my comment on #58. So it may be worth repeating your 46-minute session on the #58 branch: if the same thing is behind your numbers, the growth per minute and the submitting thread's time should both stop climbing. Your log can tell beforehand: in the `memory, more` lines, look at `shapes of placed views kept` and see whether it runs up to 4,194,304. What I can not say from my runs: - I did not measure the submitting thread's time over a session, so I can not confirm that part of your report, only the memory part. - One session each, different routes, different base commits. - Something else still grows here: with the table small, private memory was flat for 20 minutes and then rose from about 21.3 to 23.6 GB in the last six minutes of the session. I have not found its cause. On Series X at 1440p your figures are far larger than mine, so there may be more than one grower in your run too. No logs attached (mine carry local paths); I can post trimmed lines if useful. Measurements and this note were prepared with an AI assistant (Claude Code); the runs were played on my machine.
Author
Owner

@⁠BE29ZZ on GitHub · 2026-11-27 20:00 UTC · original

Opened #237 to fix item 4 (turning DLSS Frame Generation off on RTX 40 cards when 3x–6x is selected in F1 now passes num_frames_to_generate = 1 instead of the uncapped count, preventing the code=38 loop).

**@⁠BE29ZZ** on GitHub · 2026-11-27 20:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7227080156) Opened #237 to fix item 4 (turning DLSS Frame Generation off on RTX 40 cards when 3x–6x is selected in F1 now passes `num_frames_to_generate = 1` instead of the uncapped count, preventing the `code=38` loop).
Author
Owner

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

v2026.11.27.4 (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.4) includes a fix for memory that keeps growing during play (PR #58). The same view became a new table entry every time the game rewrote it, reaching millions of entries and gigabytes after 15+ minutes. That's what ends in "not enough memory" (0x8007000E) and then the GPU dropping out. Please try the new exe. If it still runs out, attach the new play log. On a 16 GB RAM PC, Series S in the F1 menu also helps a lot.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7227212601) **v2026.11.27.4** (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.4) includes a fix for memory that keeps growing during play (PR #58). The same view became a new table entry every time the game rewrote it, reaching millions of entries and gigabytes after 15+ minutes. That's what ends in "not enough memory" (0x8007000E) and then the GPU dropping out. Please try the new exe. If it still runs out, attach the new play log. On a 16 GB RAM PC, Series S in the F1 menu also helps a lot.
Author
Owner

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

A fix for this is released: v2026.11.27.6 (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6).

Your log shows the start-up crash 0x887E0003, "The D3D12 SDK version configuration of the host exe is invalid" (D3D12SerializeVersionedRootSignature). victory.exe kept asking Windows for Direct3D 12 1.614 whatever was there, and releases before .6 could not change that. Now it asks for the version that is actually there: the D3D12 folder's, or Windows' own.

On Windows 10 it then offers to download Microsoft's 1.614, because Windows 10's own is too old for the game's shaders. Answer Y, or run victory.exe get-d3d12 in that folder.

Please try .6 and tell me if it starts. If it doesn't, attach the new victory-nvidia-play-*.log and crashes.log (both in %LOCALAPPDATA%\victory\logs) and your Windows version (winver).

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7228022799) A fix for this is released: **v2026.11.27.6** (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Your log shows the start-up crash 0x887E0003, "The D3D12 SDK version configuration of the host exe is invalid" (D3D12SerializeVersionedRootSignature). victory.exe kept asking Windows for Direct3D 12 1.614 whatever was there, and releases before .6 could not change that. Now it asks for the version that is actually there: the `D3D12` folder's, or Windows' own. On Windows 10 it then offers to download Microsoft's 1.614, because Windows 10's own is too old for the game's shaders. Answer Y, or run `victory.exe get-d3d12` in that folder. Please try .6 and tell me if it starts. If it doesn't, attach the new `victory-nvidia-play-*.log` and `crashes.log` (both in %LOCALAPPDATA%\victory\logs) and your Windows version (`winver`).
Author
Owner

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

For Windows 10: v2026.11.27.7 (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.7) should fix the close a second after the start. Windows 10's own Direct3D 12 refuses a kind of root signature the translated shaders need, even when it reports shader model 6.8, so .6 never offered Microsoft's newer runtime there. Now, on Windows 10 without a D3D12 folder, victory.exe always offers it at the first start: answer Y (Microsoft's own, from nuget.org, about 22 MB, signed by Microsoft), or run victory.exe get-d3d12 in that folder. If it still fails, please attach the newest victory-nvidia-play-*.log from %LOCALAPPDATA%\victory\logs\ and %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log from that run.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7228544266) For Windows 10: **v2026.11.27.7** (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.7) should fix the close a second after the start. Windows 10's own Direct3D 12 refuses a kind of root signature the translated shaders need, even when it reports shader model 6.8, so .6 never offered Microsoft's newer runtime there. Now, on Windows 10 without a `D3D12` folder, victory.exe always offers it at the first start: answer **Y** (Microsoft's own, from nuget.org, about 22 MB, signed by Microsoft), or run `victory.exe get-d3d12` in that folder. If it still fails, please attach the newest `victory-nvidia-play-*.log` from `%LOCALAPPDATA%\victory\logs\` and `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log` from that run.
Author
Owner

@⁠vvarlord on GitHub · 2026-11-27 21:52 UTC · original

ok, can confirm the installer on windows 10 works, going to test now what happens on a longer session and will report back, thanks for the quick fix.

**@⁠vvarlord** on GitHub · 2026-11-27 21:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7228827635) ok, can confirm the installer on windows 10 works, going to test now what happens on a longer session and will report back, thanks for the quick fix.
Author
Owner

@⁠vvarlord on GitHub · 2026-11-27 23:47 UTC · original

ok i just played for 2 hours and did not have any issues, so looks like the fix worked. At least on my machine ^^

**@⁠vvarlord** on GitHub · 2026-11-27 23:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/138#issuecomment-7230409911) ok i just played for 2 hours and did not have any issues, so looks like the fix worked. At least on my machine ^^
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

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