NOTE: This guide assumes that your bios version is 211 or higher. If you haven’t already done it, download the update from here.
1) Upgrade your kernel to version 3.5.2 (or, presumably, newer). Assuming we’re dealing with a 64-bit system:
$ mkdir /tmp/new_kernel
$ cd /tmp/new_kernel
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.2-quantal/linux-headers-3.5.2-030502-generic_3.5.2-030502.201208151151_amd64.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.2-quantal/linux-headers-3.5.2-030502_3.5.2-030502.201208151151_all.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.2-quantal/linux-image-3.5.2-030502-generic_3.5.2-030502.201208151151_amd64.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.2-quantal/linux-image-extra-3.5.2-030502-generic_3.5.2-030502.201208151151_amd64.deb
$ sudo dpkg -i *.deb
2) Reboot
3) Install bumblebee and the updated X packages. If you previously installed nVidia drivers… remove ‘em completely before performing this step!
$ sudo add-apt-repository ppa:bumblebee/stable
$ sudo apt-get purge nvidia-current
$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
$ sudo apt-get update
$ sudo apt-get install bumblebee bumblebee-nvidia
4) Open (as superuser) the “/etc/bumblebee/bumblebee.conf” file. I suggest the “nano” editor, but for the less experienced users I’ll use gedit:
$ gksu gedit /etc/bumblebee/bumblebee.conf
5) In the [bumblebeed] section, at the line “Driver=”, set the value to “nvidia” (without quotes). Below, in the [driver-nvidia] section, at the line “KernelDriver=” set the value to “nvidia” (again without quotation marks). Same thing for the next line called “Module=”: you have to set “nvidia” without quotes.
6) Save, close and reboot.
7) At this point you should have a working Bumblebee (that is Optimus). To start your applications with the nVidia card, run them with “optirun softwarename“. For example, “optirun firefox”. If you want to do another test, run the “glxspheres” command for about 30 seconds, with and without optirun, then compare the output values on the terminal (they’ll be higher for the nVidia card, of course).
I will publicly thank you (with a link, if you want!) and you'll have contributed to get this website rid of advertising.
Thanks. Worked great whit ubuntu 12.10 for me but i actualy cudn’t get it to work under 12.04.
Hmm that’s strange. Maybe your 12.04 installation wasn’t clean enough?
However I’m glad it worked on 12.10 anyway :)
So does Ubuntu not automatically switch between the two? Or in another words, do I have to manually choose which graphics card to run?
That’s correct. Right now, whenever you need extra power, you have to manually use the “optirun” command.
I’m working on a software to provide a solution to this problem, but I can’t make any promises.
So… It’s currently impossible to have KDE or any environment accelerated by the nVidia card whenever needed? That sucks.
Yeah. But if we’re lucky, we’ll hopefully get an updated nvidia driver for linux with optimus support: http://www.phoronix.com/scan.php?page=news_item&px=MTE3MzY
… sooner or later …
Do you have nomodeset in your kernel line? Because I can’t boot 12.10 without it and then it makes it impossible to recover from suspend or screen off.
Thanks
Nope, there is no nomodeset. You could try using a different kernel version from 3.5.x series (take it from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/ )
However, I’m currently on 12.10 with kernel 3.5.2 and it works fine. I had a problem with a GRUB update some days ago: can you try updating all your packages and then re-running “sudo grub-install /dev/sda; sudo update-grub” ?
In addition, try upgrading your BIOS to version 211!
http://support.asus.com/Download.aspx?SLanguage=en&m=UX32VD&p=3&s=411
Thanks a lot! Works like a charm on my UX32VD with Kubuntu 12.04.1 64 bit running on the SSD.
I think the special step 3 for 12.10 is not needed any more !
That’s right, thanks!
Hi.
I tried this instructions but after the last reboot I got a black screen I have to enable nomodeset jusy to get a large trace but no good information I think. I even upgrade my bios to 213 and still nothing.
Strange. Try with a newer kernel! Some people have problems, some don’t. I don’t know what’s the difference.
By the way, when you get the black screen, a temporary fix could be suspending the notebook (Fn+F1) and then resuming.
Hi, Is really necessary have BIOS 211? I have 206 and Bumblebee 3.0 working fine, but few days ago i reinstall ubuntu 12.10, kernel 3.8.0 and install Bumblebee 3.1. Since it appears that the bumblebee does not work. Consumption is 11W and the fan is still spinning.
Hi everybody,
after performing the instructions in this guide could I be able to CUDA programming or I would have other troubles? I have a zenbook UX32VD with a GeForce GT 620 M.
Thanks for your replies :-)
What’s Taking place i am new to this, I stumbled upon this I’ve found It positively useful and it has aided me out loads.
I hope to give a contribution & aid different users like its
helped me. Great job.
I have installed Bumblebee, and when I have rebooted laptop and got a black screen, so I set grub in the “nomodeset” instead of “splash”. Bumblebee seems to work, but now I have the mouse pointer that “pulses” and disappears when it is moved. How could I solve this problem? It’s annoying!!!
This link could help people, it is usually updated regularly:
https://help.ubuntu.com/community/AsusZenbookPrime
Hi there, You’ve done a great job. I’ll certainly digg
it and personally recommend to my friends. I am sure they’ll be benefited from this web site.
Hi, April 2013:
Step 4:
No need to change the Module= line, as it has been removed from the BB project.
Also the KernelDriver= should be “nvidia-current” as the module name has changed.
You don’t genuinely wish to take in something which you are not sure regarding the true effects. Coconut Oil is solid at temperatures below 76 degrees. Saturated animal fats are notoriously linked to obesity, heart disease and cancer.
I’m not sure why but this weblog is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later and see if
the problem still exists.
What a data of un-ambiguity and preserveness of precious knowledge regarding unexpected feelings.