Loose pipeline metadata is version 0x403, parser accepts only 2/3: 263 draws/frame skipped on Series X, 1887 on Series S (v2026.11.29.02–.05) #3837

Open
opened 2026-11-30 08:55:04 +00:00 by github-bot · 0 comments
Owner

@⁠GeNiY256exe on GitHub · 2026-11-30 08:54 UTC · original

What you would like

Describe the bug

Loose pipelines fail to deserialize on both console profiles. The play log shows every loose metadata block carrying version 0x00000403, but loose_metadata() only accepts 2 and 3, so it returns Malformed("unknown loose metadata version") and the pipeline is never created. The 0x403 block is byte-for-byte the v3 layout — only the version number differs.

Important

This is not a Series X-only problem and not a cache problem: the same 0x403 metadata error appears on the Series S profile too, and the .05 preload fix is working (the S run loads a 143 MB pipeline library).

Series X overlay (character head missing, right half of the frame corrupted):

SHADERS DROPPED 263

NOTE: 263 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET

TRY: NOTHING ON YOUR SIDE. A LATER BUILD FIXES THESE

Series S overlay (head renders, but still losing draws):

NOTE: 1887 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET

Steps to reproduce

  1. F1 → CONSOLE = SERIES X (reproduces on SERIES S as well), DLSS Performance/Quality, frame generation on.
  2. Enter the world (open water or a character close-up is enough).
  3. The overlay shows NOTE: N DRAWS SKIPPED and SHADERS DROPPED N.
  4. The play log fills with metadata=["malformed shader: unknown loose metadata version"].

Expected

The loose pipelines are created; nothing is skipped and the frame renders completely.

Actual

Every frame drops 263 draws on Series X and 1887 draws on Series S, and the log repeats the metadata error for the lifetime of the run.

Both profiles, same bug

Run Profile Overlay build Skipped draws/frame Visible result
A Series X v2026.11.29.02 → .05 263 head missing, right half pixelated mush
B Series S v2026.11.29.04-26 1887 head renders, far smaller visual damage

So the earlier impression "S works" was wrong: S does not hit the worst-looking case, but loses about seven times more draws per frame than X.

Evidence from the log

Series X run, victory-nvidia-play-20261130-082729-104172.log, line 1: console=series-x build=release.

WARN victory_gpu::device: a pipeline made from loose parts method="DeserializeComputePipelineStateX" calls=2
  parts=[Some("0x1c bytes: 00cf05400201096c..."),
         Some("0x14 bytes: e2856c0403000000..."),
         Some("0x200 bytes: 920c80d5..."),
         Some("0x158 bytes: 030400004401000080000000...")]
  metadata=["malformed shader: unknown loose metadata version"]
  program=Some(Err("malformed shader: unknown loose metadata version"))

Decoding 0x158 bytes: 03 04 00 00 44 01 00 00 80 00 00 00 ...:

Offset Value Meaning
+0x00 0x00000403 version — not 2 or 3, so the parse fails
+0x04 0x144 size − 0x14; 0x144 + 0x14 = 0x158 ✓ v3 header
+0x08 0x80 code dwords: 0x80 × 4 = 0x200 = the 0x200-byte code part ✓
+0x18 40 04 05 00 0x40, first user-data dword 4, record count 5, 0 (v3 layout)
+0x1c 41 00 00 00 first 0x41 record tag ✓ (records start at 0x38)

The same arithmetic holds for every block in both runs:

Part Version u32 Size field Check
0x118 bytes: 0304000004010000… 0x403 0x104 0x104 + 0x14 = 0x118 ✓
0x158 bytes: 0304000044010000… 0x403 0x144 0x144 + 0x14 = 0x158 ✓
0x1d8 bytes: 03040000c4010000… 0x403 0x1c4 0x1c4 + 0x14 = 0x1d8 ✓

The Series S run (victory-nvidia-play-20261130-084608-91344.log, line 1: console=series-s build=release) produces the identical bytes, e.g. the log even prints the parsed header as metadata 184 B Some([403, a4, 50, 0, 0, 28440, 41, 300]) — version 0x403, size 0xa4, 80 code dwords.

The graphics path (DeserializeGraphicsPipelineStateX, device method 0x1c8) logs the same loose-parts warning (calls counter up to 16384) and the fps line reports dropped 1917…1943 draws or dispatches per frame on S — matching the overlay.

What it is not

Suspect Evidence
Shader cache / preload S run: host pipeline library loaded bytes=143797846 mapped=true; X run: bytes=7201274 — the .05 preload fix works, clearing %LOCALAPPDATA%\victory\cache changes nothing
VRAM / resolution ~9.0 / 9.9 GB used on X, and a lower picture size gives identical artifacts
Monitor-size crash fixed in .05 Both runs start fine (3440×1440 display)
Shader translation failures pipeline::refused: … 0 shaders do not translate failed=0 untranslated=0 — the drops come from the loose-parts path
Series X only Series S reproduces it with 1887 skipped draws

Suggested fix

crates/victory-shader/src/native.rs → loose_metadata() currently has:

let (head, from) = match version {
    2 => (0xc, 0x10),
    3 => (0x14, 0x38),
    _ => return Err(Malformed("unknown loose metadata version")),
};

The minimal change is 3 | 0x0403 => (0x14, 0x38), plus a test that takes the existing v3 fixture and sets bytes 0..2 to 03 04.

That is exactly what PR #2478 by @⁠erax4193 does (it closes #2362); the PR also carries unrelated churn, so a one-line version of it would suffice.

Open question: does the graphics loose path (device method 0x1c8) hit the same version gate somewhere, or does its failure need a separate fix? Its warnings show no metadata error, so I could not tell from the log.

Screenshots

Снимок экрана 2026-11-30 112900 Снимок экрана 2026-11-30 114746

Logs

victory-nvidia-play-20261130-082729-104172.log

victory-nvidia-play-20261130-084608-91344.log

System Info

Item Value
GPU NVIDIA GeForce RTX 4070 (12 GB), driver 621.40.0
OS Windows 11 (10.0.26100)
Victory version v2026.11.29.02 → .05 (X run), v2026.11.29.04-26 (S run, per F1)
Game GTA 6 Recomp (game_scarlett_master.exe)
Console profiles Series X and Series S (both affected)
Display / output 3440×1440 display; X output 2560×1440, S output 1920×1080, scene 1280×720
Upscaling / FG X: DLSS Performance; S: DLSS Quality; frame generation 2×/3×, MFG Unlocker on
Switches VICTORY_SLOTS_BITMAP=0, VICTORY_RENDER_1080P=1, VICTORY_NATIVE_SIZE=1280x720
Streamline 2.14.16, mfg_loaded=true

Additional context

Related: #3021 (my earlier report on .02/.03), #2362 (same error, 195 draws), PR #2478 (proposed 0x403 fix). This report adds byte-level proof on current builds for both profiles, which rules out "Series S only" and "cache" as explanations.

Workaround: none that removes the error. Series S hides it better; v2026.11.28.03 predates the regression.

/cc @⁠trustno1-coder @⁠erax4193

Are you working on a fix?

None

**@⁠GeNiY256exe** on GitHub · 2026-11-30 08:54 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3837) ### What you would like ### Describe the bug Loose pipelines fail to deserialize on **both console profiles**. The play log shows every loose metadata block carrying version `0x00000403`, but `loose_metadata()` only accepts `2` and `3`, so it returns `Malformed("unknown loose metadata version")` and the pipeline is never created. The `0x403` block is byte-for-byte the **v3 layout** — only the version number differs. > [!IMPORTANT] > This is not a Series X-only problem and not a cache problem: the same `0x403` metadata error appears on the Series S profile too, and the .05 preload fix is working (the S run loads a 143 MB pipeline library). Series X overlay (character head missing, right half of the frame corrupted): > **SHADERS DROPPED 263** > > **NOTE: 263 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET** > > TRY: NOTHING ON YOUR SIDE. A LATER BUILD FIXES THESE Series S overlay (head renders, but still losing draws): > **NOTE: 1887 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET** ### Steps to reproduce 1. F1 → **CONSOLE = SERIES X** (reproduces on **SERIES S** as well), DLSS Performance/Quality, frame generation on. 2. Enter the world (open water or a character close-up is enough). 3. The overlay shows `NOTE: N DRAWS SKIPPED` and `SHADERS DROPPED N`. 4. The play log fills with `metadata=["malformed shader: unknown loose metadata version"]`. ### Expected The loose pipelines are created; nothing is skipped and the frame renders completely. ### Actual Every frame drops 263 draws on Series X and **1887 draws on Series S**, and the log repeats the metadata error for the lifetime of the run. ### Both profiles, same bug | Run | Profile | Overlay build | Skipped draws/frame | Visible result | |---|---|---|---|---| | A | Series X | v2026.11.29.02 → .05 | 263 | head missing, right half pixelated mush | | B | Series S | v2026.11.29.04-26 | **1887** | head renders, far smaller visual damage | So the earlier impression "S works" was wrong: S does not hit the worst-looking case, but loses about seven times more draws per frame than X. ### Evidence from the log Series X run, `victory-nvidia-play-20261130-082729-104172.log`, line 1: `console=series-x build=release`. ```text WARN victory_gpu::device: a pipeline made from loose parts method="DeserializeComputePipelineStateX" calls=2 parts=[Some("0x1c bytes: 00cf05400201096c..."), Some("0x14 bytes: e2856c0403000000..."), Some("0x200 bytes: 920c80d5..."), Some("0x158 bytes: 030400004401000080000000...")] metadata=["malformed shader: unknown loose metadata version"] program=Some(Err("malformed shader: unknown loose metadata version")) ``` Decoding `0x158 bytes: 03 04 00 00 44 01 00 00 80 00 00 00 ...`: | Offset | Value | Meaning | |---|---|---| | `+0x00` | `0x00000403` | version — not 2 or 3, so the parse fails | | `+0x04` | `0x144` | size − 0x14; **0x144 + 0x14 = 0x158** ✓ v3 header | | `+0x08` | `0x80` | code dwords: `0x80 × 4 = 0x200` = the 0x200-byte code part ✓ | | `+0x18` | `40 04 05 00` | `0x40`, first user-data dword `4`, record count `5`, `0` (v3 layout) | | `+0x1c` | `41 00 00 00` | first `0x41` record tag ✓ (records start at 0x38) | The same arithmetic holds for every block in both runs: | Part | Version u32 | Size field | Check | |---|---|---|---| | `0x118 bytes: 0304000004010000…` | `0x403` | `0x104` | `0x104 + 0x14 = 0x118` ✓ | | `0x158 bytes: 0304000044010000…` | `0x403` | `0x144` | `0x144 + 0x14 = 0x158` ✓ | | `0x1d8 bytes: 03040000c4010000…` | `0x403` | `0x1c4` | `0x1c4 + 0x14 = 0x1d8` ✓ | The Series S run (`victory-nvidia-play-20261130-084608-91344.log`, line 1: `console=series-s build=release`) produces the identical bytes, e.g. the log even prints the parsed header as `metadata 184 B Some([403, a4, 50, 0, 0, 28440, 41, 300])` — version `0x403`, size `0xa4`, 80 code dwords. The graphics path (`DeserializeGraphicsPipelineStateX`, device method `0x1c8`) logs the same loose-parts warning (calls counter up to 16384) and the fps line reports `dropped 1917…1943 draws or dispatches` per frame on S — matching the overlay. ### What it is not | Suspect | Evidence | |---|---| | Shader cache / preload | S run: `host pipeline library loaded bytes=143797846 mapped=true`; X run: `bytes=7201274` — the .05 preload fix works, clearing `%LOCALAPPDATA%\victory\cache` changes nothing | | VRAM / resolution | ~9.0 / 9.9 GB used on X, and a lower picture size gives identical artifacts | | Monitor-size crash fixed in .05 | Both runs start fine (3440×1440 display) | | Shader translation failures | `pipeline::refused: … 0 shaders do not translate failed=0 untranslated=0` — the drops come from the loose-parts path | | Series X only | Series S reproduces it with 1887 skipped draws | ### Suggested fix `crates/victory-shader/src/native.rs` → `loose_metadata()` currently has: ```rust let (head, from) = match version { 2 => (0xc, 0x10), 3 => (0x14, 0x38), _ => return Err(Malformed("unknown loose metadata version")), }; ``` The minimal change is `3 | 0x0403 => (0x14, 0x38)`, plus a test that takes the existing v3 fixture and sets bytes `0..2` to `03 04`. That is exactly what [PR #2478](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/2478) by @⁠erax4193 does (it closes #2362); the PR also carries unrelated churn, so a one-line version of it would suffice. **Open question:** does the graphics loose path (device method `0x1c8`) hit the same version gate somewhere, or does its failure need a separate fix? Its warnings show no metadata error, so I could not tell from the log. ### Screenshots <img width="2458" height="1377" alt="Снимок экрана 2026-11-30 112900" src="https://github.com/user-attachments/assets/2f03f23a-d8f2-4796-bb9a-53f67af58b51" /> <img width="1894" height="1065" alt="Снимок экрана 2026-11-30 114746" src="https://github.com/user-attachments/assets/d61f8397-7841-432b-96c1-f7af3115351d" /> ### Logs [victory-nvidia-play-20261130-082729-104172.log](https://github.com/user-attachments/files/35602970/victory-nvidia-play-20261130-082729-104172.log) [victory-nvidia-play-20261130-084608-91344.log](https://github.com/user-attachments/files/35602975/victory-nvidia-play-20261130-084608-91344.log) ### System Info | Item | Value | |---|---| | GPU | NVIDIA GeForce RTX 4070 (12 GB), driver 621.40.0 | | OS | Windows 11 (10.0.26100) | | Victory version | v2026.11.29.02 → .05 (X run), v2026.11.29.04-26 (S run, per F1) | | Game | GTA 6 Recomp (`game_scarlett_master.exe`) | | Console profiles | Series X and Series S (both affected) | | Display / output | 3440×1440 display; X output 2560×1440, S output 1920×1080, scene 1280×720 | | Upscaling / FG | X: DLSS Performance; S: DLSS Quality; frame generation 2×/3×, MFG Unlocker on | | Switches | `VICTORY_SLOTS_BITMAP=0`, `VICTORY_RENDER_1080P=1`, `VICTORY_NATIVE_SIZE=1280x720` | | Streamline | 2.14.16, `mfg_loaded=true` | ### Additional context Related: [#3021](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/3021) (my earlier report on .02/.03), [#2362](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/2362) (same error, 195 draws), [PR #2478](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/2478) (proposed 0x403 fix). This report adds byte-level proof on current builds for **both** profiles, which rules out "Series S only" and "cache" as explanations. **Workaround:** none that removes the error. Series S hides it better; `v2026.11.28.03` predates the regression. /cc @⁠trustno1-coder @⁠erax4193 ### Are you working on a fix? None
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 08:55:04 +00:00
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#3837
No description provided.