Post FG framerate capped to 30 regardless of whiich framerate has been chosen in menu #3063

Open
opened 2026-12-02 07:42:17 +00:00 by github-bot · 4 comments
Owner

@⁠lozengelover on GitHub · 2026-12-02 07:41 UTC · original

What happens

Post FG framerate capped to 30 regardless of whiich framerate has been chosen in menu

Commit

02/12/26

System

windows + RTX 5070

Where

runtime

Command and steps

currently, when frame gen x2,3,etc is chosen the prost-frame gen output is capped to 30fps. So the base frame rate is reduced to compensate. choossing a different frame limit in the menu does nothing and keeps the output capped to 30

Output

currently, when frame gen x2,3,etc is chosen the prost-frame gen output is capped to 30fps. So the base frame rate is reduced to compensate. choossing a different frame limit in the menu does nothing and keeps the output capped to 30
**@⁠lozengelover** on GitHub · 2026-12-02 07:41 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3063) ### What happens Post FG framerate capped to 30 regardless of whiich framerate has been chosen in menu ### Commit 02/12/26 ### System windows + RTX 5070 ### Where runtime ### Command and steps currently, when frame gen x2,3,etc is chosen the prost-frame gen output is capped to 30fps. So the base frame rate is reduced to compensate. choossing a different frame limit in the menu does nothing and keeps the output capped to 30 ### Output ```text currently, when frame gen x2,3,etc is chosen the prost-frame gen output is capped to 30fps. So the base frame rate is reduced to compensate. choossing a different frame limit in the menu does nothing and keeps the output capped to 30 ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 07:42:17 +00:00
Author
Owner

@⁠lixonik on GitHub · 2026-12-02 09:44 UTC · original

This is caused by the fixed LEONIDA_FG_LIMIT_FPS = '28' cap that d3d12/scripts/play-nvidia.ps1 currently sets for Streamline Reflex when Frame Generation is active (it paces shown frames via Reflex frameLimitUs, which overrides higher in-game menu frame-rate limits and caps rendered FPS to 28 / multiplier).

  • Fix in review: PR #3062 switches LEONIDA_FG_LIMIT_FPS to 'auto' by default so Reflex dynamically follows the machine's rendered rate instead of clamping to 28 shown fps (verified cleanly on RTX 5070 in #3062).
  • Immediate workaround on current main: pass -More @{LEONIDA_FG_LIMIT_FPS='0'} (uncapped) or a higher shown target such as -More @{LEONIDA_FG_LIMIT_FPS='60'} to scripts\play-d3d12.ps1.

AI-assisted: yes (Antigravity).

**@⁠lixonik** on GitHub · 2026-12-02 09:44 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3063#issuecomment-7341407788) This is caused by the fixed `LEONIDA_FG_LIMIT_FPS = '28'` cap that `d3d12/scripts/play-nvidia.ps1` currently sets for Streamline Reflex when Frame Generation is active (it paces shown frames via Reflex `frameLimitUs`, which overrides higher in-game menu frame-rate limits and caps rendered FPS to `28 / multiplier`). - **Fix in review:** PR #3062 switches `LEONIDA_FG_LIMIT_FPS` to `'auto'` by default so Reflex dynamically follows the machine's rendered rate instead of clamping to 28 shown fps (verified cleanly on RTX 5070 in #3062). - **Immediate workaround on current `main`:** pass `-More @{LEONIDA_FG_LIMIT_FPS='0'}` (uncapped) or a higher shown target such as `-More @{LEONIDA_FG_LIMIT_FPS='60'}` to `scripts\play-d3d12.ps1`. AI-assisted: yes (Antigravity).
Author
Owner

@⁠fiestorra on GitHub · 2026-12-02 15:19 UTC · original

A measured confirmation of the cause, from a real run: LEONIDA_FG_LIMIT_FPS=28 and a frame time of exactly 35.7 ms, which is 28.0 a second to the digit.

From the log of a run on an RTX 4090, driver 621.24, -SeriesX -Resolution 1440 with the launcher's settings (%LOCALAPPDATA%\Leonida\logs\play-1201-230221.log):

settings: ... LEONIDA_FG_LIMIT_FPS=28 ... LEONIDA_FRAME_GEN=2 ...

22:02:37 - 22:03:50   35.7 ms median, 95th 35.7, 99th 35.7, longest 35.7    (14 windows in a row)

Fourteen consecutive five-second windows at 35.7 ms, with no spread at all - 1000/35.7 = 28.01. That is not a coincidence with a fixed limit of 28: the frame time is flat to a tenth of a millisecond, which is what a pacer holding a rate looks like, not what a scene looks like.

And the other half of the story, for anyone reading this as "FG is slow": in that same run frame generation never started - 2,208 Streamline warnings missing common constants - Frame Generation will be disabled (#3137), so what was shown was 28 rendered frames a second with nothing generated on top, and the cap was the only thing pacing it. LEONIDA_FG_LIMIT_FPS follows the rendered rate only once something is generated, which is what #3062 makes it do (auto).

So the report is right and the number is 28, not 30 - the "capped to 30" is the launcher's own default, and the fix in #3062 is the one that lets it follow the rate.

AI-assisted: yes - DeepSeek v4.1 (flash).

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-12-02 15:19 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3063#issuecomment-7350139501) **A measured confirmation of the cause, from a real run: `LEONIDA_FG_LIMIT_FPS=28` and a frame time of exactly 35.7 ms, which is 28.0 a second to the digit.** From the log of a run on an RTX 4090, driver 621.24, `-SeriesX -Resolution 1440` with the launcher's settings (`%LOCALAPPDATA%\Leonida\logs\play-1201-230221.log`): ``` settings: ... LEONIDA_FG_LIMIT_FPS=28 ... LEONIDA_FRAME_GEN=2 ... 22:02:37 - 22:03:50 35.7 ms median, 95th 35.7, 99th 35.7, longest 35.7 (14 windows in a row) ``` **Fourteen consecutive five-second windows at 35.7 ms, with no spread at all** - `1000/35.7 = 28.01`. **That is not a coincidence with a fixed limit of 28**: the frame time is flat to a tenth of a millisecond, which is what a pacer holding a rate looks like, not what a scene looks like. **And the other half of the story**, for anyone reading this as "FG is slow": **in that same run frame generation never started** - **2,208 Streamline warnings `missing common constants - Frame Generation will be disabled`** (#3137), so what was shown was **28 rendered frames a second with nothing generated on top**, and the cap was the only thing pacing it. **`LEONIDA_FG_LIMIT_FPS` follows the *rendered* rate only once something is generated**, which is what #3062 makes it do (`auto`). **So the report is right and the number is 28, not 30** - the "capped to 30" is the launcher's own default, and the fix in #3062 is the one that lets it follow the rate. **AI-assisted:** yes - DeepSeek v4.1 (flash). Written with an AI assistant.
Author
Owner

@⁠MoonEyes on GitHub · 2026-12-02 21:20 UTC · original

#3062 (merged today) removes the fixed cap: play-nvidia.ps1 now sets LEONIDA_FG_LIMIT_FPS=auto, so the limit follows the rendered rate instead of a fixed 28. It does not make the in-game menu's frame limit apply, and no in-game run after the merge is posted yet. Could you retest on current main and say whether the shown rate still stops at 30, and whether the menu limit now changes anything?

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-12-02 21:20 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3063#issuecomment-7359134850) #3062 (merged today) removes the fixed cap: `play-nvidia.ps1` now sets `LEONIDA_FG_LIMIT_FPS=auto`, so the limit follows the rendered rate instead of a fixed 28. It does not make the in-game menu's frame limit apply, and no in-game run after the merge is posted yet. Could you retest on current `main` and say whether the shown rate still stops at 30, and whether the menu limit now changes anything? AI-assisted (Claude Code).
Author
Owner

@⁠MoonEyes on GitHub · 2026-12-03 16:12 UTC · original

This was generated by AI during triage.

Triage Notes

What we've established so far:

  • The report says the shown post-frame-generation rate remains at 30 regardless of the menu limit.
  • PR #3062 has since merged and changed the default frame-generation limiter from a fixed 28 to auto; the thread has no confirmation from the reporter on current main after that change.

What we still need from you (@⁠lozengelover):

  • Please retest on current main with frame generation enabled, change the in-game frame limit, and report the commit plus both rendered and shown rates. Does the 30-FPS cap remain, and does the menu setting change the shown rate?
**@⁠MoonEyes** on GitHub · 2026-12-03 16:12 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3063#issuecomment-7384443136) > *This was generated by AI during triage.* ## Triage Notes **What we've established so far:** - The report says the shown post-frame-generation rate remains at 30 regardless of the menu limit. - PR #3062 has since merged and changed the default frame-generation limiter from a fixed 28 to `auto`; the thread has no confirmation from the reporter on current `main` after that change. **What we still need from you (@⁠lozengelover):** - Please retest on current `main` with frame generation enabled, change the in-game frame limit, and report the commit plus both rendered and shown rates. Does the 30-FPS cap remain, and does the menu setting change the shown rate?
This discussion has been locked. Commenting is limited to contributors.
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#3063
No description provided.