aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-09 22:46:47 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-09 22:46:47 +0200
commitba00c20b478d76db5a462d592971b82527c5e638 (patch)
tree7f3b4eaff12dc55941ed9bb572d1b38aefde91bb
parenta0e8e9ba59f61aa19220f0715a1c9c7c082ab2cc (diff)
Remove coolbits script (document the nvidia-xconfig command to use instead)
-rw-r--r--README.md2
-rw-r--r--extra/88-gsr-coolbits.conf5
-rwxr-xr-xextra/install_coolbits.sh10
3 files changed, 1 insertions, 16 deletions
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