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 MintGuide.org 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
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 https://github.com/Bumblebee-Project/bumblebee-ui 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"
steam primusrun steam://rungameid/380
[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!!!Edited by Shekin - 13-01-2016, 09:32
Reason: New informatuin added