d3d12: honor the saved DLSS upscaler on Series X #3250

Code

Clone this repository

Checkout

From your project repository, check out a new branch and test the changes.

git fetch -u origin "github-pr/3250:github-pr/3250"
git switch "github-pr/3250"
Open
leonida/mandy
jxzrx wants to merge 1 commit from github-pr/3250 into main

This branch is out-of-date with the base branch

Conversation
Reviewers 0 approvals
  • No reviewers
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'github-pr/3250:github-pr/3250'
git switch 'github-pr/3250'
jxzrx commented 2026-12-02 22:32:07 +00:00

Claimed in the coordination issue as: D3D12-SERIES-X-F1-DLSS

I switched GitHub accounts after my original claim. This pull request continues that work.

Depends on: #3039

Both changes touch the Series X experimental-upscaling warning.

What and why

The Series X launcher drops a DLSS choice saved in F1 after loading the menu settings. Preserve that choice on a fresh launch and on SAVE AND RESTART NOW. Update the warning to explain how to return to the title's own upscaler.

The README also explains how frame generation can use G-buffer inputs with the title's own upscaler. Related to #2885 and #3137. The fresh-launch regression covers the coordination follow-up.

Tested

  • The updated menu test against main f3865cae8 reproduced two launch summary failures.
  • python -I -B tests/test_play_nvidia_menu_choice.py passed all 16 tests with the fix.
  • python -I -B tests/test_leonida_launcher.py passed all 26 tests.
  • python -I scripts/check_no_game_data.py and git diff --check passed.

GPUs tested: n/a. Launcher DryRun fixtures only.

AI-assisted: GPT-6.2 Sol for implementation and a separate GPT-6.2 Sol agent for independent read-only review.

Checklist

  • Based on the checked main revision f3865cae8.
  • One topic.
  • No game data, keys, or decryption.
Claimed in the coordination issue as: [D3D12-SERIES-X-F1-DLSS](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7360686585) I switched GitHub accounts after my [original claim](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7355442548). This pull request continues that work. Depends on: #3039 Both changes touch the Series X experimental-upscaling warning. ### What and why The Series X launcher drops a DLSS choice saved in F1 after loading the menu settings. Preserve that choice on a fresh launch and on SAVE AND RESTART NOW. Update the warning to explain how to return to the title's own upscaler. The README also explains how frame generation can use G-buffer inputs with the title's own upscaler. Related to #2885 and #3137. The fresh-launch regression covers the [coordination follow-up](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7360308870). ### Tested - The updated menu test against main `f3865cae8` reproduced two launch summary failures. - `python -I -B tests/test_play_nvidia_menu_choice.py` passed all 16 tests with the fix. - `python -I -B tests/test_leonida_launcher.py` passed all 26 tests. - `python -I scripts/check_no_game_data.py` and `git diff --check` passed. GPUs tested: n/a. Launcher DryRun fixtures only. AI-assisted: GPT-6.2 Sol for implementation and a separate GPT-6.2 Sol agent for independent read-only review. ### Checklist - [x] Based on the checked main revision `f3865cae8`. - [x] One topic. - [x] No game data, keys, or decryption.
merzleckeier reviewed 2026-12-02 22:36:20 +00:00
merzleckeier left a comment
No description provided.
Reviewed `0b404b14` against `main` at `16243cd6`. I ran six isolated Linux PowerShell dry runs on each revision with synthetic SDK and runtime files. A saved Series X DLSS choice with scale `0.6` is discarded by the base and becomes `LEONIDA_UPSCALE=dlss`, `LEONIDA_FSR_UPSCALER=1` with this patch, both at a fresh start and on `-Lowest 1080 -MenuRestart`. Typed `-Lowest`, missing DLSS files, frame generation without a saved choice, and returning to GAME OWN on restart all matched the base. This covers launcher settings only. For the declared #3039 overlap: its current head `69c19086` already conflicts with current `main` in `host.rs` and `switches.md`. Combining it with this PR also conflicts in the launcher’s experimental warning. I checked that #3230 and #3247 merge cleanly with this head.
fiestorra commented 2026-12-02 22:56:15 +00:00

VERIFY-3250 — Windows nativo: red then green y la rama fusiona limpia sobre el main de ahora

Own commit 0b404b144 — README.md, play-nvidia.ps1, tests/test_play_nvidia_menu_choice.py (+17/−3)
Merge base f3865cae8; git merge-tree against main 16243cd6e → clean (no conflict lines)

Ran at the head

python -I tests/test_play_nvidia_menu_choice.py      Ran 16 tests — OK

Negative control (the commit's own hunk in play-nvidia.ps1 reverted with git apply -R, the tests kept):

FAIL: test_the_dlss_build_is_asked_for_once_its_sdk_is_here_whatever_the_switches
Ran 16 tests — FAILED (failures=2)

The tests bite on the switch logic this commit changes.

What the change is: the saved DLSS upscaler is honoured on Series X — the DLSS build is asked for once its SDK is present, whatever the switches said, instead of the per-profile default overriding the player's saved choice. The README and the menu test move with it.

What I could not test: a launch on Series X with a saved DLSS choice — the tests drive the argument mapping, not the title.

Written with an AI assistant.

## VERIFY-3250 — Windows nativo: `red then green` y la rama fusiona limpia sobre el `main` de ahora | | | |---|---| | Own commit | `0b404b144` — `README.md`, `play-nvidia.ps1`, `tests/test_play_nvidia_menu_choice.py` (+17/−3) | | Merge base | `f3865cae8`; `git merge-tree` against `main` `16243cd6e` → **clean** (no conflict lines) | **Ran at the head** ``` python -I tests/test_play_nvidia_menu_choice.py Ran 16 tests — OK ``` **Negative control** (the commit's own hunk in `play-nvidia.ps1` reverted with `git apply -R`, the tests kept): ``` FAIL: test_the_dlss_build_is_asked_for_once_its_sdk_is_here_whatever_the_switches Ran 16 tests — FAILED (failures=2) ``` **The tests bite on the switch logic this commit changes.** **What the change is**: the **saved DLSS upscaler is honoured on Series X** — the DLSS build is asked for once its SDK is present, **whatever the switches said**, instead of the per-profile default overriding the player's saved choice. The README and the menu test move with it. **What I could not test**: a launch on Series X with a saved DLSS choice — the tests drive the argument mapping, not the title. Written with an AI assistant.
lixonik commented 2026-12-03 05:44:46 +00:00

Windows native verification (red -> green) -- PASS on head 0b404b144 (merged cleanly via git merge --no-ff onto main d9b618f10).

Checks (Windows 10 x64, Python 3.12, PowerShell 5.1)

  • python -I scripts/check_no_game_data.py -> PASS
  • Green:
    • python -I tests/test_play_nvidia_menu_choice.py -v -> OK
    • python -I tests/test_win_launchers.py -> OK
  • Red (reverted d3d12/scripts/play-nvidia.ps1 to main d9b618f10, keeping the PR's tests/test_play_nvidia_menu_choice.py): FAILED (failures=2)

AI-assisted: yes (Antigravity -- Gemini 4 Neon).

**Windows native verification (`red -> green`) -- PASS** on head `0b404b144` (merged cleanly via `git merge --no-ff` onto `main` `d9b618f10`). ### Checks (Windows 10 x64, Python 3.12, PowerShell 5.1) - `python -I scripts/check_no_game_data.py` -> **PASS** - **Green:** - `python -I tests/test_play_nvidia_menu_choice.py -v` -> **OK** - `python -I tests/test_win_launchers.py` -> **OK** - **Red** (reverted `d3d12/scripts/play-nvidia.ps1` to `main` `d9b618f10`, keeping the PR's `tests/test_play_nvidia_menu_choice.py`): **`FAILED (failures=2)`** AI-assisted: yes (Antigravity -- Gemini 4 Neon).
Sign in to join this conversation.
No description provided.