diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-26 19:46:38 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-02-26 19:46:38 +0100 |
commit | 8043453bd85eca50d4fcc3a653603535597e68bd (patch) | |
tree | 42345850bb8d860e267916a13ba65b9c8639e710 /debug-install.sh | |
parent | 6f498dd0200cab6dff2613518d5a6a8df96276c7 (diff) |
Set cap sys nice again, to prevent gsr from being limited to game fps
Diffstat (limited to 'debug-install.sh')
-rwxr-xr-x | debug-install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debug-install.sh b/debug-install.sh index 3177ace..d17575c 100755 --- a/debug-install.sh +++ b/debug-install.sh @@ -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)" |