summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
-rw-r--r--gnome-shell-performance.install6
3 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b1c9c3ff3fb7..7009a2909b1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-shell-performance
pkgdesc = Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches
pkgver = 3.32.1+10+g059c729da
- pkgrel = 6
+ pkgrel = 7
url = https://wiki.gnome.org/Projects/GnomeShell
install = gnome-shell-performance.install
arch = x86_64
@@ -42,12 +42,10 @@ pkgbase = gnome-shell-performance
source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
source = https://github.com/endlessm/gnome-shell/commit/11ddabfb22aedb3c35abe06d2cf0205f223cca03.diff
source = https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch
- source = gnome-shell-performance.install
sha256sums = SKIP
sha256sums = SKIP
sha256sums = 53fb32bfe8432e6309d5b1bcf9c2b7f36693b9141778b823f1d7e9c1d3f39425
sha256sums = 505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9
- sha256sums = 63761e63722ed3ef0aea17fe7c458391ff43b7238790e84213d45dd128ede250
pkgname = gnome-shell-performance
diff --git a/PKGBUILD b/PKGBUILD
index ecfa92ae3271..f3212ded5a28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=gnome-shell-performance
pkgver=3.32.1+10+g059c729da
-pkgrel=6
+pkgrel=7
pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch=(x86_64)
@@ -25,13 +25,11 @@ _commit=059c729da0c4deaf71caa7a61a8fb91f7bf882d6 # tags/3.32.1^10
source=("$pkgname::git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
https://github.com/endlessm/gnome-shell/commit/11ddabfb22aedb3c35abe06d2cf0205f223cca03.diff
- https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch
- "$pkgname.install")
+ https://gitlab.gnome.org/GNOME/gnome-shell/uploads/4a083c80c81eeb0dd1be64e0e24b5c17/nvidia-background-workaround.patch)
sha256sums=('SKIP'
'SKIP'
'53fb32bfe8432e6309d5b1bcf9c2b7f36693b9141778b823f1d7e9c1d3f39425'
- '505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9'
- '63761e63722ed3ef0aea17fe7c458391ff43b7238790e84213d45dd128ede250')
+ '505c90290e5a867692f55d3209a22755bcffb997e7cac59e49b1a78c976d5af9')
pkgver() {
cd $pkgname
diff --git a/gnome-shell-performance.install b/gnome-shell-performance.install
index b9659e6af6b7..f92d59fc8a6a 100644
--- a/gnome-shell-performance.install
+++ b/gnome-shell-performance.install
@@ -1,5 +1,11 @@
post_install() {
setcap CAP_SYS_NICE=+ep usr/bin/gnome-shell
+
+ exp_fea=$(gsettings get org.gnome.mutter experimental-features)
+ if ! echo exp_fea | grep -q "rt-scheduler"; then
+ echo "Updating mutter experimental-features gsetting to enable RT scheduling on Wayland..."
+ gsettings set org.gnome.mutter experimental-features "[${exp_fea:1:-1}, 'rt-scheduler']"
+ fi
}
post_upgrade() {