Report the issue root signature flags 0xC01 #1531

Open
opened 2026-11-24 18:51:19 +00:00 by Elvale31 · 2 comments
Elvale31 commented 2026-11-24 18:51:19 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by Elvale31 on 2026-11-24T18:51:19Z.


Report the issue on GitHub with this log, noting that WARP does not accept root signature flags 0xC01 and that the fix would strip-ear those bits before calling CreateRootSignature on the host.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6589054164 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1532). Originally posted by [Elvale31](https://github.com/Elvale31) on 2026-11-24T18:51:19Z. --- Report the issue on GitHub with this log, noting that WARP does not accept root signature flags 0xC01 and that the fix would strip-ear those bits before calling CreateRootSignature on the host.
Marvisak commented 2026-11-25 11:05:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T10:25:52Z.


Automated triage for the maintainers.

main always creates root signatures with the directly indexed heap flags (crates/victory-gpu/src/pipeline/host.rs, root_signature), and a runtime that refuses them reports flags c01. The known case is the Windows 10 in-box D3D12 runtime, tracked in #84; open PRs #463 and #969 load the Agility SDK for it. Open PR #1768 instead retries without those flags.

The log mentioned in the issue isn't attached, so it is not clear which case this is. Please add:

  • Windows version and build (winver), GPU and driver;
  • the VIctory commit (git rev-parse --short HEAD);
  • whether WARP was selected on purpose (VICTORY_D3D12_WARP=1) or on the hardware GPU;
  • the log lines around the refusal and how far the run got.

Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7159684843 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1532#issuecomment-7159684843). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T10:25:52Z. --- <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T18:51:19Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. `main` always creates root signatures with the directly indexed heap flags (`crates/victory-gpu/src/pipeline/host.rs`, `root_signature`), and a runtime that refuses them reports flags `c01`. The known case is the Windows 10 in-box D3D12 runtime, tracked in #84; open PRs #463 and #969 load the Agility SDK for it. Open PR #1768 instead retries without those flags. The log mentioned in the issue isn't attached, so it is not clear which case this is. Please add: - Windows version and build (`winver`), GPU and driver; - the VIctory commit (`git rev-parse --short HEAD`); - whether WARP was selected on purpose (`VICTORY_D3D12_WARP=1`) or on the hardware GPU; - the log lines around the refusal and how far the run got. --- _Generated by [Claude Code](https://claude.ai/code)_
ghnb90909 commented 2026-11-27 11:06:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by ghnb90909 on 2026-11-27T11:06:16Z.


Adding what the triage asked for. Two builds reproduce it, hardware and WARP both.

Windows and build: Windows 10 22H2, 10.0.19045. The system d3d12.dll and
D3D12Core.dll are both 10.0.19041.5794 (WinBuild.160101.0800), and there is no
app-local D3D12Core.dll next to the exe, so this is the in-box runtime, not an
Agility SDK one.

GPU and driver: NVIDIA GeForce GTX 1080 Ti, 11106 MiB, driver 32.0.15.8278.
gpu-info on the same adapter reports: D3D12 feature level 12.0 or later yes,
Shader model 6.6 or later no, Mesh shaders no,
Hardware rendering requirements confirmed no (exit 1).

VIctory commit: 63bcca4 (main), built with
cargo build --profile diag --features diagnostics -p victory, rustc 1.98.1.
A small local patch adds an XCL pixel-shader fallback and a prewarm subcommand;
it touches no device, root signature or shader-model code. The same failure
reproduces on 940d32f carrying that same patch.

WARP: both, on purpose. The hardware adapter and VICTORY_D3D12_WARP=1 fail
identically — same refusal, same 0 draws, same later crash.

Log around the refusal (hardware):

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=参数错误。 (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78]
INFO victory_gpu::pipeline::library: no host pipeline library yet; starting an empty one
INFO victory_gpu::queue: frame presented (...) frame=64 draws=96 drawn=0 dispatches=0 dispatched=0
INFO victory_gpu::host: 30.0 fps, 33.3 ms/frame, 0 draws/frame, dropped 3 without a host pipeline (0 being made)

How far the run got: a 3840x2160 window is created and presented (black, about
30 fps), the title opens its .rpf archives and the ttdb tables, then, immediately
after XUserAddAsync: the offline local user, it dies inside the title:

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
  #0 victory-image-...+0xb5a5f8   #1 +0x5bb7cce   #2 +0x1dbdc0b

exit code -1073741819; the title's own WER log records Game State: Game Init,
Frame: 0.

One extra data point, since #1768 retries without the flags: I tried exactly
that — the same description with only the input-assembler flag. Serialization then
succeeds, and the failure only moves to pipeline creation:

WARN victory_gpu::pipeline::host: root signature refused with the heap-indexed flags; retrying without them error=参数错误。 (0x80070057)
WARN victory_gpu::pipeline::host: host pipeline refused error=参数错误。 (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78]

So on an adapter without shader model 6.6 the retry moves the failure from the
signature to CreatePipelineState; it does not by itself make that adapter draw.
I cannot tell on this machine whether that E_INVALIDARG is the shader model or the
heap flags now missing from the signature — dxc validation of the translated DXIL,
or the census, would separate them.

Full runtime.log for the hardware run, the WARP run and the retry build are
available if useful.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7216682968 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1532#issuecomment-7216682968). Originally posted by [ghnb90909](https://github.com/ghnb90909) on 2026-11-27T11:06:16Z. --- Adding what the triage asked for. Two builds reproduce it, hardware and WARP both. **Windows and build**: Windows 10 22H2, 10.0.19045. The system `d3d12.dll` and `D3D12Core.dll` are both 10.0.19041.5794 (WinBuild.160101.0800), and there is no app-local `D3D12Core.dll` next to the exe, so this is the in-box runtime, not an Agility SDK one. **GPU and driver**: NVIDIA GeForce GTX 1080 Ti, 11106 MiB, driver 32.0.15.8278. `gpu-info` on the same adapter reports: D3D12 feature level 12.0 or later **yes**, Shader model 6.6 or later **no**, Mesh shaders **no**, Hardware rendering requirements confirmed **no** (exit 1). **VIctory commit**: `63bcca4` (`main`), built with `cargo build --profile diag --features diagnostics -p victory`, `rustc 1.98.1`. A small local patch adds an XCL pixel-shader fallback and a `prewarm` subcommand; it touches no device, root signature or shader-model code. The same failure reproduces on `940d32f` carrying that same patch. **WARP**: both, on purpose. The hardware adapter and `VICTORY_D3D12_WARP=1` fail identically — same refusal, same 0 draws, same later crash. **Log around the refusal** (hardware): ``` 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=参数错误。 (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] INFO victory_gpu::pipeline::library: no host pipeline library yet; starting an empty one INFO victory_gpu::queue: frame presented (...) frame=64 draws=96 drawn=0 dispatches=0 dispatched=0 INFO victory_gpu::host: 30.0 fps, 33.3 ms/frame, 0 draws/frame, dropped 3 without a host pipeline (0 being made) ``` How far the run got: a 3840x2160 window is created and presented (black, about 30 fps), the title opens its .rpf archives and the ttdb tables, then, immediately after `XUserAddAsync: the offline local user`, it dies inside the title: ``` VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) #0 victory-image-...+0xb5a5f8 #1 +0x5bb7cce #2 +0x1dbdc0b ``` exit code `-1073741819`; the title's own WER log records `Game State: Game Init`, `Frame: 0`. **One extra data point**, since #1768 retries without the flags: I tried exactly that — the same description with only the input-assembler flag. Serialization then succeeds, and the failure only moves to pipeline creation: ``` WARN victory_gpu::pipeline::host: root signature refused with the heap-indexed flags; retrying without them error=参数错误。 (0x80070057) WARN victory_gpu::pipeline::host: host pipeline refused error=参数错误。 (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] ``` So on an adapter without shader model 6.6 the retry moves the failure from the signature to `CreatePipelineState`; it does not by itself make that adapter draw. I cannot tell on this machine whether that `E_INVALIDARG` is the shader model or the heap flags now missing from the signature — dxc validation of the translated DXIL, or the census, would separate them. Full `runtime.log` for the hardware run, the WARP run and the retry build are available if useful.
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
Marvisak/VIctory#1531
No description provided.