Wednesday 23 October 2013

Installing optimus graphic card on ubuntu/linux mint

With 2GB NVIDIA GeForce GT 525M Graphics Card with Optimus installing nvidia-current drivers from restricted drivers causes the loss of compositing. Moreover running nvidia-xconfig crashes X on the next reboot (fix it with sudo rm /etc/X11/xorg.conf and reboot). This happens because you need Bumblebee to make it work, more explanations follow the suggested procedure.
The Bumblebee stable PPA and more information about this subject can be found in Bumblebee.
As an example, using Bumblebee, it changes battery rate from 1900+ to around 1600 for me (verwilst). The current rate (with disconnected charger) can be tested using:
grep rate /proc/acpi/battery/BAT0/state
Installation on 12.04
Add bumblebee ppa, reload, check your update and install bumblebee. Finally add your $USER (replace by your username) to the group bumblebee :
$ sudo add-apt-repository ppa:bumblebee/stable

$ sudo apt-get update && sudo apt-get upgrade

$ sudo apt-get install bumblebee bumblebee-nvidia

$ sudo usermod -a -G bumblebee $USER
Now restart, and check your configuration :
$ glxspheres

$ optirun glxspheres

And compare the fps... If you need to use the nvidia video card, launch your application with optirun at the begin of the command line.

No comments:

Post a Comment