[Question] Is 120 The Engine Max Frame Rate?

Dear Friends at Epic,

Even if I set smoothing to false, or use smoothing and set the rate to 240

[/Script/Engine.Engine]
bSmoothFrameRate=true ;true
MinSmoothedFrameRate=5
MaxSmoothedFrameRate=240 ;120

The in-game FPS never goes above 120 (well 122 without smoothing)

Is 120 the max frame rate possible?

#Request For 240

Being able to reach 240 would help with higher powered modern monitors

and

I surprised myself

I CAN actually see and feel the difference between fps of 90 and 120

and much prefer 120 :slight_smile:

so I can only hope for 240 :slight_smile:

Thanks!

Rama

Hi Rama,

Framerate should be uncapped if bSmoothFrameRate=false. I just tested this on my machine in QAGame with -game on the commandline. “stat fps” was in the 180s. Are you seeing different behavior?

Jeff

I am using DefaultEngine.ini

[/Script/Engine.Engine]
bSmoothFrameRate=false ;true
MinSmoothedFrameRate=5
MaxSmoothedFrameRate=240 ;120 

And the FPS will never go above around 130 if I move around a lot and shake camera

I have a machine that can handle multiple instances of rocket open at same time without even raising it’s temperature,

I am using a GTX680

And I really think the fps should be able to go way higher, theoritically

I’ve never seen anywhere near 180 :slight_smile:

Thanks for taking the time Jeff!

Rama

PS: And I am using stat FPS and I have VSync off :slight_smile:

Ok, it sounds like you’re not running into a hard cap, then. Yay! I’m pretty sure 130 is just what that scene happens to run at on your machine.

Hee hee! Yay!

#Something Very Interesting

If I run the editor uncapped, I get around 140-ish, consistently 10 FPS better than independent game launch

[/Script/UnrealEd.EditorEngine]
NearClipPlane=3.0
bSmoothFrameRate=false
;MinSmoothedFrameRate=5
MaxSmoothedFrameRate=240

#Why is Editor Always Better

I’ve persistently noted that performance is ALWAYS better in the editor

I would hope that the independent game instance (I always run from commandline with editor closed)

would have less overhead and would run faster

Why does the Editor seem more optimized than what the end user will actually be experiencing?

I would love to see the independent game launch reach the speeds of the editor!

(difference of about 10 fps)

Thanks Jeff!

Rama

#more Good News

Sorry I did not try this earlier, but when I run a blank map, Show FPS shows around 250 FPS

Yay!

But please see my issue above about the Editor always running better than the independent game launch, that’s been bugging me for a while, cause I want my end user to experience what is as good as what the Editor can do :slight_smile:

#Did More Testing

And I can verify that the Editor is always running about 10 FPS more than the editor-closed independent game launch via .uasset :slight_smile:

Hi Rama,

Are you trying to set the framerate for the Editor or for your game? Exactly which config file are you editing?

Also, do you have Vsync turned on?

Thanks

Hi there Stephen!

I am editing Config/DefaultEngine.ini

I am leaving the editor alone, and changing the Game frame rate.

I have successfully used this method to cap my in-game frame rate to 120, 90,30,60,72, etc

but when I try to go above 120, the fps never goes higher than 120.

I am hoping there’s a way to get to 240 ? :slight_smile:

[/Script/UnrealEd.EditorEngine]
NearClipPlane=3.0
;bSmoothFrameRate=true
;MinSmoothedFrameRate=5
;MaxSmoothedFrameRate=120

[/Script/Engine.Engine]
bSmoothFrameRate=true ;true
MinSmoothedFrameRate=5
MaxSmoothedFrameRate=240 ;120

#VSync

“Also, do you have Vsync turned on?”

In all of my tests I have had VSync turned off, here is my commandline:

"C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe" E:\RocketVictory\VictoryGame\VictoryGame.uproject -game  -ResX=1280 -ResY=960 -WinX=0 -WinY=0 -NoVSync -log

Are you able to get to 240 on the internal build by changing these DefaultEngine.ini settings?

Thanks Stephen!

Rama

This has all changed in recent versions (bSmoothFrameRate can be set to true for the second line to take effect or set to false to not constrain it):

[/Script/Engine.Engine]
bSmoothFrameRate=false

or

[/Script/Engine.Engine]
bSmoothFrameRate=true
SmoothedFrameRateRange=(LowerBound=(Type="ERangeBoundTypes::Inclusive",Value=5),UpperBound=(Type="ERangeBoundTypes::Inclusive",Value=240))

‘t.MaxFPS’ did the tricks on v4.11.2

Worked for me too, thanks!!