aboutsummaryrefslogtreecommitdiff
path: root/extra/meson_post_install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-06-07 00:41:45 +0200
committerdec05eba <dec05eba@protonmail.com>2025-06-07 00:41:45 +0200
commit3b09cb7fd35b080ec42ce23a2cab01b12959f9f9 (patch)
treed774383319d165c47eed627436476948f38598b5 /extra/meson_post_install.sh
parent1ab2c066b4de87facf89103602387c370211b190 (diff)
Disable cap_sys_nice which causes amd gpu crash for some people. Do glFlush instead of swapBuffers, which allows it to run at high fps anyways. Downside is that some games on kde plasma can start to stutter. Kde plasma issue?
Diffstat (limited to 'extra/meson_post_install.sh')
-rwxr-xr-xextra/meson_post_install.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/extra/meson_post_install.sh b/extra/meson_post_install.sh
index 8a01b18..143965c 100755
--- a/extra/meson_post_install.sh
+++ b/extra/meson_post_install.sh
@@ -3,8 +3,3 @@
# Needed to remove password prompt when recording a monitor (without desktop portal option) on amd/intel or nvidia wayland
/usr/sbin/setcap cap_sys_admin+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gsr-kms-server \
|| echo "\n!!! Please re-run install as root\n"
-
-# This is needed (for EGL_CONTEXT_PRIORITY_HIGH_IMG) to allow gpu screen recorder to run faster than the heaviest application on AMD.
-# For example when trying to record a game at 60 fps and the game drops to 45 fps in some place that would also make gpu screen recorder
-# drop to 45 fps unless this setcap is used. Recording would also drop to below 60 fps in some games even though they run above 60 fps.
-/usr/sbin/setcap cap_sys_nice+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gpu-screen-recorder