[pr-fix][frame-generation][startup] Keep the saved F1 frame generation factor #233
Loading…
Reference in a new issue
No description provided.
Delete branch "andrewpozdnakov7-jpg/Darner:port/3274-preserve-saved-framegen-choice"
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?
Contributor role (optional)
What it changes
A stale plain DARNER_FRAMEGEN_X=4 in a settings file overrides a newer F1 choice of 2x or Off on main. When an F1 choice is present, use that choice. Preserve the legacy factor in files without an F1 selection and continue to apply explicit --set overrides afterwards.
Restores locally saved VIctory-NVIDIA work from December 1, 2026. Previous review: CodeFloe #386. Adapted by andrewpozdnakov7-jpg (GitHub profile).
How it was tested
5b28f58onf3840d7.5b28f58and the locally guarded PowerShell copy each reported zero. The native 2x control reported 430 generated frames. These are SDK counts, not an FPS comparison.Checklist
Checked for overlap
On Windows build 26300 I compared
5b28f589a088faece740775b9b9075633044b16ewith its parentf3840d73d3504c30218debfbc8795b9225447317, using separate settings files. With legacyDARNER_FRAMEGEN_X=4, Rustplay::prepareinstalled 0 for saved F1 Off and 2 for saved 2×. Main installed 4 in both cases. With no F1 selection, both kept 4. Both Rust--setaliases installed an explicit 5. The focused play/rig tests passed 61/61 on the PR and 60/60 on main, plus 4/4 F1 persistence tests on the PR.The PowerShell entry point still loses the F1 selection. In Windows PowerShell 5.1 and PowerShell 7,
scripts/play-nvidia.ps1prepared 4 for both Off and 2× and also set the F1 mirror to 4. I inspected the actual script’s settings map just before the build step.In a temporary copy, adding
if ($k -eq 'DARNER_FRAMEGEN_X' -and $menu.Contains('DARNER_MENU_FRAMEGEN')) { continue }inside the plain-settings loop fixed both cases in both shells. Legacy-only stayed 4, and-More DARNER_FRAMEGEN_X=5still gave 5. This guard is absent from the current PR. All observations were during settings preparation; no game or frame-generation runtime was exercised.The stale multiplier can actually turn generation on in gameplay when the saved choice says Off. I reproduced this on RTX 4070 Ti SUPER, driver 617.14. All five profiles had plain
DARNER_FRAMEGEN_X=4, DLSS Quality, Series X 1440p, RT off and frame generation ready. Each reached the world and exited normally.5b28f585b28f58I counted only complete Streamline reporting intervals between +5 and +25 seconds after the first world frame. All reported status
0x0. The stock PowerShell launch printedDARNER_FRAMEGEN_X=4andDARNER_MENU_FRAMEGEN=4; the guarded copy printed 0 for both. The 2× control shows two output frames per on-present. These SDK counts verify the toggle, not frame rate. The guarded launcher was a local copy. Tested with Codex assistance.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.