1
0
Fork 0
A repository that has original sources for patches used in the Arch User Repository package called "mutter-performance". https://aur.archlinux.org/packages/mutter-performance
Find a file
Daniel van Vugt d345de78c2
clutter/frame-clock: Conditionally disable triple buffering
1. When direct scanout is attempted

There's no compositing during direct scanout so the "render" time is zero.
Thus there is no need to implement triple buffering for direct scanouts.
Stick to double buffering and enjoy the lower latency.

2. If disabled by environment variable MUTTER_DEBUG_TRIPLE_BUFFERING

With possible values {never, auto, always} where auto is the default.

3. When VRR is in use

VRR calls `clutter_frame_clock_schedule_update_now` which would keep
the buffer queue full, which in turn prevented direct scanout mode.
Because OnscreenNative currently only supports direct scanout with
double buffering.

We now break that feedback loop by preventing triple buffering from
being scheduled when the frame clock mode becomes variable. Long term
this could also be solved by supporting triple buffering in direct
scanout mode. But whether or not that would be desirable given the
latency penalty remains to be seen.

Signed-off-by: Mingi Sung <sungmg@saltyming.net>
2024-09-15 14:31:18 +09:00
.gitlab/issue_templates gitlab: Add missing < in markdown comment tag 2020-02-14 03:10:28 +00:00
.gitlab-ci ci: Restrict use of "Fixes #123" 2024-09-11 00:44:52 +02:00
clutter clutter/frame-clock: Conditionally disable triple buffering 2024-09-15 14:31:18 +09:00
cogl cogl/onscreen: Indent declaration parameters to align with above 2024-09-15 14:31:15 +09:00
data core: Add debug control setting for session management 2024-09-14 13:47:21 +00:00
doc docs/debugging: Update CI reproduction steps 2024-08-29 22:04:44 +00:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk mtk: Move meta_rectangle_transform to Mtk 2024-08-09 15:51:36 +00:00
po Update Latvian translation 2024-09-11 19:30:07 +00:00
src backends: Flag that the frame attempted direct scanout 2024-09-15 14:31:17 +09:00
subprojects build: Add gvdb dependency 2024-09-14 13:47:21 +00:00
tools core/debug-control: Allow changing the reference luminance of outputs 2024-08-30 20:03:43 +00:00
.editorconfig Add editorconfig file 2024-05-21 09:09:11 +00:00
.gitignore misc: Add common noisy dirs to gitignore 2024-01-08 19:53:57 +01:00
.gitlab-ci.yml build: Add gvdb dependency 2024-09-14 13:47:21 +00:00
check-style.py check-style: Force the default prefix in git diff 2024-03-12 12:47:56 +10:00
config.h.meson clutter/settings: Remove unused fontconfig-timestamp property 2024-08-22 19:09:51 +00:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-12 08:44:30 +07:00
logo.svg docs: Add a logo 2024-01-09 13:38:54 +00:00
meson.build Bump version to 47.0 2024-09-14 22:36:50 +02:00
meson_options.txt clutter/settings: Remove unused fontconfig-timestamp property 2024-08-22 19:09:51 +00:00
mutter.doap doap: Remove marge-bot maintainer entry 2024-08-13 08:48:28 +00:00
NEWS Bump version to 47.0 2024-09-14 22:36:50 +02:00
README.md cally: Merge inside Clutter 2024-08-07 22:46:16 +00:00

Mutter

Mutter is a Wayland display server and X11 window manager and compositor library.

When used as a Wayland display server, it runs on top of KMS and libinput. It implements the compositor side of the Wayland core protocol as well as various protocol extensions. It also has functionality related to running X11 applications using Xwayland.

When used on top of Xorg it acts as a X11 window manager and compositing manager.

It contains functionality related to, among other things, window management, window compositing, focus tracking, workspace management, keybindings and monitor configuration.

Internally it uses a fork of Cogl, a hardware acceleration abstraction library used to simplify usage of OpenGL pipelines, as well as a fork of Clutter, a scene graph and user interface toolkit.

Mutter is used by, for example, GNOME Shell, the GNOME core user interface, and by Gala, elementary OS's window manager. It can also be run standalone, using the command "mutter", but just running plain mutter is only intended for debugging purposes.

Contributing

To contribute, open merge requests at https://gitlab.gnome.org/GNOME/mutter.

It can be useful to first look at the GNOME Handbook and the documentation and API references below first.

Documentation

API Reference

Meetings

There are recurring meetings to discuss development of GNOME Shell, mutter and related components.

License

Mutter is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for detalis.