跳到正文

FramePacer

作者:supcherski

🔥FramePacer - Stable FPS without jitters!🔥

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

🔥 FramePacer – Stable FPS without jitters! 🔥

Ever noticed stuttering when using an FPS cap?

You’re not imagining it — those are frame time jitters!

FramePacer aims to fix this!


📊 Benchmarks 📊

The vanilla frame limiter in versions <=1.21.11 puts the thread to sleep, but due to OS timer resolution limitations, this introduces timing inaccuracies, resulting in unstable frame times.

vanilla_1.21.11_test

#frame drops are visible here.

In versions >=26.1, developers attempted to fix the limiter by switching to a hybrid approach.

However, the vanilla implementation introduces excessive architectural complexity, which can still lead to timing imprecision.

vanilla_26.2_test

#Frame drops became less visible, but it still not disappear on my test.

FramePacer uses a lightweight, optimized hybrid sleep algorithm to improve frame limiting precision.

mod_26.2_test

#Testing on 26.2 + FramePacer shows smoother framerate.


❓ Benchmark Notes ❓

  • Tests were conducted using Fabric + Sodium. Sodium does not alter frame-limiting methods and eliminates game-specific variables.

  • Tests were performed in an empty world to isolate the limiter’s performance from gameplay overhead.


👑 Features & Highlights 👑

  • Size <5 KB.

  • Zero dependencies.

  • MIT License. Feel free to include FramePacer in any modpack.

  • Compatible with other mods (except similar mods).

  • Multi-version and multiloader support

  • Precision frame pacing.


❗ Important Notes ❗

FramePacer does not increase FPS! it improves FPS cap stability.

Do not use vsync and fps cap together. Vanilla vsync+fps cap overwrite each other and make unstable fps.


🌲 Supported Versions 🌲

  • Fabric 1.14 – 26.3

  • Quilt 1.14.4 – 26.3

  • NeoForge 1.20.1 – 26.3

  • Forge 1.15 – 26.3

常见问题

FramePacer 支持哪些 Minecraft 版本?

FramePacer 支持 Minecraft Java 版 1.8.8–26.3,共 59 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

FramePacer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

supcherski 的其他作品

查看全部 →