diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-15 14:55:01 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-15 14:55:01 +0200 |
commit | 4a8544eeb321d37cdc3058305268f4c2ee177ca7 (patch) | |
tree | 9dcf16facdbedacb885c76cd964fe4d41d68bcd4 | |
parent | 69fc104d20316be31722d66545bd2038e888d425 (diff) |
Update doc for capabilities
-rwxr-xr-x | extra/meson_post_install.sh | 2 | ||||
-rw-r--r-- | meson_options.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/meson_post_install.sh b/extra/meson_post_install.sh index a93f27b..7bf0d96 100755 --- a/extra/meson_post_install.sh +++ b/extra/meson_post_install.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Needed to remove password prompt when recording a monitor on amd/intel or nvidia wayland +# 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" diff --git a/meson_options.txt b/meson_options.txt index bfd85ba..61972c6 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ option('systemd', type : 'boolean', value : true, description : 'Install systemd service file') -option('capabilities', type : 'boolean', value : true, description : 'Set binary admin capability to remove password prompt and nice capability to allow gpu screen recorder to run at a higher framerate than the game you are recording') +option('capabilities', type : 'boolean', value : true, description : 'Set binary admin capability to remove password prompt when recording monitor (without desktop portal option) on amd/intel or nvidia wayland') option('nvidia_suspend_fix', type : 'boolean', value : true, description : 'Install nvidia modprobe config file to tell nvidia driver to preserve video memory on suspend. This is a workaround for an nvidia driver bug that breaks cuda (and gpu screen recorder) on suspend') option('portal', type : 'boolean', value : true, description : 'If GPU Screen Recorder should be built with support for xdg desktop portal ScreenCast capture (wayland only)') |