Skip to content

Replace the framerate slider with a numeric input for custom FPS caps #3556

@Riqqqque

Description

@Riqqqque

Request

Would you consider replacing Sodium's framerate limit slider with a numeric text box and allowing arbitrary positive FPS caps?

Why this would help

  • The current 10-step slider is awkward when someone wants an exact cap like 144, 165, 180, 240, 360, or 480.
  • The old 260 ceiling means anything above that effectively becomes uncapped instead of staying at a real user-defined limit.
  • A typed value makes more sense here than a slider because this is usually an exact-match setting, not something people tune by feel.

Expected behavior

  • The framerate option accepts any positive integer cap.
  • Values above the current 260 limit are treated as real caps instead of "max" or uncapped.
  • The chosen value saves through the normal options flow and stays in sync anywhere the vanilla framerate option is changed.

Extra context

I ended up building a small addon for this behavior on my own setup, and after actually using it for a while it feels much better than the slider in practice.

I also noticed draft PR #2618 touches the same area, so this might overlap with work you've already seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions