Package Details: mutter-performance 1:46.2+r6+g62e559d75-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: 77
Popularity: 1.54
First Submitted: 2019-07-09 09:35 (UTC)
Last Updated: 2024-06-15 09:20 (UTC)

Dependencies (66)

Required by (12)

Sources (5)

Pinned Comments

saltyming commented on 2022-03-22 09:37 (UTC) (edited on 2024-05-26 07:35 (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. Note that it can be problematic in some versions/setups.


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 may 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 the check() process.

4) Add a line options=(!check) to the package's PKGBUILD file to disable the 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 .. 53 54 55 56 57 58 59 60 Next › Last »

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

m3thodic commented on 2018-05-21 17:27 (UTC)

@Saren Could you please give a quick tl;dr on what you mean by performance bits? Thanks for the package!

m3thodic commented on 2018-04-04 21:52 (UTC)

Fantastic, thank you!

MartinPL commented on 2018-03-25 19:09 (UTC)

Maybe its good idea to bump commit to atleast 8286557a0555058440536e88393fda445d49d399

Saren commented on 2018-03-25 15:44 (UTC)

Updated to 3.28. revert.patch is back and I updated the code surrounding to the patch. Luckily it works. Also added dependency for 'gnome-shell>=3.28' 'gnome-shell<3.29' to prevent future GNOME breakage like I had.

DeadMetaler commented on 2018-03-19 21:40 (UTC)

Maybe temporarily but returned to patch instead git revert.

bushwakko commented on 2018-03-17 11:32 (UTC)

I got gnome 3.28.0 from "testing" now, but no update to this package. I tried modifying the PKGBUILD to make it build from 3.28 commit, but the revert didn't apply cleanly:

error: could not revert 383ba566b... Call cogl_xlib_renderer_set_threaded_swap_wait_enabled()

With diff:

++<<<<<<< HEAD + / XInitThreads() is needed to use the "threaded swap wait" functionality + * in Cogl - see meta_renderer_x11_create_cogl_renderer(). We call it here + * to hopefully call it before any other use of XLib. + / + XInitThreads(); ++======= + clutter_x11_request_reset_on_video_memory_purge (); ++>>>>>>> parent of 383ba566b... Call cogl_xlib_renderer_set_threaded_swap_wait_enabled()

It seems there has been new changes to the patch we want reverted, however my performance using the official mutter is crap again so it doesn't seem to fix it. There might be a resolution to the conflict that ends up with a correct state, but I haven't looked hard enough at the code to say yet.

And even if it was possible, I'm not sure how to resolve this in PKGBUILD yet, or how to make it use my locally created patch either.

Instead, I'll just post my progress here. ;)

Ideally this would be solved properly, either in mutter, gnome-shell or the nvidia driver, whichever is the culprit.

Leeo97one commented on 2018-01-22 15:52 (UTC) (edited on 2018-01-22 16:24 (UTC) by Leeo97one)

I can not compile:

Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 66, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 547, in scanner_main shlibs = create_binary(transformer, options, args) File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 424, in create_binary shlibs = resolve_shlibs(options, binary, options.libraries) File "/usr/lib/gobject-introspection/giscanner/shlibs.py", line 146, in resolve_shlibs _resolve_non_libtool(options, binary, non_libtool)) File "/usr/lib/gobject-introspection/giscanner/shlibs.py", line 119, in _resolve_non_libtool line = line.decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)</module>

Full logs: https://pastebin.com/G56LS35M

EDIT: I found the solution here: https://bugs.archlinux.org/task/51578

And thank you so much for this package by the way ^_^