Install Bumblebee - support NVIDIA Optimus technology into Linux Mint 16/17
All articles
Last comments
Will, 16-11-2014, 19:21
Didnt see when this post was originally made....but still works in Mint 'Sarah' in 2017
Jesús, for "libpackagekit" run: sudo apt-get install packagekit-backend-aptcc
Guest Michael
This is my favorite GUI text editor for Linux, I use the Windows version all the time too. I also covered this topic here.
I'm using Mint Cinnamone installed on virtual machine VMWare. The instruction helped me to adjust my mouse scroll wheel speed. I set the value to 6. Now it's comfortable to use the mouse. Thanks a lot!
«    January 2017    »
» » Bumblebee - support NVIDIA Optimus technology on Linux Mint 16-17.2

Bumblebee - support NVIDIA Optimus technology on Linux Mint 16-17.2

Nvidia primeNvidia prime

Bumblebee aims to provide support for NVIDIA Optimus laptops for GNU/Linux distributions. Such feature involves two graphics cards with two different power consumption profiles plugged in a layered way sharing a single framebuffer. Using Bumblebee, you can use your NVIDIA card for rendering graphics which will be displayed using the Intel card.

Sorry for the spelling and phonetic errors in the text.
Owner and main writer of is not a native English speaker.

The Bumblebee server disables the discrete video card if no client is detected (if power management is enabled which is the default setting). This is done by keeping track of programs that request Bumblebee to run themselves on the discrete nvidia card. On such requests, a X server is started which makes use of the nvidia card. Because the frames cannot directly be displayed on the display due to the Optimus design, VirtualGL is used to copy frames to the visible display which runs on the integrated Intel GPU. 

Previously I wrote how to install Nvidia-Prime in Linux Mint. Now i describe how to put a different utility to run a discrete graphics card. The plus is that You activate the video card when running heavy video programs when you want.

Installation into Linux Mint 16/17/17.1/17.2/17.3:

1. How to detect and install the correct version of the Nvidia driver

1. Install directly Bumblebee

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic

2. Install Primus


sudo apt-get install primus


sudo apt-get install primus primus-libs-ia32

3. To install the latest drivers for your video card read article How to detect and install the correct version of the Nvidia driver

4. Now open the configuration file /etc/bumblebee/bumblebee.conf

sudo gedit /etc/bumblebee/bumblebee.conf

Bumblebee - support NVIDIA Optimus technology on Linux Mint 16/17Bumblebee - support NVIDIA Optimus technology on Linux Mint 16/17

Edit the file based on the name of your driver. On the screenshot I pointed out his version of "nvidia-340". Also find string "Driver=" and replace "Driver=nvidia

5. If you want to use bumblebee with graphics, use bumblebee indicator, install it with these commands:

sudo apt-get install git
sudo apt-get install python-appindicator
mkdir git
cd git
git clone
cd bumblebee-ui
sudo ./INSTALL

You will find bumblebee indicator on menu and you can run any program you like.

6. Reboot system

How to run programms? "Use primurun on 64bit system, to run 32bit app through optirun"

primusrun firefox


steam primusrun steam://rungameid/380

Bumblebee - support NVIDIA Optimus technology on Linux Mint 16/17Bumblebee - support NVIDIA Optimus technology on Linux Mint 16/17

[Fix] The Bumblebee daemon has not been started
optirun glxspheres
optirun --status

get something like
[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ERROR]Could not connect to bumblebee daemon - is it running?

First we will try to rearrange to reinstall the installed version
sudo apt-get purge bbswitch-dkms bumblebee-nvidia
sudo apt-get install bbswitch-dkms bumblebee-nvidia virtualgl primus virtualgl-libs-ia32

sudo apt-get install linux-headers-generic
sudo dkms autoinstall -k `uname -r`
sudo restart bumblebeed

Then follow paragraphs 4 and 6. Then follow the steps 4 and 6. If something doesn't work, try changing the driver.

Good Luck!!!

Last edited by Shekin - 13-01-2016, 09:32
Reason: New informatuin added

Related Articles

1 comment

x64 Linux Mint 18.1 cinnamon
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
Login via
This website about Linux