Set cap sys nice again, to prevent gsr from being limited to game fps

This commit is contained in:
dec05eba
2024-02-26 19:46:38 +01:00
parent 6f498dd020
commit 8043453bd8
4 changed files with 21 additions and 2 deletions

View File

@@ -14,5 +14,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 (debug)"