The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect
Solution 1:
The error "Could not connect to bumblebee daemon - is it running?" means that the Bumblebee daemon refused/ failed to start.
In your case, "Module 'nvidia' is not found.". This means that the Nvidia kernel driver has not properly been installed. Make sure that you install the linux-headers-generic
package and reinstall the nvidia package:
sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall nvidia-current
It could also occur if your system is not detected as an Optimus laptop which has two graphics card, an Intel and a Nvidia one. Check your /var/log/syslog
file for messages from "bumblebeed" (the Bumblebee daemon):
grep bumblebeed /var/log/syslog
If the message is No nVidia graphics card found, quitting., then your laptop has no Nvidia chip or it is disabled in BIOS. The message No Optimus system detected, quitting. is shown when the Intel graphics card cannot be found. In either case, check the BIOS settings for an "Optimus mode / integrated only / discrete only" option (or: "detect Optimus).
The output of the command lspci -nn | grep '\[030[02]\]:
should look like:
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 425M] [10de:0df0] (rev ff)
Solution 2:
I encountered this issue after upgrading some of my packages. It seems the problem was caused by the Nvidia kernel module being renamed from "nvidia" to "nvidia_current".
If you have the nvidia-current
package installed, you can fix the issue by editing /etc/bumblebee/bumblebee.conf
and setting the following values:
...
[bumblebeed]
Driver=nvidia
...
[driver-nvidia]
KernelDriver=nvidia_current
Module=nvidia
...
Then restart bumblebee:
sudo service bumblebeed restart
And test:
optirun glxgears
References:
- https://github.com/Bumblebee-Project/Bumblebee/issues/238
- https://github.com/Bumblebee-Project/Bumblebee/issues/330