While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Valve dev details more on the work behind making Steam for Linux more stable
- Proton Experimental adds DLSS 3 Frame Generation support, plus fixes for Dragon Age: The Veilguard, Rivals of Aether II and more
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
Linux kernel 6.12 is out now with real-time capabilitie…
- Dmitri Seletski -
Linux GPU Configuration Tool 'LACT' adds NVIDIA support…
- Cyril -
Linux kernel 6.12 is out now with real-time capabilitie…
- Cyril -
Single-player survival horror game Sorry We're Closed o…
- elmapul -
Devs of chill arcade freeriding game SNØ: Ultimate Fre…
- Purple Library Guy - > See more comments
- Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - See more posts
View PC info
Can you suggest a good app to make a video to record the screen while gaming with lose minor FPS please? I tryed simplescreenrecorder, but I lose 50 fps while recording.
Last edited by Vinouch on 21 September 2020 at 5:55 pm UTC
View PC info
To minimize the fps loss I suggest lowering the quality a bit, don't use any compression (this will minimize cpu usage but produce large files. Also if you have 2 drives, don't save the video on the same drive as the game you're recording as this will create a bit of stutter (especially if it's an HDD).
Simplescreenrecorder is not bad, it's what I use for my game recordings with very minimal frame loss. However this is possible due to high thread count and carefully dividing the load using the 'taskset' command.
OBS is also very good and is a much more featured program than SSR.
Last edited by Avehicle7887 on 22 September 2020 at 10:38 pm UTC
View PC info
View PC info
ffmpeg -vaapi_device /dev/dri/renderD128 -f x11grab -video_size 1920x1080 -i :0 -vf 'hwupload,scale_vaapi=format=nv12' -c:v h264_vaapi -b:v 15M -preset superfast '/home/username/screenrecord.mp4'
Last edited by Vinouch on 23 September 2020 at 1:49 pm UTC
(Also works on Wayland and in virtual terminals!)
View PC info
View PC info
A small GUI to record in VAAPI:
https://github.com/Philippe734/tiny.vaapi.recorder
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View PC info
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View PC info
Nice, it's a small bash script which you can modify for your needs (like changing the codec and etc.).
https://github.com/Philippe734/tiny.vaapi.recorder/blob/main/tiny.vaapi.recorder.sh
Also, I wonder what's the method in the Wayland session where x11grab is not an option. I suppose there must be some ffmpeg / Pipewire integration for that?
Last edited by Shmerl on 5 October 2020 at 9:32 pm UTC
You might want to remove the preset option though. It has no effect with vaapi, it's a libx264 setting.
You might also want to experiment with using constant quality in lossless mode (if you don't mind large files) using -qp 0 instead of VBR. I seem to recall getting better results with that, but it probably varies from system to system.