Windows 10 22H2: every host root signature refused (flags 0xC01, E_INVALIDARG), 0 draws, same on WARP #3618
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#3618
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?
@RuBi22221 on GitHub · 2026-11-27 22:32 UTC · original
Environment
cargo build --profile diag -p victory --features diagnosticsvictory warmcompleted (25700 translated, 58 refused)--console series-xWhat happens
The title boots, the host D3D12 device is created, but every graphics pipeline is dropped. The window stays black with
0 draws/frame. Log:The same happens for the next pipelines (vertex 58d926085fca4999 / pixel edc1cad8ffb79bc9, vertex 0602c2384acbb3b2 / pixel a78d088fa55aa495). The frame counter then reports
dropped 3 without a host pipeline.Not adapter-specific
With
VICTORY_D3D12_WARP=1the log shows "host device on the software adapter (WARP)" andhost wave lanes min=4 max=4, and the same refusal appears with the same shader hashes. So it does not seem to depend on the GPU or its driver.Question
Flags 0xC01 = ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT (0x1) + CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED (0x400) + SAMPLER_HEAP_DIRECTLY_INDEXED (0x800). Do the directly-indexed heap flags need Windows 11 or the Agility SDK runtime? The README only mentions Windows 11 test machines, so I could not tell if Windows 10 is expected to work.
Separate note
Earlier runs also hit os error 1455 (commit limit) until I enlarged the page file, and a run crashed with 0xC0000005 about 90 s in while it was opening the world data files. I assume this is the low RAM, so I am not reporting it as a bug here.
Happy to run a diagnostics build or test a patch if useful.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 22:50 UTC · original
Windows 10 22H2 can use these flags with a compatible D3D12 Agility runtime. The flags
0x400and0x800are required for shaders that directly index the resource and sampler descriptor heaps in Shader Model 6.6. WARP selects the adapter and still uses the D3D12 runtime loaded for the process. Microsoft's shader requirements · Microsoft's Agility setupOn Windows 10 22H2 build 19045.6456, I reproduced this with a synthetic
0xC01root signature. In-box WARP reported SM 6.2 and refused the signature. The same test with app-local Agility 1.620.2 and WARP 1.0.22 reported SM 6.6 and serialized it. Result on #3533#463 tracks app-local runtime support. The rebased test build in that thread verified both SDK exports and the loaded runtime on Windows 10. If you test a build with Agility enabled on your system, the reported Shader Model and the first root-signature outcome are enough to tell whether it gets past this specific refusal. Verified #463 build
AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 22:52 UTC · original
Windows 10 22H2 can accept
0xC01with the app-local runtime. I reproduced the serializer error on Windows 10 22H2 build 19045.6456 with a standalone WARP probe using the same root signature version and flags asmainat63bcca4.0xC01serialize / createcs_6_6pipelineE_INVALIDARGat serializationE_INVALIDARGat serializationE_INVALIDARGThe probe created a D3D12 device through
IDXGIFactory4::EnumWarpAdapterand serialized empty version 1.1 signatures. The0x001control passed on all four combinations. Either heap flag alone, tested as0x401and0x801, produced the same serializer error with the in-box D3D12 runtime. For the pipeline check I used DXC to compile a one-threadcs_6_6shader that stores a word through anRWByteAddressBuffertaken fromResourceDescriptorHeap[0]. I verified the loaded DLL locations for each row.That explains the error persisting after switching to the software adapter. The switch selects WARP. The app also needs to select a runtime that accepts the heap flags, and the chosen adapter must support the shader features. Microsoft's heap-indexing requirements · Agility SDK setup on Windows 10
#2429 tracks runtime loading for this exact serializer error. #3533 adds a startup diagnostic and #2360 covers the README. If you test a runtime-loading build on the Vega 8, the selected D3D12 runtime and reported shader model would help confirm how far it gets on that adapter. The matrix above is software WARP and synthetic pipeline creation.
AI-assisted with Codex.