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.

  

转载于:https://www.cnblogs.com/plinx/p/3151874.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值