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 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

1 Answer 1

up vote 4 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 benchmarks:reddit.com/r/linux/comments/1dafbl/… –  user2266605 May 1 '13 at 3:03

Your Answer

 
discard

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.