Windows 10: root signatures refused ("Unsupported bit-flag set, flags c01") — fixed by enabling the D3D12 Agility SDK #753
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#753
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nic0manz on GitHub · 2026-11-24 09:34 UTC · original
Problem
On Windows 10 the title crashes during Game Init (frame 0). Just before the
crash, the host refuses several root signatures:
followed by:
Flags 0x400/0x800 (CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED /
SAMPLER_HEAP_DIRECTLY_INDEXED) need SM 6.6 dynamic resources, which the inbox
D3D12 runtime on Windows 10 does not support. The README lists Windows 10 as
supported.
Fix that worked for me
Enabling the D3D12 Agility SDK (Microsoft.Direct3D.D3D12 1.620.2):
apps/victory/src/main.rs:
apps/victory/build.rs:
and copying D3D12Core.dll and d3d12SDKLayers.dll from the NuGet package
(build/native/bin/x64) into target/release/D3D12/.
With this, the root signature warnings are gone and the title gets past Game Init.
It might be worth adding this to the project (or documenting it), since the
README lists Windows 10 as supported.
System
@LAKSHYA-cmd-tech on GitHub · 2026-11-24 10:17 UTC · original
Regarding root signature refusal on Windows 10 (
Unsupported bit-flag set (root signature flags c01)):In addition to Agility SDK activation, we have implemented an in-engine fallback path in
crates/victory-gpu/src/pipeline/host.rs:If the host runtime refuses versioned root signature serialization or creation due to
0xC01/0xC00(D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED),root_signature()catchesE_INVALIDARG, warns, and immediately retries without the directly-indexed flags.Commit and verification available in:
https://github.com/LAKSHYA-cmd-tech/VIctory/commit/df9ab3c69172c64cd8638344390577334954bd04@RID-Games on GitHub · 2026-11-24 10:07 UTC · original · edited 2026-11-24 10:22 UTC
fix/root-signature-flags-fallback([df9ab3c](https://github.com/LAKSHYA-cmd-tech/VIctory/commit/df9ab3c)) in the LAKSHYA-cmd-tech fork (pipeline/host.rs, +63/−8) falls back to standard root signature flags when the host runtime rejects 0xC01/0xC00 — a code-level fix for the in-box runtime case (this issue and #749), complementing the Agility SDK workaround in the title. Windows-only to test; not verified here. AI-assisted.@Sunkiller-qc on GitHub · 2026-11-24 12:54 UTC · original
This is #84: Windows 10's in-box D3D12 stops at SM 6.5, so root signatures with
CBV_SRV_UAV/SAMPLER_HEAP_DIRECTLY_INDEXEDare refused and the title then crashes at+0xb5a5f8(see #348 and #741). Loading the Agility SDK runtime, the way you did, is exactly what #175 does (cargo xtask agility).The flag fallback branch mentioned above (#626) doesn't fix it on its own. On #828 the pipelines were still refused with it, and on #84 Zilumz1 got a PSO refusal when the flags were dropped. I'd close this as a duplicate of #84.
@Marvisak on GitHub · 2026-11-25 03:50 UTC · original
Automated triage for the maintainers.
This is the Windows 10 in-box D3D12 failure tracked in #84: root signatures with flags
c01are refused (root_signatureincrates/victory-gpu/src/pipeline/host.rsalways sets the heap-indexing flags), and the title then crashes at+0xb5a5f8. Your fix exports the Agility SDK version and path fromvictory.exe. Open PR #463 carries the same change, and #969 loads the runtime another way. Please review or build on #463 rather than opening another PR.The flag-fallback branch mentioned in the comments corresponds to open PRs #626 and #1768. Reports on #84 and #828 show pipelines are still refused with that fallback alone.
Generated by Claude Code