DLSS not working #2762
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#2762
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?
@PatrykKu on GitHub · 2026-11-30 16:15 UTC · original
What happens
I have downloaded DLSS SDKs, but everytime i chose DLSS in F1 settings and restart, it reverts to stretch. As i said i have the SDKs and selected DLSS in options
Commit
30.11.2026
System
Windows 11, 9600X, 32GB, 3060 Ti
Where
A tool run by hand (tools/, scripts/)
Command and steps
Launcher.bat, compiled myself, happens every time
Output
@somono on GitHub · 2026-12-01 14:23 UTC · original
DLSS cannot coexist with - SeriesX ,maybe its feature
@fiestorra on GitHub · 2026-12-01 22:28 UTC · original
It reverts because the DLSS SDK is not starting, and the layer falls back to stretch without printing anything - the fallback is by design (
dlss.rs:615-616: "DLSS only where it can be ... falls back to the stretch"), and the one line that says why goes to the tracing log, not to the window. That is why you have "No lines about it".Measured today on an RTX 4090, driver 621.24 (32.0.16.2124), DLSS SDK v310.9.16 fetched with
Get-NVIDIA-DLSS.cmdand the layer built withscripts\build-nvidia.ps1:The reason (added in a scratch build, since the test does not print it):
0xbad00001isNVSDK_NGX_Result_FAIL_FeatureNotSupported(from NVIDIA'sinclude/nvsdk_ngx_defs.h:Fail | 1;FeatureNotFoundisFail | 4, which I first misread it as).The thing that moved it, and the first thing to try on your machine:
nvngx.dllis not inSystem32here - the driver keeps it in its store (C:\Windows\System32\DriverStore\FileRepository\nvmdi.inf_amd64_*\nvngx.dll,30.0.14.9516), and a process does not find it there. With it copied beside the executable:PATHis not enough; it has to be next to theleonida.exeyou launch:Be warned that on this machine it still does not start: with the loader in place the error becomes
0xbad00002(FAIL_PlatformError), which is the driver's NGX layer refusing, and it stays there with the feature DLL from another generation too (v3.5.10 tried). So the loader is necessary and probably not sufficient - but if your card/driver combination differs from mine, it is the step that changes something, and the code you get tells which half it is.Get-NVIDIA-DLSS.cmdcannot fetch it: NVIDIA's DLSS repository at that tag carriesnvngx_dlss.dll,nvngx_dlssd.dllandnvngx_dlssg.dll, and no loader.How to see the code on your side: the
dlss_starts_on_this_cardtest is#[ignore]d; run it as above withLEONIDA_DLSS_DIRpointing at the folder withnvngx_dlss.dll. If it printsfalseand nothing else, you are hitting the branch that does not print - the one improvement I would make and did not: that branch should print its result in test builds the way the "not available" branch already does.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@fiestorra on GitHub · 2026-12-01 22:42 UTC · original
Correction to what I wrote above: my numbers came from an AMD card, not from an NVIDIA one, and DLSS on this 4090 does start.
This machine has two adapters - a Radeon iGPU (
0x1002, the 7800X3D's) and an RTX 4090 (0x10de) - andD3D12CreateDevice(None, ...)makes the device on the Radeon. The test I was quoting did exactly that, soDLSS available: falseand the0xbad00001behind it were an AMD card correctly saying it cannot run DLSS.With the test asking the NVIDIA card instead (DXGI enumeration, first NVIDIA adapter; PR #2993):
So on an RTX 4090 with driver 621.24 and DLSS v310.9.16, with nothing beside the executable, DLSS starts. The
nvngx.dllstep I described above is not needed here, and I have no measurement saying it is needed anywhere - it changed a code on the iGPU, where DLSS cannot run at all.What still looks true and what is now suspect:
-Adapter <part of its name>(LEONIDA_ADAPTER). On a machine with an integrated chip, Windows' default can be the chip, and DLSS cannot start on it - the settings would then revert exactly as you describe.Sorry for the detour: I gave you a diagnosis measured on a card you do not have.
AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@MoonEyes on GitHub · 2026-12-02 21:28 UTC · original
Two open pull requests touch this: #2989 makes the DLSS start test print why the SDK did not start, and #3141 logs which card answered when a PC has more than one GPU. Neither is merged yet. AI-assisted (Claude Code).