Agility SDK: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) #220

Closed
opened 2026-11-27 19:53:05 +00:00 by github-bot · 7 comments
Owner

@⁠vlad441 on GitHub · 2026-11-27 19:52 UTC · original

OS: Windows 10 | GPU: RTX A2000

  • runs powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe '%GTA6_PATH%\game_scarlett_master.exe'
display        2560x1440 SDR, scene 2560x1440
2026-11-27T19:42:05.681721Z  INFO victory_loader::tls: static TLS redirected index=11 patched=53246
...
2026-11-27T19:42:11.767166Z  INFO title: D3D12 XDXR Error:
2026-11-27T19:42:11.767170Z  INFO title: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr)
2026-11-27T19:42:11.767173Z  INFO title:
VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0x2d759 (C++ .J = 0x887e0003 thrown)
  rax 0x0 rbx 0x7ffad8c52538 rcx 0x0 rdx 0x0 rsi 0xc6e1bfeae0 rdi 0x19930520 rsp 0xc6e1bfe970 rbp 0xc6e1bfec60
  r8 0x0 r9 0xc6e1bfddf0 r10 0x2a210ad53c6 r11 0x2a210ad53c6 r12 0x2a210c0ed40 r13 0x2a210c0ed28 r14 0x7ff70b258100 r15 0x2a210c0ed38
  #0  KERNELBASE.dll+0x2d759
  #1  VCRUNTIME140.dll+0x55a9
  #2  victory-image-2d3fbea0ca5034e7.dll+0xc468
  #3  victory-image-2d3fbea0ca5034e7.dll+0x203b7
  #4  victory-image-2d3fbea0ca5034e7.dll+0xd8a1
  #5  victory-image-2d3fbea0ca5034e7.dll+0x213a1
  #6  victory-image-b99f876b74d4a77f.dll+0x2479455
  #7  victory-image-b99f876b74d4a77f.dll+0x19f4f54
  #8  victory-image-b99f876b74d4a77f.dll+0x580437e
  #9  victory-image-b99f876b74d4a77f.dll+0x43a4911
  #10 victory-image-b99f876b74d4a77f.dll+0x224070b
  #11 victory-image-b99f876b74d4a77f.dll+0x23cf00a
  #12 victory-image-b99f876b74d4a77f.dll+0x2215eca
  #13 KERNEL32.DLL+0x17034
  #14 ntdll.dll+0x4d241
  title said: D3D12 XDXR Error:
  title said: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr)
**@⁠vlad441** on GitHub · 2026-11-27 19:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220) OS: Windows 10 | GPU: RTX A2000 * runs `powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe '%GTA6_PATH%\game_scarlett_master.exe'` ```batch display 2560x1440 SDR, scene 2560x1440 2026-11-27T19:42:05.681721Z INFO victory_loader::tls: static TLS redirected index=11 patched=53246 ... 2026-11-27T19:42:11.767166Z INFO title: D3D12 XDXR Error: 2026-11-27T19:42:11.767170Z INFO title: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) 2026-11-27T19:42:11.767173Z INFO title: VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0x2d759 (C++ .J = 0x887e0003 thrown) rax 0x0 rbx 0x7ffad8c52538 rcx 0x0 rdx 0x0 rsi 0xc6e1bfeae0 rdi 0x19930520 rsp 0xc6e1bfe970 rbp 0xc6e1bfec60 r8 0x0 r9 0xc6e1bfddf0 r10 0x2a210ad53c6 r11 0x2a210ad53c6 r12 0x2a210c0ed40 r13 0x2a210c0ed28 r14 0x7ff70b258100 r15 0x2a210c0ed38 #0 KERNELBASE.dll+0x2d759 #1 VCRUNTIME140.dll+0x55a9 #2 victory-image-2d3fbea0ca5034e7.dll+0xc468 #3 victory-image-2d3fbea0ca5034e7.dll+0x203b7 #4 victory-image-2d3fbea0ca5034e7.dll+0xd8a1 #5 victory-image-2d3fbea0ca5034e7.dll+0x213a1 #6 victory-image-b99f876b74d4a77f.dll+0x2479455 #7 victory-image-b99f876b74d4a77f.dll+0x19f4f54 #8 victory-image-b99f876b74d4a77f.dll+0x580437e #9 victory-image-b99f876b74d4a77f.dll+0x43a4911 #10 victory-image-b99f876b74d4a77f.dll+0x224070b #11 victory-image-b99f876b74d4a77f.dll+0x23cf00a #12 victory-image-b99f876b74d4a77f.dll+0x2215eca #13 KERNEL32.DLL+0x17034 #14 ntdll.dll+0x4d241 title said: D3D12 XDXR Error: title said: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) ``` * This may be related to the original [issue](https://github.com/Marvisak/VIctory/issues/1881) in the [Marvisak/VIctory](https://github.com/Marvisak/VIctory) repository. * This may be related to the Agility SDK the issue with it was resolved in PR [2460](https://github.com/Marvisak/VIctory/pull/2460) in the [Marvisak/VIctory](https://github.com/Marvisak/VIctory) repository.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:53:05 +00:00
Author
Owner

@⁠vlad441 on GitHub · 2026-11-27 20:03 UTC · original

Try to build prom PR #50

  • Returned to original error:
VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
  rax 0x0 rbx 0x2c rcx 0x718372d30 rdx 0x0 rsi 0xa803fecc0 rdi 0xa803fecc0 rsp 0xa803feb70 rbp 0x90f
  r8 0x7096b0010 r9 0xffffffff00000000 r10 0x7ffab07d23b0 r11 0x718373440 r12 0x0 r13 0xa r14 0xa803feca0 r15 0x651e95c4d06fbfb1
  #0  victory-image-b99f876b74d4a77f.dll+0xb5a5f8
  #1  victory-image-b99f876b74d4a77f.dll+0x1dc5cb4
  #2  victory-image-b99f876b74d4a77f.dll+0x5bbf240
  #3  victory-image-b99f876b74d4a77f.dll+0x35cd6e1
  #4  victory-image-b99f876b74d4a77f.dll+0x63e78
  #5  victory-image-b99f876b74d4a77f.dll+0x4eaa05a
  #6  victory-image-b99f876b74d4a77f.dll+0x221c29c
  #7  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #8  KERNEL32.DLL+0x17034
  #9  ntdll.dll+0x4d241
**@⁠vlad441** on GitHub · 2026-11-27 20:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7227127063) #### Try to build prom PR [#50](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/50) * Returned to original error: ```batch VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) rax 0x0 rbx 0x2c rcx 0x718372d30 rdx 0x0 rsi 0xa803fecc0 rdi 0xa803fecc0 rsp 0xa803feb70 rbp 0x90f r8 0x7096b0010 r9 0xffffffff00000000 r10 0x7ffab07d23b0 r11 0x718373440 r12 0x0 r13 0xa r14 0xa803feca0 r15 0x651e95c4d06fbfb1 #0 victory-image-b99f876b74d4a77f.dll+0xb5a5f8 #1 victory-image-b99f876b74d4a77f.dll+0x1dc5cb4 #2 victory-image-b99f876b74d4a77f.dll+0x5bbf240 #3 victory-image-b99f876b74d4a77f.dll+0x35cd6e1 #4 victory-image-b99f876b74d4a77f.dll+0x63e78 #5 victory-image-b99f876b74d4a77f.dll+0x4eaa05a #6 victory-image-b99f876b74d4a77f.dll+0x221c29c #7 victory-image-b99f876b74d4a77f.dll+0x2215eca #8 KERNEL32.DLL+0x17034 #9 ntdll.dll+0x4d241 ```
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:22 UTC · original

v2026.11.27.5 fixes this: https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.5

The cause was different from what I said earlier, sorry. Since v2026.11.27.2 the exe asked Windows for a newer Direct3D 12 (1.614). On Windows 10 and older Windows 11 (22H2, 23H2), Windows' own Direct3D 12 is older than that. So without a D3D12 folder beside the exe, Windows refused to start Direct3D 12 at all (0x887E0003). The download offer for Windows 10 never appeared either, because its check failed the same way.

Now, without the folder, the exe uses Windows' own Direct3D 12. On Windows 10 it then offers to download Microsoft's runtime and starts the game with it. With a D3D12 folder there, it uses that folder's version. Just replace victory.exe with the new one. If it still fails, please attach the new victory-nvidia-play-*.log.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7227443384) **v2026.11.27.5** fixes this: https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.5 The cause was different from what I said earlier, sorry. Since v2026.11.27.2 the exe asked Windows for a newer Direct3D 12 (1.614). On Windows 10 and older Windows 11 (22H2, 23H2), Windows' own Direct3D 12 is older than that. So without a `D3D12` folder beside the exe, Windows refused to start Direct3D 12 at all (0x887E0003). The download offer for Windows 10 never appeared either, because its check failed the same way. Now, without the folder, the exe uses Windows' own Direct3D 12. On Windows 10 it then offers to download Microsoft's runtime and starts the game with it. With a `D3D12` folder there, it uses that folder's version. Just replace victory.exe with the new one. If it still fails, please attach the new `victory-nvidia-play-*.log`.
Author
Owner

@⁠vlad441 on GitHub · 2026-11-27 20:30 UTC · original · edited 2026-11-27 20:37 UTC

Attempt 2 to run prom PR #50

  • Using cmd.exe: set VICTORY_AGILITY_SDK=1 & cargo build --release --locked -p victory
  • After manual move target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}
  • Runs from .\target\release\victory.exe play %GTA6_PATH%\game_scarlett_master.exe --series-s --dlss off
    • Windows title changed: Americas | Victory 517 fps 1.9 ms/frame 14 draws/frame

I was able to get the first visible frame.
On Windows 10 21H1 19043.782 | GPU: RTX A2000 | Driver Version: 595.71

**@⁠vlad441** on GitHub · 2026-11-27 20:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7227570036) · edited 2026-11-27 20:37 UTC #### Attempt 2 to run prom PR [#50](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/50) * Using `cmd.exe`: `set VICTORY_AGILITY_SDK=1` & `cargo build --release --locked -p victory` * After manual move `target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}` * Runs from `.\target\release\victory.exe play %GTA6_PATH%\game_scarlett_master.exe --series-s --dlss off` * * Windows title changed: `Americas | Victory 517 fps 1.9 ms/frame 14 draws/frame` I was able to get the first visible frame. On Windows 10 21H1 19043.782 | GPU: RTX A2000 | Driver Version: 595.71
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:54 UTC · original

Correction: the 0x887E0003 fix in v2026.11.27.4 and .5 did not take effect, sorry. Windows read the Direct3D 12 version victory.exe asks for before the exe could set it, so it always asked for 1.614. v2026.11.27.6 fixes that (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Without a D3D12 folder it now asks for the version Windows has. With one, it asks for that folder's version.

On Windows 10, the exe should now offer to download Microsoft's Direct3D 12 1.614, because Windows 10's own is too old for the game's shaders. Answer Y. Or run victory.exe get-d3d12 in that folder.

Please try .6 and tell me whether it starts. If it doesn't, attach the new victory-nvidia-play-*.log and your Windows version (winver).

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:54 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7227955657) Correction: the 0x887E0003 fix in v2026.11.27.4 and .5 did not take effect, sorry. Windows read the Direct3D 12 version victory.exe asks for before the exe could set it, so it always asked for 1.614. **v2026.11.27.6** fixes that (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Without a `D3D12` folder it now asks for the version Windows has. With one, it asks for that folder's version. On Windows 10, the exe should now offer to download Microsoft's Direct3D 12 1.614, because Windows 10's own is too old for the game's shaders. Answer Y. Or run `victory.exe get-d3d12` in that folder. Please try .6 and tell me whether it starts. If it doesn't, attach the new `victory-nvidia-play-*.log` and your Windows version (`winver`).
Author
Owner

@⁠vlad441 on GitHub · 2026-11-27 21:18 UTC · original

Attempt to build from release v2026.11.27.6

  • runs powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe %GTA6_PATH%
    • After manual move target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}
    • Error not changed:
2026-11-27T21:15:55.284488Z  INFO title: D3D12 XDXR Error:
2026-11-27T21:15:55.284491Z  INFO title: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr)
2026-11-27T21:15:55.284494Z  INFO title: 
VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0x2d759 (C++ .J = 0x887e0003 thrown)

Log file: victory-play.log

**@⁠vlad441** on GitHub · 2026-11-27 21:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7228331539) #### Attempt to build from release `v2026.11.27.6` * runs `powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe %GTA6_PATH%` * * After manual move `target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}` * * Error not changed: ```batch 2026-11-27T21:15:55.284488Z INFO title: D3D12 XDXR Error: 2026-11-27T21:15:55.284491Z INFO title: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) 2026-11-27T21:15:55.284494Z INFO title: VIctory: unhandled exception 0xe06d7363 at KERNELBASE.dll+0x2d759 (C++ .J = 0x887e0003 thrown) ``` Log file: [victory-play.log](https://github.com/user-attachments/files/35531406/victory-play.log)
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 21:33 UTC · original

For Windows 10: v2026.11.27.7 (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.7) should fix the close a second after the start. Windows 10's own Direct3D 12 refuses a kind of root signature the translated shaders need, even when it reports shader model 6.8, so .6 never offered Microsoft's newer runtime there. Now, on Windows 10 without a D3D12 folder, victory.exe always offers it at the first start: answer Y (Microsoft's own, from nuget.org, about 22 MB, signed by Microsoft), or run victory.exe get-d3d12 in that folder. If it still fails, please attach the newest victory-nvidia-play-*.log from %LOCALAPPDATA%\victory\logs\ and %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log from that run.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7228544781) For Windows 10: **v2026.11.27.7** (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.7) should fix the close a second after the start. Windows 10's own Direct3D 12 refuses a kind of root signature the translated shaders need, even when it reports shader model 6.8, so .6 never offered Microsoft's newer runtime there. Now, on Windows 10 without a `D3D12` folder, victory.exe always offers it at the first start: answer **Y** (Microsoft's own, from nuget.org, about 22 MB, signed by Microsoft), or run `victory.exe get-d3d12` in that folder. If it still fails, please attach the newest `victory-nvidia-play-*.log` from `%LOCALAPPDATA%\victory\logs\` and `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log` from that run.
Author
Owner

@⁠vlad441 on GitHub · 2026-11-27 22:25 UTC · original · edited 2026-11-27 22:58 UTC

Attempt to build from release v2026.11.27.7

  • runs powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe %GTA6_PATH%
    • After manual move target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}

Error D3D12SerializeVersionedRootSignature has been solved, and i was able to get the first visible frame.

In PR 360 from the Belobug repository, integrated the cargo xtask agility solution — which automatically downloaded the Agility SDK into target\<profile>\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll} so that the end user wouldn't have to do it manually.

  • UPD: Now that this problem has been resolved, a new issue has arisen which is described in #452
**@⁠vlad441** on GitHub · 2026-11-27 22:25 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/220#issuecomment-7229312868) · edited 2026-11-27 22:58 UTC #### Attempt to build from release `v2026.11.27.7` * runs `powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe %GTA6_PATH%` * * After manual move `target\release\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}` Error `D3D12SerializeVersionedRootSignature` has been solved, and i was able to get the first visible frame. In PR `360` from the `Belobug` repository, integrated the `cargo xtask agility` solution — which automatically downloaded the Agility SDK into `target\<profile>\D3D12\{D3D12Core.dll,d3d12SDKLayers.dll}` so that the end user wouldn't have to do it manually. * UPD: Now that this problem has been resolved, a new issue has arisen which is described in [#452](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/452)
github-bot changed title from Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) to Agility SDK: Unexpected internal Failure: D3D12SerializeVersionedRootSignature(&desc, &pRootSignatureBlob, nullptr) 2026-11-27 22:33:15 +00:00
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/trustno1-coder--VIctory-NVIDIA#220
No description provided.