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

      

  • 相关阅读:
    根据外键名找到主表和关联表的相关列
    MS SQL 查询未提交的事务和执行的SQL语句
    Ionic 的常见问题
    从零开始在linux上搭建web服务器
    bat 批量提取指定目录下的文件
    tornado 协程 和 多线程
    HTML认识二
    HTML标签认识一
    HTML认识一
    使用Mysql执行SQL语句基础操作
  • 原文地址:https://www.cnblogs.com/plinx/p/3151874.html
Copyright © 2020-2023  润新知