DLSS: refuse to start without an application nvngx_dlss.dll (#176) #186
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/186"
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?
Imported from TaynanGT/Vice-Tay. Originally posted by loftymocha on 2026-11-27T07:08:16Z.
Fixes the start-up crash from #176 (case 1). With
VICTORY_DLSSset and no application copy ofnvngx_dlss.dll, NGX crashes insideNVSDK_NGX_D3D12_Init_ProjectIDitself (an access violation in_nvngx.dll), so no result check can catch it.Seen on:
_nvngx.dll32.0.16.1088)_nvngx.dll32.0.16.1742), offset0x44e54On the 5070 it crashed the same way:
VICTORY_DLSS_NO_UPDATE=1VICTORY_DLSS_DIRset to an empty folderThe only setup that started was an application copy of the DLL (NVIDIA's DLSS SDK
nvngx_dlss.dll310.9.16) inVICTORY_DLSS_DIR.Change (
fidelityfx/dlss.rsonly): before NGX is initialized,startlooks fornvngx_dlss.dllin the feature folder, then beside the executable. Without one it returns an error saying what to do, so the existing fallbacks take over:VICTORY_DLSS_TRUST_NGX=1skips the check, for machines where NGX's own copy works.Tested on
bcbb795+ this commit, RTX 5070 / 617.42, diag build, Series S,VICTORY_DLSS=quality, no FidelityFX folder:Error: initializing DLSS for Series S/no nvngx_dlss.dll in the DLSS folder (not set) or beside the executable; …. NGX isn't loaded, and no Application Error is logged. Before the change it crashed ~5 s after launch every time.VICTORY_DLSS_DIRwith the SDK DLL:NVIDIA DLSS serves the title's upscaler, thenSeries S: DLSS selected, as before.cargo test --locked -p victory-hle --lib dlss: 16 passed, 0 failed.Not covered: the shutdown crash (case 2 of #176). I couldn't reproduce it on 617.42: one DLSS session closed through the window without a crash.
AI-assisted (Claude Code).
🤖 Generated with Claude Code
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T07:57:18Z.
@loftymocha This is on
main. The application DLL check now runs before loading_nvngx.dll, and the README covers the SDK copy and the configured FSR fallback. The 17 DLSS tests passed locally, including the missing-file case and configured-folder precedence. CI passed on the same revision. The shutdown report remains open in #176.