Post FG framerate capped to 30 regardless of whiich framerate has been chosen in menu #3063
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#3063
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@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
@lixonik on GitHub · 2026-12-02 09:44 UTC · original
This is caused by the fixed
LEONIDA_FG_LIMIT_FPS = '28'cap thatd3d12/scripts/play-nvidia.ps1currently sets for Streamline Reflex when Frame Generation is active (it paces shown frames via ReflexframeLimitUs, which overrides higher in-game menu frame-rate limits and caps rendered FPS to28 / multiplier).LEONIDA_FG_LIMIT_FPSto'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).main: pass-More @{LEONIDA_FG_LIMIT_FPS='0'}(uncapped) or a higher shown target such as-More @{LEONIDA_FG_LIMIT_FPS='60'}toscripts\play-d3d12.ps1.AI-assisted: yes (Antigravity).
@fiestorra on GitHub · 2026-12-02 15:19 UTC · original
A measured confirmation of the cause, from a real run:
LEONIDA_FG_LIMIT_FPS=28and 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 1440with the launcher's settings (%LOCALAPPDATA%\Leonida\logs\play-1201-230221.log):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_FPSfollows 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.
@MoonEyes on GitHub · 2026-12-02 21:20 UTC · original
#3062 (merged today) removes the fixed cap:
play-nvidia.ps1now setsLEONIDA_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 currentmainand 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-03 16:12 UTC · original
Triage Notes
What we've established so far:
auto; the thread has no confirmation from the reporter on currentmainafter that change.What we still need from you (@lozengelover):
mainwith 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?