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 sid main contrib
deb-src sid main

Execute the following commands as root

wget -O - | 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)
Make a test
optirun glxgears -info


No comments:

Post a Comment