Export the Agility SDK so the build renders on Windows 10 #50
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!50
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-50"
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?
@ghnb90909 on GitHub · 2026-11-27 14:51 UTC · original
ghnb90909:agility-sdk-windows-10→main· +47 −0 · 3 files · 3 commits · closed without mergingWhat this fixes
The published
v2026.11.26victory.execannot render on Windows 10. Its D3D12runtime rejects the heap-indexed root signature flags, nothing is drawn, and the
title crashes about 19 seconds in:
dumpbin /exports victory.exeshows noD3D12SDKVersion/D3D12SDKPath, so theapplication-local Agility SDK is never loaded. Windows 11's in-box runtime
accepts those flags; Windows 10's (
d3d12.dll10.0.19041.5794 here) does not.What the patch does
Three files, ~44 lines, no behaviour change unless
VICTORY_AGILITY_SDK=1is setat build time:
apps/victory/build.rs(new): setscfg(agility_sdk)and the two/EXPORT:...linker arguments for the
victorybinary.apps/victory/src/agility.rs(new): exportsD3D12SDKVersion = 620andD3D12SDKPath = ".\\D3D12\\", and checks thatD3D12\D3D12Core.dllsits besidethe executable.
apps/victory/src/main.rs:#[cfg(agility_sdk)] mod agility;and oneagility::check_runtime()?after the CLI is parsed.Build and use:
The same shape is used by other forks in this family, so the runtime behaviour is
not new; only the exports are.
What I measured after the patch
0xC0000005at+0xb5a5f8after 19 sEnvironment: Windows 10 22H2 19045, i5-14600KF, 32 GiB, GTX 1080 Ti 11 GiB
(driver 32.0.15.8278, D3D12 feature level 12.0, no shader model 6.6, no mesh
shaders).
On that adapter the world runs at 5–6 fps with
658 draws/frame, dropped 950 without a host pipeline (0 being made), GPU 145–178 ms a frame; the 195 mergedgeometry stages that
README-fxceless.mdlists as a gap are among theuntranslated programs. That is a separate matter from this patch, but the
compile-time switch makes the Windows 10 path usable at all, which is what the
memory of this PR is about.
If you would rather not carry the switch, the README's requirement line could at
least say that Windows 10 needs a build with the Agility SDK exports and the
1.620.2 runtime beside the exe — the release notes currently tell Windows 10
users to just double-click it.
@HocotateGuy15 on GitHub · 2026-11-27 15:43 UTC · original
Gameplay test on an RTX 3070 8 GB, NVIDIA driver 610.88, and Windows 10 22H2 (19045.7846). I used fork
mainatd12eb1bwith equivalent local Agility exports and Microsoft Agility SDK 1.620.2. I did not build PR #50’s exact head. Series S mode, DLSS off, frame generation off.Verified that the app-local
D3D12Core.dllloaded. The menu reached 30 FPS and 3D gameplay rendered. I saw 14–15 FPS in gameplay and briefly saw 19 FPS. A later check showed 8 FPS, so performance varies by scene. At that check the run was still active, with zero root-signature rejections, device removals, or unhandled exceptions in the log.An earlier run showed missing faces and ended with a separate title-side access violation. A local experimental crash guard was enabled for the current run and did not trigger, so this test does not verify a fix for that crash. AI-assisted build setup and log analysis.
@xdominhd on GitHub · 2026-11-27 18:10 UTC · original
Could someone please upload files? I have the same problem but can't progamm,
@vlad441 on GitHub · 2026-11-27 20:36 UTC · original · edited 2026-11-27 23:22 UTC
cmd.exe:set VICTORY_AGILITY_SDK=1&cargo build --release --locked -p victorytarget\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}.\target\release\victory.exe play %GTA6_PATH%\game_scarlett_master.exe --series-s --dlss offAmericas | Victory 517 fps 1.9 ms/frame 14 draws/frameI was able to get the first visible frame.
On Windows 10 21H1 19043.782 | GPU: RTX A2000 | Driver Version: 595.71
@trustno1-coder on GitHub · 2026-11-28 18:27 UTC · original
Thanks for this. I'm closing it without merging: main handles this a different way now. victory.exe asks Windows for the version of the D3D12 folder beside it (or Windows' own), and
victory playoffers Microsoft's Agility SDK where it's needed, so a build-time export isn't used. It also conflicts with main.Pull request closed