• 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.

      

  • 相关阅读:
    Less学习笔记
    如何在网页启动Windows服务
    让VS2010记住TFS的登陆用户名和密码
    调式WP程序报0x80131500错误的解决办法
    FizzBuzzWhizz是算法题吗?我从设计的角度去解决的。
    基于Roslyn的远程任务平台
    优雅就一个字——设计模式之数据上传接口
    关于反射优化的疑问,单次调用时直接反射要快于委托调用反射?
    用VC++11中编译libthrift项目
    grunt初体验
  • 原文地址:https://www.cnblogs.com/plinx/p/3151874.html
Copyright © 2020-2023  润新知