README: the NVIDIA launcher, and naming the card on a PC with more than one #3007

Merged
fiestorra merged 1 commit from upstream-pr/3007 into main 2026-12-02 02:44:57 +00:00
fiestorra commented 2026-12-01 23:21:48 +00:00 (Migrated from github.com)

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.ps1 was not named anywhere in it. "Starting it" points at
    Launcher.bat and scripts\play-d3d12.ps1, which are the generic paths; the NVIDIA launcher

    • the one whose settings findings.md measures with - was only mentioned inside the DLSS
      fetcher'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 no
    card 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 and
    every frame is drawn by the chip, without a line saying so. -Adapter 4090 is the fix.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5596478223 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3007). Originally posted by [fiestorra](https://github.com/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.ps1` was not named anywhere in it.** "Starting it" points at `Launcher.bat` and `scripts\play-d3d12.ps1`, which are the generic paths; the NVIDIA launcher - the one whose settings `findings.md` measures with - was only mentioned inside the DLSS fetcher'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 no card 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 and every frame is drawn by the chip, without a line saying so. `-Adapter 4090` is the fix. Written with an AI assistant.
andrew-ai commented 2026-12-01 23:24:39 +00:00 (Migrated from github.com)

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 277703d44 the 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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329310663 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3007#issuecomment-7329310663). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-01T23:24:39Z. --- The new README example passes a package directory to -Exe. At 277703d44 the 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 <package> -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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!3007
No description provided.