[How To] Fix Bumblebee In Ubuntu 12.10

Have you been having trouble getting Bumblebee to work in Ubuntu 12.10 ? Here’s a quick guide on how I fixed it:

Install ppa-purge so you can remove BBswitch and Bumblebee.

 sudo apt-get install ppa-purge

Remove BBswitch and Bumblebee.

 sudo apt-get purge bbswitch-dkms bumblebee-nvidia

Install the proper Linux headers.

 sudo apt-get install linux-headers-3.5.0-17-generic

Now reinstall Bumblebee and BBswitch.

 sudo apt-get install bbswitch-dkms bumblebee-nvidia

Now reboot and enjoy your battery life.

If you want to check your Nvidia GPU is working run glxspheres with optirun

 optirun glxspheres

28 thoughts on “[How To] Fix Bumblebee In Ubuntu 12.10

  1. Thanks for the nice post :-) . Can you pls tell me how to check the battery discharge rate in Ubuntu 12.10? The earlier command which worked for 12.04 doesn’t work as there is no battery directory inside acpi directory.

  2. optirun glxspheres gives me this:

    [ 32.770087] [ERROR]Cannot access secondary GPU – error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

    [ 32.770121] [ERROR]Aborting because fallback start is disabled.

    I have GT650m on a dell inspiron 7720

    • What you have to do is edit your configuration file for the nvidia driver
      /etc/bumblebee/xorg.conf.nvidia
      and change the line
      Option “ConnectedMonitor” “DFP” to
      Option “ConnectedMonitor” “CRT”

  3. @dell7720:
    I had the same problem as you… What you have to do is edit your configuration file for the nvidia driver: /etc/bumblebee/xorg.conf.nvidia
    and change the line
    Option “ConnectedMonitor” “DFP” to
    Option “ConnectedMonitor” “CRT”

  4. ivan@ivan-laptop:~$ optirun glxspheres
    [ 136.322781] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [ 136.322848] [ERROR]Could not connect to bumblebee daemon – is it running?
    ivan@ivan-laptop:~$

  5. you just saved my mind from becoming completely crazing HUGE thanks !!!! works perfectly on my Asus N55SF ! 4h47 battery life (more than under Windows 7 !!!) just great ! (yes i’m happy)

  6. The specific linux-headers package you install will quickly be outdated. You can run the command: “sudo apt-get install linux-headers`uname -r`” which will always grab the latest kernel headers (assuming you’re booted into the most recently installed kernel).

  7. MINT 14…gt630m …computer says YES!!!
    only you specified an old version of linux headers..I used Falkvinges install to get latest kernel and headers then used your method but changed the header instruction in your method from ”linux-headers-3.5.0-17-generic” to ”linux-headers-generic” and got 3.5.0-26 installed. but feasibly you could type
    ”linux-headers-3.5.0-26-generic.”