Debian wheezy的安装以及bumblebee的安装

安装debian的方法可以参见网上的U盘安装方法

但是要注意的是,从debian官网上下的镜像只有DVD1和CD1能够直接启动

使用的工具是linux下的unetbootin,或者win下的oltrsol工具


注意,我是通过网络安装的,但是非常耗费时间,后来安装gnome桌面就起码话了一个多小时左右


安装成功后配置输入法

apt-get install fcitx

apt-get install fcitx-pinyin


现在开始安装bumblebee

首先配置源


在/etc/apt/source.list中加上这一行

deb http://mirrors.ustc.edu.cn/debian wheezy-backports main contrib main


然后apt-get update


现在开始安装bumblebee

参考

https://wiki.debian.org/Bumblebee#Installation 



sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -t wheezy-backports bumblebee-nvidia primus primus-libs:i386


注意在安装时的提示中要你配置xorg.conf

不要配置!双显卡用户千万不要配置!


安装完成后把你自己加入到bumblebee用户组中

sudo adduser $USER bumblebee

USER就是你自己的用户名


运行一个例子

optirun glxgears -info

提示

[ERROR]Cannot access secondary GPU - error: Could not load GPU driver

You must edit /etc/bumblebee/bumblebee.conf using your preferred editor as root, and change "KernelDriver=nvidia" to "KernelDriver=nvidia-current", then restart the bumblebee daemon, i.e.

把文件中的改一下就好了,注意不要全部改了

最多改两个地方Driver=nvidia 这个是在文件开始处

然后是上面说的那里

注意不要改下面的目录地址!


 sudo service bumblebeed restart

又出了问题

[....] Restarting bumblebeed: bumblebeedFATAL: Module bbswitch not found.

解决办法

参考

http://askubuntu.com/questions/130917/bumblebee-module-bbswitch-could-not-be-loaded

安照这个网站做,记得把第一个回答从头做到尾,重新装一遍那个模块


重启就好了

可能第一次重启后会出现gnome桌面没有3D效果了,但是没关系,接下来重启一下就好了

再执行

到此,目的就完成了

如果你没有感觉到你的电脑更省电了,那么

参考

https://github.com/Bumblebee-Project/Bumblebee/wiki/Power-Management 


sudo apt-get install acpidump iasl dmidecode

Power Management

A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use. We're using either bbswitch (a module) or vga_switcheroo (kernel module, experimental) to do this in Bumblebee.

bbswitch is packaged in Debian and is automatically installed when choosing to install bumblebee through the repositories.

Since Bumblebee 3.0, this feature is enabled by default, using bbswitch. This allow automatic power management, without any configuration needs. If Power Management doesn't work on your laptop, please go to this Power Management (PM) page and help to improve Bumblebee.





  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值