Fairly self-explanatory question. What is the difference between optirun and primusrun? I stumbled across primusrun today - usually I just use optirun.

Note: This may be useful: https://applicative-games.cppcabrera.com/posts/hybrid-gfx-ubuntu.html

1 Answer 1


Bumblebee is the current workaround for using Nvidia optimus with linux.

At the heart of bumblebee has been VirtualGL which is now being superseded by Primus.

If you have Bumblebee you'll know that to use your discrete card you need to invoke optirun application from the command line and then after a short wait your application runs using the VirtualGL backend.

Unfortunately the VirtualGL backend does not play nice with some applications, particularly Wine and Crossover.

Primus is the replacement of optirun and it all it means to the end user is that instead of using optirun you now invoke an app with primusrun application.

The developers of Bumbleebee highly recommend primus over VirtualGL because there are a host of benefits.

One benefit is that it works perfectly with Wine and Crossover meaning You can play your Windows games on your discrete card instead of having to use your integrated one and has substantially better performance too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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