Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to find an analogue of Fraps or any other fps counter on Ubuntu 12.10.

After some googling I found 2 solutions:

  1. To use Mumble (I found it from this discussion). This solution didn't work for me because after launching the game:

    mumble-overlay game
    

    I got this error:

    game: symbol lookup error: /usr/lib/mumble/libmumble.so.1: undefined symbol: glPopClientAttrib
    

    And I didn't find any fix of this error in the WEB.

  2. To use WINEDEBUG=fps with osd_cat. It works only with wine (only Windows games). Found from reading this discussion and this article. It shows FPS during play but the output is definitely wrong - 0.15-0.18 fps. And it doesn't matter if game really runs slow or fast - the result is always the same.

Does anyone know how to fix these errors? Or are there any other solutions? Thanks for the help.

share|improve this question
1  
You probably need something like glc, as I discuss in this question. –  user76204 Jan 21 '13 at 16:06
1  
@Mik yes, I mentioned that in the first sentence. –  ArtemStorozhuk Jan 21 '13 at 16:14
1  
The question I linked to wasn't about fraps, it was about alternatives to fraps, i.e. glc, as I mentioned in my answer on that question. –  user76204 Jan 21 '13 at 16:17
1  
@Mik Actually I need fps counter and it seems that glc doesn't have such feature. –  ArtemStorozhuk Jan 21 '13 at 16:18
2  
see Fraps like programs for Ubuntu? –  Janus Troelsen Jun 30 '13 at 17:51

1 Answer 1

You can use BuGLE:

$ BUGLE_CHAIN=showfps LD_PRELOAD=/home/sa/Temp/bugle/lib/libbugle.so glxgears

$ cat bugle.log 
[INFO] logstats.frames per second: 36.2 fps
[INFO] logstats.frames per second: 60.1 fps
[INFO] logstats.frames per second: 60.0 fps
[INFO] logstats.frames per second: 59.9 fps
[...]

$ awk '{ s += $5 } END { print "average framerate: ", s/NR }' bugle.log
average framerate:  59.7136

You will need to compile and configure BuGLE but this will work with any software using OpenGL to render graphics.

BuGLE HomePage

Frapix is a software that can make something similar (promises to be similar to Fraps), but keep in mind that BuGLE is the "default" solution to this.

Frapix Google Project Home

share|improve this answer

protected by Community Sep 17 '13 at 3:39

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.