1. 修改/etc/apt/sources.list, 使用如下源:
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib main# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib maindeb http://mirrors.163.com/debian/ wheezy maindeb-src http://mirrors.163.com/debian/ wheezy maindeb http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free deb-src http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free deb http://security.debian.org/ wheezy/updates main contribdeb-src http://security.debian.org/ wheezy/updates main contrib# wheezy-updates, previously known as 'volatile'deb http://mirrors.163.com/debian/ wheezy-updates main contribdeb-src http://mirrors.163.com/debian/ wheezy-updates main contrib
2. 下载并编译bbswitch
因为bumblebee3.0开始使用bbswitch来进行 'Power Management' ,所以我们必须安装好bbswitch.
执行
git clone https://github.com/Bumblebee-Project/bbswitch.git
进入bbswitch目录,执行
makemake load如果提示 /lib/module/***/build/不存在在话,就需要下载kernel header.
sudo apt-get install linux-headers-$(uname -r)3. 安装bumblebee:
sudo apt-get install bumblebee-nvidia primus执行
lspci | grep VGA看到如下输出:
说明独显已成功关闭。