Skip to content

Framerate capped at 60fps #691

Open
Open

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.

Activity

  1. madebr commented on Jan 17, 2019

    @madebr
    Contributor

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

  2. lemppu commented on Nov 20, 2021

    @lemppu

    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

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