Mesh pipelines fail with E_OUTOFMEMORY (0x8007000E) on RTX 5070 Ti / driver 621.40 — 354 of 1,840 used pipelines never get a host pipeline, warm cannot recover them #4896

Open
opened 2026-12-01 13:12:07 +00:00 by wbn6666 · 1 comment
wbn6666 commented 2026-12-01 13:12:07 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wbn6666 on 2026-12-01T13:12:07Z.


Summary

On this machine, a fresh v2026.11.30.03 install translates every shader fine (25,789 in the cache, 0 pipeline-translation failures), but 354 of the 1,840 pipelines the title actually used never get a host pipeline. They are refused at host-pipeline creation with hr=0x8007000E (E_OUTOFMEMORY); 227 of the 244 keys I could capture are stage="mesh" and 17 are stage="graphics", lacks="".

The failures are deterministic: same count with 8, 2 and 1 compile processes, with ~97 GB of commit headroom free, and with VICTORY_MESH_OUTPUT_STRICT=all. Only an incidental retry moved anything (40 built on one pass), and the remaining 354 then failed again 354/354.

Because a mesh pipeline has no vertex-path fallback in HostPipeline::new (see "Why this shows up as missing picture"), those 354 keys simply have no host pipeline, their draws are dropped ("draws dropped for pipelines not made yet"), and the picture is missing those effects for the whole session.

GPU, CPU, RAM, OS

GPU NVIDIA GeForce RTX 5070 Ti, 16 GB
Driver 621.40.0
HAGS (hardware GPU scheduling) on (DLSS-G reports "hardware GPU scheduling" as met)
CPU Ryzen 7 9800X3D (8C/16T)
RAM 47.2 GB
Pagefile 73,728 MB on E: (fixed, not system-managed)
Commit limit / free during the single-process run 119.2 GB / 97.2 GB
Windows 10.0.26300
D3D12 runtime actually loaded C:\windows\SYSTEM32\D3D12Core.dll, 10.0.26100.9818

Build

  • Release: v2026.11.30.03, victory.exe SHA-256 d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711, 16,770,560 bytes
  • Streamline SDK 2.14.16 from NVIDIA's GitHub, 8 DLLs, all NVIDIA-signed; upscaler-check reports DLSS / frame generation / Reflex all supported
  • Clean install: the previous cache and launcher were removed before this; %LOCALAPPDATA%\victory\cache does not exist, the cache is yunxing2\cache (1.3 GB after preload), saves untouched

Settings

--series-s --res 1440 --dlss quality --framegen 6 --fps 120
fullscreen, keyboard + mouse, FPS line on

What was run

All with VICTORY_HOME=yunxing2\runtime, VICTORY_CACHE_DIR=yunxing2\cache, VICTORY_STREAMLINE_DIR=...\runtime\nvidia-sdk\Streamline\bin\x64.

# Command Result
1 preload GAMEFOLDER --jobs 8 25,789 shaders, 2,073 do not translate (2069 container without a program, 3 malformed, 1 lane mask); 1,840 to warm -> 1,682 made, 286 with no host pipeline; 244 distinct refusal keys logged (227 mesh, 17 graphics)
2 preload GAMEFOLDER --jobs 2 286 to make -> 286 with no host pipeline
3 warm --used --jobs 2 with VICTORY_MESH_OUTPUT_STRICT=all 2,099 to warm, 1,700 already made -> 394 to make -> 394 with no host pipeline
4 warm --used --jobs 1 (commit free 97.2 GB) 394 to make -> 394 with no host pipeline
5 same, with Microsoft Agility SDK 1.614.1 app-local in yunxing2\D3D12 engine logged runtime=Some("C:\windows\SYSTEM32\D3D12Core.dll") and ignored it; 394 to make -> 354 with no host pipeline (40 built this pass, warm-done 2,879 -> 2,919)
6 same as 5 354 to make -> 354 with no host pipeline

Every run exited 0, no process ended, warm-bad.txt stayed empty (0 bytes). So this is not a crash being recorded as a bad pipeline — it is a plain refusal.

Refusal lines look like this (only 244 keys ever got logged, because they are logged once per key):

WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key)
  key="005fe88ec1bdc0c7+93667197d3d05e1c" stage="mesh" hr=0x8007000e lacks=""
  reason="mesh 0x8007000e" error=内存资源不足,无法完成此操作。 (0x8007000E)

The device is healthy at the time — from the same preload log:

INFO victory_gpu::compilemem: compile memory: process 8488 MB private, 8558 MB in memory;
  the PC has 26088 MB free and 167855 MB left to commit ... pressured=false
INFO victory_gpu::pipeline::refused: host shader caps shader_model=6.8 ... binding_tier=3
  mesh_tier=10 ... (nothing missing: lacks="")

What I already ruled out

  • Memory pressure / commit limit. Not it here: 47.2 GB RAM, 73 GB pagefile, 119 GB commit limit, 97 GB commit free at the moment of the single-process run, and compilemem says pressured=false. In contrast there is a report in this tracker where exactly this failure class goes to zero when the pagefile goes 10 GB -> 32 GB; that lever has nothing left to give on this machine.
  • Concurrency. 8, 2 and 1 compile processes give the same result; --jobs 1 fails every single one of the 394.
  • The 32 KiB mesh output limit. VICTORY_MESH_OUTPUT_STRICT=all changes neither the count nor the message.
  • D3D12 runtime. The system runtime (10.0.26100.9818) is newer than Agility 1.614.1, so the app-local copy was ignored by design; nothing to learn from that pass.
  • Cold cache / shaders. 25,789 shaders translated, 0 pipeline translation failures; the 2,073 untranslatable shaders are the known container/malformed ones and are unrelated to these keys.
  • Stale pipeline library. known-pipelines.bin was written by this very build (50,323,409 bytes) after a clean install.

Why this shows up as missing picture

crates/victory-gpu/src/pipeline/host.rs, HostPipeline:🆕 if a mesh stage is present the only path is mesh_pipeline(...) (a pipeline-state stream with MS/PS and a triangle topology); on Err it does:

Err(e) => {
    tracing::warn!(error = %e, ?shaders, "host mesh pipeline refused");
    host.log_messages();
    return None;
}

There is no second attempt without the mesh stage, so a refused mesh pipeline is simply absent, and draw drops the draws that need it ("draws dropped for pipelines not made yet frame=..."). In the play log this is visible as 37 pipelines dropped in a single frame 4464, and the same keys recur across frames.

Guess

E_OUTOFMEMORY out of CreatePipelineState for a translated mesh pipeline, with lacks="" and mesh_tier=10, on driver 621.40 — this looks like the driver's mesh-PSO compiler refusing a translated mesh shader (payload / descriptor / constant-bank footprint) and reporting E_OUTOFMEMORY rather than a limit error. It matches the 621.40 reports already in this tracker (e.g. #4122, #4722), one of which is 621.40 + build 26300 with 93 of 108 failures mesh, i.e. it may be a driver-version interaction rather than a translation bug.

Three things would settle it, in order of cost:

  1. Anything in the log I can turn on to get the real reason out of the driver for one key (the refusal is one line with lacks=""; VICTORY_PIPELINE_DROP_LOG / VICTORY_LOOSE_PSO_TRACE only trace identity).
  2. Whether a translated mesh shader that fails here is within the host's limits by your accounting — i.e. is this expected to be buildable at all on mesh_tier=10, or is there a known "too big to build" bucket I should expect?
  3. Whether you consider it worth trying another driver version before anything else; I can test whatever build you suggest and report back with the same measurements.

Attachments

  • victory-failed-pipeline-keys.csv — the 244 captured keys with stage and hr (227 mesh, 17 graphics)
  • victory-issue-logs.zip — preload-manual.log (3,989 lines), preload-pass2.log, warm-pass3b-used-strict.log, warm-pass4-jobs1.log, warm-pass5-agility.log, warm-pass6.log
  • Cache inventory after preload: 1.3 GB (913.7 MB shaders, 340.3 MB pipelines), known-pipelines.bin 50,323,409 bytes

Happy to run any build you want tested, or to narrow the key list down to a single reproducible one if you prefer a minimal case.

victory-failed-pipeline-keys.csv

victory-issue-logs.zip

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6721161437 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4896). Originally posted by [wbn6666](https://github.com/wbn6666) on 2026-12-01T13:12:07Z. --- ## Summary On this machine, a fresh v2026.11.30.03 install translates every shader fine (25,789 in the cache, 0 pipeline-translation failures), but **354 of the 1,840 pipelines the title actually used never get a host pipeline**. They are refused at host-pipeline creation with hr=0x8007000E (E_OUTOFMEMORY); 227 of the 244 keys I could capture are stage="mesh" and 17 are stage="graphics", lacks="". The failures are deterministic: same count with 8, 2 and 1 compile processes, with ~97 GB of commit headroom free, and with VICTORY_MESH_OUTPUT_STRICT=all. Only an incidental retry moved anything (40 built on one pass), and the remaining 354 then failed again 354/354. Because a mesh pipeline has no vertex-path fallback in HostPipeline::new (see "Why this shows up as missing picture"), those 354 keys simply have no host pipeline, their draws are dropped ("draws dropped for pipelines not made yet"), and the picture is missing those effects for the whole session. ## GPU, CPU, RAM, OS | | | |---|---| | GPU | NVIDIA GeForce RTX 5070 Ti, 16 GB | | Driver | 621.40.0 | | HAGS (hardware GPU scheduling) | on (DLSS-G reports "hardware GPU scheduling" as met) | | CPU | Ryzen 7 9800X3D (8C/16T) | | RAM | 47.2 GB | | Pagefile | 73,728 MB on E: (fixed, not system-managed) | | Commit limit / free during the single-process run | 119.2 GB / 97.2 GB | | Windows | 10.0.26300 | | D3D12 runtime actually loaded | C:\windows\SYSTEM32\D3D12Core.dll, 10.0.26100.9818 | ## Build - Release: **v2026.11.30.03**, victory.exe SHA-256 d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711, 16,770,560 bytes - Streamline SDK 2.14.16 from NVIDIA's GitHub, 8 DLLs, all NVIDIA-signed; upscaler-check reports DLSS / frame generation / Reflex all supported - Clean install: the previous cache and launcher were removed before this; %LOCALAPPDATA%\victory\cache does not exist, the cache is yunxing2\cache (1.3 GB after preload), saves untouched ## Settings --series-s --res 1440 --dlss quality --framegen 6 --fps 120 fullscreen, keyboard + mouse, FPS line on ## What was run All with VICTORY_HOME=yunxing2\runtime, VICTORY_CACHE_DIR=yunxing2\cache, VICTORY_STREAMLINE_DIR=...\runtime\nvidia-sdk\Streamline\bin\x64. | # | Command | Result | |---|---|---| | 1 | preload GAMEFOLDER --jobs 8 | 25,789 shaders, 2,073 do not translate (2069 container without a program, 3 malformed, 1 lane mask); 1,840 to warm -> **1,682 made, 286 with no host pipeline**; 244 distinct refusal keys logged (227 mesh, 17 graphics) | | 2 | preload GAMEFOLDER --jobs 2 | 286 to make -> **286 with no host pipeline** | | 3 | warm --used --jobs 2 with VICTORY_MESH_OUTPUT_STRICT=all | 2,099 to warm, 1,700 already made -> 394 to make -> **394 with no host pipeline** | | 4 | warm --used --jobs 1 (commit free 97.2 GB) | 394 to make -> **394 with no host pipeline** | | 5 | same, with Microsoft Agility SDK 1.614.1 app-local in yunxing2\D3D12 | engine logged runtime=Some("C:\windows\SYSTEM32\D3D12Core.dll") and ignored it; 394 to make -> **354 with no host pipeline** (40 built this pass, warm-done 2,879 -> 2,919) | | 6 | same as 5 | 354 to make -> **354 with no host pipeline** | Every run exited 0, no process ended, warm-bad.txt stayed empty (0 bytes). So this is not a crash being recorded as a bad pipeline — it is a plain refusal. Refusal lines look like this (only 244 keys ever got logged, because they are logged once per key): WARN victory_gpu::pipeline::refused: host pipeline failed (logged once per key) key="005fe88ec1bdc0c7+93667197d3d05e1c" stage="mesh" hr=0x8007000e lacks="" reason="mesh 0x8007000e" error=内存资源不足,无法完成此操作。 (0x8007000E) The device is healthy at the time — from the same preload log: INFO victory_gpu::compilemem: compile memory: process 8488 MB private, 8558 MB in memory; the PC has 26088 MB free and 167855 MB left to commit ... pressured=false INFO victory_gpu::pipeline::refused: host shader caps shader_model=6.8 ... binding_tier=3 mesh_tier=10 ... (nothing missing: lacks="") ## What I already ruled out - **Memory pressure / commit limit.** Not it here: 47.2 GB RAM, 73 GB pagefile, 119 GB commit limit, 97 GB commit free at the moment of the single-process run, and compilemem says pressured=false. In contrast there is a report in this tracker where exactly this failure class goes to zero when the pagefile goes 10 GB -> 32 GB; that lever has nothing left to give on this machine. - **Concurrency.** 8, 2 and 1 compile processes give the same result; --jobs 1 fails every single one of the 394. - **The 32 KiB mesh output limit.** VICTORY_MESH_OUTPUT_STRICT=all changes neither the count nor the message. - **D3D12 runtime.** The system runtime (10.0.26100.9818) is newer than Agility 1.614.1, so the app-local copy was ignored by design; nothing to learn from that pass. - **Cold cache / shaders.** 25,789 shaders translated, 0 pipeline translation failures; the 2,073 untranslatable shaders are the known container/malformed ones and are unrelated to these keys. - **Stale pipeline library.** known-pipelines.bin was written by this very build (50,323,409 bytes) after a clean install. ## Why this shows up as missing picture crates/victory-gpu/src/pipeline/host.rs, HostPipeline::new: if a mesh stage is present the only path is mesh_pipeline(...) (a pipeline-state stream with MS/PS and a triangle topology); on Err it does: Err(e) => { tracing::warn!(error = %e, ?shaders, "host mesh pipeline refused"); host.log_messages(); return None; } There is no second attempt without the mesh stage, so a refused mesh pipeline is simply absent, and draw drops the draws that need it ("draws dropped for pipelines not made yet frame=..."). In the play log this is visible as 37 pipelines dropped in a single frame 4464, and the same keys recur across frames. ## Guess E_OUTOFMEMORY out of CreatePipelineState for a *translated* mesh pipeline, with lacks="" and mesh_tier=10, on driver 621.40 — this looks like the driver's mesh-PSO compiler refusing a translated mesh shader (payload / descriptor / constant-bank footprint) and reporting E_OUTOFMEMORY rather than a limit error. It matches the 621.40 reports already in this tracker (e.g. #4122, #4722), one of which is 621.40 + build 26300 with 93 of 108 failures mesh, i.e. it may be a driver-version interaction rather than a translation bug. Three things would settle it, in order of cost: 1. Anything in the log I can turn on to get the *real* reason out of the driver for one key (the refusal is one line with lacks=""; VICTORY_PIPELINE_DROP_LOG / VICTORY_LOOSE_PSO_TRACE only trace identity). 2. Whether a translated mesh shader that fails here is within the host's limits by your accounting — i.e. is this expected to be buildable at all on mesh_tier=10, or is there a known "too big to build" bucket I should expect? 3. Whether you consider it worth trying another driver version before anything else; I can test whatever build you suggest and report back with the same measurements. ## Attachments - victory-failed-pipeline-keys.csv — the 244 captured keys with stage and hr (227 mesh, 17 graphics) - victory-issue-logs.zip — preload-manual.log (3,989 lines), preload-pass2.log, warm-pass3b-used-strict.log, warm-pass4-jobs1.log, warm-pass5-agility.log, warm-pass6.log - Cache inventory after preload: 1.3 GB (913.7 MB shaders, 340.3 MB pipelines), known-pipelines.bin 50,323,409 bytes Happy to run any build you want tested, or to narrow the key list down to a single reproducible one if you prefer a minimal case. [victory-failed-pipeline-keys.csv](https://github.com/user-attachments/files/35683974/victory-failed-pipeline-keys.csv) [victory-issue-logs.zip](https://github.com/user-attachments/files/35683993/victory-issue-logs.zip)
tyr0nsur commented 2026-12-01 13:27:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-12-01T13:27:27Z.


I compared the attached logs. The two preload passes report the same 244 paired shader keys and stages (227 mesh, 17 graphics) with 0x8007000E. The later warm --used passes select 2,099 entries, while the initial preload selected 1,840. The latest warm result is 354 failures from the 354 remaining attempts in that later selection. All six logs report the System32 runtime, including the Agility SDK pass.

For the next run, the current warm parent discards its workers' stderr. Use the existing file logger to capture their warnings before they exit. In PowerShell, from the same directory and with the same cache/settings as the single-worker run:

$env:VICTORY_LOG_FILE = Join-Path $env:TEMP ('victory-warm-4896-' + (Get-Date -Format yyyyMMdd-HHmmss) + '.log')
$env:VICTORY_LOG_SYNC = '1'
.\victory.exe warm --used --jobs 1

I verified the logger with a synthetic Windows parent/child using the same stderr and stdout setup. The child warning reaches the file even when the child exits immediately. A redacted example of the first host pipeline failed line from this run would tell us more about the remaining mesh cases than the aggregate count. #1923 is the existing PR for exposing per-entry outcomes directly.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7312654665 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4896#issuecomment-7312654665). Originally posted by [tyr0nsur](https://github.com/tyr0nsur) on 2026-12-01T13:27:27Z. --- I compared the attached logs. The two preload passes report the same 244 paired shader keys and stages (227 mesh, 17 graphics) with `0x8007000E`. The later `warm --used` passes select 2,099 entries, while the initial preload selected 1,840. The latest warm result is 354 failures from the 354 remaining attempts in that later selection. All six logs report the System32 runtime, including the Agility SDK pass. For the next run, the current `warm` parent discards its workers' stderr. Use the existing file logger to capture their warnings before they exit. In PowerShell, from the same directory and with the same cache/settings as the single-worker run: ```powershell $env:VICTORY_LOG_FILE = Join-Path $env:TEMP ('victory-warm-4896-' + (Get-Date -Format yyyyMMdd-HHmmss) + '.log') $env:VICTORY_LOG_SYNC = '1' .\victory.exe warm --used --jobs 1 ``` I verified the logger with a synthetic Windows parent/child using the same stderr and stdout setup. The child warning reaches the file even when the child exits immediately. A redacted example of the first `host pipeline failed` line from this run would tell us more about the remaining mesh cases than the aggregate count. #1923 is the existing PR for exposing per-entry outcomes directly.
Sign in to join this conversation.
No labels
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.

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