README: the NVIDIA launcher, and naming the card on a PC with more than one #3007
No reviewers
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!3007
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3007"
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?
@fiestorra on GitHub · 2026-12-01 23:21 UTC · original
fiestorra:readme-names-the-card→main· +9 −0 · 1 files · 1 commits · merged 2026-12-02 02:44 UTCREADME: the NVIDIA launcher, and naming the card on a PC with more than one
Two things the front page did not say, and both cost a user a report:
d3d12\scripts\play-nvidia.ps1was not named anywhere in it. "Starting it" points atLauncher.batandscripts\play-d3d12.ps1, which are the generic paths; the NVIDIA launcherfindings.mdmeasures with - was only mentioned inside the DLSSfetcher's own output (#2885 reads it as "play-nvidia.ps1 missing").
Nothing said that Windows' default card is not always the NVIDIA one. On a 7800X3D with an
RTX 4090 there are two adapters, and
D3D12CreateDevice(None, ..)- what the layer uses when nocard is named - makes its device on the Radeon iGPU (measured: vendor 0x1002). DLSS cannot
start there (
NVSDK_NGX_Result_FAIL_FeatureNotSupported), so the picture is the stretch andevery frame is drawn by the chip, without a line saying so.
-Adapter 4090is the fix.Written with an AI assistant.
@andrew-ai on GitHub · 2026-12-01 23:24 UTC · original
The new README example passes a package directory to -Exe. At
277703d44the low-level launcher accepts that directory in -DryRun, then uses it verbatim as the runtime's executable argument. With a synthetic package, the emitted restart arguments pointed at the directory, and the locally built runtime exited 1 trying to read it (Windows error 5).The root launcher already forwards -Adapter. With the same synthetic package, scripts\play-d3d12.ps1 -Game -Adapter 5070 -DryRun produced LEONIDA_ADAPTER=5070 and an executable path ending in package\game_scarlett_master.exe. Adding -Adapter to the existing root example would also preserve its cache and save directory setup. If the direct launcher example stays, its -Exe argument needs the full path to game_scarlett_master.exe. Codex-assisted.
@OreoFR on GitHub · 2026-12-02 02:34 UTC · original · approved these changes