I recently installed Ubuntu 14.04 and then installed bumblebee following the instructions on Ubuntu Bumblebee wiki(where they said that primusrun is better than optirun for version=> 13.10) But when I rebooted and tried to run primusrun with any applications (except google-chrome and firefox) the following error came(and comes):
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver
And surprisingly when I check the status of my nvidia driver, it gets on after running for example
primusrun clementine
sudo cat /proc/acpi/bbswitch
gives the following
0000:01:00.0 ON
Then, in order to avoid powerloss, I have to switch it off by bbswitch
NOTE: I was able to turn it off using bbswitch only after I set Driver=nouveau
in the /etc/bumblebee/bumblebee.conf
file and rebooted it.
Best Answer
I had the same problem.
I solved changing some lines in file
/etc/bumblebee/bumblebee.conf
: (In my case I'm using the version 352 of nvidia driver, change this value by your driver version)KernelDriver=nvidia-current
toKernelDriver=nvidia-352
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
toLibraryPath=/usr/lib/nvidia-352:/usr/lib32/nvidia-352
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
toXorgModulePath=/usr/lib/nvidia-352/xorg,/usr/lib/xorg/modules
After that restart the system or restart the bumblebee service with:
sudo systemctl restart bumblebeed.service
To check the service status:
sudo systemctl status bumblebeed.service
and you can check the log in
/var/log/syslog
file for any error.Regards