com.dec05eba.gpu_screen_recorder GPU Screen Recorder A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux dec05eba CC0-1.0 GPL-3.0 https://git.dec05eba.com/gpu-screen-recorder/about/ https://github.com/dec05eba/gpu-screen-recorder-issues https://git.dec05eba.com/?p=about https://git.dec05eba.com/?p=about pointing keyboard

This is a screen recorder that has minimal impact on system performance by recording a monitor using the GPU only, similar to shadowplay on windows. This is the fastest screen recording tool for Linux. This screen recorder works on X11 and Wayland on AMD, Intel and NVIDIA.

This screen recorder can be used for recording your desktop offline, for live streaming and for nvidia-like instant replay, where only the last few minutes are saved.

Supported video codecs:

Supported audio codecs:

Recording a monitor requires (restricted) root access which means that you have to install GPU Screen Recorder system-wide: "flatpak install --system com.dec05eba.gpu_screen_recorder" and pkexec needs to be installed on the system and a polkit agent needs to be running. Note that this only applies to when recording a monitor on AMD/Intel or when recording on Wayland without using the desktop portal option.

AV1 is currently not supported in the flatpak for Nvidia since GPU Screen Recorder uses an older ffmpeg version to support older Nvidia cards. Install GPU Screen Recorder from source or from AUR if you want to use AV1 on Nvidia.

Videos are in variable framerate format. Very out of date video players might have an issue playing such videos. It's recommend to use MPV to play such videos, otherwise you might experience stuttering in the video. You can select constant frame rate mode in advanced view if you need it.

If the video doesn't play or you get green/yellow overlay then your video player is missing H264/HEVC video codec. Either install the video codecs or use mpv.

AMD has a driver/hardware fault that causes black bars/distorted colors on the sides of the video for certain video resolutions. This happens for both av1 and hevc, so if you have this issue then switch to h264 video codec option in advanced settings.

If H264/HEVC video encoding option is not available on your AMD/Intel system but you know that your GPU supports those codecs for encoding then you may need to install mesa-extra freedesktop runtime by running this command: "flatpak install --system org.freedesktop.Platform.GL.default//23.08-extra".

On NVIDIA systems the flatpak NVIDIA driver needs to match the systems NVIDIA driver version or the NVIDIA driver will fail to properly load in flatpaks. Make sure you update flatpak on your system with: "flatpak update", or if that doesn't fix it you can try to install the specific flatpak NVIDIA driver version version that matches your systems NVIDIA driver version by running: "flatpak install org.freedesktop.Platform.GL.nvidia-version", for example "flatpak install org.freedesktop.Platform.GL.nvidia-550-54-14". You can find which NVIDIA driver version is running on your system by running "cat /proc/driver/nvidia/version".

GPU Screen Recorder flatpak can install files in $HOME/.local/share/gpu-screen-recorder. If you want to uninstall GPU Screen Recorder then you will have to remove this directory manually.

com.dec05eba.gpu_screen_recorder.desktop Simple view https://raw.githubusercontent.com/dec05eba/com.dec05eba.gpu_screen_recorder/master/resources/screenshot1.png Advanced view https://raw.githubusercontent.com/dec05eba/com.dec05eba.gpu_screen_recorder/master/resources/screenshot2.png Recording page https://raw.githubusercontent.com/dec05eba/com.dec05eba.gpu_screen_recorder/master/resources/screenshot3.png
  • Add option to change video resolution
  • Change quality parameters, file size was too large by default
  • Add option to change video resolution
  • Fix bitrate calculation being incorrect (it was too low)
  • Fix capture not working if one of the audio inputs is a virtual audio device with forward slash in its name, for example if NoiseTorch is used
  • Enable amd low latency mode (only available since mesa 24.1.4, released in july 17, 2024). This reduces stutter in video in some cases but increases power usage when idle
  • Better frame timing when hardware is too slow to record at the desired framerate
  • Better frame timing for smoother video, especially when recording a game that runs at the same fps as the recording or lower.
  • Add constant bitrate option, for better live streaming experience and for lower file size at the cost of quality.
  • Fix recording not working on some amd systems
  • Revert frame timing change as it badly affected slower devices
  • Improve frame timing for smoother video
  • Improve screen recording performance on AMD when the system usage is very high
  • Fix recording not working on old nvidia gpus (that are stuck on nvidia driver version 470)
  • Improve video capture sync, making the video smoother. The video is smoother on X11 than Wayland
  • Improve video recording performance on AMD when the system usage is 100%
  • Fix tearing/stutter/cursor flicker on amd after recent amd driver update
  • Workaround steam deck driver bug and enable steam deck support again
  • Improve startup time on certain systems
  • Disable support for steam deck at the moment because steam deck drivers are broken
  • Improve quality again
  • Reduce video file size
  • Fix capture not working on wayland when recording a monitor instead of desktop portal
  • Allow capturing external monitors on a laptop with a dedicated gpu on X11 (for example an intel laptop with a nvidia gpu), where the monitor is connected to the dedicated gpu
  • Fix capture not working if audio device id has space in it (happens with virtual audio sources)
  • Add 10 bit color depth options for hevc and av1 to reduce banding
  • Fix cursor not visible when using multiple monitors in some wayland compositors
  • Fix error when starting application on wayland when portal capture option is available but laptop monitor is disabled
  • Fix possible lag on monitor/desktop portal capture
  • Fix capture broken on amd on wayland
  • Fix hdr capture causing crash when in replay mode
  • Added desktop portal (pipewire) capture option. This fixes issue with glitched capture on certain Intel iGPUS (on Wayland)
  • Added global hotkeys on Wayland. KDE Plasma is the only Wayland environment that supports this properly at the moment
  • Add separate hotkeys for start and stop and option to show notification when starting/stopping recording
  • Fix HDR capture (HDR metadata is now correct). Note that HDR capture is only available on Wayland and when recording a monitor without the desktop portal option
  • Added VP8 and VP9 video codecs if supported by the hardware
  • Added software encoding option
  • Default to h264 video codec because of amd driver issues (black bar) and for better compatibility with software
  • Properly cutout cursor outside video area when dealing with AMD HEVC padding driver bug
  • Add system tray icon
  • Fix screen recording on Intel ARC GPU
  • Workaround AMD driver bug with HEVC video codec that causes glitched graphics on the right/bottom side with certain video resolutions. It's now replaced with black color
  • Fix possible incorrect monitor rotation when using multiple monitors with one monitor rotated on GNOME Wayland
  • Add hls (m3u8) container option
  • Fix recording freeze on nvidia when __GL_SYNC_TO_VBLANK environment variable is set to 1
  • Do not force constant framerate for live streams
  • Fix twitch/youtube streaming not working
  • Fix possible freeze on recording stop if stopping quickly after starting recording

Make audio sync even better. Audio sync is broken in all applications anyways so what can be done really

  • Re-enable opus audio codec
  • Remove flac audio codec option until it's fixed
  • Improve video quality when recording HDR
  • Fix flv issues
  • Add mpegts container and option to select codec for custom streaming service
  • Improve nvidia video encoding performance a lot on certain GPUs
  • Improve audio/video sync
  • Increase audio bitrate
  • Hide notifications after a few seconds

Fix audio sync regression when using mixed audio

Fix possible audio desync after some time for some users

Fix nvidia x11 monitor capture breaking after suspend/monitor reconfiguration (even after applying nvidia preserve video memory on suspend)

Fix recording breaking when updating flatpak on some systems (where $HOME is symlinked to another location), requires password prompt update

  • Fix nvidia window capture/wayland capture if the user has set __GL_THREADED_OPTIMIZATIONS to 1
  • Fix full color range capture in nvidia window capture
  • Properly clear cursor in window capture
  • Fix incorrect overclocking offset on some nvidia gpus when enabling overclocking option
  • Ignore color standards for more accurate colors

Add the option to not record cursor

  • Support HDR capture and full color range on nvidia
  • Support cursor capture when recording a single window
  • Show the correct monitors when using prime-run

Fix minor permissions issue

Better error message for missing h264/hevc, ignore user nvidia vaapi setting

  • Fix crash on x11 nvidia when recording monitor
  • Fix color issue when recording window on amd/intel
  • Support monitor rotation
  • Support hdr capture on amd/intel wayland (currently missing hdr metadata because of driver bugs)
  • Default to variable framerate videos on nvidia x11 as well
  • Center capture window/follow focused and clear background
  • Remove 'remove password prompts' button. Only ask for password once and never again
  • Support hardware cursor plane capture on nvidia wayland
  • Add record timer
  • Improve audio drifting in some cases
  • Fix audio stuttering with pulseaudio + opus/flac + multiple audio sources merged
  • Add option to remove hotkey with backspace
  • Decide which audio device is default output/input when starting to record

Add option to pause recording

Fix monitor capture on AMD/Intel or NVIDIA Wayland on some distros, such as OpenSUSE

  • Fix opus and flac
  • Fix crash when live streaming without an audio source
  • Fix missing streaming show/hide key symbol
  • Add option to remove password prompts (if possible on the system)
  • Add experimental av1 support (if supported by the hardware). Currently only enabled for AMD/Intel in the flatpak.
  • Configure quality settings to reduce file size on amd/intel
  • Workaround amd/intel driver issue when using h264 (or fps > 60) and mkv (forcefully set video codec to hevc)

Fix possible crash when recording multiple audio sources (merged)

Fix incorrect color on some nvidia wayland systems running kde plasma (support 10-bit color depth)

Nvidia x11: disable screen direct record option, as there is an nvidia driver bug that causes some games to freeze/crash with this option

Use opengl context instead of egl2, might fix program startup not working for some users

Intel: attempt to fix glitched graphics on some intel gpus. I dont know, ask intel why they are weird

AMD/Intel wayland: fix broken colors when system uses 10-bit

  • AMD/Intel: workaround driver bug that causes vram leak
  • Add frame rate mode option in advanced menu
  • Redesign audio input to make it clear that you have to add audio to use it

NVIDIA: Workaround new nvidia driver bug that causes recording of a small window to freeze recording.

AMD/Intel: fix capture issue on some systems

AMD/Intel: Fix too dark video in the flatpak version.

AMD/Intel: Better color accuracy.

Fix capture on wlroots based wayland compositors. Fix cursor offset in amd/intel capture.

Support cursor capture on AMD/Intel on Wayland. Attempt to fix multi monitor offset capture in some cases.

Support cursor capture on AMD/Intel on Wayland.

  • Support wlroots capture when possible (no kms root access required)
  • Make window capture a bit more robust
  • Fix possible lag on recording start on AMD/Intel
  • Make capture on AMD/Intel possible without Xwayland

Experimental wayland support on AMD/Intel/NVIDIA. Hotkeys not supported.

Attempt to fix screen recording when multiple graphics cards are connected

Show proper error when running on wayland. Preparing for wayland support.

AMD/Intel: fix multi monitor capture coordinate being incorrect for some GPU driver versions.

Attempt to fix a recent nvidia (cuda) driver bug on RTX cards that causes a freeze when stopping recording.

Fix issue where the application freezes and keyboard freezes when selecting a new hotkey and another widget is clicked.

Attempt to fix possible issue on some systems with amd/intel where capture region is incorrect when multiple monitors are connected.

Attempt to fix possible audio/video sync on NVIDIA after recording for a long time. Temporary disable opus/flac because it breaks when recording multiple audio inputs.

AMD/Intel: Add support for capturing cursor when recording a monitor. Fix some cases of capture being glitched when using multiple monitors.

Enable AMD/Intel monitor capture. Requires the flatpak to be installed system-wide and it requires restricted root access. Record a single window if you dont like these restrictions. Videos created on AMD/Intel should be played with MPV otherwise it might have issues such as stuttering.

Add experimental support for AMD/Intel. Quality might not be well tuned yet and the video is in variable framerate mode, which might cause issues with some out of date video editing software or video players. Recording on AMD/intel is currently limited to a window (monitor capture is not possible yet).

Show error when using wayland (because wayland is not supported)

Add option to workaround a NVIDIA driver "bug" that causes framerate to drop a bit when recording (overclock memory transfer rate back to normal)

Make it clear when graphics card is not supported

  • Add VRR record option, only use with VRR as it might have driver issues!
  • Add opus/flac audio options. opus/flac is only supported by .mp4/.mkv. Automatically changes audio codec if not supported by the container

Fix broken replay when recording with audio (possibly broken in normal recording as well)

  • Switch to EGL (fixes possible window capture issues when using a compositor)
  • Add option to change hotkeys
  • Add option to merge audio tracks into one audio track
  • Add option to follow the focused window
  • Add option to force set h264/hevc (services such as discord can't play hevc videos directly in the application)
  • Show proper error when NVIDIA GPU is not in use

Allow choosing between mp4, flv and mkv for record/replay. mkv survives system crashes

Re-enable screen-direct, disable h264 forced fallback and use p6 again

Attempt to fix stuttering in video that can happen sometimes (especially when vsync is enabled)

Properly fallback to h264 if hevc is not supported by the gpu

Fix livestreaming: flv does not properly fallback to h264

Use lower preset on older gpus (kepler) and switch to h264 if h265 is not supported

Tune options to try and reduce file size

Better tune quality options for different resolutions

Fix crash caused by invalid memory write when recording audio

Fix possible pulseaudio crash

Fixes some streaming issues (mostly metadata missing)