Ubuntu双显卡解决方案(Nvidia)
2014-02-25 12:00
465 查看
系统版本 :
Ubuntu12.04
硬件型号:
IntelCorporation Core Processor Integrated Graphics Controller
NVIDIACorporation GF108M [GeForce GT 425M]
简介:
Nvidia使用的双显卡技术叫做SLI,SLI的两款显卡地位并不是对等的,一块显卡作为主卡(Master),另一块则作为副卡(Slave)。其中主卡负责任务指派、渲染、后期合成、输出等运算和控制工作,而副卡只是接收来自主卡的任务进行相关处理,然后将结果传送回主卡。在SLI系统中有两部分不同的数据流向,一部分为主卡将任务指令通过PCB连接卡传送给副卡,副卡将渲染完毕的结果数据返回给主卡合成,另一部分为处理过程中从PCIExpress接口得到的原始数据。
这项技术在LINUX下没有实现,导致独立显卡在没有任务时也持续工作。
Bunblebeeproject提供了一种解决方案:
Bumblebeeaims to provide
support forNVIDIAOptimus laptops for GNU/Linux distributions. Using Bumblebee, youcan use your NVIDIA card for rendering graphics which will bedisplayed using
the Intel card. Bumblebee is officially supported byUbuntu in 13.10 Saucy or newer. However, all releases are supportedby theBumblebee Projectcommunity from Ubuntu version 12.04
up to 13.10.
1、跟新显卡ID
sudoupdate-pciids
lspci| grep -i vga
2、查看功耗
greprate /proc/acpi/battery/BAT0/state
3、安装bumblebee
to open your
terminaland enter the commands below.
Ifon 12.04.3, replace linux-headers-generic withlinux-headers-generic-lts-raring.
sudo add-apt-repository ppa:bumblebee/stable
Enablethe Universe and Multiverse repositories (for bumblebee and nvidiapackages
respectively).
sudo apt-get update
InstallBumblebee using the default proprietary nvidia driver for 12.04 -13.04 :
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
Andfor 13.10 :
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
Reboot
users, if you do not want to use the proprietary nvidiadriver or 32-bit libraries (for example, if you are only interestedin power savings), you can do your custom installation.
Minimalsetup
:sudo apt-get install --no-install-recommends bumblebee
Dependingon your needs, add to this line:
bumblebee-nvidia:proprietary
nvidia driver support (if installed, become default overnouveau)
virtualgl:VirtualGL
as backend
virtualgl-libs-ia32:32bit
support for VirtualGL on 64bit system, necessary to run 32bitapp through optirun
primus:primus/primusrun
as backend (virtualgl Stays default, you need torun optirun -b primus <app>)
primus-libs-ia32:32bit support for primus/primurun on 64bit system,
necessary to run32bit app through optirun
4、测试
Ubuntu12.04
硬件型号:
IntelCorporation Core Processor Integrated Graphics Controller
NVIDIACorporation GF108M [GeForce GT 425M]
简介:
Nvidia使用的双显卡技术叫做SLI,SLI的两款显卡地位并不是对等的,一块显卡作为主卡(Master),另一块则作为副卡(Slave)。其中主卡负责任务指派、渲染、后期合成、输出等运算和控制工作,而副卡只是接收来自主卡的任务进行相关处理,然后将结果传送回主卡。在SLI系统中有两部分不同的数据流向,一部分为主卡将任务指令通过PCB连接卡传送给副卡,副卡将渲染完毕的结果数据返回给主卡合成,另一部分为处理过程中从PCIExpress接口得到的原始数据。
这项技术在LINUX下没有实现,导致独立显卡在没有任务时也持续工作。
Bunblebeeproject提供了一种解决方案:
Bumblebeeaims to provide
support forNVIDIAOptimus laptops for GNU/Linux distributions. Using Bumblebee, youcan use your NVIDIA card for rendering graphics which will bedisplayed using
the Intel card. Bumblebee is officially supported byUbuntu in 13.10 Saucy or newer. However, all releases are supportedby theBumblebee Projectcommunity from Ubuntu version 12.04
up to 13.10.
1、跟新显卡ID
sudoupdate-pciids
lspci| grep -i vga
2、查看功耗
greprate /proc/acpi/battery/BAT0/state
3、安装bumblebee
BasicSetup
Youneedto open your
terminaland enter the commands below.
Ifon 12.04.3, replace linux-headers-generic withlinux-headers-generic-lts-raring.
sudo add-apt-repository ppa:bumblebee/stable
Enablethe Universe and Multiverse repositories (for bumblebee and nvidiapackages
respectively).
sudo apt-get update
InstallBumblebee using the default proprietary nvidia driver for 12.04 -13.04 :
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
Andfor 13.10 :
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
Reboot
AdvancedSetups
Foradvancedusers, if you do not want to use the proprietary nvidiadriver or 32-bit libraries (for example, if you are only interestedin power savings), you can do your custom installation.
Minimalsetup
:sudo apt-get install --no-install-recommends bumblebee
Dependingon your needs, add to this line:
bumblebee-nvidia:proprietary
nvidia driver support (if installed, become default overnouveau)
virtualgl:VirtualGL
as backend
virtualgl-libs-ia32:32bit
support for VirtualGL on 64bit system, necessary to run 32bitapp through optirun
primus:primus/primusrun
as backend (virtualgl Stays default, you need torun optirun -b primus <app>)
primus-libs-ia32:32bit support for primus/primurun on 64bit system,
necessary to run32bit app through optirun
4、测试
lspci| grep -i vga
grep rate /proc/acpi/battery/BAT0/state
glxgears
optirun glxgears
相关文章推荐
- Linux常用命令大全
- C#删除程序自身【总结】
- iostat命令
- 制作双击可以直接运行的jar包
- DOM和SAX的XML解析
- Q8
- OK6410如何判断摄像头是否符合UVC+测试摄像头
- Java堆内存的10个要点
- 可靠、高吞吐架构基础改造
- 基于soap协议和webservice的客户端与服务器通信
- 常用颜色表
- Oracle数据库备份与还原命令
- SmartWeatherAPI_Lite_WebAPI C# 获取key加密
- POJ 2488 简单 DFS
- WINDOWS进程或线程号为什么是4的倍数(PspCidTable的含义)
- Qt创建和使用动态链接库
- NDK编译问题
- SQL Server 触发器
- 20 个超酷的 HTML5/CSS3 应用及源码
- 我的印度IT之都清奈之行