d3d12: preserve explicit MotionBlur values in the 1080p–1440p preset #2761
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!2761
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1080-1440p-motion-blur-switch"
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 in the coordination issue as: D3D12-DYNAMIC-PRESET-MOTION-BLUR-FALSE. Claim
What and why
Passing
-MotionBlur:$falsetoplay-X-1080-1440p.ps1leavesFalseas a positional argument when the wrapper forwards@args. PowerShell binds that token toResolutionand rejects the launch.The preset now binds
MotionBluras a named switch and forwards its bound value alongside the other launcher arguments. The preset still supplies the Series X and 1080p minimum defaults.Tested
maina4ed2638, the new PowerShell dry-run regression reproduces theResolutionbinding failure. With this patch it covers omitted, bare, explicitly true and explicitly false values and checks 2560×1440 output and 0.75 minimum scale.cmd.execase was skipped. The tests used an empty synthetic executable. A separate Codex reviewer independently repeated the red/green check.git diff --checkandscripts/check_no_game_data.pypassed.GPUs tested: n/a.
AI-assisted: OpenAI Codex (GPT-6), with independent Codex review.
Checklist
mainand merges cleanly.Independent native Windows launcher verification for
2b85ec124merged ontoa21a62af1(treecf8e84fd2). Tested Windows PowerShell 5.1.26100.10068 and PowerShell 7.6.9 with a synthetic executable path containing spaces, an apostrophe and an ampersand.On
main, both explicit forms (-MotionBlur:$falseand-MotionBlur:$true) were rejected by theResolutionbinder on both shells. With the PR, omitted, bare, explicit true and explicit false all completed their first dry run and a replay of the actualLEONIDA_MENU_ARGS. Motion blur matched the request on both launches. The preset kept2560x1440output and the0.75minimum render scale, and the restarted command picked up a separately saved F1 setting.The stock
tests/test_win_launchers.pypassed all four tests on native Windows, including thecmd.exediscovery and exit propagation test. Synthetic launcher inputs only. AI-assisted with OpenAI Codex (GPT-6.2 Sol).Independent check on Windows (not the author), at
2b85ec124.python -I tests/test_win_launchers.py: 4 tests OK in 1.14 s.The launcher-preset case (explicit MotionBlur preserved in the 1080p–1440p preset) is covered by the updated test and passes; no PowerShell execution-policy failure here.
Environment: Windows 11 Pro 10.0.26200.9711, Python 3.12.10, Windows PowerShell 5.1.
AI-assisted: yes (opencode).
Applied the two review follow-ups in 8edf0c84. The explicit-false forwarding regression test now observes the inner launcher’s bound parameters. It distinguishes omitted, explicit false, bare true and explicit true, and also checks that Series X and Lowest 1080 are forwarded. In a negative control that drops only the explicit false binding, the existing dry run still passes and the new test fails on omitted versus False.
The README now describes the fixed and dynamic preset flags and the Series X render scales. The current merge into 43c7b343a passed four launcher tests using PowerShell 7.4.21 on Linux and all seven Series X dry runs. The Windows-only cmd.exe test was skipped in this run. An independent read-only review also verified the new test and its negative control. The wider switch-forwarding issue across the sibling presets remains a separate follow-up.
AI-assisted with OpenAI Codex (GPT-6), including a separate read-only reviewer. Synthetic launcher inputs; no GPU required for these checks.
Native Windows verification of 8edf0c84 on the merge into 88a9f133e. The full launcher test file passed 5/5 under PowerShell 7 and 5/5 in a second run selecting Windows PowerShell 5.1.26100.33822. This includes the new explicit-false binding test, the real-preset dry run and the Windows cmd.exe discovery/exit-propagation case. Synthetic launcher inputs only.
Windows Actions job and logs · MEASURED, AI-assisted (Codex).