README: the NVIDIA launcher, and naming the card on a PC with more than one #3007
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T23:21:48Z.
README: 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.
Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-01T23:24:39Z.
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.