Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framerate capped at 60fps #691

Open
SonofUgly opened this issue Jan 17, 2019 · 3 comments
Open

Framerate capped at 60fps #691

SonofUgly opened this issue Jan 17, 2019 · 3 comments

Comments

@SonofUgly
Copy link

Running the game above 60fps results in doubled frames. GPU usage looks like it's rendering more frames (38% usage at 60fps, and 82% usage at 144fps), and Rivatuner reports higher than 60fps, but there's only 60 unique frames a second.
Here's a video recorded at 120fps (max framerate OBS can record at), and if you step frame by frame you can see every other frame is doubled.

Screwing with kMaxPhysicsSubSteps and GAME_TIMESTEP can result in >60fps (Video), so I'm guessing the game world is only running at 60fps, and either needs to be increased when running at higher framerates or interpolated.

@ghost
Copy link

ghost commented Jan 17, 2019

I guess there should be option for it in config file.

@madebr
Copy link
Contributor

madebr commented Jan 17, 2019

And having these options modifiable at runtime,using a console or config menu, would be useful as well.

@lemppu
Copy link

lemppu commented Nov 20, 2021

And having these options modifiable at runtime,using a console or config menu, would be useful as well.

I'm currently working on Config, and considering how many options are now just magic numbers in the code, the console for quick changes to configuration at runtime sounds like a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants