Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am messing around trying to find the best graphics solution for my Laptop with Optimus Nvidia. (ASUS K55VD)

I've got bumblebeed running and i use optirun when i want to improve graphics performance. The only problem is that i dont know if it is really working.

When i execute eg. glxgears i get the following performance results:

normal glxgears on intel graphics: arround 60 FPS
optirun glxgears on nvidia graphics: arround 1300 FPS

Well this looks fine i guess..

My wondering starts when i execute with vblank_mode=0 in front of both the commands:

vblank_mode=0 glxgears gives: arround 5000 FPS
vblank_mode=0 optirun glxgears gives: around 1400 PFS

Why am i getting such weird results?

share|improve this question
up vote 8 down vote accepted

vblank_mode=0 tells the graphic card to ignore the refresh rate of your monitor and just try to reach the maximux fps it's capable off.

You usually don't want this, because it causes tearing and wastes battery life without any benefits (you can't view more then, in your case, 60fps because your monitor isn't able to change what's displaying more than 60 times every second).

I think optirun sets vblank_mode=0 by default, so it doesn't change whether you specify it or not. primusrun doesn't and it too caps at 60 fps without vblank_mode=0.

share|improve this answer
Ok, thank you - So how would you actually benchmark primusrun and optirun to see the different performance? – dhojgaard Apr 30 '13 at 6:44
you would indeed use vblank=0 for all cases. primusrun should outperform optirun in all cases, I believe. here are some… – bercio May 1 '13 at 3:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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