From 11be139b2abf6743e929bfd5be667bf5d0647712 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 11 Jan 2023 02:08:02 +0100 Subject: [PATCH] gpu-screen-recorder/nvidia shadowplay: added --- wiki/linux/gpu_screen_recorder.md | 46 +++++++++++++++++++++++++++++++ wiki/linux/nvidia.md | 6 ++-- wiki/nvidia.md | 13 +++++++++ wiki/screen_capture.md | 13 +++++++++ 4 files changed, 75 insertions(+), 3 deletions(-) create mode 100644 wiki/linux/gpu_screen_recorder.md create mode 100644 wiki/nvidia.md create mode 100644 wiki/screen_capture.md diff --git a/wiki/linux/gpu_screen_recorder.md b/wiki/linux/gpu_screen_recorder.md new file mode 100644 index 0000000..b60f39e --- /dev/null +++ b/wiki/linux/gpu_screen_recorder.md @@ -0,0 +1,46 @@ +# GPU Screen Recorder + +[GPU Screen Recorder](https://git.dec05eba.com/gpu-screen-recorder/about/) is a +utility similar to [Nvidia ShadowPlay](/wiki/nvidia.md#screen-capture). + +## Setup + +GPU Screen Recorder can be installed on some distributions by installing the +`gpu-screen-recorder-git` package. +An installation via [git](https://git.dec05eba.com/gpu-screen-recorder/about/) +is always possible. + +## Usage + +The program features normal recording of the screen and recording in the so +called replay mode. +To start a simple screen recording run the following command. + +```sh +gpu-screen-recorder -w $(xdotool selectwindow) -c mp4 -f 60 -a "$(pactl get-default-sink).monitor" -o test_video.mp4` +``` + +The window to record has to be selected first by clicking on it. +The default audio device is already selected. + +To stop the recording `Ctrl-C` the previous command or use the command below. + +```sh +killall -SIGINT gpu-screen-recorder +``` + +For the replay mode the recording can be started the following way. + +```sh +gpu-screen-recorder -w $(xdotool selectwindow) -c mp4 -f 60 -a "$(pactl get-default-sink).monitor" -r 30 -o .` +``` + +In this case a replay will have the maximum length of 30 seconds (specified by +`-r 30`). +It is also important to assign the `-o` flag with a directory and not a file +anymore. +The last 30 seconds (replay) can then be sending a SIGUSR1 signal. + +```sh +killall -SIGUSR1 gpu-screen-recorder +``` diff --git a/wiki/linux/nvidia.md b/wiki/linux/nvidia.md index bece1c2..f71aa63 100644 --- a/wiki/linux/nvidia.md +++ b/wiki/linux/nvidia.md @@ -1,10 +1,10 @@ -# NVidia +# Nvidia -NVidia is a vendor for graphics cards. +[Nvidia](/wiki/nvidia.md) is a vendor for graphics cards. ## Setup -For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package. +For Nvidia GPUs to work install the `nvidia` and the `nvidia-utils` package. If you want to easily configure the monitors as described in a later section of this file you can also install `nvidia-settings`. diff --git a/wiki/nvidia.md b/wiki/nvidia.md new file mode 100644 index 0000000..49fd454 --- /dev/null +++ b/wiki/nvidia.md @@ -0,0 +1,13 @@ +# Nvidia + +[Nvidia](https://www.nvidia.com) is a vendor for graphics cards. +These graphics cards are mainly supported for Windows systems but can be used on +Linux based systems with some special caveats explained in the +[Linux Nvidia entry](/wiki/linux/nvidia.md). + +### Screen Capture + +Nvidias program with several tools - called GeForce Experience - features +software for hardware-accalerated [screen recordings](/wiki/screen_capture.md). +This recording software is called Nvidia ShadowPlay. +Nvidia Experience is currently only available on Windows systems. diff --git a/wiki/screen_capture.md b/wiki/screen_capture.md new file mode 100644 index 0000000..b64b660 --- /dev/null +++ b/wiki/screen_capture.md @@ -0,0 +1,13 @@ +# Screen Capture + +Screen capture describes the process of recording a computer screen. + +## Screen Capture options + +Windows systems using an Nvidia graphics card can make use of ShadowPlay a +screen recording software integrated in Nvidias suite GeForce Experience. + +Linux systems can use the +[GPU Screen Recorder](/wiki/linux/gpu_screen_recorder.md) to make +gpu-accelerated screen recordings. +It features similar features to ShadowPlay.