-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
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay#176
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Garu667 on GitHub · 2026-11-27 06:13 UTC · original
Machine: RTX 3080 10 GB, driver 610.88 (NGX core
_nvngx.dll32.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
nvngx_dlss.dll: no game shipped it, and NGX had not fetched it.NGXLoadFromPath failedfor every feature._nvngx.dllwhile the DLSS context is set up.VICTORY_DLSS_NO_UPDATE=1(two runs).2. With a DLSS snippet: DLSS works, then crashes at shutdown
VICTORY_DLSS_DIRpointing at the officialnvngx_dlss.dll310.9.16 (from NVIDIA's DLSS SDK, signature valid), the log showsNVIDIA DLSS serves the title's upscaler, render 1280x720, and the feature is created with presets MMML._nvngx.dll(a write to address 0), called fromvictory_hle::modules::fidelityfx::dlss::shut_downon the end-title path (lifecycle::end_title).The fault is at the same offset in
_nvngx.dllin 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
@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.dll32.0.16.1742 from the driver store), Ryzen 7 7800X3D, 32 GB, Windows 11 26300.Build: diag,
b088755.play.ps1 -Machine 4070settings, Series S,VICTORY_DLSS=quality.No DLSS snippet on the PC: crash at start, every time
nvngx_dlss.dll. The NGX models folder only had DLSS.binmodels from an earlier driver fetch._nvngx.dll32.0.16.1742 each time, with0xc0000005at offset0x44e54. The NGX log stopped after the feature deny-list checks insideNGXInitContext.VICTORY_DLSS_NO_UPDATE=1(log: "OTA disabled by environment. Using embedded snippet only")VICTORY_DLSS_DIRset to an existing but empty folder (the log warned "no nvngx_dlss.dll there; NGX uses another copy")The empty-folder run rules out the null/empty
pathslist inFeatureCommonInfoas the trigger. It's the missing snippet itself. Since the fault is insideInit_ProjectID, a result check after it can't catch it. A pre-check that somenvngx_dlss.dllexists (feature folder, or NGX's models/OTA location) before callingInit, falling back to FSR otherwise, might be the practical guard.With the SDK snippet: DLSS works
VICTORY_DLSS_DIRpointed at the officialnvngx_dlss.dll310.9.16 from NVIDIA's DLSS SDK. The Authenticode signature (NVIDIA Corporation) is valid.NVIDIA DLSS serves the title's upscaler, DLSS 310.9.16.0 from that folder, render 1280×720 → output 1920×1080,flags=0x29.The DLSS vs FSR 4 comparison above was run with
VICTORY_PIPELINE_HISTORY=0on 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.
@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.