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

OpenGL recording doesn't work in fullscreen #142

Open hadack opened 10 years ago

hadack commented 10 years ago

When recording a fullscreen game FPS out is 0 and the preview and the resulting file are empty. If i switch the game to windowed mode recording works ok. When not using OpenGL recording it is working in fullscreen, but somewhat slow. I have tried with and without compositing(compton) but it made no difference. I am using an Radeon HD7750 with the open source drivers. The Distro is Slackware64 14.1 with upgraded kernel(3.13.6), mesa(10.1-git) and llvm(3.5-git).

MaartenBaert commented 10 years ago

Can you tell me what game this is, and how you are starting it?

Do you get the error "can't get application size"? If not, what is the size that SSR is detecting?

One possible reason is that the game is creating multiple windows, this would not be a problem if you were using the glinject-next branch. Can you try that? You will have to compile from source to get it:

git clone https://github.com/MaartenBaert/ssr.git
git checkout glinject-next
./simple-build-and-install

Check the README file for more detailed instructions.

hadack commented 10 years ago

Yes, when using the glinject-next branch it works. I tried Kerbal Space Program and Xonotic, there was no error and it detected the right resolution 1920x1200, but the recording was empty. But it works now and i'm happy, thanks for this great program!

MaartenBaert commented 10 years ago

Okay, nice to hear that! glinject-next should be ready for release soon.