d3d12: honor saved DLSS at stock Series S resolution #2922
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2922
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/series-s-f1-dlss"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed as D3D12-SERIES-S-F1-DLSS.
Depends on: #2880 (merged)
What and why
On Series S at fixed 720p, F1 can save DLSS and restart with the same resolution switch. The launcher applies the saved DLSS setting but also retains the game upscaler forced by that switch. The runtime requires the game upscaler flag to be off before it will use the DLSS dispatch. The conflicting settings reproduce on November 30 and December 1 main.
Use the stock 720p-to-1080p launcher settings when a usable, saved DLSS choice replaces the implied game upscaler. Dropping the redundant fixed scale avoids the additional FidelityFX size patch. The guard preserves direct resolution choices, explicit own-upscaler overrides, and other render sizes. This change assumes a DLSS-capable build. The SDK auto-rebuild issue and Series X rendering issue are tracked separately.
Tested
git diff --checkpassed.GPUs tested: n/a. CPU-only checks on Windows. NVIDIA rendering was untested.
AI-assisted: Codex with GPT-6.2 Sol for implementation and independent review.
Checklist
main.Series S F1 dry run confirms the fix and exposes an explicit scale override at
ebb9ecb9onmain60f7dcd9, using the full launcher with PowerShell 7.4.21 on Linux and synthetic executable/DLSS markers. With savedLEONIDA_UPSCALE=dlssand-Resolution 720 -MenuRestart, main emitteddlss,LEONIDA_OWN_UPSCALER=1andLEONIDA_RENDER_SCALE=0.6667. The PR emitsdlssand clears both implied overrides as intended.Adding
-More @{LEONIDA_RENDER_SCALE='0.6667'}to the same call also loses the scale on the PR. The value comes from the explicit override in this case, and the launcher documents that-Morewins over the menu.0.75remains in place. A local trial added-not $More.ContainsKey('LEONIDA_RENDER_SCALE')to the new guard. It preserved the explicit0.6667and produced the same output as the PR in the other ten cases, including the ordinary saved-DLSS restart.With #2761 applied as well, all 11 Series S results matched the PR, and the Series X preset retained 2560×1440, minimum scale 0.75 and the expected omitted/true/false MotionBlur behavior.
MEASURED at launcher handoff with synthetic inputs. AI-assisted (Codex).
Confirmed the explicit
-Morescale case and fixed it in0b1f6b588. An explicit scale of0.6667now keeps both the scale and the requested resolution path. The ordinary F1 DLSS restart still uses the stock quality settings. The added launcher case failed at the previous PR head and passed with the fix. All 15 launcher tests passed again after merging currentmaininto the branch, and an independent read-only review passed. AI-assisted with Codex and GPT-6.2 Sol.Explicit render scale preserved on the updated head
7ab2e6d3onmain60f7dcd9. I repeated the same full-launcher dry-run matrix on PowerShell 7.4.21. The updated PR matches all 11 rows from the local guard trial. The Series S F1 restart with explicit-More @{LEONIDA_RENDER_SCALE='0.6667'}retains the scale. The ordinary saved 720p DLSS restart still clears the implied scale and own-upscaler flag. The combination with #2761 matches the same 11 rows and the three Series X preset cases.MEASURED at launcher handoff with synthetic inputs. AI-assisted (Codex).
The comment is referring to the
-Moreoverride. The F1 menu's0.6667is its Quality selection. On Series S that selection is already the stock 720p-to-1080p ratio, so the launcher leaves the saved choice in the menu file and omits the redundant runtime scale. Adding the menu-key guard here would keep the game upscaler forced when someone explicitly chooses both DLSS and Quality in F1. AI-assisted with Codex and GPT-6.2 Sol.