From cd6105fe10aa0761f4b0bd107947c81b2a5a2cc9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 5 Nov 2023 02:06:58 +0100 Subject: [PATCH] Update usage info about screen direct option --- README.md | 1 - src/main.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 143f76f..01584d1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ where only the last few seconds are saved. ## Note This software works with x11 and wayland, but when using AMD/Intel or Wayland then only monitors can be recorded.\ -If you are using a variable refresh rate monitor on nvidia on x11 then choose to record "screen-direct-force". This will allow variable refresh rate to work when recording fullscreen applications. Note that some applications such as mpv will not work in fullscreen mode. A fix is being developed for this.\ GPU Screen Recorder only supports h264 and hevc codecs at the moment which means that webm files are not supported.\ CPU usage may be higher on wayland than on x11 when using nvidia. ### TEMPORARY ISSUES diff --git a/src/main.cpp b/src/main.cpp index 51b8499..c76a491 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -677,9 +677,9 @@ static void usage_full() { fprintf(stderr, " The display is the display (monitor) name in xrandr and if \"screen\", \"screen-direct\" or \"screen-direct-force\" is selected then all displays are recorded.\n"); fprintf(stderr, " If this is \"focused\" then the currently focused window is recorded. When recording the focused window then the -s option has to be used as well.\n"); fprintf(stderr, " \"screen-direct\"/\"screen-direct-force\" skips one texture copy for fullscreen applications so it may lead to better performance and it works with VRR monitors\n"); - fprintf(stderr, " when recording fullscreen application but may break some applications, such as mpv in fullscreen mode. Direct mode doesn't capture cursor either.\n"); - fprintf(stderr, " \"screen-direct-force\" is not recommended unless you use a VRR monitor because there might be driver issues that cause the video to stutter or record a black screen.\n"); - fprintf(stderr, " On AMD/Intel, capturing a monitor might have better performance than recording a single window.\n"); + fprintf(stderr, " when recording fullscreen application but may break some applications, such as mpv in fullscreen mode or might cause games to freeze/crash because of nvidia driver issues.\n"); + fprintf(stderr, " Direct mode doesn't capture cursor either.\n"); + fprintf(stderr, " \"screen-direct-force\" is not recommended unless you use a VRR monitor and you are aware that using this option can cause games to freeze/crash or other issues.\n"); fprintf(stderr, "\n"); fprintf(stderr, " -c Container format for output file, for example mp4, or flv. Only required if no output file is specified or if recording in replay buffer mode.\n"); fprintf(stderr, " If an output file is specified and -c is not used then the container format is determined from the output filename extension.\n");