
This will take some time to download and install the packages and compile kernel modules. sudo apt-get update sudo apt-get install gcc make linux-headers-amd64 sudo apt-get install dkms bbswitch-dkms If you are not sure what I'm talking about, have a look at there and check out the sources.list portion. Installing bbswitch with dkms will automatically compile proper kernel module after any future kernel update.Īt this point, you must enable the main, contrib and non-free repository, to do so, put the line bellow in the /etc/apt/sources.list file deb stretch main contrib non-freeĬhange the word stretch according to your disto, like if you are using the Debian stable jessie, replace it with jessie. Lets install bbswitch and related components to compile it. If your kernel is loaded with the nouveau and other related modules, its the time to unload them with the modprobe command.

Unload nouveau modules and install bbswitch Bbswitch is the kernel module used to turn off and on the discrete nvidia GPU and non-free nvidia optimus linux drivers are the proprietary GPU drivers provided by nvidia.Īdvantage of bumblebee over other solutions like nvidia prime is you can run one/many specific application using the discrete nvidia GPU without restarting the current X-session on the fly.Įnjoy free shipping and One-Day delivery, cancel any time. Here we are going to do this with bumblebee, bbswitch, and non-free debian nvidia optimus drivers.įor newbies, if you don't know what are these things, you may have a look at the bumblebee project. This guide is specially for Debian and other directly Debian based distro like Kali Linux, LMDE etc.

So if you are one of those lucky person with a optimus laptop and want to use your discrete GPU rather than turn off it totally, this tutorial is for you. That's why most Linux users having a laptop with optimus GPU faces problems like hot GPU(around 65° C), decreased battery life, roaring cooler fan etc. NVIDIA Optimus, the switchable graphics adaptation for laptops/notebooks by NVIDIA, still doesn't fit well with Linux.

This tutorial is outdated, not guaranteed to work.
