To the failure below...
Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
... does not happen anymore do the following.
Remove the bumblebee and its dependencies:
Remove the bumblebee and video-hybrid-intel-nouveau-bumblebee to avoid the failure...
Error: config 'video-hybrid-intel-nvidia-bumblebee' conflicts with config(s): video-hybrid-intel-nouveau-bumblebee
... when trying to run the command "mhwd -a pci nonfree 0300 -f".
pacman -Rdcs bumblebee
mhwd -r pci video-hybrid-intel-nouveau-bumblebee
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 "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...
lspci | egrep "(VGA|3D)"
This thread was originally created by me in...
optirun - Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version
I just transposed it to the official Manjaro forum