From ba00c20b478d76db5a462d592971b82527c5e638 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 9 Aug 2023 22:46:47 +0200 Subject: [PATCH] Remove coolbits script (document the nvidia-xconfig command to use instead) --- README.md | 2 +- extra/88-gsr-coolbits.conf | 5 ----- extra/install_coolbits.sh | 10 ---------- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 extra/88-gsr-coolbits.conf delete mode 100755 extra/install_coolbits.sh diff --git a/README.md b/README.md index 524080e..669c266 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ It is recommended to save the video to a SSD because of the large file size, whi Note that if you have a very powerful CPU and a not so powerful GPU and play a game that is bottlenecked by your GPU and barely uses your CPU then a CPU based screen recording (such as OBS with libx264 instead of nvenc) might perform slightly better than GPU Screen Recorder. At least on NVIDIA. ## Note about optimal performance on NVIDIA NVIDIA driver has a "feature" (read: bug) where it will downclock memory transfer rate when a program uses cuda (or nvenc, which uses cuda), such as GPU Screen Recorder. To work around this bug, GPU Screen Recorder can overclock your GPU memory transfer rate to it's normal optimal level.\ -To enable overclocking for optimal performance use the `-oc` option when running GPU Screen Recorder. You also need to have "Coolbits" NVIDIA X setting set to "12" to enable overclocking. You can automatically add this option if you run `sudo extra/install_coolbits.sh` and then reboot your computer.\ +To enable overclocking for optimal performance use the `-oc` option when running GPU Screen Recorder. You also need to have "Coolbits" NVIDIA X setting set to "12" to enable overclocking. You can automatically add this option if you run `sudo nvidia-xconfig --cool-bits=12` and then reboot your computer.\ Note that this only works when Xorg server is running as root, and using this option will only give you a performance boost if the game you are recording is bottlenecked by your GPU.\ Note! use at your own risk! ## Note about optimal performance on AMD/Intel diff --git a/extra/88-gsr-coolbits.conf b/extra/88-gsr-coolbits.conf deleted file mode 100644 index be665f1..0000000 --- a/extra/88-gsr-coolbits.conf +++ /dev/null @@ -1,5 +0,0 @@ -Section "Device" - Identifier "Device0" - Driver "nvidia" - Option "Coolbits" "12" -EndSection diff --git a/extra/install_coolbits.sh b/extra/install_coolbits.sh deleted file mode 100755 index 053e8ab..0000000 --- a/extra/install_coolbits.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -script_dir=$(dirname "$0") -cd "$script_dir" - -[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1 - -for xorg_conf_d in "/etc/X11/xorg.conf.d" "/usr/share/X11/xorg.conf.d" "/usr/lib/X11/xorg.conf.d"; do - [ -d "$xorg_conf_d" ] && install -Dm644 "88-gsr-coolbits.conf" "$xorg_conf_d/88-gsr-coolbits.conf" && exit 0 -done