-
Notifications
You must be signed in to change notification settings - Fork 806
Performance Tips
Jason Hicks edited this page Aug 29, 2018
·
6 revisions
-
CLUTTER_DEFAULT_FPSdefaults to 60. While this is adequate for many displays, some displays are off by a fraction of 1 Hz. If your display's refresh rate is 59.97 Hz, then settingCLUTTER_DEFAULT_FPS=59.97in /etc/environment can improve input latency.
- Use "Allow Flipping" in Nvidia Settings. This allows OpenGL to swap buffers, which is needed by the method Muffin uses for syncing to vblank.
- "Sync to VBlank" in
nvidia-settingsneeds to be enabled to prevent tearing.- This may change if Muffin PR #335 makes the 4.0 merge window.
-
CLUTTER_VBLANK=nonewill disable Muffin's vblank implementation. The only way to reduce tearing in this scenario is to enable Nvidia's "Force Composition Pipeline" setting, which could increase input latency compared to whenCLUTTER_VBLANKis enabled, and flipping is enabled. This may vary depending on the hardware and the number of monitors in use. - If desktop animations and movements are jittery, enabling
TripleBufferin xorg.conf can make compositor motion more fluid by adding a third buffer to vblanking.- See the complete documentation for Nvidia's Xorg configuration options.
- Setting the preferred PowerMizer mode to "Prefer Maximum Performance" can improve compositing performance, at the cost of increased power usage.
- The
CLUTTER_VBLANK=nonework-around can work with Mesa as well if theTearFreeoption is enabled in the Xorg configuration. EnsuringCLUTTER_DEFAULT_FPSmatches the display's exact refresh rate could be an alternative approach if input latency is the issue.