aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-26 19:46:38 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-26 19:46:38 +0100
commit8043453bd85eca50d4fcc3a653603535597e68bd (patch)
tree42345850bb8d860e267916a13ba65b9c8639e710 /install.sh
parent6f498dd0200cab6dff2613518d5a6a8df96276c7 (diff)
Set cap sys nice again, to prevent gsr from being limited to game fps
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index adc9230..6c49e16 100755
--- a/install.sh
+++ b/install.sh
@@ -16,5 +16,7 @@ if [ -d "/usr/lib/systemd/user" ]; then
fi
# Not necessary, but removes the password prompt when trying to record a monitor on amd/intel or nvidia wayland
setcap cap_sys_admin+ep /usr/bin/gsr-kms-server
+# Not necessary, but allows use of EGL_CONTEXT_PRIORITY_LEVEL_IMG which allows gpu screen recorder to run without being limited to game fps under heavy load
+setcap cap_sys_nice+ep /usr/bin/gpu-screen-recorder
echo "Successfully installed gpu-screen-recorder"