Windows 10 22H2: every host root signature refused (flags 0xC01, E_INVALIDARG), 0 draws, same on WARP #3618

Open
opened 2026-11-27 22:33:40 +00:00 by github-bot · 2 comments
Owner

@⁠RuBi22221 on GitHub · 2026-11-27 22:32 UTC · original

Environment

  • Windows 10 Pro 22H2 (build 19045.6466)
  • AMD Radeon Vega 8 (integrated), driver 31.0.21921.1000 (2024-08-19), D3D12 FL 12.1
  • About 6 GB of RAM reported in the title's crash context
  • Built with cargo build --profile diag -p victory --features diagnostics
  • victory warm completed (25700 translated, 58 refused)
  • --console series-x

What 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:

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=El parámetro no es correcto. (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78]

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=1 the log shows "host device on the software adapter (WARP)" and host 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.

**@⁠RuBi22221** on GitHub · 2026-11-27 22:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/3618) **Environment** - Windows 10 Pro 22H2 (build 19045.6466) - AMD Radeon Vega 8 (integrated), driver 31.0.21921.1000 (2024-08-19), D3D12 FL 12.1 - About 6 GB of RAM reported in the title's crash context - Built with `cargo build --profile diag -p victory --features diagnostics` - `victory warm` completed (25700 translated, 58 refused) - `--console series-x` **What 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: 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=El parámetro no es correcto. (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] 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=1` the log shows "host device on the software adapter (WARP)" and `host 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 22:33:40 +00:00
Author
Owner

@⁠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 0x400 and 0x800 are 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 setup

On Windows 10 22H2 build 19045.6456, I reproduced this with a synthetic 0xC01 root 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:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/3618#issuecomment-7229658556) Windows 10 22H2 can use these flags with a compatible D3D12 Agility runtime. The flags `0x400` and `0x800` are 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](https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_DynamicResources.html) · [Microsoft's Agility setup](https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/) On Windows 10 22H2 build 19045.6456, I reproduced this with a synthetic `0xC01` root 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](https://git.gtahub.st/github/Marvisak--VIctory/pulls/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](https://git.gtahub.st/github/Marvisak--VIctory/pulls/463) AI-assisted with OpenAI Codex.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 22:52 UTC · original

Windows 10 22H2 can accept 0xC01 with 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 as main at 63bcca4.

D3D12 runtime WARP Shader model returned when asked for 6.6 0xC01 serialize / create Synthetic cs_6_6 pipeline
In-box In-box 6.2 E_INVALIDARG at serialization Blocked by serialization
In-box 1.0.22 6.5 E_INVALIDARG at serialization Blocked by serialization
Agility 1.620.2 In-box 6.2 Both passed E_INVALIDARG
Agility 1.620.2 1.0.22 6.6 Both passed Passed

The probe created a D3D12 device through IDXGIFactory4::EnumWarpAdapter and serialized empty version 1.1 signatures. The 0x001 control passed on all four combinations. Either heap flag alone, tested as 0x401 and 0x801, produced the same serializer error with the in-box D3D12 runtime. For the pipeline check I used DXC to compile a one-thread cs_6_6 shader that stores a word through an RWByteAddressBuffer taken from ResourceDescriptorHeap[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.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 22:52 UTC · [original](https://github.com/Marvisak/VIctory/issues/3618#issuecomment-7229683462) Windows 10 22H2 can accept `0xC01` with 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 as `main` at `63bcca4`. | D3D12 runtime | WARP | Shader model returned when asked for 6.6 | `0xC01` serialize / create | Synthetic `cs_6_6` pipeline | | --- | --- | --- | --- | --- | | In-box | In-box | 6.2 | `E_INVALIDARG` at serialization | Blocked by serialization | | In-box | 1.0.22 | 6.5 | `E_INVALIDARG` at serialization | Blocked by serialization | | Agility 1.620.2 | In-box | 6.2 | Both passed | `E_INVALIDARG` | | Agility 1.620.2 | 1.0.22 | 6.6 | Both passed | Passed | The probe created a D3D12 device through `IDXGIFactory4::EnumWarpAdapter` and serialized empty version 1.1 signatures. The `0x001` control passed on all four combinations. Either heap flag alone, tested as `0x401` and `0x801`, produced the same serializer error with the in-box D3D12 runtime. For the pipeline check I used DXC to compile a one-thread `cs_6_6` shader that stores a word through an `RWByteAddressBuffer` taken from `ResourceDescriptorHeap[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](https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_DynamicResources.html#device-capability) · [Agility SDK setup on Windows 10](https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/) #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.
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#3618
No description provided.