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

Manually merged
github merged 1 commit from github-bot/gh-3007 into gh-pr/3007/base 2026-12-02 02:50:27 +00:00 AGit
Owner

@⁠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 UTC

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.

**@⁠fiestorra** on GitHub · 2026-12-01 23:21 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3007) `fiestorra:readme-names-the-card` → `main` · +9 −0 · 1 files · 1 commits · merged 2026-12-02 02:44 UTC 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.
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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 23:22:56 +00:00
Author
Owner

@⁠andrew-ai on GitHub · 2026-12-01 23:24 UTC · original

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.

**@⁠andrew-ai** on GitHub · 2026-12-01 23:24 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3007#issuecomment-7329310663) 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.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-02 02:34 UTC · original · approved these changes

**@⁠OreoFR** on GitHub · 2026-12-02 02:34 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3007#pullrequestreview-6143830932) · **approved these changes**
github-bot changed target branch from main to gh-pr/3007/base 2026-12-02 02:50:16 +00:00
github manually merged commit 277703d441 into gh-pr/3007/base 2026-12-02 02:50:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!3007
No description provided.