"Step-by-Step: Installing and Utilising an Nvidia ShadowPlay Alternative in Linux"
In this video, I cover how stream, record and replay game footage using GPU Screen Recorder, an alternative to Nvidia ShadowPlay / GeForce Experience for Linux.
https://git.dec05eba.com/gpu-screen-recorder/about/
This tool uses the NVENC encoder found on modern Nvidia GPUs so this will only work if you have Nvidia hardware with the latest proprietary drivers installed.
Step 1. Patch Your Nvidia Driver with NvFBC Support.
https://github.com/keylase/nvidia-patch
Simply open the Nvidia-patch Github page, click on the green Code button at the top of the page and choose the Download ZIP option to download the latest release.
Extract the archive, and inside the folder will be a patch.fbc.sh file, so open a Terminal window in the same location and run the following command.
sudo ./patch-fbc.sh and type in your password.
Alternatively, if you plan to use the Flatpak version of GPU Screen Recorder, run instead.
sudo ./patch-fbc.sh -r
Step 2. Install GPU Screen Recorder.
https://git.dec05eba.com/gpu-screen-recorder/about/
There are two main methods to install the application, using the AUR if you have an Arch based distribution, or via Flatpak.
AUR Method.
Install both gpu-screen-recorder-git and gpu-screen-gtk-git from the AUR using an AUR helper.
Flatpak Method.
https://flathub.org/apps/details/com.dec05eba.gpu_screen_recorder
Enable Flatpak support for your distribution and then install the application.
Step 3. Using GPU Screen Recorder.
The interface for the application should be easy to understand.
The Record area selection dropdown menu allows you to specify recording a single window, all plugged in monitors, or a single monitor.
The Audio input allows you specify multiple audio inputs.
For example if I only want to record the audio of some game footage then I would add the "Monitor" audio input.
Alternatively, if I wanted to record both the game footage and my own commentary, then then I would add my microphone as a secondary audio input.
Just bear in mind that this would result in a video file with two separate audio tracks, for example track 1 would the game play footage audio and 2 would be your microphone audio.
Finally, you can specify the video quality, from Medium, High, Very High and Ultra, as well as the recording framerate.
Once you have configured the above, you have three options, Stream, Record or Replay.
The Stream option allows you to stream footage to YouTube, Twitch or a manual service using a stream key.
The Record option allows you to capture and record footage locally to a specified location on your system.
Finally, the Replay option allows you to capture the last 30 seconds of footage.
Possible Alternative - OBS Studio - Snap Version
https://snapcraft.io/obs-studio
Since the 28.0 version of OBS Studio, support for the NvFBC plugin has been removed, but if you install the Snap version of OBS Studio, this is still supported.
#linux #nvidia #recording