GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MAPReiff/ShadowRePlay-Linux: Shadowplay's Replay Feature On Linux For Nvidia, AMD and Intel

BranchesTags
Open more actions menu

Latest commit

 

History

62 Commits
62 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
example_config
example_config
 
 
install
install
 
 
shadowreplay
shadowreplay
 
 
shadowreplay.service
shadowreplay.service
 
 

Repository files navigation

ShadowRePlay

Recreates Shadowplay's replay feature on Linux

  • compatible with Nvidia (nvenc), AMD (vaapi,amf/vce), Intel (quicksync) GPUs, as well as libx264.

Prerequisites

  • Have FFMPEG installed

  • sudo pacman -S ffmpeg

  • Have Xbindkeys installed

  • sudo pacman -S xbindkeys

  • Have libnotify installed

  • sudo pacman -S libnotify

Installation

If you are using an Arch-based Linux distribution, shadowreplay is in the AUR, so you can install it using your preferred AUR helper.

Its package name is shadowreplay-git.

If you are on a Debian-based distro like Ubuntu or anything else, shadowreplay can be installed by running the install file after cloning this repo.

This will install the required dependencies on Arch and install the systemd user service.

Configuration

Variables specific to your desired setup can be found in the example_config which is installed to $HOME/.config/shadowreplay

Setup

Keybind Setup

First, configure the key (or key combo) you want to use in order to save your replays.

  • For instructions on how to bind keys, check here

  • Consider making another bind for killing ShadowRePlay. (See below)

  • Bind a key to the command killall --user $USER --ignore-case --signal SIGTERM ffmpeg so it looks something like this:

# make F9 save ShadowRePlay replay

"killall --user $USER --ignore-case --signal SIGTERM ffmpeg"
F9

  

# make F10 kill ShadowRePlay

"killall -s1 ffmpeg"
F10
  • Start xbindkeys with xbindkeys -f ~/.xbindkeysrc, or reload it with killall -s1 xbindkeys if it's already running, for the new bind to take effect.

Usage

  • Run shadowreplay in a terminal

  • Press your configured hotkey to save the replay.

TODO

  • More flexible audio input support

  • Ability to downscale video output during recording

  • Dynamic video buffer size allocation based on resolution and FPS

Notes

Heavily inspired by Toqozz's script.

Thank you Tyler for answering my stupid questions while making this.

About

Shadowplay's Replay Feature On Linux For Nvidia, AMD and Intel

Topics

amdamfgamingintellinuxnvencnvidiaqsvreplayshadowplayvaapivce

Resources

Readme
MIT license
Activity

Stars

145 stars

Watchers

4 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.