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

Closed
opened 2026-11-28 08:00:48 +00:00 by babyboy583872 · 4 comments
babyboy583872 commented 2026-11-28 08:00:48 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by babyboy583872 on 2026-11-28T08:00:48Z.


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!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6661555307 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861). Originally posted by [babyboy583872](https://github.com/babyboy583872) on 2026-11-28T08:00:48Z. --- 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!
babyboy583872 commented 2026-11-28 08:06:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by babyboy583872 on 2026-11-28T08:06:28Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236367412 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236367412). Originally posted by [babyboy583872](https://github.com/babyboy583872) on 2026-11-28T08:06:28Z. --- This was caused by not having the D3D12 Agility SDK downloaded due to Powershell security policies.
kibagami-nc commented 2026-11-28 08:20:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T08:20:00Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236514317 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236514317). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T08:20:00Z. --- 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.
babyboy583872 commented 2026-11-28 08:38:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by babyboy583872 on 2026-11-28T08:38:10Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236710200 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7236710200). Originally posted by [babyboy583872](https://github.com/babyboy583872) on 2026-11-28T08:38:10Z. --- 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
kibagami-nc commented 2026-11-28 09:15:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T09:15:06Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7237116713 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/861#issuecomment-7237116713). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T09:15:06Z. --- 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`.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#861
No description provided.