Cutscene: audio + subtitles work, the video frame does not — two 2560x1440 textures fail CreateCommittedResource (E_INVALIDARG) #797

Open
opened 2026-11-26 04:13:59 +00:00 by github-bot · 10 comments
Owner

@⁠bittertea0323 on GitHub · 2026-11-24 11:08 UTC · original

Cutscene: audio + subtitles work, the video frame does not — two 2560x1440 textures fail CreateCommittedResource (E_INVALIDARG)

This is a separate blocker from the shader translation issues in #784. It explains "background music and
subtitles play, the picture is black" during the intro cutscene.

Evidence

The cutscene opens G:\\movies.rpf and connects the audio decoder (256 streams), i.e. it is Bink
video
, not a realtime 3D scene:

dstorage: file opened path="G:\\movies.rpf"
apu: audio decoder connected streams=256 memory=1064960 options=1

Immediately after, its two frame textures fail to be created:

WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057)
  desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1,
                      mip_levels: 1, format: 86,  sample_count: 1, layout: 0, flags: 5 }
WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057)
  desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1,
                      mip_levels: 1, format: 115, sample_count: 1, layout: 0, flags: 1 }

(dimension: 3 is correct here — texture_layout() maps 3 to Tex2d, matching TEXTURE_2D = 3.)

Where it comes from

crates/victory-gpu/src/resource.rs:

pub(crate) fn pc_format(format: u32) -> u32 {
    match format {
        118 => 45,   // console 16-bit depth+stencil -> 24-bit
        119 => 46,
        120 => 47,
        other => other,          // 86 and 115 pass through untouched
    }
}

The description then goes straight into CreateCommittedResource, which rejects it. So on this title
the console formats 86 and 115 have no valid D3D12 equivalent as they are currently emitted.

What I would like to know / propose

  1. What are console formats 86 and 115? Both are 2 bytes per element in element()'s table
    (48..=59 | 68 | 69 | 85 | 86 | 115 => (2, 1)), and they are used for 2560x1440 video frames —
    so they look like 16-bit-per-channel or 16-bit-two-channel video formats rather than ordinary
    colour. If the console's format table says what they are, the right PC mapping is probably a
    two-channel 16-bit UNORM/FLOAT format rather than the B8G8R8X8-like number the DXGI enum happens
    to give 86.
  2. Is dimension: 3 + flags: 5 + format: 86 a known combination (a video plane as a
    Texture2D without RTV/DSV flags)? If flags: 5 implies some view the host refuses, that would
    fail the call even with a legal format.
  3. If the format is simply unknown, a diagnostic first step would be: on no host texture, log the
    format with its element() bytes-per-texel and the full flags word, then retry once with
    R16G16_UNORM / R16G16_FLOAT so the cutscene has a chance to show something and we learn
    whether the format was the only obstacle.

This path is worth fixing on its own: it does not depend on any of the shader work, and the intro
movie is the first thing a user sees after the start screen.

Host: Windows 10 22H2 UBR 3393, RTX 4070 SUPER 12 GB, VIctory main + #729 exports.

**@⁠bittertea0323** on GitHub · 2026-11-24 11:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/797) # Cutscene: audio + subtitles work, the video frame does not — two 2560x1440 textures fail `CreateCommittedResource` (E_INVALIDARG) This is a separate blocker from the shader translation issues in #784. It explains "background music and subtitles play, the picture is black" during the intro cutscene. ## Evidence The cutscene opens `G:\\movies.rpf` and connects the audio decoder (256 streams), i.e. it is **Bink video**, not a realtime 3D scene: ``` dstorage: file opened path="G:\\movies.rpf" apu: audio decoder connected streams=256 memory=1064960 options=1 ``` Immediately after, its two frame textures fail to be created: ``` WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 86, sample_count: 1, layout: 0, flags: 5 } WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 115, sample_count: 1, layout: 0, flags: 1 } ``` (`dimension: 3` is correct here — `texture_layout()` maps 3 to `Tex2d`, matching `TEXTURE_2D = 3`.) ## Where it comes from `crates/victory-gpu/src/resource.rs`: ```rust pub(crate) fn pc_format(format: u32) -> u32 { match format { 118 => 45, // console 16-bit depth+stencil -> 24-bit 119 => 46, 120 => 47, other => other, // 86 and 115 pass through untouched } } ``` The description then goes straight into `CreateCommittedResource`, which rejects it. So on this title the console formats **86** and **115** have no valid D3D12 equivalent as they are currently emitted. ## What I would like to know / propose 1. **What are console formats 86 and 115?** Both are 2 bytes per element in `element()`'s table (`48..=59 | 68 | 69 | 85 | 86 | 115 => (2, 1)`), and they are used for 2560x1440 video frames — so they look like 16-bit-per-channel or 16-bit-two-channel video formats rather than ordinary colour. If the console's format table says what they are, the right PC mapping is probably a two-channel 16-bit UNORM/FLOAT format rather than the B8G8R8X8-like number the DXGI enum happens to give 86. 2. **Is `dimension: 3` + `flags: 5` + `format: 86` a known combination** (a video plane as a `Texture2D` without RTV/DSV flags)? If `flags: 5` implies some view the host refuses, that would fail the call even with a legal format. 3. If the format is simply unknown, a diagnostic first step would be: on `no host texture`, log the format with its `element()` bytes-per-texel and the full `flags` word, then retry once with `R16G16_UNORM` / `R16G16_FLOAT` so the cutscene has a chance to show *something* and we learn whether the format was the only obstacle. This path is worth fixing on its own: it does not depend on any of the shader work, and the intro movie is the first thing a user sees after the start screen. Host: Windows 10 22H2 UBR 3393, RTX 4070 SUPER 12 GB, VIctory `main` + #729 exports.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:59 +00:00
Author
Owner

@⁠lucaseddd on GitHub · 2026-11-24 11:17 UTC · original

PR #89 already handles these exact packed formats on devices that cannot expose the requested render-target or typed-UAV support: DXGI 86 is B5G5R5A1_UNORM, and 115 is B4G4R4A4_UNORM. The patch widens those textures to RGBA8 and includes packed transfer conversion. This addresses the allocation failure without guessing a different channel layout.

On a Windows 10 + RTX 3060 test with #89 adapted onto ffe310e, both formats took the RGBA8 fallback, but the first mission cutscene still played with audio and subtitles over a black image. That confirms the fallback was exercised and leaves the remaining cause open; the two allocation failures alone did not account for the black image on this setup. AI-assisted testing and write-up.

**@⁠lucaseddd** on GitHub · 2026-11-24 11:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7129904053) PR #89 already handles these exact packed formats on devices that cannot expose the requested render-target or typed-UAV support: DXGI 86 is B5G5R5A1_UNORM, and 115 is B4G4R4A4_UNORM. The patch widens those textures to RGBA8 and includes packed transfer conversion. This addresses the allocation failure without guessing a different channel layout. On a Windows 10 + RTX 3060 test with #89 adapted onto ffe310e, both formats took the RGBA8 fallback, but the first mission cutscene still played with audio and subtitles over a black image. That confirms the fallback was exercised and leaves the remaining cause open; the two allocation failures alone did not account for the black image on this setup. AI-assisted testing and write-up.
Author
Owner

@⁠bittertea0323 on GitHub · 2026-11-24 13:09 UTC · original

The format 86/115 failures were not the black-image cause — agreed, and here is what moved it

@⁠lucaseddd's RTX 3060 result matches what we now measure on a 4070 SUPER: #89's RGBA8 fallback
fires, no host texture drops to 0, and the video/cutscene picture is still missing.

The probe this issue was left at — "is the sampled descriptor empty?" — is now answered:

measurement value
root SRVs bound during a run 256 distinct addresses, 0 without a host copy
pre-world artwork (frames 512/1024/1500) 1920×1080, probe level 231–251 (fully drawn)
subtitle card text renders, background clear colour
world entry level 231…245 → draws=1 → 0

The pipeline descriptor → host view → sampler → composite → present works end to end for the
artwork and text. The picture is lost at exactly one draw after entering the world, not at
texture creation. The two CreateCommittedResource failures in the title are real but are not
what blackens the frame.

How to reproduce the discriminator

A diag build logs each present as the brightest probed channel of the last frames
(victory_gpu::queue: a black frame after ...). 44 is the clear colour, 231–251 is the
artwork/card, 0 is black. On both our hosts the world never produces anything above 44
after the entry draw, so the next probe is that single draw and what its mesh outputs write.

Not measured yet: pixel content of the 2560×1440 MRTs the world's 72 mesh draws render into.

**@⁠bittertea0323** on GitHub · 2026-11-24 13:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7132437804) ## The format 86/115 failures were not the black-image cause — agreed, and here is what moved it @⁠lucaseddd's RTX 3060 result matches what we now measure on a 4070 SUPER: #89's RGBA8 fallback fires, `no host texture` drops to 0, and the video/cutscene picture is still missing. The probe this issue was left at — "is the sampled descriptor empty?" — is now answered: | measurement | value | |---|---| | root SRVs bound during a run | 256 distinct addresses, **0** without a host copy | | pre-world artwork (frames 512/1024/1500) | 1920×1080, probe level 231–251 (fully drawn) | | subtitle card | text renders, background clear colour | | world entry | level 231…245 → `draws=1` → 0 | The pipeline *descriptor → host view → sampler → composite → present* works end to end for the artwork and text. The picture is lost at exactly one draw after entering the world, not at texture creation. The two `CreateCommittedResource` failures in the title are real but are not what blackens the frame. ## How to reproduce the discriminator A diag build logs each present as the brightest probed channel of the last frames (`victory_gpu::queue: a black frame after ...`). `44` is the clear colour, `231–251` is the artwork/card, `0` is black. On both our hosts the world never produces anything above `44` after the entry draw, so the next probe is that single draw and what its mesh outputs write. Not measured yet: pixel content of the 2560×1440 MRTs the world's 72 mesh draws render into.
Author
Owner

@⁠x3ero0 on GitHub · 2026-11-24 19:13 UTC · original

A side-by-side of the five open PRs that touch these two textures (#55, #1040, #581, #968, #89), on one machine. Short version: all five get both textures created, none regressed anything I could see, and in the part of the title I can reach nothing ever renders into them, which agrees with the comments above that 86/115 are not the cause of the missing picture.

Setup: RTX 5080, driver 620.70, CachyOS (kernel 7.3.5), GE-Proton11-6's Wine, diagnostics builds cross-built with cargo xwin, Series X 1.0.2.1, network off, menus driven by VICTORY_KEYS. Each PR was cherry-picked onto main ffe310e.

To get past pipeline creation into the world on this card I needed three things under every variant: d3d12.dll/d3d12core.dll built from vkd3d-proton 30b0eb9, #177 and #259. main alone exits during world load here, with the Proton-bundled vkd3d-proton and with the newer one.

Tree no host texture Both textures Tests the PR adds (GPU, under Proton) 150 s run
ffe310e + #177 + #259 2 refused n/a reaches the world
+ #55 0 made, refused use dropped none reaches the world, no new warnings
+ #1040 0 made, refused use dropped 1 passes same
+ #581 0 made as R16 none same
+ #968 0 made as R8G8B8A8 none same
#89 on its own base 0 made as R8G8B8A8 4 pass not run in the world, see below

Limits of this test

  • With VICTORY_DUMP_TARGETS=1 at frames from the menus through the first minute of the world, the only render targets bound are the three 3840x2160 ones, in every tree including the baseline. Neither 2560x1440 texture is bound as a render target in that window, so these runs cannot tell the four approaches apart by what ends up in them.
  • Every tree gets about a minute of world time before the title's +0x23cf683 stop (#1118, #1286). Two of the five runs did not reach it within 150 s; with one run per tree I would not attribute that to the PRs.
  • Single runs, one GPU, Wine only. Not run on Windows.

#89 needs a rebase. Onto ffe310e it conflicts in crates/victory-gpu/src/list.rs: copy_resource and copy_texture_region have since gained the title_written uploads and the defer_fill staging path, in the lines #89 moves into prepare_footprint_upload. I tested it as written, on its own base, and did not resolve the conflict myself.

Reading the five diffs (not measured, since the textures are never used here):

  • #55 and #1040 make the texture without the use the host refuses, so on this card texture 115 exists but cannot be rendered to. #1040 then skips the render-target view for it; #55 has no such guard at Host::rtv.
  • #581 stores both as R16_TYPELESS with R16_UNORM/R16_UINT views, which keeps the size but not the channels.
  • #968 maps 86 and 115 in pc_format for every texture, including ones that are only sampled and uploaded at 2 bytes per texel, and does not convert those uploads. It also carries an unrelated Agility SDK change.
  • #89 substitutes only where CheckFeatureSupport lacks the use, and converts on uploads and copies.
**@⁠x3ero0** on GitHub · 2026-11-24 19:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7141784142) A side-by-side of the five open PRs that touch these two textures (#55, #1040, #581, #968, #89), on one machine. Short version: all five get both textures created, none regressed anything I could see, and in the part of the title I can reach nothing ever renders into them, which agrees with the comments above that 86/115 are not the cause of the missing picture. **Setup:** RTX 5080, driver 620.70, CachyOS (kernel 7.3.5), GE-Proton11-6's Wine, diagnostics builds cross-built with `cargo xwin`, Series X 1.0.2.1, network off, menus driven by `VICTORY_KEYS`. Each PR was cherry-picked onto `main` `ffe310e`. To get past pipeline creation into the world on this card I needed three things under every variant: `d3d12.dll`/`d3d12core.dll` built from vkd3d-proton `30b0eb9`, #177 and #259. `main` alone exits during world load here, with the Proton-bundled vkd3d-proton and with the newer one. | Tree | `no host texture` | Both textures | Tests the PR adds (GPU, under Proton) | 150 s run | |---|---|---|---|---| | `ffe310e` + #177 + #259 | 2 | refused | n/a | reaches the world | | + #55 | 0 | made, refused use dropped | none | reaches the world, no new warnings | | + #1040 | 0 | made, refused use dropped | 1 passes | same | | + #581 | 0 | made as R16 | none | same | | + #968 | 0 | made as R8G8B8A8 | none | same | | #89 on its own base | 0 | made as R8G8B8A8 | 4 pass | not run in the world, see below | **Limits of this test** - With `VICTORY_DUMP_TARGETS=1` at frames from the menus through the first minute of the world, the only render targets bound are the three 3840x2160 ones, in every tree including the baseline. Neither 2560x1440 texture is bound as a render target in that window, so these runs cannot tell the four approaches apart by what ends up in them. - Every tree gets about a minute of world time before the title's `+0x23cf683` stop (#1118, #1286). Two of the five runs did not reach it within 150 s; with one run per tree I would not attribute that to the PRs. - Single runs, one GPU, Wine only. Not run on Windows. **#89 needs a rebase.** Onto `ffe310e` it conflicts in `crates/victory-gpu/src/list.rs`: `copy_resource` and `copy_texture_region` have since gained the `title_written` uploads and the `defer_fill` staging path, in the lines #89 moves into `prepare_footprint_upload`. I tested it as written, on its own base, and did not resolve the conflict myself. **Reading the five diffs** (not measured, since the textures are never used here): - #55 and #1040 make the texture without the use the host refuses, so on this card texture 115 exists but cannot be rendered to. #1040 then skips the render-target view for it; #55 has no such guard at `Host::rtv`. - #581 stores both as `R16_TYPELESS` with `R16_UNORM`/`R16_UINT` views, which keeps the size but not the channels. - #968 maps 86 and 115 in `pc_format` for every texture, including ones that are only sampled and uploaded at 2 bytes per texel, and does not convert those uploads. It also carries an unrelated Agility SDK change. - #89 substitutes only where `CheckFeatureSupport` lacks the use, and converts on uploads and copies.
Author
Owner

@⁠aef200 on GitHub · 2026-11-24 19:31 UTC · original

On an RTX 4060 Ti (Windows 11 26200, native, no Wine) I get a picture where this issue reports a black one - with fxceless/victory-gta6 at 6a2d9f9 (that fork's shadow/trace commits on top of ffe310eb), --features diagnostics, VICTORY_CAPTURE_FRAMES over 1000-1400.

frame-1145

That is frame 1145: a man leaning on a car in the foreground, a woman behind it with her hands on the roof, a palm trunk, a lit window, and the Chinese subtitles drawn correctly. Frames 512 and 1024 (loading art) render clean too; 40+ of the 52 captured frames have content. The run reaches roughly frame 1400 and then stops at +0x23cf683 (#1118, #1286).

I cannot tell from the logs whether 1145 is the Bink video or realtime geometry - you would know that from how the frame is produced, not from its looks. Either way the picture exists on this card, so whatever makes it work is somewhere in that fork's diff: copystat.rs +1159, draw.rs +1573, descriptor/host.rs +1522, descriptor.rs +433, plus smaller changes in texture.rs, bcpack.rs, capture.rs, and one added dependency in Cargo.toml.

Two caveats so this is not oversold: the frame carries a strong red cast over the whole image (which is what made me think it is the lighting path, not the video path), and I have not diffed the fork against the five PRs above, so I cannot say which of them it subsumes or whether it fixes the same thing differently.

If a capture from a run with VICTORY_DUMP_TARGETS on this card would help pin down whether anything renders into the two 2560x1440 textures, say what to look for and I will run it.

**@⁠aef200** on GitHub · 2026-11-24 19:31 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7142213116) On an RTX 4060 Ti (Windows 11 26200, native, no Wine) I get a picture where this issue reports a black one - with `fxceless/victory-gta6` at `6a2d9f9` (that fork's shadow/trace commits on top of `ffe310eb`), `--features diagnostics`, `VICTORY_CAPTURE_FRAMES` over 1000-1400. ![frame-1145](https://github.com/user-attachments/assets/73520d1a-11d2-4a19-af54-5a51b28a8a97) That is frame 1145: a man leaning on a car in the foreground, a woman behind it with her hands on the roof, a palm trunk, a lit window, and the Chinese subtitles drawn correctly. Frames 512 and 1024 (loading art) render clean too; 40+ of the 52 captured frames have content. The run reaches roughly frame 1400 and then stops at `+0x23cf683` (#1118, #1286). I cannot tell from the logs whether 1145 is the Bink video or realtime geometry - you would know that from how the frame is produced, not from its looks. Either way the picture exists on this card, so whatever makes it work is somewhere in that fork's diff: `copystat.rs` +1159, `draw.rs` +1573, `descriptor/host.rs` +1522, `descriptor.rs` +433, plus smaller changes in `texture.rs`, `bcpack.rs`, `capture.rs`, and one added dependency in `Cargo.toml`. Two caveats so this is not oversold: the frame carries a strong red cast over the whole image (which is what made me think it is the lighting path, not the video path), and I have not diffed the fork against the five PRs above, so I cannot say which of them it subsumes or whether it fixes the same thing differently. If a capture from a run with `VICTORY_DUMP_TARGETS` on this card would help pin down whether anything renders into the two 2560x1440 textures, say what to look for and I will run it.
Author
Owner

@⁠lucaseddd on GitHub · 2026-11-24 20:32 UTC · original

Thanks for the side-by-side comparison and the separate fork result. The texture-creation fixes and the rendered cutscene are distinct observations. Comparing the first frame with visible video against the same frame on main would help identify which fork change is needed.

**@⁠lucaseddd** on GitHub · 2026-11-24 20:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7143692980) Thanks for the side-by-side comparison and the separate fork result. The texture-creation fixes and the rendered cutscene are distinct observations. Comparing the first frame with visible video against the same frame on main would help identify which fork change is needed.
Author
Owner

@⁠aef200 on GitHub · 2026-11-24 21:21 UTC · original

Same-frame comparison on one machine (RTX 4060 Ti 8 GB, Windows 11 26200, native D3D12, VICTORY_CAPTURE_FRAMES=512,1024,1145,1200, no Wine), so this is the discriminator you asked for:

frame upstream ffe310eb fork 1684989
256 jungle loading art, fully drawn, correct colours fully drawn
1024 the Lucia poster, fully drawn, correct colours same poster, strong red cast
1145 run has already stopped 3D cutscene: characters, window, Chinese subtitles
host pipeline refused 143 0-2
reaches gameplay no yes, ~31 minutes

So the first frame with a visible picture is not where main differs: main draws the loading art and the poster correctly, and its colours are actually better than the fork's (the fork's frame carries a red cast that main does not). The fork is not "rendering better" here - it renders worse in colour and it separately gets much further.

What separates them is pipeline creation: 143 refusals on main against 0-2 in the fork, and main then stops during the cutscene while the fork reaches the prologue gameplay and only stops much later. That matches your reading that texture creation is a distinct issue from the picture being lost - on this card the picture is not lost at all until after the pipelines start being refused.

If it helps narrow the fork change: the fork's own README lists its rendering fixes, and the two that look most relevant to a count of 143 refusals are "meshlet culling read its scene buffers as the wrong kind of view" and "implicit-level samples outside pixel shaders produced invalid DXIL in 730 compute programs". I have not bisected them.

**@⁠aef200** on GitHub · 2026-11-24 21:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7144825326) Same-frame comparison on one machine (RTX 4060 Ti 8 GB, Windows 11 26200, native D3D12, `VICTORY_CAPTURE_FRAMES=512,1024,1145,1200`, no Wine), so this is the discriminator you asked for: | frame | upstream `ffe310eb` | fork `1684989` | |---|---|---| | 256 | jungle loading art, fully drawn, correct colours | fully drawn | | 1024 | the Lucia poster, fully drawn, correct colours | same poster, strong red cast | | 1145 | run has already stopped | 3D cutscene: characters, window, Chinese subtitles | | `host pipeline refused` | **143** | **0-2** | | reaches gameplay | no | yes, ~31 minutes | So the first frame with a visible picture is **not** where main differs: main draws the loading art and the poster correctly, and its colours are actually better than the fork's (the fork's frame carries a red cast that main does not). The fork is not "rendering better" here - it renders *worse* in colour and it separately gets much further. What separates them is pipeline creation: 143 refusals on main against 0-2 in the fork, and main then stops during the cutscene while the fork reaches the prologue gameplay and only stops much later. That matches your reading that texture creation is a distinct issue from the picture being lost - on this card the picture is not lost at all until after the pipelines start being refused. If it helps narrow the fork change: the fork's own README lists its rendering fixes, and the two that look most relevant to a count of 143 refusals are "meshlet culling read its scene buffers as the wrong kind of view" and "implicit-level samples outside pixel shaders produced invalid DXIL in 730 compute programs". I have not bisected them.
Author
Owner

@⁠lucaseddd on GitHub · 2026-11-24 21:22 UTC · original

Thanks for running the two builds on the same machine. Since the upstream run stops before the matching 3D shot, the next comparison I would make is by the first shared rejected pipeline: shader stages, creation error and the D3D12 debug reason. That would distinguish pipeline fixes from the separate colour regression you observed.

**@⁠lucaseddd** on GitHub · 2026-11-24 21:22 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7144848342) Thanks for running the two builds on the same machine. Since the upstream run stops before the matching 3D shot, the next comparison I would make is by the first shared rejected pipeline: shader stages, creation error and the D3D12 debug reason. That would distinguish pipeline fixes from the separate colour regression you observed.
Author
Owner

@⁠aef200 on GitHub · 2026-11-24 21:29 UTC · original

The shared rejected pipeline is easy to name: compute 02384a60fda6f2d0. It is refused on both the upstream ffe310e run and the fork 1684989 run, same machine, same switches.

For that one, and for every other refusal in the fork (five in total), the detail is identical:

stage:  compute
error:  0x80070057 (E_INVALIDARG)
D3D12:  ID3D12Device::CreateComputeShader: Shader wants wave lane count of 64
        but maximum wave lane count for device is 32

The five hashes in the fork are 2da4beb386509b77, 369cbe906ea72764, 02384a60fda6f2d0, 2cc4c197ee29e291, 6b82bc7d22016cb5. Upstream rejects 143; every debug line I read among those is the same wave-lane error.

This is with VICTORY_WAVE64_EMULATE=emulate set on both runs, so it is not mode selection: these programs still emit a 64-lane wave after the emulation path runs. That matches the class #1132 describes - #439 leaves programs whose groups are larger than 64 threads refused, and #189's multi-wave exchange is what covers those.

So on this card the two observations separate cleanly:

  • the colour regression is in whatever the fork changed about shading, and it affects frames long before any refusal;
  • the differing refusal count is wave64 emission in compute programs the emulation does not reach.

I have not bisected which fork change causes either - both statements come from logs of whole runs, not from single-change builds.

**@⁠aef200** on GitHub · 2026-11-24 21:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7144988188) The shared rejected pipeline is easy to name: `compute 02384a60fda6f2d0`. It is refused on both the upstream `ffe310e` run and the fork `1684989` run, same machine, same switches. For that one, and for every other refusal in the fork (five in total), the detail is identical: ``` stage: compute error: 0x80070057 (E_INVALIDARG) D3D12: ID3D12Device::CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32 ``` The five hashes in the fork are `2da4beb386509b77`, `369cbe906ea72764`, `02384a60fda6f2d0`, `2cc4c197ee29e291`, `6b82bc7d22016cb5`. Upstream rejects 143; every debug line I read among those is the same wave-lane error. This is with `VICTORY_WAVE64_EMULATE=emulate` set on both runs, so it is not mode selection: these programs still emit a 64-lane wave after the emulation path runs. That matches the class #1132 describes - #439 leaves programs whose groups are larger than 64 threads refused, and #189's multi-wave exchange is what covers those. So on this card the two observations separate cleanly: - the colour regression is in whatever the fork changed about shading, and it affects frames long before any refusal; - the differing refusal count is wave64 emission in compute programs the emulation does not reach. I have not bisected which fork change causes either - both statements come from logs of whole runs, not from single-change builds.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:53 UTC · original · edited 2026-11-25 15:45 UTC

Automated triage for the maintainers.

Still present on main (da82e44). pc_format and host_desc in crates/victory-gpu/src/resource.rs pass formats 86 (B5G5R5A1_UNORM) and 115 (B4G4R4A4_UNORM) through unchanged and keep the render-target or unordered-access use (flags 5 and 1 here). Hosts that lack that support refuse the texture, and no host texture is logged.

Open PRs that address it:

Later reports of the same two textures: #904, #1600 and #1952. The NVIDIA device removal on B5G5R5A1 typed unordered access is tracked in #1753.

The comments show that these two textures are not why the cutscene picture is black. With them created, the picture is still missing. The runs that do get a picture differ in compute pipelines refused for 64-lane waves on 32-lane hosts, which is tracked in #71 (#1132 compares the wave64 PRs). The latest comment adds a data point from a fork with several changes: a partly visible cutscene on an RTX 3060 Laptop while some of those wave64 refusals remain. That is not a test of main. This issue covers only the texture-creation failure.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:53 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7152336942) · edited 2026-11-25 15:45 UTC <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-25T13:40:54Z at=2026-11-25T15:51:00Z --> Automated triage for the maintainers. Still present on `main` (da82e44). `pc_format` and `host_desc` in `crates/victory-gpu/src/resource.rs` pass formats 86 (B5G5R5A1_UNORM) and 115 (B4G4R4A4_UNORM) through unchanged and keep the render-target or unordered-access use (flags 5 and 1 here). Hosts that lack that support refuse the texture, and `no host texture` is logged. Open PRs that address it: - #89 and #55 (both need a rebase) - #1787 - #1843 (carries a proposed-close label) Later reports of the same two textures: #904, #1600 and #1952. The NVIDIA device removal on B5G5R5A1 typed unordered access is tracked in #1753. The comments show that these two textures are not why the cutscene picture is black. With them created, the picture is still missing. The runs that do get a picture differ in compute pipelines refused for 64-lane waves on 32-lane hosts, which is tracked in #71 (#1132 compares the wave64 PRs). The latest comment adds a data point from a fork with several changes: a partly visible cutscene on an RTX 3060 Laptop while some of those wave64 refusals remain. That is not a test of `main`. This issue covers only the texture-creation failure. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠lucaseddd on GitHub · 2026-11-25 13:40 UTC · original

One comparison point for the #850 follow-up and the Wave64 investigation in #71. On native Windows 10 22H2, RTX 3060 Laptop 6 GB, NVIDIA 591.59, I saw the opening 3D image with audio and subtitles on the fxceless fork (310c6eb6 plus the VIcky integer-target blend fix and fxceless #610, one mip dropped). Some geometry was visible while parts of the character and terrain remained black. That run still logged E_INVALIDARG on compute hashes 02384a60fda6f2d0, 2cc4c197ee29e291, 369cbe906ea72764, 5dc3b25986622949 and 6f225b641c5b0708, including after the compile queue drained. Their presence in the refusal log can therefore coexist with a partially visible cutscene on this fork.

This is a fork result with several changes and a different rendering path. It does not test #876 or #2158 against current VIctory main, and it does not attribute the remaining dark surfaces to any one shader or to the two texture descriptions tracked here. The build and performance details are in https://github.com/fxceless/victory-fork/pull/610#issuecomment-7152690966.

**@⁠lucaseddd** on GitHub · 2026-11-25 13:40 UTC · [original](https://github.com/Marvisak/VIctory/issues/797#issuecomment-7164132154) One comparison point for the #850 follow-up and the Wave64 investigation in #71. On native Windows 10 22H2, RTX 3060 Laptop 6 GB, NVIDIA 591.59, I saw the opening 3D image with audio and subtitles on the fxceless fork (310c6eb6 plus the VIcky integer-target blend fix and fxceless #610, one mip dropped). Some geometry was visible while parts of the character and terrain remained black. That run still logged E_INVALIDARG on compute hashes 02384a60fda6f2d0, 2cc4c197ee29e291, 369cbe906ea72764, 5dc3b25986622949 and 6f225b641c5b0708, including after the compile queue drained. Their presence in the refusal log can therefore coexist with a partially visible cutscene on this fork. This is a fork result with several changes and a different rendering path. It does not test #876 or #2158 against current VIctory main, and it does not attribute the remaining dark surfaces to any one shader or to the two texture descriptions tracked here. The build and performance details are in https://github.com/fxceless/victory-fork/pull/610#issuecomment-7152690966.
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/Marvisak--VIctory#797
No description provided.