diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-01-29 13:14:21 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-01-29 13:14:21 +0100 |
commit | f34c8291debbd0d9c9d557527857c672d0c67e0a (patch) | |
tree | 97aa7d65426d8702ad6d4895d999f4a1ceb325e2 /src/main.cpp | |
parent | 5db779d76c4d9ca90d6b91431c28c061ebf71c95 (diff) |
Use variable framerate mode by default on nvidia x11 too
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 801625e..1e0757a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -819,7 +819,7 @@ static void usage_full() { fprintf(stderr, " is dropped when you record a game. Only needed if you are recording a game that is bottlenecked by GPU. The same issue exists on Wayland but overclocking is not possible on Wayland.\n"); fprintf(stderr, " Works only if your have \"Coolbits\" set to \"12\" in NVIDIA X settings, see README for more information. Note! use at your own risk! Optional, disabled by default.\n"); fprintf(stderr, "\n"); - fprintf(stderr, " -fm Framerate mode. Should be either 'cfr' or 'vfr'. Defaults to 'cfr' on NVIDIA X11 and 'vfr' on AMD/Intel X11/Wayland or NVIDIA Wayland.\n"); + fprintf(stderr, " -fm Framerate mode. Should be either 'cfr' or 'vfr'. Defaults to 'vfr'.\n"); fprintf(stderr, "\n"); fprintf(stderr, " -v Prints per second, fps updates. Optional, set to 'yes' by default.\n"); fprintf(stderr, "\n"); @@ -1682,7 +1682,7 @@ int main(int argc, char **argv) { FramerateMode framerate_mode; const char *framerate_mode_str = args["-fm"].value(); if(!framerate_mode_str) - framerate_mode_str = (gpu_inf.vendor == GSR_GPU_VENDOR_NVIDIA && !wayland) ? "cfr" : "vfr"; + framerate_mode_str = "vfr"; if(strcmp(framerate_mode_str, "cfr") == 0) { framerate_mode = FramerateMode::CONSTANT; |