一共装四个区
/boot ext3 256MB 系统引导分区
/ ext4 30G 装系统的分区
/home ext4 130G 我们的存的一些资料
swap swap 2G 交换分区 做虚拟内存用的
对于双显卡驱动 的安装 就一个命令
kwarph@xuanyuan-soft03:~$ sudo apt-get install bumblebee bumblebee-nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bbswitch-dkms libturbojpeg nvidia-current nvidia-settings virtualgl
virtualgl-libs
The following NEW packages will be installed:
bbswitch-dkms bumblebee bumblebee-nvidia libturbojpeg nvidia-current
nvidia-settings virtualgl virtualgl-libs
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 40.7 MB of archives.
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下面是介绍
Debian Bumblebee Debian repository
Last updated: 2012-09-21 18:45+0200
This repository contains Bumblebee and bbswitch packages for the i386 and amd64 architectures along with source packages. Also here you can find VirtualGL packages, which are Bumblebee dependency.
Multiarch note
All packages are built with multiarch support and require multiarch enabled distribution: Wheezy or Sid.
A few other notes
debumblebee users should uninstall it first. Also bumblebee package installation aborts, if it finds existing debumblebee install.
To install bumblebee-nvidia package you need Debian non-free repository enabled, as it depends on nvidia packages.
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.
It's better to use Wine from Liquorix repository. More details are at relevant forum thread.
Installation
Add archive key to apt keyring. Run as root:
wget -O - http://suwako.nomanga.net/suwako.asc | apt-key add -
Update your sources.list configuration. Either add the following to /etc/apt/sources.list or to new file at /etc/apt/sources.list.d/ directory:
deb http://suwako.nomanga.net/debian sid main contrib
deb-src http://suwako.nomanga.net/debian sid main
apt-get update
apt-get install bumblebee bumblebee-nvidia
Add yourself to bumblebee group. Run as root, replace $USER with your username:
adduser $USER bumblebee
Reboot.
If you did all right and your hardware is supported by nvidia/nouveau and bbswitch you should be able to run programs with optirun. For example:
optirun glxgears -info
Bug reports
If you have questions about packaging ask me (z0rc) on #bumblebee IRC channel or mail to z0rc3r@gmail.com. All other questions, like optirun isn't working should be reported to Bumblebee.