Export the Agility SDK so the build renders on Windows 10 #50
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ghnb90909 on 2026-11-27T14:51:04Z.
What 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by HocotateGuy15 on 2026-11-27T15:43:56Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by xdominhd on 2026-11-27T18:10:35Z.
Could someone please upload files? I have the same problem but can't progamm,
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by vlad441 on 2026-11-27T20:36:03Z.
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T18:27:08Z.
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