Error: this PC's Direct3D 12 cannot run the translated shaders #861

Closed
opened 2026-11-28 14:29:06 +00:00 by github-bot · 4 comments
Owner

@⁠babyboy583872 on GitHub · 2026-11-28 08:00 UTC · original

Hey!

I'm on:

Windows 10 LTSC
Newest NVIDIA drivers 621.40
7800x3D
5070 ti
64 GB DDR5
NVMe SSD

I'm getting this error when trying to launch Americas:

2026-11-28T07:45:11.972215Z ERROR victory_gpu::host: Error: this PC's Direct3D 12 cannot run the translated shaders: they need Shader Model 6.6 with directly indexed descriptor heaps (highest shader model here 0x65; such a root signature was refused). Windows 10's built-in Direct3D 12 does not have it, Windows 11 does; a current graphics driver is needed too.

victory-nvidia-20261128-084508.log

No crash log was generated for this. Does anyone know the cause?
Thank you!

**@⁠babyboy583872** on GitHub · 2026-11-28 08:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861) Hey! I'm on: Windows 10 LTSC Newest NVIDIA drivers 621.40 7800x3D 5070 ti 64 GB DDR5 NVMe SSD I'm getting this error when trying to launch Americas: 2026-11-28T07:45:11.972215Z ERROR victory_gpu::host: Error: this PC's Direct3D 12 cannot run the translated shaders: they need Shader Model 6.6 with directly indexed descriptor heaps (highest shader model here 0x65; such a root signature was refused). Windows 10's built-in Direct3D 12 does not have it, Windows 11 does; a current graphics driver is needed too. [victory-nvidia-20261128-084508.log](https://github.com/user-attachments/files/35542444/victory-nvidia-20261128-084508.log) No crash log was generated for this. Does anyone know the cause? Thank you!
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:29:06 +00:00
Author
Owner

@⁠babyboy583872 on GitHub · 2026-11-28 08:06 UTC · original

This was caused by not having the D3D12 Agility SDK downloaded due to Powershell security policies.

**@⁠babyboy583872** on GitHub · 2026-11-28 08:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236367412) This was caused by not having the D3D12 Agility SDK downloaded due to Powershell security policies.
Author
Owner

@⁠kibagami-nc on GitHub · 2026-11-28 08:20 UTC · original

Thanks for finding it. For anyone else on Windows 10 who sees this error, the runtime can be fetched three ways:

  • By hand: victory.exe get-d3d12. It puts Microsoft's D3D12Core.dll (the D3D12 Agility SDK, about 22 MB from nuget.org) into a D3D12 folder beside victory.exe.
  • victory.exe play checks at the start and offers the download.
  • The script launchers (play-nvidia.ps1, play-foxhound.ps1) start victory.exe run and do not check yet. Your log is from one of them. #210 adds the check there.

Could you post the message PowerShell gave when the download was blocked? victory.exe runs its fetcher as powershell -ExecutionPolicy Bypass -File <a script in %TEMP%>. A policy set by Group Policy, or a rule against scripts in %TEMP%, would stop that. The message tells which one, and then the fetcher can be made to work under it.

**@⁠kibagami-nc** on GitHub · 2026-11-28 08:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236514317) Thanks for finding it. For anyone else on Windows 10 who sees this error, the runtime can be fetched three ways: - **By hand:** `victory.exe get-d3d12`. It puts Microsoft's `D3D12Core.dll` (the D3D12 Agility SDK, about 22 MB from nuget.org) into a `D3D12` folder beside `victory.exe`. - **`victory.exe play`** checks at the start and offers the download. - **The script launchers** (`play-nvidia.ps1`, `play-foxhound.ps1`) start `victory.exe run` and do not check yet. Your log is from one of them. #210 adds the check there. Could you post the message PowerShell gave when the download was blocked? `victory.exe` runs its fetcher as `powershell -ExecutionPolicy Bypass -File <a script in %TEMP%>`. A policy set by Group Policy, or a rule against scripts in `%TEMP%`, would stop that. The message tells which one, and then the fetcher can be made to work under it.
Author
Owner

@⁠babyboy583872 on GitHub · 2026-11-28 08:38 UTC · original

Here you go:

PS C:\Users\User\Downloads\Victory Nvidia\VIctory-NVIDIA\scripts> .\get-d3d12.ps1
.\get-d3d12.ps1 : File C:\Users\User\Downloads\Victory Nvidia\VIctory-NVIDIA\scripts\get-d3d12.ps1 cannot be loade
d because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.m
icrosoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • .\get-d3d12.ps1
  • CategoryInfo : SecurityError: (:) [], PSSecurityException
  • FullyQualifiedErrorId : UnauthorizedAccess

and I fixed it with:
powershell -ExecutionPolicy Bypass -File .\get-d3d12.ps1

**@⁠babyboy583872** on GitHub · 2026-11-28 08:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236710200) Here you go: PS C:\Users\User\Downloads\Victory Nvidia\VIctory-NVIDIA\scripts> .\get-d3d12.ps1 .\get-d3d12.ps1 : File C:\Users\User\Downloads\Victory Nvidia\VIctory-NVIDIA\scripts\get-d3d12.ps1 cannot be loade d because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.m icrosoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\get-d3d12.ps1 + ~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess and I fixed it with: powershell -ExecutionPolicy Bypass -File .\get-d3d12.ps1
Author
Owner

@⁠kibagami-nc on GitHub · 2026-11-28 09:15 UTC · original

Thanks, that explains it. Windows runs no .ps1 file started directly unless the execution policy allows it, which it does not by default. That is why the README's lines go through powershell -ExecutionPolicy Bypass -File ..., and why victory.exe get-d3d12 does the same.

So it was not a Group Policy. For a build of your own, #928 adds a Get-D3D12.cmd beside Get-NVIDIA-DLSS.cmd: double-click it once, and it puts the runtime beside target\release\victory.exe.

**@⁠kibagami-nc** on GitHub · 2026-11-28 09:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7237116713) Thanks, that explains it. Windows runs no `.ps1` file started directly unless the execution policy allows it, which it does not by default. That is why the README's lines go through `powershell -ExecutionPolicy Bypass -File ...`, and why `victory.exe get-d3d12` does the same. So it was not a Group Policy. For a build of your own, #928 adds a `Get-D3D12.cmd` beside `Get-NVIDIA-DLSS.cmd`: double-click it once, and it puts the runtime beside `target\release\victory.exe`.
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#861
No description provided.