From 4a8544eeb321d37cdc3058305268f4c2ee177ca7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 15 Sep 2024 14:55:01 +0200 Subject: Update doc for capabilities --- extra/meson_post_install.sh | 2 +- 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)') -- cgit v1.2.3