Windows 10: root signatures rejected, and keyboard input lost with an XInput keyboard (two fixes on a fork) #729
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#729
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?
@grindersky on GitHub · 2026-11-24 08:38 UTC · original
I can't open pull requests here (they're limited to collaborators), so here are two small fixes on my fork, one branch each, based on current
main(787f665). Happy to change anything, or for you to cherry-pick them.Tested on Windows 10 22H2 with an NVIDIA GPU and a Wooting keyboard.
1. Windows 10:
CreateRootSignaturefails withE_INVALIDARGBranch: https://github.com/grindersky/VIctory/tree/feat/agility-sdk-win10 (commit
github.com/grindersky/VIctory@4aae06c)The D3D12 runtime built into Windows 10 predates shader model 6.6 and rejects root signatures that index the descriptor heaps directly, even on GPUs that support them, so the title fails at startup.
victory.exenow exportsD3D12SDKVersion(620) andD3D12SDKPath(.\D3D12\), so the loader uses a newerD3D12Core.dllplaced in aD3D12folder beside the exe (newapps/victory/src/agility.rs, plus abuild.rsadding the linker exports). Without that folder the system runtime is used as before; Windows 11 is unaffected. The DLLs are not added to the repo; the README explains where to get them (Microsoft.Direct3D.D3D12 NuGet, 1.620.x).Result: the title reaches the start screen and menus on Windows 10.
2. No keyboard input when a keyboard also presents an XInput pad
Branch: https://github.com/grindersky/VIctory/tree/fix/keyboard-beside-xinput-pad (commit
github.com/grindersky/VIctory@d6b8716)Some keyboards (Wooting) also present an XInput pad that never reports input. Because the keyboard stand-in pad was disconnected while any XInput pad was connected, there was no usable input at the start screen.
The stand-in now stays connected alongside host pads (
crates/victory-hle/src/modules/gameinput.rs); the README input section and gameinput tests are updated to match.cargo test -p victory-hlepasses.Result: Enter works at the start screen.
@danekbiglike on GitHub · 2026-11-24 10:24 UTC · original
I ran a before/after check for the keyboard part of this issue on native Windows. I used the existing GameInput fake host to model an idle XInput device in slot 0, then pressed and released Enter on the keyboard. The same test ran against both revisions in separate build directories.
787f665DEVICE_DISCONNECTED.d6b8716This exercises the input API with synthetic device readings. Physical Wooting hardware and the Agility SDK change were outside this check.
Regression test for the existing tests module in gameinput.rs
Run
cargo test --locked --lib -p victory-hle gameinput.AI-assisted test and report.
github-bot referenced this issue2026-11-26 07:31:52 +00:00
github-bot referenced this issue2026-11-26 07:33:19 +00:00
github-bot referenced this issue2026-11-26 07:33:40 +00:00
@Marvisak on GitHub · 2026-11-25 01:48 UTC · original
Automated triage for the maintainers.
Both problems are still present on current
main. Pull requests are open to everyone now, so please open one per branch.1. Windows 10 root signatures / shader model 6.6.
mainhas noD3D12SDKVersion/D3D12SDKPathexports and no Agility loading, so Windows 10's in-box runtime is used. This is the cluster tracked in #84, the oldest report, which proposes the same export route. Other reports of the same failure: #473, #598, #622, #749, #753, #828, #1532 and #1612. Open PRs for it:D3D12\D3D12Core.dllis present.ID3D12SDKConfiguration1. bittertea0323's A/B above found that a runtimeSetSDKVersioncall did not work on their host, while the exports did.2. Keyboard stand-in disabled by an idle XInput device. Confirmed in
State::pollincrates/victory-hle/src/modules/gameinput.rs.FALLBACKis fed only when no host pad slot is connected ((!any_pad).then(...)), so a keyboard that also presents an idle XInput pad hides the keyboard pad. Open PR #1430 addresses this by keeping the stand-in while the XInput slots are at rest. Bundle #1610 left your branch out because it conflicted with the #845 change in the same file.Generated by Claude Code
github-bot referenced this issue2026-11-26 07:43:55 +00:00