-Dlss on an RTX 3080: crash in _nvngx.dll at start when the DLSS snippet is missing, and at shutdown after a DLSS session #176

Closed
opened 2026-11-27 06:14:50 +00:00 by github-bot · 2 comments
Owner

@⁠Garu667 on GitHub · 2026-11-27 06:13 UTC · original

Machine: RTX 3080 10 GB, driver 610.88 (NGX core _nvngx.dll 32.0.16.1088 from the driver store), i5-13600K, Windows 11 26200.
Build: diag, main f944962. scripts/play.ps1 -Machine 4070 -Console series-s -Dlss quality, prison cell save.

1. No DLSS snippet on the PC: crash at start, no FSR fallback

  • Nothing on this PC had installed nvngx_dlss.dll: no game shipped it, and NGX had not fetched it.
  • NGX logs NGXLoadFromPath failed for every feature.
  • The process then dies about 6 s after launch, before the menu, with an access violation inside _nvngx.dll while the DLSS context is set up.
  • The same thing happens with and without VICTORY_DLSS_NO_UPDATE=1 (two runs).
  • The README says both profiles can use FSR when DLSS fails, but here it never gets that far.

2. With a DLSS snippet: DLSS works, then crashes at shutdown

  • With VICTORY_DLSS_DIR pointing at the official nvngx_dlss.dll 310.9.16 (from NVIDIA's DLSS SDK, signature valid), the log shows NVIDIA DLSS serves the title's upscaler, render 1280x720, and the feature is created with presets MMML.
  • DLSS ran for about 3 minutes in the cell at ~15.3 fps, the same as without it: this card is CPU-limited at that point.
  • Closing the window then ends with an access violation in _nvngx.dll (a write to address 0), called from victory_hle::modules::fidelityfx::dlss::shut_down on the end-title path (lifecycle::end_title).
  • It's harmless for play, but it's a crash on every exit.

The fault is at the same offset in _nvngx.dll in both cases. That suggests NGX is being called after it failed, or after it was released: an init result that isn't checked in case 1, and a release order at shutdown in case 2. I can test a fix on this card.

🤖 Generated with Claude Code

**@⁠Garu667** on GitHub · 2026-11-27 06:13 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/176) **Machine:** RTX 3080 10 GB, driver 610.88 (NGX core `_nvngx.dll` 32.0.16.1088 from the driver store), i5-13600K, Windows 11 26200. **Build:** diag, main `f944962`. `scripts/play.ps1 -Machine 4070 -Console series-s -Dlss quality`, prison cell save. ### 1. No DLSS snippet on the PC: crash at start, no FSR fallback - Nothing on this PC had installed `nvngx_dlss.dll`: no game shipped it, and NGX had not fetched it. - NGX logs `NGXLoadFromPath failed` for every feature. - The process then dies about 6 s after launch, before the menu, with an access violation inside `_nvngx.dll` while the DLSS context is set up. - The same thing happens with and without `VICTORY_DLSS_NO_UPDATE=1` (two runs). - The README says both profiles can use FSR when DLSS fails, but here it never gets that far. ### 2. With a DLSS snippet: DLSS works, then crashes at shutdown - With `VICTORY_DLSS_DIR` pointing at the official `nvngx_dlss.dll` 310.9.16 (from NVIDIA's DLSS SDK, signature valid), the log shows `NVIDIA DLSS serves the title's upscaler`, render 1280x720, and the feature is created with presets MMML. - DLSS ran for about 3 minutes in the cell at **~15.3 fps**, the same as without it: this card is CPU-limited at that point. - Closing the window then ends with an access violation in `_nvngx.dll` (a write to address 0), called from `victory_hle::modules::fidelityfx::dlss::shut_down` on the end-title path (`lifecycle::end_title`). - It's harmless for play, but it's a crash on every exit. The fault is at the same offset in `_nvngx.dll` in both cases. That suggests NGX is being called after it failed, or after it was released: an init result that isn't checked in case 1, and a release order at shutdown in case 2. I can test a fix on this card. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:14:50 +00:00
Author
Owner

@⁠loftymocha on GitHub · 2026-11-27 06:55 UTC · original

Same crash on another card, plus one more data point on the cause.

Machine: RTX 5070 12 GB, driver 617.42 (NGX core _nvngx.dll 32.0.16.1742 from the driver store), Ryzen 7 7800X3D, 32 GB, Windows 11 26300.
Build: diag, b088755. play.ps1 -Machine 4070 settings, Series S, VICTORY_DLSS=quality.

No DLSS snippet on the PC: crash at start, every time

  • No installed game had nvngx_dlss.dll. The NGX models folder only had DLSS .bin models from an earlier driver fetch.
  • All three launches crashed ~5 s after start, before the menu. Application Error 1000 named _nvngx.dll 32.0.16.1742 each time, with 0xc0000005 at offset 0x44e54. The NGX log stopped after the feature deny-list checks inside NGXInitContext.
  • Things I tried:
Variant Result
default crash
VICTORY_DLSS_NO_UPDATE=1 (log: "OTA disabled by environment. Using embedded snippet only") same crash
VICTORY_DLSS_DIR set to an existing but empty folder (the log warned "no nvngx_dlss.dll there; NGX uses another copy") same crash

The empty-folder run rules out the null/empty paths list in FeatureCommonInfo as the trigger. It's the missing snippet itself. Since the fault is inside Init_ProjectID, a result check after it can't catch it. A pre-check that some nvngx_dlss.dll exists (feature folder, or NGX's models/OTA location) before calling Init, falling back to FSR otherwise, might be the practical guard.

With the SDK snippet: DLSS works

  • VICTORY_DLSS_DIR pointed at the official nvngx_dlss.dll 310.9.16 from NVIDIA's DLSS SDK. The Authenticode signature (NVIDIA Corporation) is valid.
  • The log shows NVIDIA DLSS serves the title's upscaler, DLSS 310.9.16.0 from that folder, render 1280×720 → output 1920×1080, flags=0x29.
  • Performance: the same as FSR 4 on this CPU-bound PC. In the same boat scene the panel read 15.3 fps with DLSS and 15.9 with FSR 4 (1% lows 7 and 8).
  • Picture: the tester's verdict is that with DLSS the water actually looks like water, which FSR 4 doesn't manage. Thin detail (cables, railings) is slightly crisper too. In one DLSS frame there were three small flat blue rectangles in the clouds that I haven't seen with FSR. That's from a single launch, so it may be unrelated.
  • Shutdown: one DLSS session closed through the window on 617.42 with no crash logged. The other DLSS sessions were force-stopped by my test runner, so they don't tell us anything about shutdown.

The DLSS vs FSR 4 comparison above was run with VICTORY_PIPELINE_HISTORY=0 on both sides. Without it, both of my DLSS launches banded (see #44).

AI-assisted (Claude Code). Numbers and log lines only, no game data or images.

**@⁠loftymocha** on GitHub · 2026-11-27 06:55 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/176#issuecomment-7211967846) Same crash on another card, plus one more data point on the cause. **Machine:** RTX 5070 12 GB, driver 617.42 (NGX core `_nvngx.dll` 32.0.16.1742 from the driver store), Ryzen 7 7800X3D, 32 GB, Windows 11 26300. **Build:** diag, `b088755`. `play.ps1 -Machine 4070` settings, Series S, `VICTORY_DLSS=quality`. ### No DLSS snippet on the PC: crash at start, every time - No installed game had `nvngx_dlss.dll`. The NGX models folder only had DLSS `.bin` models from an earlier driver fetch. - All three launches crashed ~5 s after start, before the menu. Application Error 1000 named `_nvngx.dll` 32.0.16.1742 each time, with `0xc0000005` at offset **`0x44e54`**. The NGX log stopped after the feature deny-list checks inside `NGXInitContext`. - Things I tried: | Variant | Result | |---|---| | default | crash | | `VICTORY_DLSS_NO_UPDATE=1` (log: "OTA disabled by environment. Using embedded snippet only") | same crash | | `VICTORY_DLSS_DIR` set to an existing but **empty** folder (the log warned "no nvngx_dlss.dll there; NGX uses another copy") | same crash | The empty-folder run rules out the null/empty `paths` list in `FeatureCommonInfo` as the trigger. It's the missing snippet itself. Since the fault is inside `Init_ProjectID`, a result check after it can't catch it. A pre-check that some `nvngx_dlss.dll` exists (feature folder, or NGX's models/OTA location) before calling `Init`, falling back to FSR otherwise, might be the practical guard. ### With the SDK snippet: DLSS works - `VICTORY_DLSS_DIR` pointed at the official `nvngx_dlss.dll` **310.9.16** from NVIDIA's DLSS SDK. The Authenticode signature (NVIDIA Corporation) is valid. - The log shows `NVIDIA DLSS serves the title's upscaler`, DLSS 310.9.16.0 from that folder, render 1280×720 → output 1920×1080, `flags=0x29`. - **Performance:** the same as FSR 4 on this CPU-bound PC. In the same boat scene the panel read 15.3 fps with DLSS and 15.9 with FSR 4 (1% lows 7 and 8). - **Picture:** the tester's verdict is that with DLSS the water actually looks like water, which FSR 4 doesn't manage. Thin detail (cables, railings) is slightly crisper too. In one DLSS frame there were three small flat blue rectangles in the clouds that I haven't seen with FSR. That's from a single launch, so it may be unrelated. - **Shutdown:** one DLSS session closed through the window on 617.42 with no crash logged. The other DLSS sessions were force-stopped by my test runner, so they don't tell us anything about shutdown. The DLSS vs FSR 4 comparison above was run with `VICTORY_PIPELINE_HISTORY=0` on both sides. Without it, both of my DLSS launches banded (see #44). *AI-assisted (Claude Code). Numbers and log lines only, no game data or images.*
Author
Owner

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

@⁠loftymocha The empty-folder and updater-off runs narrow this down well. The SDK DLL working on the same setup gives us the start-up check to use. I’m moving the application-DLL check in #186 ahead of loading NGX so the existing FSR fallback can handle a missing DLL before any driver code runs. Thanks for testing both configurations.

**@⁠TaynanGT** on GitHub · 2026-11-27 07:41 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/176#issuecomment-7212721619) @⁠loftymocha The empty-folder and updater-off runs narrow this down well. The SDK DLL working on the same setup gives us the start-up check to use. I’m moving the application-DLL check in #186 ahead of loading NGX so the existing FSR fallback can handle a missing DLL before any driver code runs. Thanks for testing both configurations.
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#176
No description provided.