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

Open
github-bot wants to merge 1 commit from github-bot/gh-3250 into main AGit
Owner

@⁠jxzrx on GitHub · 2026-12-02 22:32 UTC · original
jxzrx:fix/series-x-f1-dlss → main · +36 −21 · 3 files · 1 commits · open

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.
**@⁠jxzrx** on GitHub · 2026-12-02 22:32 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3250) `jxzrx:fix/series-x-f1-dlss` → `main` · +36 −21 · 3 files · 1 commits · open Claimed in the coordination issue as: [D3D12-SERIES-X-F1-DLSS](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570) I switched GitHub accounts after my [original claim](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570). 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://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570). ### 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.
Honor a saved F1 DLSS choice when Series X resolves startup settings.
Check the launch summary on a fresh start and on a menu restart.
Document the G-buffer input path for frame generation.

Claim: D3D12-SERIES-X-F1-DLSS
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 22:34:23 +00:00
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-02 22:36 UTC · original · reviewed

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.

**@⁠merzleckeier** on GitHub · 2026-12-02 22:36 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3250#pullrequestreview-6160265135) · **reviewed** 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.
Author
Owner

@⁠fiestorra on GitHub · 2026-12-02 22:56 UTC · original

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.

**@⁠fiestorra** on GitHub · 2026-12-02 22:56 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3250#issuecomment-7361352688) ## 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.
Author
Owner

@⁠lixonik on GitHub · 2026-12-03 05:44 UTC · original

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).

**@⁠lixonik** on GitHub · 2026-12-03 05:44 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3250#issuecomment-7369067284) **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).
This pull request can be merged automatically.
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 '+refs/pull/3250/head:github-bot/gh-3250'
git switch 'github-bot/gh-3250'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3250'
git switch 'github-bot/gh-3250'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3250'
git switch 'github-bot/gh-3250'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3250'
git switch 'main'
git merge --squash 'github-bot/gh-3250'
git switch 'main'
git merge --ff-only 'github-bot/gh-3250'
git switch 'main'
git merge 'github-bot/gh-3250'
git push origin 'main'
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!3250
No description provided.