Disable Nvidia in Lenovo Y470 Debian wheezy
1、add the apt-key as 'root' (! don't do this as 'sudo' )
$ su root $ wget -O - http://suwako.nomanga.net/suwako.asc | apt-key add -
2、add the repository to source.list
$ sudo vim /etc/apt/source.list # bumblebee deb http://suwako.nomanga.net/debian sid main contrib deb-src http://suwako.nomanga.net/debian sid main
3、install bumblebee
$ sudo apt-get update $ apt-get install bumblebee bumblebee-nvidia
TIPS:
If you are on amd64 architecture and want to run 32 bit applications (e.g. Wine), you need to install virtualgl-libs:i386 package. Blob users should install libgl1-nvidia-glx:i386 package also. But due to bug #640499 it's not possible now. You can use packages from here as a workaround.
check the official-wiki website:
http://suwako.nomanga.net/
or just enter:
sudo apt-get install virtualgl-libs:i386 libgl1-mesa-glx:i386 libc6:i386
4、add user to bumblebee group
$ adduser $(USER) bumblebee
5、download bbswitch
$ git clone git://github.com/Bumblebee-Project/bbswitch.git -b hack-lenovo $ cd bbsswitch $ sudo mkdir /usr/src/acpi-handle-hack-0.0.1
6、copy the files to acpi-handle-hack-0.0.1
$ sudo cp Makefile acpi-handle-hack.c /usr/src/acpi-handle-hack-0.0.1 $ sudo cp dkms/acpi-handle-hack.conf /usr/src/acpi-handle-hack-0.0.1/dkms.conf $ sudo dkms add acpi-handle-hack/0.0.1 $ sudo dkms build acpi-handle-hack/0.0.1 $ sudo dkms install acpi-handle-hack/0.0.1
7、reboot
$ echo acpi-handle-hack | sudo tee -a /etc/modules
$ sudo update-initramfs -u
$ sudo shutdown -r now
8、check the nvidia driver after reboot
$ lspci | grep -i vga 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation Device 0df6 (rev ff)
the "rev ff" means nvidia was turned off.