MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.53k stars 286 forks source link

High CPU usage and performance issues #823

Open howdev opened 4 years ago

howdev commented 4 years ago

I used previous version 0.3 of the recorder and nvenc active and low quiet cpu usage at 4k recording. Now 0.4.2 CPU usage 30% and noisy, the recording is lagging and flickering even I checked the video encoder engine is active in nvidia-settings. The flickering is reduced when using 30fps instead of 60fps, but the CPU usage does not come down. I tried both the nvenc h264 and hevc. I am on Mint 19.3. I changed the cinnamon vsync, no difference. What do you think might be, nvenc driver, cinnamon or the recorder

MaartenBaert commented 4 years ago

Are you sure that the only thing you changed was updating SSR? Or did you also update other things (e.g. ffmpeg)?

howdev commented 4 years ago

Possible I had other things updated but minor version; Mint 19.x The 0.3 software encoding has less flickering than 0.4. In either version software encoding has less flickering than hardware encoding. I downgrade cinnamon to 4.2 still the same.

MaartenBaert commented 4 years ago

For the flickering problem, this is a known issue with all GNOME 3-based window managers (including Cinnamon), see: https://www.maartenbaert.be/simplescreenrecorder/troubleshooting/#the-recording-occasionally-flickers-showing-parts-of-the-desktop-background-instead-of-windows Does the problem go away if you try a different (non-GNOME-based) window manager, like Openbox, KWin (KDE) or Xfwm (XFCE)?

howdev commented 4 years ago

XFCE don't have the flickering. So I guess is Cinnamon. I couldn't try Cinammon 4.0, possibly after that version has the flickering. I remember 2019 I used this recorder and was fine.