Ubuntu – Ubuntu 14.04 Nvidia Optimus Bumblebee error


I know that in Ubuntu 14.04 there exists nvidia-prime for Nvidia Optimus, but I don't like it and neither am I able to get it work. After upgrading from Ubuntu 12.04 everything crashed, and I made a clean install of Ubuntu 14.04 and Bumblebee, but now I have new troubles. After running optirun glxgears I get the following error:

**[ 4703.996785] [ERROR]Cannot access secondary GPU, secondary X is not active.**
**[ 4703.996910] [ERROR]Aborting because fallback start is disabled.**

Please help.

Best Answer

From: https://wiki.debian.org/Bumblebee#Common_issues

I had to edit the file '/etc/bumblebee/bumblebee.conf' and set the driver manually :


You should have a corresponding [driver-nvidia] section in your file with the current version of your nvidia driver :

# KernelDriver=nvidia-current
# LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules

then restart the bumblebee daemon :

sudo service bumblebeed restart