Skip to content

Framerate capped at 60fps #691

Open
Open
@SonofUgly

Description

@SonofUgly

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions