Package Details: mutter-performance 1:46.1+r8+gc23274cd2-1

Git Clone URL: https://aur.archlinux.org/mutter-performance.git (read-only, click to copy)
Package Base: mutter-performance
Description: A window manager for GNOME | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
Upstream URL: https://gitlab.gnome.org/GNOME/mutter
Licenses: GPL
Groups: gnome
Conflicts: mutter
Provides: libmutter-14.so, mutter
Submitter: Terence
Maintainer: Terence (Saren, saltyming)
Last Packager: saltyming
Votes: 76
Popularity: 0.97
First Submitted: 2019-07-09 09:35 (UTC)
Last Updated: 2024-05-23 11:29 (UTC)

Required by (12)

Sources (7)

Pinned Comments

saltyming commented on 2022-03-22 09:37 (UTC) (edited on 2023-09-02 03:43 (UTC) by saltyming)

Please note that a debug option is disabled in this package.

To disable building the docs package, set an env: _disable_docs=y

To enable the check() process, set an env: _enable_check=y


If the building process is getting failed on check() like

83/114 mutter:core+mutter/backends/native / native-unit TIMEOUT 180.01s killed by signal 15 SIGTERM

then you might want to do one of these:

0) Unset an env: _enable_check=y

1) Kill your pipewire session manager; killall $(pacman -Qq pipewire-session-manager).

2) Reboot the machine.

3) Pass a variable --nocheck to makepkg (which can be passed along with --mflags first if you are using paru) to temporarily disable a check() process.

4) Add a line options=(!check) to the package's PKGBUILD file to disable a check() process.

And try again.

Terence commented on 2020-08-31 16:26 (UTC) (edited on 2020-08-31 16:26 (UTC) by Terence)

@NettoHikari or anyone unable to compile with the following error:

lto1: internal compiler error: bytecode stream: expected tag identifier_node instead of LTO_UNKNOWN

You need to rebuild sysprof and then try again.

Reference: https://bugs.archlinux.org/task/67686.

Saren commented on 2018-08-30 14:52 (UTC) (edited on 2020-10-06 05:50 (UTC) by Saren)

If you are getting errors like fatal: bad revision '73e8cf32' while building this package, refer to PKGBUILD and see which patches caused this. Then, go to the related URLs, replace the commit hashes. If there are conflicts, comment out the patches.

Please notify me in comment section if this happens.


The optional performance patches are by default enabled.

A package for gnome-shell performance patches: https://aur.archlinux.org/packages/gnome-shell-performance/

Latest Comments

« First ‹ Previous 1 .. 52 53 54 55 56 57 58 59 60 Next › Last »

glorious-yellow commented on 2018-08-31 19:29 (UTC)

I've narrowed it down. The reduced performance is caused by commit 13870745.

glorious-yellow commented on 2018-08-31 14:12 (UTC) (edited on 2018-08-31 14:21 (UTC) by glorious-yellow)

Without the patches, it slows down to 20-ish fps after 1-2 days of uptime, but the first day it's very smooth

glorious-yellow commented on 2018-08-31 13:54 (UTC)

I find that the optional performance patches reduce performance, on nvidia hardware while using a 144hz monitor.

Saren commented on 2018-08-30 14:52 (UTC) (edited on 2020-10-06 05:50 (UTC) by Saren)

If you are getting errors like fatal: bad revision '73e8cf32' while building this package, refer to PKGBUILD and see which patches caused this. Then, go to the related URLs, replace the commit hashes. If there are conflicts, comment out the patches.

Please notify me in comment section if this happens.


The optional performance patches are by default enabled.

A package for gnome-shell performance patches: https://aur.archlinux.org/packages/gnome-shell-performance/

Saren commented on 2018-08-10 03:03 (UTC)

@Leeo97one The reason for this, I have broke gnome twice for updating gnome-shell but not mutter. I could remove that dependency but please expect breakage when there is gnome-shell upgrade.

Leeo97one commented on 2018-08-08 21:54 (UTC) (edited on 2018-08-08 22:00 (UTC) by Leeo97one)

Is there a good reason to put gnome-shell=3.28.3 in the dependencies? It's not present in the original PKGBUILD. For exemple, this currently prevent me to update the gnome-shell package.

Saren commented on 2018-06-03 13:09 (UTC) (edited on 2018-06-03 13:10 (UTC) by Saren)

FYI, to use the specific commit from a different branch, in this case, add the following lines after cd $_pkgname inside prepare()

git remote add vanvugt <https://gitlab.gnome.org/vanvugt/mutter.git> || true
git fetch vanvugt
git cherry-pick c432f134

remove the < > from the .git url, it is auto added and I don't know why

jeckhack commented on 2018-05-31 21:37 (UTC) (edited on 2018-05-31 22:04 (UTC) by jeckhack)

I think you've noticed that revert.patch causes some weird timing issues, i.e. window maximize animation stutter, moving mouse pointer causes stutter in opengl etc. Try this patch. Coupled with revert.patch, it completely fixes all all performance problems for me.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/70/diffs?commit_id=c432f134ddbda6d40714bdc135ea138b31336852&view=parallel

(I think Debian uses it already, and Bionic too)

P.S. Beware, it causes high cpu load when moving mouse pointer around the screen, when coupled with revert.patch. At least it fixes jerkyness.

Saren commented on 2018-05-22 08:00 (UTC) (edited on 2018-05-22 08:01 (UTC) by Saren)

@m3thodic there were some code changes to mutter which are under review / not upstreamed. The code changes aim to improve performance, reduce memory use and reduce stutters. However, they are not proven to work and they are made for gnome 3.26.x/3.28.1, which may not be compatible with 3.28.2. TLDR ignore them