Skip to content

Improve performance when Minecraft is in the background

License

Notifications You must be signed in to change notification settings

juliand665/Dynamic-FPS

Repository files navigation

Dynamic FPS

Reduce resource usage while Minecraft is in the background or idle.

Features

Dynamic FPS will detect whether the Minecraft window is currently active, being hovered over, unfocused, or invisible.
For each of these states you're able to adjust the frame rate, volume, and whether toast notifications are temporarily paused.

There's also an option to enter an idle state while the window is active but hasn't received any input in a certain amount of time.


In addition to this Dynamic FPS fixes a vanilla bug causing higher-than-necessary background CPU usage and stops rendering the world while it's being obscured by resource loading overlay, helping especially on low-end systems.

Installation

Dynamic FPS is available for download on GitHub, Modrinth, and CurseForge.
To access the in-game config screen you'll also need to install Mod Menu and Cloth Config.

Frequently Asked Questions

  • Why is Minecraft still running at 15 FPS?

Dynamic FPS will only slow the client render loop to a minimum of 15 cycles per second. Lower frame rates are achieved by then cancelling the rendering of all superfluous frames, e.g. 14 out of 15 frames are cancelled for 1 FPS.

This lets you resume playing almost instantly after switching back to the game: Instead of having to wait for up to a second until the next rendered frame comes along, the game checks back within 1/15th of a second.

Developer Info

Important

These features are currently only accurate for the Fabric and Quilt versions of Dynamic FPS!

If Dynamic FPS' optimizations conflict with a feature of your mod you can disable them.
This is done by adding a dynamic_fps object to your mod's metadata (inside quilt/fabric.mod.json).

Force disable the loading overlay optimization:

    "dynamic_fps": {
        "optimized_overlay": false
    },