Recover automatically from a missing D3D12 Agility SDK #277
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!277
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-277"
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?
@DaTweaks on GitHub · 2026-11-27 20:38 UTC · original
DaTweaks:d3d12-installer→main· +119 −59 · 5 files · 6 commits · closed without mergingProblem
On Windows 11 23H2, Victory could still fail with
0x887E0003when
D3D12\D3D12Core.dllwas missing, even with the Windows runtimefallback on
main. The shader-model probe discarded the error code,so startup continued without attempting recovery.
Changes
0x887E0003from the shader-model probe. If the local DLLis missing, automatically download the matching SDK from Microsoft
NuGet into
D3D12besidevictory.exe.checksum and Microsoft signature.
before launching the game. Keep the existing confirmation prompt
when the runtime works but reports a shader model below 6.6.
Verification
cargo test --release --locked --offline -p victorypassed all 26 tests.directory with no local DLL. Victory downloaded the signed SDK beside
the executable, loaded it, and reported Shader Model 6.8.
@DaTweaks on GitHub · 2026-11-27 20:49 UTC · original
Thanks for the fix in
f3534e6. This PR keeps the Windows runtime fallback from that commit and adds recovery for cases where the fallback still fails.On my Windows 11 23H2 system (build 22631.6199), the official v2026.11.27.5 executable returned none from victory.exe shader-model in a clean directory. In the same setup, the PR build surfaced 0x887E0003, automatically downloaded and verified the Microsoft SDK into D3D12 beside the executable, and reported Shader Model 6.8 on retry.
@1tsethan on GitHub · 2026-11-27 23:01 UTC · original
Independent Windows validation of PR #277.
Tested commit:
4ca930c8c649197ae710efc76914424b686e00b9.cargo test --locked -p victory play::tests -- --nocapture --test-threads=1Exit: 0.
Coverage here is launcher settings tests only, not missing/mismatched Agility DLL recovery. This branch also has a merge conflict against
df2daaf; the tests ran its exact head without resolving that conflict.Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result.
@trustno1-coder on GitHub · 2026-11-28 19:22 UTC · original
Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.
Pull request closed