Package Details: mutter-performance 1:46.1+r7+g35836f0f1-3

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: 1.07
First Submitted: 2019-07-09 09:35 (UTC)
Last Updated: 2024-05-21 08:03 (UTC)

Required by (12)

Sources (6)

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 .. 54 55 56 57 58 59 60 Next › Last »

jeckhack commented on 2017-12-06 00:30 (UTC)

BTW if you have window max\unmax animation stutter after applying the workaround in question, add CLUTTER_DRIVER=gl3 to /etc/environment

For reference, see: https://developer.gnome.org/clutter/stable/running-clutter.html

jeckhack commented on 2017-12-02 10:16 (UTC) (edited on 2017-12-02 11:24 (UTC) by jeckhack)

From what I see, arch bumped pipewire package to 0.1.7 a few days ago and it has different file structure, i.e. /usr/include/spa/pod-parser.h is now /usr/include/spa/pod/parser.h, and other files needed to build mutter are missing too. It's just becoming a nightmare : ( ######### OK This is funny. To build mutter you have to downgrade pipewire to 0.1.6 But this isn't the end. You also have to manually create missing pod-parser.h, which is missing due to a bug in 0.1.6 as well. ( https://github.com/PipeWire/pipewire/issues/43 ) https://raw.githubusercontent.com/PipeWire/pipewire/0.1.6/spa/include/spa/pod-parser.h Copy this to /usr/include/spa/pod-parser.h after pipewire downgrade. Now mutter builds.

douglas-s commented on 2017-11-27 00:50 (UTC)

atal error: spa/pod-parser.h:"File or directory not found" #include <spa/pod-parser.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:2411: backends/meta-screen-cast.lo] Error 1 make[4]: Leaving directory '/tmp/yaourt-tmp-gits/aur-mutter-781835-workaround/src/mutter/src' make[3]: *** [Makefile:2588: all-recursive] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-gits/aur-mutter-781835-workaround/src/mutter/src' make[2]: *** [Makefile:1508: all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-gits/aur-mutter-781835-workaround/src/mutter/src' make[1]: *** [Makefile:484: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-gits/aur-mutter-781835-workaround/src/mutter' make: *** [Makefile:414: all] Error 2 Can't find the package that contais the pod-parser.h file

fabrixx commented on 2017-11-01 08:07 (UTC) (edited on 2017-11-01 09:51 (UTC) by fabrixx)

When installing with yaourt i've this error: ModuleNotFoundError: No module named 'codegen' make[2]: *** [Makefile:2970: meta-dbus-idle-monitor.c] Error 1 make[2]: uscita dalla directory "/tmp/pamac-build-fabrizio/mutter-781835-workaround/src/mutter/src" make[1]: *** [Makefile:484: all-recursive] Error 1 make[1]: uscita dalla directory "/tmp/pamac-build-fabrizio/mutter-781835-workaround/src/mutter" make: *** [Makefile:414: all] Error 2 ==> ERRORE: Si è verificato un errore in build(). EDIT: worked with export PYTHONPATH="/usr/share/glib-2.0" like commented previously but several GNOME packages were uninstalled and my system not start. Fixed reinstalling Gnome missing files and old mutter

Saren commented on 2017-10-24 18:23 (UTC)

@jeckhack Prismatik (monitor backlight control program which captures screen constantly) still makes gnome-shell lag without reverting the mutter commit.

jeckhack commented on 2017-10-24 01:31 (UTC)

In fact, I had time to investigate my problem a bit further, and I think that problem isn't in opengl, but in Nvidia PowerMizer and mutter affecting programs' performance when nvidia card drops frequencies on idle. So, when you run benchmark, nvidia raises its frequencies to max and you don't notice any difference. But if you run some not-so-demanding game or app (i.e. terraria) You will notice that when nvidia drops frequencies, game starts to lag. The same happens with chromium. This behavior is fixed by reverting the commit from 781835 bugreport. You can minimize this behavio without reverting commit by enabling triplebuffer in nvidia. I created a bugreport on gnome: https://bugzilla.gnome.org/show_bug.cgi?id=789186

butler360 commented on 2017-10-22 17:25 (UTC)

In case anyone else runs into this bug, I had to add 'export PYTHONPATH="/usr/share/glib-2.0"' to the PKGBUILD to get this to build. https://bugs.archlinux.org/index.php?do=details&task_id=55915 That said, I did Unigine Valley benchmark before and after installing this and it make basically zero difference. I got a score of 1312 before and 1314 after. Is there a better way to benchmark this? I'm on a GTX 970.

jeckhack commented on 2017-10-16 12:26 (UTC) (edited on 2017-10-16 13:00 (UTC) by jeckhack)

Hi! Just take PKGBUILD from ABS, then add: git revert -n 383ba566bd7c2a76d0856015a66e47caedef06b6 to prepare() No need for a patch. P.S. This revert is a real lifesaver. Without it my OpenGL performance is plain awful on gtx960(!). Even Chromium scrolling at 30 fps.

Terence commented on 2017-10-16 00:40 (UTC) (edited on 2017-10-16 00:41 (UTC) by Terence)

@Saren I think it would be better to use https://gist.github.com/DeadMetaler/ec2afaed0e5e1a858e505af1cf5eca04 which respects the fact that it is not a fix but the revert of a previous commit.