Agility SDK D3D12 #84

Closed
opened 2026-11-27 00:41:43 +00:00 by github-bot · 8 comments
Owner

@⁠ciferscall-svg on GitHub · 2026-11-26 23:04 UTC · original

Is there a way to make the script use a manually provided version of D3D12? The version that comes bundled in with Win 10 isn't supported. I also had this issue with other projects and this was the fix.

Sorry for not being very descriptive I don't really know what the problem is, only that this is the fix

**@⁠ciferscall-svg** on GitHub · 2026-11-26 23:04 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84) Is there a way to make the script use a manually provided version of D3D12? The version that comes bundled in with Win 10 isn't supported. I also had this issue with other projects and this was the fix. Sorry for not being very descriptive I don't really know what the problem is, only that this is the fix
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:41:43 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-26 23:09 UTC · original

The launcher starts victory.exe, which currently creates its D3D12 device through the Windows runtime. An application-local Agility SDK would need to be selected by the executable. Could you post your Windows 10 build number, GPU and driver version, and the first error from the diagnostics log? Vice-Tay requires Shader Model 6.6 and mesh shaders. The startup error will help distinguish a runtime loading problem from a feature-capability check. Microsoft’s Agility SDK guide

**@⁠TaynanGT** on GitHub · 2026-11-26 23:09 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7205307890) The launcher starts `victory.exe`, which currently creates its D3D12 device through the Windows runtime. An application-local Agility SDK would need to be selected by the executable. Could you post your Windows 10 build number, GPU and driver version, and the first error from the diagnostics log? Vice-Tay requires Shader Model 6.6 and mesh shaders. The startup error will help distinguish a runtime loading problem from a feature-capability check. [Microsoft’s Agility SDK guide](https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/)
Author
Owner

@⁠ciferscall-svg on GitHub · 2026-11-26 23:21 UTC · original

22H2 OS Build 19045.6466
3080 TI Driver Ver 621.01

This is what I get when trying to pre-build the shaders

←[2m2026-11-26T23:13:30.209968Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m crash tracing on (device-removed data) ←[3mbreadcrumbs←[0m←[2m=←[0mtrue ←[3mmarkers←[0m←[2m=←[0mfalse
←[2m2026-11-26T23:13:32.917681Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::tdr←[0m←[2m:←[0m GPU timeout detection (TdrLevel, TdrDelay, TdrDdiDelay) ←[3mlevel←[0m←[2m=←[0mdefault ←[3mdelay←[0m←[2m=←[0mdefault ←[3mddi_delay←[0m←[2m=←[0mdefault
←[2m2026-11-26T23:13:32.917808Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host wave lanes ←[3mmin←[0m←[2m=←[0m32 ←[3mmax←[0m←[2m=←[0m32
←[2m2026-11-26T23:13:32.942450Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host D3D12 adapter ←[3madapter←[0m←[2m=←[0m"NVIDIA GeForce RTX 3080 Ti" ←[3mvendor←[0m←[2m=←[0m0x10de ←[3mdevice←[0m←[2m=←[0m0x2208 ←[3mvram_mb←[0m←[2m=←[0m12084
←[2m2026-11-26T23:13:32.942528Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host D3D12 device ready
←[2m2026-11-26T23:13:32.942741Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::descriptor::host←[0m←[2m:←[0m host view heaps hold 1000000 views; view indices are clamped to the null slot at the end from the first shader on ←[3mviews←[0m←[2m=←[0m1000000 ←[3mraw_twins←[0m←[2m=←[0mfalse
1000 shaders in the cache, 44 s
2000 shaders in the cache, 44 s
3000 shaders in the cache, 45 s
4000 shaders in the cache, 45 s
5000 shaders in the cache, 46 s
6000 shaders in the cache, 46 s
7000 shaders in the cache, 47 s
8000 shaders in the cache, 47 s
9000 shaders in the cache, 47 s
10000 shaders in the cache, 48 s
11000 shaders in the cache, 48 s
12000 shaders in the cache, 49 s
13000 shaders in the cache, 49 s
14000 shaders in the cache, 50 s
15000 shaders in the cache, 50 s
16000 shaders in the cache, 50 s
17000 shaders in the cache, 51 s
18000 shaders in the cache, 51 s
19000 shaders in the cache, 52 s
20000 shaders in the cache, 52 s
21000 shaders in the cache, 52 s
22000 shaders in the cache, 53 s
23000 shaders in the cache, 53 s
24000 shaders in the cache, 53 s
25000 shaders in the cache, 53 s
25786 shaders in the cache, 199 do not translate, 54 s
195 converter shader.dxil v1: GFX10 code at 0x0: a container without a vertex, pixel, compute or mesh program is not supported (e.g. 88cdcc6833c85c12)
4 converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported (e.g. 5dc3b25986622949)
file scan size-limited: files read 93, skipped 16 (walk errors 0, metadata errors 0, read errors 0, over 2147483648 bytes: 16)

And this is what I get when trying to run the game: [check attached file]

gamelaunchlog.txt

I know what the issue is.

VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)

I had this same exact problem with every project I tried and nothing changed until I started using D3D12 1.620.2

**@⁠ciferscall-svg** on GitHub · 2026-11-26 23:21 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7205477691) 22H2 OS Build 19045.6466 3080 TI Driver Ver 621.01 This is what I get when trying to pre-build the shaders ←[2m2026-11-26T23:13:30.209968Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m crash tracing on (device-removed data) ←[3mbreadcrumbs←[0m←[2m=←[0mtrue ←[3mmarkers←[0m←[2m=←[0mfalse ←[2m2026-11-26T23:13:32.917681Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::tdr←[0m←[2m:←[0m GPU timeout detection (TdrLevel, TdrDelay, TdrDdiDelay) ←[3mlevel←[0m←[2m=←[0mdefault ←[3mdelay←[0m←[2m=←[0mdefault ←[3mddi_delay←[0m←[2m=←[0mdefault ←[2m2026-11-26T23:13:32.917808Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host wave lanes ←[3mmin←[0m←[2m=←[0m32 ←[3mmax←[0m←[2m=←[0m32 ←[2m2026-11-26T23:13:32.942450Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host D3D12 adapter ←[3madapter←[0m←[2m=←[0m"NVIDIA GeForce RTX 3080 Ti" ←[3mvendor←[0m←[2m=←[0m0x10de ←[3mdevice←[0m←[2m=←[0m0x2208 ←[3mvram_mb←[0m←[2m=←[0m12084 ←[2m2026-11-26T23:13:32.942528Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::host←[0m←[2m:←[0m host D3D12 device ready ←[2m2026-11-26T23:13:32.942741Z←[0m ←[32m INFO←[0m ←[2mvictory_gpu::descriptor::host←[0m←[2m:←[0m host view heaps hold 1000000 views; view indices are clamped to the null slot at the end from the first shader on ←[3mviews←[0m←[2m=←[0m1000000 ←[3mraw_twins←[0m←[2m=←[0mfalse 1000 shaders in the cache, 44 s 2000 shaders in the cache, 44 s 3000 shaders in the cache, 45 s 4000 shaders in the cache, 45 s 5000 shaders in the cache, 46 s 6000 shaders in the cache, 46 s 7000 shaders in the cache, 47 s 8000 shaders in the cache, 47 s 9000 shaders in the cache, 47 s 10000 shaders in the cache, 48 s 11000 shaders in the cache, 48 s 12000 shaders in the cache, 49 s 13000 shaders in the cache, 49 s 14000 shaders in the cache, 50 s 15000 shaders in the cache, 50 s 16000 shaders in the cache, 50 s 17000 shaders in the cache, 51 s 18000 shaders in the cache, 51 s 19000 shaders in the cache, 52 s 20000 shaders in the cache, 52 s 21000 shaders in the cache, 52 s 22000 shaders in the cache, 53 s 23000 shaders in the cache, 53 s 24000 shaders in the cache, 53 s 25000 shaders in the cache, 53 s 25786 shaders in the cache, 199 do not translate, 54 s 195 converter shader.dxil v1: GFX10 code at 0x0: a container without a vertex, pixel, compute or mesh program is not supported (e.g. 88cdcc6833c85c12) 4 converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported (e.g. 5dc3b25986622949) file scan size-limited: files read 93, skipped 16 (walk errors 0, metadata errors 0, read errors 0, over 2147483648 bytes: 16) And this is what I get when trying to run the game: [check attached file] [gamelaunchlog.txt](https://github.com/user-attachments/files/35487531/gamelaunchlog.txt) I know what the issue is. VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) I had this same exact problem with every project I tried and nothing changed until I started using D3D12 1.620.2
Author
Owner

@⁠cafeoh on GitHub · 2026-11-26 23:24 UTC · original

Windows 10 data point: the Agility SDK runtime is the fix, and avatarmanz/VIctory-7900XTX#165 already has it.

  • Machine: Windows 10 22H2 (build 19045), RTX 2080 Ti.
  • Without it: Windows 10's own D3D12 refuses the root signatures every translated pipeline uses ("Unsupported bit-flag set (root signature flags c00)" and c01, E_INVALIDARG), and the title stops about 3 s in.
  • With victory.exe exporting D3D12SDKVersion = 620 and D3D12SDKPath = ".\D3D12\", and D3D12Core.dll from the NuGet package Microsoft.Direct3D.D3D12 1.620.2 in D3D12\ next to victory.exe: those refusals are gone and the title runs into the world.
  • That is what avatarmanz/VIctory-7900XTX#165 does (two exports plus a build.rs).
  • One caveat, from a small test program on the same Windows 10: with the exports and no D3D12\ folder, device creation fails (D3D12_ERROR_INVALID_REDIST, 0x887E0003) rather than falling back to the Windows runtime. Calvix2k saw the same in #165's thread. The follow-ups there handle it: LeonardoS11's 41b0841 (delay-load d3d12.dll and export the system runtime's own version when the folder is missing) or HAL9000RELOADED's build-time check.

Tested: Windows 10 19045 + RTX 2080 Ti, Agility 1.620.2, our own tree with the same two exports.
Not tested: #165 itself on this machine, Windows 11.

AI-assisted (Claude Code).

**@⁠cafeoh** on GitHub · 2026-11-26 23:24 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7205517235) **Windows 10 data point: the Agility SDK runtime is the fix, and avatarmanz/VIctory-7900XTX#165 already has it.** - Machine: Windows 10 22H2 (build 19045), RTX 2080 Ti. - Without it: Windows 10's own D3D12 refuses the root signatures every translated pipeline uses ("Unsupported bit-flag set (root signature flags c00)" and `c01`, E_INVALIDARG), and the title stops about 3 s in. - With `victory.exe` exporting `D3D12SDKVersion = 620` and `D3D12SDKPath = ".\D3D12\"`, and `D3D12Core.dll` from the NuGet package `Microsoft.Direct3D.D3D12` 1.620.2 in `D3D12\` next to `victory.exe`: those refusals are gone and the title runs into the world. - That is what avatarmanz/VIctory-7900XTX#165 does (two exports plus a `build.rs`). - One caveat, from a small test program on the same Windows 10: with the exports and **no** `D3D12\` folder, device creation fails (`D3D12_ERROR_INVALID_REDIST`, 0x887E0003) rather than falling back to the Windows runtime. Calvix2k saw the same in #165's thread. The follow-ups there handle it: LeonardoS11's 41b0841 (delay-load `d3d12.dll` and export the system runtime's own version when the folder is missing) or HAL9000RELOADED's build-time check. Tested: Windows 10 19045 + RTX 2080 Ti, Agility 1.620.2, our own tree with the same two exports. Not tested: #165 itself on this machine, Windows 11. AI-assisted (Claude Code).
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-26 23:38 UTC · original

Thanks for the launch log and the Windows 10 comparison. The RTX 3080 Ti creates a D3D12 device, then the runtime rejects c00 and c01 root signatures before the exception. The separate shader scan completed. Cafeoh’s test with Agility SDK 1.620.2 resolved the same root-signature error on Windows 10. I’m checking application-local support and the missing-SDK case against the upstream change.

**@⁠TaynanGT** on GitHub · 2026-11-26 23:38 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7205716402) Thanks for the launch log and the Windows 10 comparison. The RTX 3080 Ti creates a D3D12 device, then the runtime rejects `c00` and `c01` root signatures before the exception. The separate shader scan completed. Cafeoh’s test with Agility SDK 1.620.2 resolved the same root-signature error on Windows 10. I’m checking application-local support and the missing-SDK case against [the upstream change](https://github.com/avatarmanz/VIctory-7900XTX/pull/165).
Author
Owner

@⁠ciferscall-svg on GitHub · 2026-11-26 23:43 UTC · original

Yeah, following what Cafeoh posted got me into the game

**@⁠ciferscall-svg** on GitHub · 2026-11-26 23:43 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7205795919) Yeah, following what Cafeoh posted got me into the game
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 01:30 UTC · original

@⁠ciferscall-svg Thanks for confirming the Agility SDK got you into the game. @⁠cafeoh, your missing-folder test also helped shape the fix.

I opened #102 with an opt-in build for SDK 1.620.2 and setup instructions. I checked the executable exports and D3D12 device creation on Windows 11, with a clear startup error if the opted-in build is missing D3D12Core.dll. The regular build also created a device without the SDK staged.

Could you try #102 on Windows 10 19045 with the same build of the title and confirm whether the c00 and c01 errors are gone? That will tell us whether the documented setup reproduces your result.

**@⁠TaynanGT** on GitHub · 2026-11-27 01:30 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7207342454) @⁠ciferscall-svg Thanks for confirming the Agility SDK got you into the game. @⁠cafeoh, your missing-folder test also helped shape the fix. I opened #102 with an opt-in build for SDK 1.620.2 and setup instructions. I checked the executable exports and D3D12 device creation on Windows 11, with a clear startup error if the opted-in build is missing `D3D12Core.dll`. The regular build also created a device without the SDK staged. Could you try #102 on Windows 10 19045 with the same build of the title and confirm whether the `c00` and `c01` errors are gone? That will tell us whether the documented setup reproduces your result.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 03:58 UTC · original

There is now a Windows 10 retest of the opt-in Agility build. anes66’s RTX 3060 run used Windows 10 22H2, SDK 1.620.2 and Series X. The log showed SDK 620 requested and no root-signature refusals, and the run reached boat gameplay. The change is in main via #130. The result covers this setup and build. A comparable RTX 4060 Ti / Series S retest would still help track #98.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:58 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7209416125) There is now a Windows 10 retest of the opt-in Agility build. [anes66’s RTX 3060 run](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/102) used Windows 10 22H2, SDK 1.620.2 and Series X. The log showed SDK 620 requested and no root-signature refusals, and the run reached boat gameplay. The change is in `main` via #130. The result covers this setup and build. A comparable RTX 4060 Ti / Series S retest would still help track #98.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 08:31 UTC · original

@⁠ciferscall-svg The application-local Agility SDK setup is in main through #130. Windows 10 checks covered the RTX 3060 and RTX 2080 Ti, and the RX 6750 XT reporter confirmed the rebuild fixed their startup crash. The README shows how to build with VICTORY_AGILITY_SDK=1 and place D3D12Core.dll 1.620.2 beside the executable in D3D12. That covers this request. Setup · RX 6750 XT confirmation

**@⁠TaynanGT** on GitHub · 2026-11-27 08:31 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/84#issuecomment-7213630185) @⁠ciferscall-svg The application-local Agility SDK setup is in `main` through #130. Windows 10 checks covered the RTX 3060 and RTX 2080 Ti, and the RX 6750 XT reporter confirmed the rebuild fixed their startup crash. The README shows how to build with `VICTORY_AGILITY_SDK=1` and place `D3D12Core.dll` 1.620.2 beside the executable in `D3D12`. That covers this request. [Setup](https://github.com/TaynanGT/Vice-Tay/blob/main/README.md#L142-L157) · [RX 6750 XT confirmation](https://git.gtahub.st/github/TaynanGT--Vice-Tay/issues/177)
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/TaynanGT--Vice-Tay#84
No description provided.