Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
App to record screen ?
Page: 1/2»
  Go to:
Vinouch Sep 21, 2020
Hello,
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.
link

Last edited by Vinouch on 21 September 2020 at 5:55 pm UTC
This topic has an answer marked - jump to answer.
Liam Dawe Sep 22, 2020
OBS Studio is pretty much the standard for this.
Avehicle7887 Sep 22, 2020
As stan pointed out, your i5 is a bit of a bottleneck since it has to share the load with both the game and recording.

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
mrdeathjr Sep 23, 2020
ffmpeg with nvidia nvenc is very good

Vinouch Sep 23, 2020
You have comments rocks. Thanks. I tested some of your suggest. But currently, with OBS, the recording with vaapi don't use my GPU and only use cpu. So, I had further more and I found the soluce to record screen while gaming with AMD hardware encoding without lose FPS. I use the following command. Of course, it's not easy to start/stop recording. I will make a GUI front end soon.
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
whizse Sep 23, 2020
It's a little bit fiddly to get working, but you might want to use kmsgrab instead of x11grab to capture the screen. It will minimize CPU usage and framedrops as all surfaces stay on the GPU.

(Also works on Wayland and in virtual terminals!)
Dragunov Sep 27, 2020
I prefer Kazam screen recorder. It is extremely easy to use and lightweight.
Vinouch Oct 4, 2020
I found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder

mrdeathjr Oct 5, 2020
Quoting: VinouchI found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder




Shmerl Oct 5, 2020
Quoting: VinouchI found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder

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
whizse Oct 5, 2020
Quoting: VinouchI found exactly what I need.

A small GUI to record in VAAPI:

https://github.com/Philippe734/tiny.vaapi.recorder
Nice!

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.
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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: