|
|
Linux Technical issues under Linux platform |
|
Thread Tools | Display Modes |
01-23-2018, 08:54 AM | #1 |
Master
Join Date: Sep 2008
Location: Stockholm
Posts: 541
|
Howto: Record on GNU/Linux with hardware accelerated encoder
1 Pre-requirements
1.1 Operating system Using GNU/Linux Debian sid. The Intel HD Graphics 530 (Skylake GT2) in my case is my primary graphics, running GNOME 3 desktop. My secondary graphics is GeForce GTX 960M in Optimus setup (by default disabled). 1.2 Required hardware Nvidia graphics card with hardware encoder capabilities. These include Maxwell architectures first generation for H264 (h264_nvenc) and newer architectures for h265 (hvenc). 1.3 Software I installed the following packages Code:
apt-get install bumblebee bumblebee-nvidia \ # To run Optimus Nvidia setup ffmpeg \ # For encoding video simplescreenrecorder # Recording application To start game with Nvidia GPU in case when desktop runs on primary graphics (Optimus configuration) you need to start Code:
cd live optirun ./game LOGIN <md5password> Code:
optirun %command% To record OpenGL applications, and not the whole desktop Window, which is convenient you need to preload the following library Code:
optirun ssr-glinject %command% Documented by author here http://www.maartenbaert.be/simplescr...g-steam-games/ 4 Setting up SimpleScreenRecorder Start recorder in Optimus mode Code:
optirun simplescreenrecorder File Video Ready Now you are ready to record your Champions of Regnum movies or PvP fights. I hope this is useful for community or I can get some feedback from NGD. Would be nice to figure out why I can't start a game without steam Code:
optirun ./game LOGIN <md5> |
Tags |
bumblebee, linux, nvidia, recording |
|
|