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

Merged
leonida/mandy
fiestorra merged 1 commit from readme-names-the-card into main 2026-12-02 02:44:57 +00:00

Pull request successfully merged and closed

fiestorra commented 2026-12-01 23:21:48 +00:00

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.

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

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.

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.
OreoFR approved these changes 2026-12-02 02:34:05 +00:00
Sign in to join this conversation.
No description provided.