I got the GPU running on Lenovo Y480P on Ubuntu 12.04/12.10. It has Nvidia GT640M LE. There is a bug in ACPI module. It detects the wrong handle. Use these steps:
git clone git://github.com/Bumblebee-Project/bbswitch.git -b hack-lenovo
cd bbswitch
sudo mkdir /usr/src/acpi-handle-hack-0.0.2
sudo cp Makefile acpi-handle-hack.c /usr/src/acpi-handle-hack-0.0.2
sudo cp dkms/acpi-handle-hack.conf /usr/src/acpi-handle-hack-0.0.2/dkms.conf
sudo dkms install acpi-handle-hack/0.0.2
Reference for the above: https://github.com/Bumblebee-Project/bb ... llite-p870
The link says its for Lenovo Y470P but it works for Y480P as well. After this, install bumblebee and the nvidia-driver from ubuntu-x-swat/x-updates as follows:
sudo add-apt-repository ppa:bumblebee/stable
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic
echo acpi-handle-hack | sudo tee -a /etc/modules
sudo update-initramfs -u
And reboot.
Reference: https://wiki.ubuntu.com/Bumblebee
You can check if the GPU is running by executing each of the following commands for 3 seconds and observing the frame rate:
$ glxgears
$ optirun glxgears
Hope this helps you.
.