Game: DLSS can't be chosen on one RTX 3080: NVIDIA's NGX can't find its "models" path #3085

Closed
opened 2026-12-03 14:33:50 +00:00 by llun · 1 comment
Member

Longshot version

nightly-1021-2ca7d4f7 and nightly-1022-b4d56f52 (Nightly, Launcher nightly-273-3898cb1b)

What kind of problem

Something else

What happened

A player with an RTX 3080 can't choose DLSS. NVIDIA's DLSS software (NGX) doesn't start, and the menu says DLSS needs an NVIDIA RTX GPU.

Their log, with the sandbox on and RX_VK_DLSS_LOG=1:

[hos host] sandbox: in the AppContainer, the builder reached (...)
[hos host] vk: DLSS Frame Gen (NGX): NGX did not say which device extensions it needs (0xbad00002)
[hos host] ngx: [NGXGetPathUsingQAI:512] Path to driverStore found using QAI: C:\WINDOWS\System32\DriverStore\FileRepository\nvmdi.inf_amd64_76ea542a708ef59e
[hos host] ngx: [NGXGetPath:997] error: NGXGetPath failed to obtain path to models
[hos host] vk: NVIDIA DLSS: NGX did not start (0xbad00002): not an NVIDIA GPU, or its driver has no NGX

The cause is not known, and it is not shown that the sandbox is to blame. No one has checked whether DLSS works on that PC without the sandbox, in other games or in v3.2.0.

On another PC (RTX 5080) with the same driver, Windows build and the sandbox on, the same step works:

ngx: [NGXGetPath:1046] using path for models: C:\ProgramData\NVIDIA\NGX\models

Ruled out:

  • The driver version: the same failure on 621.24 and 621.47. NGX also starts on an RTX 5070 Ti with 621.40, the sandbox on.
  • An old build: built again from nothing, in a new version folder.
  • A missing, linked or moved folder: C:\ProgramData\NVIDIA\NGX\models is there and is no link.
  • Permissions: icacls of C:\, C:\ProgramData, NVIDIA, NGX and models shows the same on both PCs. So do the values and permissions of the Shell Folders and User Shell Folders keys.
  • UAC being off: it is on.
  • Tried on the RTX 5080, where NGX still starts: spaces in the game's path, and ProgramData and ALLUSERSPROFILE pointing at a folder that isn't there.

Differences seen, none shown to matter: the driver's package (nvmdi.inf; the RTX 5080's is nv_dispi.inf), Windows in Spanish, the game on drive D.

What could help: what NGX asks Windows for just before that line, such as a Process Monitor trace of longshot-game.exe, and an idea of what in the AppContainer could make it fail on one PC only.

#3074 makes the menu and the log give a better reason. It does not fix this.

Where in the game

The Insert menu, Graphics, the Upscaler row. NGX already fails while the game starts.

How often

Every time

Graphics card and driver version

NVIDIA GeForce RTX 3080, driver 621.47 (also seen on 621.24)

Operating system

Windows 11, build 26300

More

The sandbox's list in the log is cut at 6,144 bytes with no note (sandbox_windows.rs), so this player's log ends before the ngx folder's line and does not say whether that folder was allowed.

🤖 Written with Claude Code

### Longshot version nightly-1021-2ca7d4f7 and nightly-1022-b4d56f52 (Nightly, Launcher nightly-273-3898cb1b) ### What kind of problem Something else ### What happened A player with an RTX 3080 can't choose DLSS. NVIDIA's DLSS software (NGX) doesn't start, and the menu says DLSS needs an NVIDIA RTX GPU. Their log, with the sandbox on and `RX_VK_DLSS_LOG=1`: ``` [hos host] sandbox: in the AppContainer, the builder reached (...) [hos host] vk: DLSS Frame Gen (NGX): NGX did not say which device extensions it needs (0xbad00002) [hos host] ngx: [NGXGetPathUsingQAI:512] Path to driverStore found using QAI: C:\WINDOWS\System32\DriverStore\FileRepository\nvmdi.inf_amd64_76ea542a708ef59e [hos host] ngx: [NGXGetPath:997] error: NGXGetPath failed to obtain path to models [hos host] vk: NVIDIA DLSS: NGX did not start (0xbad00002): not an NVIDIA GPU, or its driver has no NGX ``` **The cause is not known, and it is not shown that the sandbox is to blame.** No one has checked whether DLSS works on that PC without the sandbox, in other games or in v3.2.0. On another PC (RTX 5080) with the same driver, Windows build and the sandbox on, the same step works: ``` ngx: [NGXGetPath:1046] using path for models: C:\ProgramData\NVIDIA\NGX\models ``` **Ruled out:** - The driver version: the same failure on 621.24 and 621.47. NGX also starts on an RTX 5070 Ti with 621.40, the sandbox on. - An old build: built again from nothing, in a new version folder. - A missing, linked or moved folder: `C:\ProgramData\NVIDIA\NGX\models` is there and is no link. - Permissions: `icacls` of `C:\`, `C:\ProgramData`, `NVIDIA`, `NGX` and `models` shows the same on both PCs. So do the values and permissions of the `Shell Folders` and `User Shell Folders` keys. - UAC being off: it is on. - Tried on the RTX 5080, where NGX still starts: spaces in the game's path, and `ProgramData` and `ALLUSERSPROFILE` pointing at a folder that isn't there. **Differences seen, none shown to matter:** the driver's package (`nvmdi.inf`; the RTX 5080's is `nv_dispi.inf`), Windows in Spanish, the game on drive D. **What could help:** what NGX asks Windows for just before that line, such as a Process Monitor trace of `longshot-game.exe`, and an idea of what in the AppContainer could make it fail on one PC only. #3074 makes the menu and the log give a better reason. It does not fix this. ### Where in the game The Insert menu, Graphics, the Upscaler row. NGX already fails while the game starts. ### How often Every time ### Graphics card and driver version NVIDIA GeForce RTX 3080, driver 621.47 (also seen on 621.24) ### Operating system Windows 11, build 26300 ### More The sandbox's list in the log is cut at 6,144 bytes with no note (`sandbox_windows.rs`), so this player's log ends before the `ngx` folder's line and does not say whether that folder was allowed. 🤖 Written with Claude Code
Member

This looks like a valid bug report. I couldn't locate the cause in the code.

The reported NGX failure is consistent with the code: if NVIDIA’s initialization fails, Longshot makes DLSS unavailable and reports that the GPU may not support it. That message does not establish the cause of the failure. I could not find what makes NGX fail to obtain the models path on this PC, or establish that the sandbox caused it. The sandbox diagnostic list can also be cut off without a truncation notice.


For maintainers

Related open PR #3068 identifies a sandbox refusal of %ProgramData%\NVIDIA\NGX\models in its Streamline sl.pcl loading path, but tests were on RTX 5080 and it does not establish that this RTX 3080's NGXGetPath failure has the same cause or is fixed by that change. The issue says sandbox list output is truncated at 6,144 bytes in sandbox_windows.rs; the log therefore cannot confirm whether NGX folder access was granted. The report explicitly states sandbox causality is unproven.

The NGX models-path failure occurs inside NVIDIA’s initialization, whose implementation is not in this checkout. A comparison with the sandbox disabled and a Process Monitor trace around the failure could help identify the failing Windows operation. Blame attributes the diagnostic cutoff to d984fd704 and the initialization failure handling to c17fbd61c; the examined DLSS and sandbox files have no commits after nightly-1022-b4d56f52 in this checkout.

Seen in the code:

  • gpu/vk/vk_dlss.cpp:788 calls NVIDIA’s NGX initialization; lines 791–794 assign the RTX-required reason for any failure.
  • gpu/vk/vk_menu.cpp:144 offers DLSS only when its status is OK.
  • gpu/vk/vk_dlss.cpp:2132 logs the separate failure to obtain frame-generation device extension requirements.
  • builder/crates/build-core/src/sandbox_windows.rs:1556 stops copying diagnostic lines once they exceed 6,144 bytes, without adding a truncation notice.
  • builder/crates/build-core/src/sandbox_windows/plan.rs:452 grants read access to the game’s own ngx runtime folder; this does not establish access to NVIDIA’s ProgramData models folder.

Possibly related, for context:

  • PR #3068 WIP: fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too — Open PR discusses sandbox access to NVIDIA's NGX models folder, but concerns Streamline frame generation and does not establish a fix for this report.

Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.

**This looks like a valid bug report.** I couldn't locate the cause in the code. The reported NGX failure is consistent with the code: if NVIDIA’s initialization fails, Longshot makes DLSS unavailable and reports that the GPU may not support it. That message does not establish the cause of the failure. I could not find what makes NGX fail to obtain the models path on this PC, or establish that the sandbox caused it. The sandbox diagnostic list can also be cut off without a truncation notice. --- **For maintainers** Related open PR #3068 identifies a sandbox refusal of `%ProgramData%\NVIDIA\NGX\models` in its Streamline `sl.pcl` loading path, but tests were on RTX 5080 and it does not establish that this RTX 3080's NGXGetPath failure has the same cause or is fixed by that change. The issue says sandbox list output is truncated at 6,144 bytes in `sandbox_windows.rs`; the log therefore cannot confirm whether NGX folder access was granted. The report explicitly states sandbox causality is unproven. The NGX models-path failure occurs inside NVIDIA’s initialization, whose implementation is not in this checkout. A comparison with the sandbox disabled and a Process Monitor trace around the failure could help identify the failing Windows operation. Blame attributes the diagnostic cutoff to d984fd704 and the initialization failure handling to c17fbd61c; the examined DLSS and sandbox files have no commits after nightly-1022-b4d56f52 in this checkout. Seen in the code: - gpu/vk/vk_dlss.cpp:788 calls NVIDIA’s NGX initialization; lines 791–794 assign the RTX-required reason for any failure. - gpu/vk/vk_menu.cpp:144 offers DLSS only when its status is OK. - gpu/vk/vk_dlss.cpp:2132 logs the separate failure to obtain frame-generation device extension requirements. - builder/crates/build-core/src/sandbox_windows.rs:1556 stops copying diagnostic lines once they exceed 6,144 bytes, without adding a truncation notice. - builder/crates/build-core/src/sandbox_windows/plan.rs:452 grants read access to the game’s own ngx runtime folder; this does not establish access to NVIDIA’s ProgramData models folder. --- Possibly related, for context: - PR #3068 WIP: fix(vk): DLSS Frame Generation through Streamline starts again, in the sandboxed game too — Open PR discusses sandbox access to NVIDIA's NGX models folder, but concerns Streamline frame generation and does not establish a fix for this report. --- <sub>Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/Longshot#3085
No description provided.