aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/overclock.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/README.md b/README.md
index 70d2e41..50ee85e 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ When recording GTA V at 4k on highest settings, fps drops from 60 to 23 when usi
It is recommended to save the video to a SSD because of the large file size, which a slow HDD might not be fast enough to handle.
## 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, 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". This setting is automatically installed if you run the install script (`install.sh` or `install_ubuntu.sh`), however if you use flatpak then you need to manually run `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. This setting is automatically installed if you run the install script (`install.sh` or `install_ubuntu.sh`), however if you use flatpak then you need to manually run `install_coolbits.sh` 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.\
Obs! use at your own risk!
diff --git a/src/overclock.c b/src/overclock.c
index 5957f92..8517876 100644
--- a/src/overclock.c
+++ b/src/overclock.c
@@ -12,10 +12,6 @@
// Fields are 0 if not set
-static min_int(int a, int b) {
- return a < b ? a : b;
-}
-
typedef struct {
int perf;