aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-28 19:40:31 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-28 19:40:34 +0200
commitddf3fa5a20f469255f12f1853cc9fcb8579f16ee (patch)
treeafeccd902646e112809c63313ad9e402f8357ac4
parent5e3a3714dd020d1a1b45f8cbc6239ba15da580db (diff)
Install systemd service file by default, fix modprobe installation path
-rw-r--r--meson.build4
-rw-r--r--meson_options.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 779f476..3dde9cd 100644
--- a/meson.build
+++ b/meson.build
@@ -80,5 +80,5 @@ if get_option('capabilities') == true
endif
if get_option('nvidia_suspend_fix') == true
- install_data(files('extra/gsr-nvidia.conf'), install_dir : '/etc/modprobe.d/gsr-nvidia.conf')
-endif \ No newline at end of file
+ install_data(files('extra/gsr-nvidia.conf'), install_dir : '/etc/modprobe.d')
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 4b35b81..bfd85ba 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,4 +1,4 @@
-option('systemd', type : 'boolean', value : false, description : 'Install systemd service file')
+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('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)')