d3d12: preserve -MotionBlur across F1 restart #2626
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2626"
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?
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T19:12:18Z.
Claimed in the coordination issue as D3D12-MOTION-BLUR-RESTART.
What and why
play-nvidia.ps1honors-MotionBluron the first start, but omits the switch fromLEONIDA_MENU_ARGS. F1 Save and Restart then uses the default and skips the four motion-blur passes. Forward the switch when it was enabled.Tested
dd87aa405because the restart arguments omit-MotionBlur. With the fix,python -I tests/test_win_launchers.py -vpasses two tests, with the Windows cmd.exe integration test skipped. The new test covers enabled, explicitly false, and omitted values.-MotionBluron main. With the fix it was 0 at both starts. The default produced 4 at both starts on each revision.check_no_game_data.py. The FSR options already in the launcher remain in the same restart argument list.dd87aa405andc0e16af8: 529 files, 6,526 tests in each. Both runs failed the same two half-precision interpolation cases intest_interp_computed_ij_fallback, with identical assertion values.GPUs tested: N/A. Synthetic launcher inputs only.
AI-assisted: Yes, OpenAI Codex (GPT-6).
Checklist
mainand merges cleanly.Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T19:57:30Z.
CI follow-up for
c0e16af8. I rechecked the clean merge onto8085eab2(tree42a0c565) with PowerShell 7.4.21 on CachyOS. The focused regression still fails against the stock launcher becauseLEONIDA_MENU_ARGSomits-MotionBlur. On the merge, both runnable tests intest_win_launchers.pypass. Thecmd.exe-specific test skips on Linux.The completed failures in the posted CI run use its older merge base
dd87aa405. The translator job has the six mesh assertions fixed by #2627. The Linux stdlib and macOS Python jobs stop at the BVH cache fixture covered by #2629. The semantic job has the two known F16 reference assertions. The Windowscheckjob was cancelled. Synthetic launcher input only. AI-assisted with OpenAI Codex.Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T20:28:49Z.
Windows CI follow-up for
fcc044cd. All three tests intests/test_win_launchers.pypassed in the standard-library step, including thecmd.exeintegration test that skipped on my Linux machine. The Windows job was later cancelled in the BCPack reader and texture pipeline step. Windows job logThe Linux semantic job still reports the two F16 reference assertions. I reproduced those on the current merge locally and reran the full suite with the one-file fix from #2633. All 529 files completed without failures with that fix. The launcher branch does not need any shader changes. A/B details
AI-assisted with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T21:35:28Z.
Verified by OreoFR
fcc044cdc4a17756059d866f10a04a354acc6e71, merged with--no-ffontomain060c4716046d8c17f5a124d9ae9d56cc0070c225: clean, no conflict.d3d12/scripts/play-nvidia.ps1andtests/test_win_launchers.pyonly), socargo testandcargo clippydo not apply; the check is the PR's own launcher test.python -I tests/test_win_launchers.py -von the merge: 3/3 passed, 0 skipped (thecmd.exeintegration test runs here).d3d12/scripts/play-nvidia.ps1restored tomain, test kept:test_nvidia_menu_restart_preserves_motion_blur_switchfails (LEONIDA_MENU_ARGSfor the-MotionBlurrun has no-MotionBlur); the other 2 pass. Red to green seen.eade9562c).-MotionBlur:$falseand the omitted case stay out, as the test checks.play.ps1has no restart argument list, so nothing to mirror there.This verification was AI-assisted (Claude Code, oreofr-agent).
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T22:49:11Z.
The two launcher changes now have a combined native Windows restart check. ecox982745 replayed the emitted F1 arguments from
fcc044cdcplus #26472ac782d0on452d1d1b6under Windows PowerShell 5.1 and PowerShell 7. Both-MotionBlurand-NoFrameGenremained effective across restart, and the explicit FSR and saved-value controls passed. Independent Windows evidenceAI-assisted with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T01:05:47Z.
Retested the Motion Blur restart fix with the current NVIDIA launcher. I merged
fcc044cdcintomain0eab02a8b(tree3ed938efb) and all threetest_win_launchers.pytests passed on Windows Server 2025, including the nativecmd.exeintegration case. Windows job.I also exercised the launcher’s new driver-cache detection with a synthetic Leonida executable and temporary
.nvphfiles. WithLEONIDA_CACHE_DIRunder Windows PowerShell and the TOML fallback underpwsh, all four cases passed on each engine. The launcher recorded a new cache file, kept the manifest while it was intact, added--againwhen the tracked file disappeared, and ran only the executable with-NoPrecompile.Synthetic inputs only. AI-assisted with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T02:24:59Z.
MEASURED on Windows Server 2025. I merged
fcc044cdcintomain182d0c174(tree868c3bac9) and replayed the F1 restart command emitted by the top-levelplay-d3d12.ps1launch. The newLEONIDA_QUICK_FIND_WINDOWSandLEONIDA_PORT_DESCRIPTORSdefaults stayed at1on restart, and explicitly saved0values stayed at0after the fixture simulated a save of an unrelated F1 setting.The 48 dry-run cases covered Windows PowerShell 5.1 and PowerShell 7, Series X and Series S, defaults and saved renderer overrides, and Motion Blur omitted, explicitly off or on. With Motion Blur on,
mainput the four passes back on the skip list after restart. With #2626 applied, those passes stayed off the skip list. Omitted and explicitly off kept the skip list in both arms. All three launcher regression tests passed in the same job.Windows job and fixture output. The test used synthetic inputs and replayed the emitted command in
-DryRunmode. AI-assisted with OpenAI Codex.Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T11:39:02Z.
CI refresh. I updated this branch to
be3f7582by mergingmaind367675c7, which already contains the F16 oracle fix from #2633. The two F16 assertions from the previous CI run now pass on bothmainand this merge. Previous semantic job.The full local semantic suite passed on each revision (549 files, 6,675 tests). All 626 selected standard-library files passed on the merge. The focused launcher regression still fails with the stock launcher and passes with the PR. GitHub CI on the exact base is green. Base CI.
PR CI is green. All four jobs passed on
be3f7582, including the previously failing semantic job and the Windowscheck. The No Game Data workflow also passed. PR CI · No Game Data.AI-assisted with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T15:02:31Z.
Latest-main check with the 1080p–1440p dynamic resolution launchers
I tested
be3f7582merged ontomain232f9e603(tree626362ce) with PowerShell 7.4.21 on CachyOS. I used the newplay-X-1080-1440p.ps1preset and the top-levelscripts/play-d3d12.ps1Series X defaults. Each test captured the launcher’sLEONIDA_MENU_ARGS, simulated a save of an unrelated F1 option, and replayed the arguments in a second dry run.-MotionBlurenabled, both entry points printed zero motion-blur skips at first start. Onmainthe restart printed four skips. With this PR the restart printed zero on both entry points.play-X-1080-1440p.ps1wrapper rejects-MotionBlur:$falsebecause forwarding the arguments causesFalseto bind toResolution. Its omitted-switch case and the top-level explicit-false case both worked.The stock motion-blur regression test still failed on
mainand passed with the PR. The Windows-onlycmd.exetest was skipped in this Linux run. A second agent reran the comparison with synthetic files. AI-assisted with OpenAI Codex.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:59:05Z.
Verified: all launcher regression tests pass, including the Windows cmd.exe integration case; independent red-to-green and latest-main checks pass. CI and no-game-data checks are green. Ready for merge.