Wednesday, February 6, 2013

Nvidia Optimus in linux

This Nvidia Optimus technology is a whole new ball game for me, my laptop has two graphics cards, and depending on the requirements, it uses one or another, luckily there is a Linux project called Bumblebee to make it work
To install it, add this next lines to /etc/apt/source.list

#bumblebee Nvidia optimus
deb http://suwako.nomanga.net/debian sid main contrib
deb-src http://suwako.nomanga.net/debian sid main

Execute the following commands as root

wget -O - http://suwako.nomanga.net/suwako.asc | apt-key add -
aptitude update 
aptitude install nvidia-glx linux-headers-$(uname -r) nvidia-kernel-dkms
sudo update-alternatives --set glx /usr/lib/mesa-diverted 
aptitude install bumblebee bumblebee-nvidia
adduser $USER bumblebee ($USER is your regular X user)
reboot
 
Make a test
 
optirun glxgears -info
 
 
Source:
http://bumblebee-project.org/
https://wiki.debian.org/Bumblebee#Installation
http://suwako.nomanga.net/
 

 

No comments:

Post a Comment