Install the most suitable proprietary driver for your GPU:
# mhwd -a pci nonfree 0300 -f
NOTE: The above command will automatically install the best driver for your GPU.
$ vblank_mode=0 primusrun glxgears -info
If all goes well something like this will be displayed:
GL_RENDERER = GeForce GT 630M/PCIe/SSE2
NOTE I: The option “vblank_mode = 0” is only for a “benchmark” purpose, that is, for the GPU run with all its power. In normal execution this is not necessary unless you want to waste GPU processing power and electrical power.
NOTE II: optirun is deprecated, use primusrun instead.
In general, using the primus bridge gives better performance then using the default VirtualGL bridge (optirun). In bumblebee 4.0 (coming soon) primus will become the default bridge and VirtuaGL will need to be called explicitly if you still want it. Also beginning with bumblebee 4.0 (coming soon) the VirtuaGL dependency will be replaced with a primus dependency instead. So you might not even have VirtuaGL installed by default in the future.
So I recommend set Bridge=primus in /etc/bumblebee/bumblebee.conf. In this way you won’t have to specify it on the command line (“optirun -b primus”).
NOTE: By now primusrun do not accept options as optirun does. Setting primus as the bridge for optirun provides more flexibility.
To check which GPUs are available on Manjaro (Linux) type…