Ubuntu – Optirun fails in Ubuntu 12.10

bumblebeenvidia-optimus

I am trying to use Nvidia Optimus on my laptop by using Bumblebee, I have an Intel Core i5 with an Nvidia Geforce GT 630M.

I have followed the instructions on the wiki page at https://wiki.ubuntu.com/Bumblebee, but when trying to run optirun with Firefox (or any other program, like glxspheres), I get the following error:

[ 1921.452820] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 1921.452905] [ERROR]Aborting because fallback start is disabled.

I have tried googling the issue but I couldn't find any solution that didn't cause more problems.

Thank you for your time.

Here is my bumblebee.conf: http://paste.ubuntu.com/1333324/

Best Answer

Probably your problem is in the configuration of Bumblebee. To configure it you need to edit /etc/bumblebee/bumblebee.conf. To do so, you can run in a terminal, or using Alt+F2

gksu gedit /etc/bumblebee/bumblebee.conf

First, you need to select which driver you want Bumblebee to use: nvidia or nouveau. If you have installed bumblebee-nvidia itÅ› better to use nvidia. Replace Driver= with

Driver=nvidia

Also update the two ocorrences of PMMethod with

PMMethod=none

After rebooting this should make Bumblebee work. If you get a error running optirun regarding permissions you must execute the following command, replacing with your username:

sudo usermod -a -G bumblebee <username>

This will only let you use your NVidia card (ie it will not make nothing regarding power management). If you want Bumblebee to turn off the NVidia card when it is not used you should check the Wiki link you provided, and the TurnCardOffAtExit value in Bumblebee configuration.

Also, you should install bbswitch-dkms (it requires linux-headers-generic )

sudo apt-get install linux-headers-generic
sudo apt-get install bbswitch-dkms
Related Question