Windows 10 / RTX 4080: -Dlss crashes in _nvngx.dll when the driver has no nvngx_dlss.dll; works with VICTORY_DLSS_DIR #183

Open
opened 2026-11-27 06:58:12 +00:00 by github-bot · 1 comment
Owner

@⁠killswitchtj12312 on GitHub · 2026-11-27 06:54 UTC · original

Vice-Tay build

93f3b5f (diag, VICTORY_AGILITY_SDK=1 build, Agility SDK 1.620.2)

Hardware and graphics driver

NVIDIA GeForce RTX 4080 16 GB, driver 621.40 (32.0.16.2140); AMD Ryzen 7 5800X3D; 48 GB RAM; Windows 10 Pro 22H2, build 19045.7725

How to reproduce

scripts\play.ps1 -Exe <title exe> -Console series-s -Windowed -Machine 4070 -Dlss quality

The same happens with -FrameGen added. VICTORY_DLSS_DIR unset, so NGX uses the driver's copy (README: "NGX uses the driver's copy by default").

What you observed

The process exits about 3 s after launch, during NGX initialisation, with nothing from VIctory's crash handler in the log. Windows Application log, 2 of 2 launches:

Faulting module name: _nvngx.dll, version: 32.0.16.2140
Exception code: 0xc0000005
Fault offset: 0x0000000000046694

This driver package has ngx-builtins\nvngx_dlssd.dll (310.9.0) and nvngx_dlssg.dll (310.2.1) but no nvngx_dlss.dll. The NGX log shows Feature dlss failed to load ... from cache (location: C:\ProgramData\NVIDIA\NGX\models\dlss\versions\...) just before the process dies.

Workaround (confirmed)

Pointing VICTORY_DLSS_DIR at a folder with nvngx_dlss.dll from the NVIDIA DLSS SDK (v310.9.16, lib/Windows_x86_64/rel, NVIDIA-signed) works:

DLSS: feature created dll="DLSS 310.9.16.0 from <folder>\nvngx_dlss.dll" presets="MMML" quality=2 render=[1280, 720] output=[1920, 1080]
DLSS: evaluated the title's first frame

The title reaches the world and runs normally. -Fsr quality (FidelityFX SDK 2.4.0 signed DLLs) also works on this machine, including -FrameGen (about 24.5 rendered / 49 presented FPS).

Suggestion

Before creating the NGX context, check that a nvngx_dlss.dll is available (the VICTORY_DLSS_DIR folder or the driver store) and, if not, log a clear message and fall back to FSR (the README says both profiles can use FSR when DLSS fails), rather than letting NGX fault. A README note that some driver packages ship without nvngx_dlss.dll would also help.

AI-assisted (Claude Code); measured on my machine; no game files or game data attached.

**@⁠killswitchtj12312** on GitHub · 2026-11-27 06:54 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/183) ### Vice-Tay build `93f3b5f` (diag, `VICTORY_AGILITY_SDK=1` build, Agility SDK 1.620.2) ### Hardware and graphics driver NVIDIA GeForce RTX 4080 16 GB, driver 621.40 (32.0.16.2140); AMD Ryzen 7 5800X3D; 48 GB RAM; Windows 10 Pro 22H2, build 19045.7725 ### How to reproduce ```powershell scripts\play.ps1 -Exe <title exe> -Console series-s -Windowed -Machine 4070 -Dlss quality ``` The same happens with `-FrameGen` added. `VICTORY_DLSS_DIR` unset, so NGX uses the driver's copy (README: "NGX uses the driver's copy by default"). ### What you observed The process exits about 3 s after launch, during NGX initialisation, with nothing from VIctory's crash handler in the log. Windows Application log, 2 of 2 launches: ```text Faulting module name: _nvngx.dll, version: 32.0.16.2140 Exception code: 0xc0000005 Fault offset: 0x0000000000046694 ``` This driver package has `ngx-builtins\nvngx_dlssd.dll` (310.9.0) and `nvngx_dlssg.dll` (310.2.1) but **no `nvngx_dlss.dll`**. The NGX log shows `Feature dlss failed to load ... from cache (location: C:\ProgramData\NVIDIA\NGX\models\dlss\versions\...)` just before the process dies. ### Workaround (confirmed) Pointing `VICTORY_DLSS_DIR` at a folder with `nvngx_dlss.dll` from the NVIDIA DLSS SDK (`v310.9.16`, `lib/Windows_x86_64/rel`, NVIDIA-signed) works: ```text DLSS: feature created dll="DLSS 310.9.16.0 from <folder>\nvngx_dlss.dll" presets="MMML" quality=2 render=[1280, 720] output=[1920, 1080] DLSS: evaluated the title's first frame ``` The title reaches the world and runs normally. `-Fsr quality` (FidelityFX SDK 2.4.0 signed DLLs) also works on this machine, including `-FrameGen` (about 24.5 rendered / 49 presented FPS). ### Suggestion Before creating the NGX context, check that a `nvngx_dlss.dll` is available (the `VICTORY_DLSS_DIR` folder or the driver store) and, if not, log a clear message and fall back to FSR (the README says both profiles can use FSR when DLSS fails), rather than letting NGX fault. A README note that some driver packages ship without `nvngx_dlss.dll` would also help. _AI-assisted (Claude Code); measured on my machine; no game files or game data attached._
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:58:12 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 07:49 UTC · original

@⁠killswitchtj12312 The RTX 4080 result confirms the same missing-library failure on driver 621.40, and the SDK DLL working on that run gives us a practical fix. #186 now checks for an application copy before loading NGX. The launcher can use the configured FSR fallback when the check fails. I’m updating the README to explain that some drivers ship without the library and where to put the SDK copy.

**@⁠TaynanGT** on GitHub · 2026-11-27 07:49 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/183#issuecomment-7212851384) @⁠killswitchtj12312 The RTX 4080 result confirms the same missing-library failure on driver 621.40, and the SDK DLL working on that run gives us a practical fix. #186 now checks for an application copy before loading NGX. The launcher can use the configured FSR fallback when the check fails. I’m updating the README to explain that some drivers ship without the library and where to put the SDK copy.
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#183
No description provided.