Windows 10: root signatures refused ("Unsupported bit-flag set, flags c01") — fixed by enabling the D3D12 Agility SDK #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?
Imported from Marvisak/VIctory. Originally posted by nic0manz on 2026-11-24T09:34:58Z.
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
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T10:17:55Z.
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/df9ab3c69172c64cd8638344390577334954bd04Imported from Marvisak/VIctory. Originally posted by RID-Games on 2026-11-24T10:07:35Z.
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.Imported from Marvisak/VIctory. Originally posted by Sunkiller-qc on 2026-11-24T12:54:11Z.
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.
upstream-sync referenced this issue2026-11-25 02:06:19 +00:00
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:50:34Z.
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