a pipeline made from loose parts": pipeline deserialization always fails with "malformed shader: unknown loose metadata version" (make=false) — RTX 5080, series-s & series-x #3329

Closed
opened 2026-11-29 21:55:37 +00:00 by github-bot · 1 comment
Owner

@⁠LoreRealm on GitHub · 2026-11-29 21:50 UTC · original

"a pipeline made from loose parts": pipeline deserialization always fails with "malformed shader: unknown loose metadata version" (make=false) — RTX 5080, series-s & series-x

Related, partially overlapping: #2017 (view-heap cap, dropped draws/dispatches, wave64 lowering, commit pressure) and #2957 (loose pipeline deserialization warnings, XMemVirtualAlloc os error 8 on RTX 4090). This report covers what neither covers: the deserialization failures themselves, with hashes and repro data. Not a duplicate — see "Relationship to #2017 / #2957" below.

Environment

  • OS: Windows (10.0.26300), GPU driver 610.88.0
  • GPU: NVIDIA GeForce RTX 5080 (15977 MB own memory; VRAM budget reported ~15209 MB)
  • Build: victory release build, --console series-s (also reproduced with series-x)
  • Title: game_scarlett_master.exe, launched via victory.exe
  • Streamline SDK 2.14.16 via manual hooking (sl.interposer.dll); NGX 310.9.16; DLSS SR + FG loaded (multiple modes tested), Reflex on
  • Display: borderless fullscreen 3440x1440, content 1920x1080, SDR (HDR disabled), display reports 3840x2160 @ 60 Hz
  • D3D12 runtime 26100.7901, shader model 6.8
  • Full settings file: %LOCALAPPDATA%\victory\victory-settings.txt
  • Affected logs (2026-11-29, all reproductions):
    • victory-nvidia-play-20261129-195229-6056.log
    • victory-nvidia-play-20261129-194820-23584.log
    • victory-nvidia-play-20261129-195259-16032.log
    • victory-nvidia-play-20261129-195013-15152.log
    • victory-nvidia-play-20261129-195656-8764.log

Summary

Every launch of this title on this setup hits the same problems:

  1. Pipeline deserialization failures (main report, not covered elsewhere). victory_gpu::device spams hundreds of WARNs — a pipeline made from loose parts from both DeserializeComputePipelineStateX and DeserializeGraphicsPipelineStateX, always with make=false. Compute pipelines fail with program=Some(Err("malformed shader: unknown loose metadata version")); graphics pipelines fail with program=None and metadata like ["not readable", "v2 code dwords 0x46, 0 root parameters, 0 resources"].
  2. View-heap cap confirmed across drivers/hardware configs — reproduces #2017's finding (count=1245184, past 606783 reads null slot) on driver 610.88.0 / series-s, where #2017 reported driver 621.14 / series-x.
  3. Draws submitted but drawn=0 on early frames — distinct from the drops in #2017 (there it's un-translated wave64 shaders and no-free-descriptor-slots; here draws are issued but nothing rasterizes at all, frames 1–4).

The failures reproduce identically across ~6 separate runs, different DLSS modes, series-s and series-x profiles, and different FRAMEGEN_X settings.

Relationship to #2017 / #2957

Symptom #2017 #2957 This report
Loose-parts deserialization WARNs, malformed shader: unknown loose metadata version, make=false — mentioned, RTX 4090 ✅ primary focus, full hashes + repro data
Graphics deserialization failures (program=None, "not readable") — — ✅
1M view-heap cap, null-slot reads (count=1245184) ✅ (driver 621.14, series-x) — confirms on driver 610.88.0 / series-s
Dropped draws/dispatches ✅ via wave64-lowering failures + descriptor exhaustion — different mechanism here: draws submitted, drawn=0
XMemVirtualAlloc os error 8 crash — ✅ not seen in these logs

Details

1. "a pipeline made from loose parts" — every deserialization call fails

Pattern is identical in every log. The calls field doubles (1, 2, 4, … 4096, 8192), all within ~2–5 ms during startup:

WARN victory_gpu::device: a pipeline made from loose parts
  method="DeserializeComputePipelineStateX"
  metadata=["malformed shader: unknown loose metadata version"]
  program=Some(Err("malformed shader: unknown loose metadata version"))
  make=false

Affected compute pipeline hashes (recurring across runs): 6c3948d3f99e6117, 497efa3b2ff9e8a8, 1a7e4b685297a20b, d7e7b1a22f0c3802, e320815a5c0a8b5b, e1ff802e365a95d, c2a49a564eaf608c, 4699bbef00261168, 4827cfc1cdd38f20, and in later bursts (larger CS code 6–95 KB): 49372b8543c5cac1 (calls=64), b064ec8ef4182f67 (calls=128), 2f6108975704f1c6 (calls=256), 375b5c7efac44e5f (calls=512), plus calls=1024 (CS code 95744 B).

Graphics variants:

WARN victory_gpu::device: a pipeline made from loose parts
  method="DeserializeGraphicsPipelineStateX"
  metadata=["not readable", "v2 code dwords 0x46, 0 root parameters, 0 resources"]
  program=None   stages=root   make=false

Other graphics metadata variants: v2 code dwords 0x56/0x66/0x76/0x86/0xd6/0x106/0xf6, N root parameters, N resources. Some compute blobs carry loose metadata [hash, 3, 0, 0, 0] — version tag 3 appears to be the "unknown loose metadata version" that fails.

Notes: shader translation itself works (thousands of vertex/pixel/compute/mesh shaders translate successfully alongside the failures), so this is specific to the loose-parts deserialization path — distinct from the wave64-lowering translation failures in #2017. Each WARN dumps the full serialized hex parts blobs — heavy log noise; full dumps are in the attached logs.

2. View heap cap — confirms #2017 on series-s / driver 610.88.0

Every run, identical numbers to #2017:

WARN victory_gpu::descriptor::host: host view heap capped at 1000000
  (606783 title + 393216 dynamic slots);
  views past 606783 read a null slot
  count=1245184 fitted=606783 dynamic=393216

(Full message in my logs also names the 606783/393216 split; #2017's excerpt shows count=1245184.) Followed immediately by the first pixel-stage binds (vertex 58d926085fca4999 / pixel edc1cad8ffb79bc9, frame 3).

3. Draws submitted but drawn=0 on early frames

  • frame=1 and frame=2: draws=0 drawn=0 dispatches=0
  • frame=4: draws=1..2 drawn=0 in all runs — a draw is issued, zero pixels rasterized
  • Later frames draw normally (frame 8: draws=5..6 drawn=5..7, frame 16: draws=8..9 drawn=8..10)

Unlike #2017's drops, none of the drop warnings from that report (a dispatch without a host pipeline dropped, a draw whose descriptor table found no free slots is dropped) appear in these logs — so this looks like a separate early-frame mechanism, possibly tied to the failed deserializations above.

First frame presented takes ~4.0–5.4 s (ms=4002–5436) across runs.

4. Secondary issues (consistently present, not reported in #2017/#2957)

  • WARN victory_gpu::list: SetPixelShaderDepthForceZOrderX: a depth order the host does not apply force=0 — host ignores a forced depth ordering.
  • WARN victory_gpu::port: renderer port 1: title memory not in place, a copy as before start=0x… len=182452224 window=false why="not one native-import-eligible stretch of a section: Scattered" — ~174 MB title memory falls back to a host copy because it's too scattered for native import (perf hit).
  • Texture view format mismatches (INFO): a view placed in the memory of a texture the host writes, in another format … width=320/640/998 height=180/360/418 written_as=42 read_as=67 direct=false.
  • VICTORY_TEARING=0 but log reports tearing=true — contradiction worth checking.
  • XMemVirtualAlloc without write watching for all title memory allocations (kind 0x42000) — possibly related to #2957's XMemVirtualAlloc crash, though no os error 8 occurred here.
  • Runtime: title threads ask priority −15, get −1.

Questions

  • Is "malformed shader: unknown loose metadata version" a missing loose-metadata version in the parser (version 3?), or a stale/differently-versioned pipeline cache from an older victory build? Worth documenting expected cache invalidation.
  • Are the drawn=0 early frames caused by the null-slot descriptor reads (#2017), or

victory-nvidia-play-20261129-193039-18384.log
victory-nvidia-play-20261129-194820-23584.log
victory-nvidia-play-20261129-195013-15152.log
victory-nvidia-play-20261129-195229-6056.log
victory-nvidia-play-20261129-195259-16032.log
victory-nvidia-play-20261129-195501-5104.log
victory-nvidia-play-20261129-195656-8764.log
victory-nvidia-play-20261129-195940-25756.log
victory-nvidia-play-20261129-200454-26560.log

by the failed graphics-pipeline deserializations (program=None)?

  • Should the ~174 MB scattered-memory copy fallback have a native-import path?

full logs attached all today

**@⁠LoreRealm** on GitHub · 2026-11-29 21:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3329) # "a pipeline made from loose parts": pipeline deserialization always fails with "malformed shader: unknown loose metadata version" (make=false) — RTX 5080, series-s & series-x > Related, partially overlapping: #2017 (view-heap cap, dropped draws/dispatches, wave64 lowering, commit pressure) and #2957 (loose pipeline deserialization warnings, XMemVirtualAlloc os error 8 on RTX 4090). This report covers what neither covers: the deserialization failures themselves, with hashes and repro data. Not a duplicate — see "Relationship to #2017 / #2957" below. ## Environment - OS: Windows (10.0.26300), GPU driver 610.88.0 - GPU: NVIDIA GeForce RTX 5080 (15977 MB own memory; VRAM budget reported ~15209 MB) - Build: victory release build, `--console series-s` (also reproduced with `series-x`) - Title: `game_scarlett_master.exe`, launched via `victory.exe` - Streamline SDK 2.14.16 via manual hooking (sl.interposer.dll); NGX 310.9.16; DLSS SR + FG loaded (multiple modes tested), Reflex on - Display: borderless fullscreen 3440x1440, content 1920x1080, SDR (HDR disabled), display reports 3840x2160 @ 60 Hz - D3D12 runtime 26100.7901, shader model 6.8 - Full settings file: `%LOCALAPPDATA%\victory\victory-settings.txt` - Affected logs (2026-11-29, all reproductions): - `victory-nvidia-play-20261129-195229-6056.log` - `victory-nvidia-play-20261129-194820-23584.log` - `victory-nvidia-play-20261129-195259-16032.log` - `victory-nvidia-play-20261129-195013-15152.log` - `victory-nvidia-play-20261129-195656-8764.log` ## Summary Every launch of this title on this setup hits the same problems: 1. **Pipeline deserialization failures (main report, not covered elsewhere).** `victory_gpu::device` spams hundreds of WARNs — `a pipeline made from loose parts` from both `DeserializeComputePipelineStateX` and `DeserializeGraphicsPipelineStateX`, always with `make=false`. Compute pipelines fail with `program=Some(Err("malformed shader: unknown loose metadata version"))`; graphics pipelines fail with `program=None` and metadata like `["not readable", "v2 code dwords 0x46, 0 root parameters, 0 resources"]`. 2. **View-heap cap confirmed across drivers/hardware configs** — reproduces #2017's finding (`count=1245184`, past 606783 reads null slot) on driver 610.88.0 / series-s, where #2017 reported driver 621.14 / series-x. 3. **Draws submitted but drawn=0 on early frames** — distinct from the drops in #2017 (there it's un-translated wave64 shaders and no-free-descriptor-slots; here draws are issued but nothing rasterizes at all, frames 1–4). The failures reproduce identically across ~6 separate runs, different DLSS modes, series-s and series-x profiles, and different FRAMEGEN_X settings. ## Relationship to #2017 / #2957 | Symptom | #2017 | #2957 | This report | |---|---|---|---| | Loose-parts deserialization WARNs, `malformed shader: unknown loose metadata version`, `make=false` | — | mentioned, RTX 4090 | ✅ primary focus, full hashes + repro data | | Graphics deserialization failures (`program=None`, "not readable") | — | — | ✅ | | 1M view-heap cap, null-slot reads (`count=1245184`) | ✅ (driver 621.14, series-x) | — | confirms on driver 610.88.0 / series-s | | Dropped draws/dispatches | ✅ via wave64-lowering failures + descriptor exhaustion | — | different mechanism here: draws submitted, drawn=0 | | XMemVirtualAlloc os error 8 crash | — | ✅ | not seen in these logs | ## Details ### 1. "a pipeline made from loose parts" — every deserialization call fails Pattern is identical in every log. The `calls` field doubles (1, 2, 4, … 4096, 8192), all within ~2–5 ms during startup: ``` WARN victory_gpu::device: a pipeline made from loose parts method="DeserializeComputePipelineStateX" metadata=["malformed shader: unknown loose metadata version"] program=Some(Err("malformed shader: unknown loose metadata version")) make=false ``` Affected compute pipeline hashes (recurring across runs): `6c3948d3f99e6117`, `497efa3b2ff9e8a8`, `1a7e4b685297a20b`, `d7e7b1a22f0c3802`, `e320815a5c0a8b5b`, `e1ff802e365a95d`, `c2a49a564eaf608c`, `4699bbef00261168`, `4827cfc1cdd38f20`, and in later bursts (larger CS code 6–95 KB): `49372b8543c5cac1` (calls=64), `b064ec8ef4182f67` (calls=128), `2f6108975704f1c6` (calls=256), `375b5c7efac44e5f` (calls=512), plus calls=1024 (CS code 95744 B). Graphics variants: ``` WARN victory_gpu::device: a pipeline made from loose parts method="DeserializeGraphicsPipelineStateX" metadata=["not readable", "v2 code dwords 0x46, 0 root parameters, 0 resources"] program=None stages=root make=false ``` Other graphics metadata variants: `v2 code dwords 0x56/0x66/0x76/0x86/0xd6/0x106/0xf6, N root parameters, N resources`. Some compute blobs carry loose metadata `[hash, 3, 0, 0, 0]` — version tag 3 appears to be the "unknown loose metadata version" that fails. Notes: shader translation itself works (thousands of vertex/pixel/compute/mesh shaders translate successfully alongside the failures), so this is specific to the loose-parts deserialization path — distinct from the wave64-lowering translation failures in #2017. Each WARN dumps the full serialized hex `parts` blobs — heavy log noise; full dumps are in the attached logs. ### 2. View heap cap — confirms #2017 on series-s / driver 610.88.0 Every run, identical numbers to #2017: ``` WARN victory_gpu::descriptor::host: host view heap capped at 1000000 (606783 title + 393216 dynamic slots); views past 606783 read a null slot count=1245184 fitted=606783 dynamic=393216 ``` (Full message in my logs also names the 606783/393216 split; #2017's excerpt shows `count=1245184`.) Followed immediately by the first pixel-stage binds (vertex 58d926085fca4999 / pixel edc1cad8ffb79bc9, frame 3). ### 3. Draws submitted but drawn=0 on early frames - frame=1 and frame=2: `draws=0 drawn=0 dispatches=0` - frame=4: `draws=1..2 drawn=0` in all runs — a draw is issued, zero pixels rasterized - Later frames draw normally (frame 8: `draws=5..6 drawn=5..7`, frame 16: `draws=8..9 drawn=8..10`) Unlike #2017's drops, none of the drop warnings from that report (`a dispatch without a host pipeline dropped`, `a draw whose descriptor table found no free slots is dropped`) appear in these logs — so this looks like a separate early-frame mechanism, possibly tied to the failed deserializations above. First frame presented takes ~4.0–5.4 s (ms=4002–5436) across runs. ### 4. Secondary issues (consistently present, not reported in #2017/#2957) - `WARN victory_gpu::list: SetPixelShaderDepthForceZOrderX: a depth order the host does not apply force=0` — host ignores a forced depth ordering. - `WARN victory_gpu::port: renderer port 1: title memory not in place, a copy as before start=0x… len=182452224 window=false why="not one native-import-eligible stretch of a section: Scattered"` — ~174 MB title memory falls back to a host copy because it's too scattered for native import (perf hit). - Texture view format mismatches (INFO): `a view placed in the memory of a texture the host writes, in another format … width=320/640/998 height=180/360/418 written_as=42 read_as=67 direct=false`. - `VICTORY_TEARING=0` but log reports `tearing=true` — contradiction worth checking. - `XMemVirtualAlloc without write watching` for all title memory allocations (kind 0x42000) — possibly related to #2957's XMemVirtualAlloc crash, though no os error 8 occurred here. - Runtime: title threads ask priority −15, get −1. ## Questions - Is "malformed shader: unknown loose metadata version" a missing loose-metadata version in the parser (version 3?), or a stale/differently-versioned pipeline cache from an older victory build? Worth documenting expected cache invalidation. - Are the drawn=0 early frames caused by the null-slot descriptor reads (#2017), or <!-- Failed to upload "victory-nvidia-play-20261129-013653-8588.log" --> [victory-nvidia-play-20261129-193039-18384.log](https://github.com/user-attachments/files/35584356/victory-nvidia-play-20261129-193039-18384.log) [victory-nvidia-play-20261129-194820-23584.log](https://github.com/user-attachments/files/35584355/victory-nvidia-play-20261129-194820-23584.log) [victory-nvidia-play-20261129-195013-15152.log](https://github.com/user-attachments/files/35584351/victory-nvidia-play-20261129-195013-15152.log) [victory-nvidia-play-20261129-195229-6056.log](https://github.com/user-attachments/files/35584350/victory-nvidia-play-20261129-195229-6056.log) [victory-nvidia-play-20261129-195259-16032.log](https://github.com/user-attachments/files/35584349/victory-nvidia-play-20261129-195259-16032.log) [victory-nvidia-play-20261129-195501-5104.log](https://github.com/user-attachments/files/35584352/victory-nvidia-play-20261129-195501-5104.log) [victory-nvidia-play-20261129-195656-8764.log](https://github.com/user-attachments/files/35584357/victory-nvidia-play-20261129-195656-8764.log) [victory-nvidia-play-20261129-195940-25756.log](https://github.com/user-attachments/files/35584353/victory-nvidia-play-20261129-195940-25756.log) [victory-nvidia-play-20261129-200454-26560.log](https://github.com/user-attachments/files/35584354/victory-nvidia-play-20261129-200454-26560.log) by the failed graphics-pipeline deserializations (program=None)? - Should the ~174 MB scattered-memory copy fallback have a native-import path? full logs attached all today
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 21:55:37 +00:00
github-bot 2026-12-01 00:04:51 +00:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 23:50 UTC · original

Closing this as a duplicate of #3837, which is the same problem. Everything posted here stays linked from #3837. Please add any new logs, details or test results there instead.

**@⁠trustno1-coder** on GitHub · 2026-11-30 23:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3329#issuecomment-7295581978) Closing this as a duplicate of #3837, which is the same problem. Everything posted here stays linked from #3837. Please add any new logs, details or test results there instead.
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#3329
No description provided.