Guide, how to install Bumblebee on LMDE

Questions about hardware and drivers
Forum rules
Before you post please read how to get help

Guide, how to install Bumblebee on LMDE

Postby Fesiitis on Fri Oct 11, 2013 8:15 am

I use LMDE with MATE on dv6-7300sa where is GT635M and HD4000. I was spend lot of time to find how to install and run Bumblebee on LMDE, and I succeeded in. Now I use Bumblebee on LMDE for more than one month. So I decided to share guide. I just describe my steps.
What is Bumblebee? Bumblebee is nVidia Optimus technology alternative for Linux. nVidia Optimus is for Windows, Bumblebee for Linux. And this is only for laptops which have integrated graphics and nVidia graphics. You just can ignore this guide if you have Desktop computer.

First, there is no any differences if you use LMDE and points to UP or directly to Debian Testing or Sid. I specifically points to Debian Testing.
Second, you need to choice - install Bumblebee from UP sources or directly from Debian (for newest versions). I install Bumblebee from Testing because I points to Debian.
Third, make a backup before start this. This is very important if something goes wrong.

So, lets start:

(skip this step if you want to install from UP)
(skip this step if you already follows to Testing or Sid)
* add to your /etc/apt/sources.list Testing or Sid sources
Code: Select all
deb testing main contrib non-free
deb testing/updates main contrib non-free

Code: Select all
deb unstable main contrib non-free

* make "apt-get update" (not upgrade, especially if you follows UP and want install from Debian)
* now run "apt-get install bumblebee-nvidia primus" (you may be asked to install lot of other packages, just accept)

When all installed, do not restart computer. I was wondering that Bumblebee option "optirun" not work because nVidia driver can't be loaded. But all packages was be successfully installed, Bumblebeed service is running. So I decided search for solution. And, as a surprise, this is very easy:
* open /etc/bumblebee/bumblebee.conf and find this:
Code: Select all
## Section with nvidia driver specific options, only parsed if Driver=nvidia
# Module name to load, defaults to Driver if empty or unset

You see "KernelDriver" line. Just set it from "nvidia" to "nvidia-current" and save. Now you can safe restart computer and use Bumblebee.
And remove Testing or Sid sources if you follows to UP and install Bumblebee from Debian. That's because UP and Debian can't work together. After remove make "apt-get update".

How to use? Open Terminal and type "optirun --help". For example, if you want open Mozilla with nVidia type "optirun mozilla".
Level 2
Level 2
Posts: 53
Joined: Sun Feb 19, 2012 8:02 am

Linux Mint is funded by ads and donations.

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 2 guests