Install systemd service file by default, fix modprobe installation path

This commit is contained in:
dec05eba
2024-07-28 19:40:31 +02:00
parent 5e3a3714dd
commit ddf3fa5a20
2 changed files with 3 additions and 3 deletions

View File

@@ -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')
install_data(files('extra/gsr-nvidia.conf'), install_dir : '/etc/modprobe.d')
endif

View File

@@ -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)')