NVIDIA双显卡

第一步:
代码:
sudo update-pciids #更新显卡信息非常重要,否则可能识别出错
lspci -v | grep -i vga #察看显卡

我的显卡信息如下:
代码:
00:02.0
VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00
[VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev ff) (prog-if ff)


独立显卡驱动有成功的,不过也挺复杂,想想没必要,因为对于这种双显卡的机器,一般集成显卡就很强了,linux下没有大型游戏,顶多就看看电影,足矣,
包括开特效,都没问题,好像独立显卡有些多余,可能是我的cpu稍强一点吧,,但是我以前的上网本还可以看720p的高清电影呢,所以我认为即使处理器差
点也不需要用独立显卡,除非你用显卡实现某些特殊任务,一句话,你电脑能正常使用,可以什么都不管。
如果你非得想管一管,怎么办,有办法,虽然nvidia的optimus不打算支持linux,但是有人解决了
http://bumblebee-project.org/
对于ubuntu,操作很简单

Bumblebee 3.0 “Tumblewed” Nvidia Optimus GPU Switching For Linux has been Released – How to Install Bumblebee 3.0 on Ubuntu
Bumblebee
3.0 Nvidia Optimus GPU Switching For Linux has been Released on January
19, 2012. The Bumblebee Project proudly presents version 3.0 of
Bumblebee, a project aimed to support NVIDIA Optimus technology under
Linux

Actually, Nvidia Optimus GPU switching is officially only
supported on Windows 7, but the Team Bumblebee Project also provide for
Linux too. Great job Bumblebee Project

Nvidia Optimus technology
is available for notebooks or laptops that are used to increasebattery
life by switching OFF dedicated GPU when it’s not necessary and then
switch ON again when needed. When a dedicated GPU from integrated
graphics chip that is used. Nvidia Optimus

Here it is the release higligth of Bumblebee 3.0 :

acpi_call has been replaced with bbswitch and vga_switcheroo
Nouveau support for the Ubuntu PPA package
Automatic power management which also survives suspend
Improved error detection and reporting
Better system integration
“optirun –status” will now show the current status of Bumblebee and the secondary GPU on your system
Xorg configuration greatly simplified, provided defaults usually work out of the box.
Server / client re-written in C which provides increased performance and reliability
Automatic power management which also survives suspend
Improved error detection and reporting
Better system integration
Switch to Upstart startup mechanism
You can found Complete changelog of Bumblebee 3.0 here

How to install Bumblebee 3.0 “Tumbleweed” on Ubuntu 11.10 Oneiric Ocelot

To install Bumblebee 3.0 “Tumbleweed” on ubuntu 11.10 see follow guide below:

Open terminal and add ppa Bumbleebe ”Tumbleweed”, then install
第二步:注意要一行一行复制粘贴
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee

You may also want to use newer drivers (particularly if having recent hardware), then run this before installing Bumblebee:
第三步:
sudo apt-get purge nvidia-current
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

After installation, allow yourself to use Bumblebee (replace $USER by your username):
第四步
sudo usermod -a -G bumblebee $USER
第五步:重启
Then, reboot your ubuntu.

To see if it works, run during around 30s:

glxspheres

Then, run it with optirun, and compare:

optirun glxspheres

Be aware that as Bumblebee is using low-level hardware informations, it is impossible to run it in a VM.

If you want to run 32-bit apps in Oneiric, install:

sudo apt-get install virtualgl-libs:i386 libgl1-mesa-glx:i386 libc6:i386

To report issues, please read http://wiki.Bumblebee-Project.org/Reporting-Issues

To install Bumblebee 3.0 on Arch Linux follow links below:

AUR package: http://aur.archlinux.org/packages.php?ID=49469
Instructions in the ArchWiki: https://wiki.archlinux.org/index.php/Bumblebee

结果:
支持nvidia的开源驱动和官方驱动,不过最好按照上面网址中说的做。
测试一下显卡
代码:
glxspheres #没开独显

代码:
optirun glxspheres #开独显

代码:
optirun firefox #双显卡开firefox,不需要

NVIDIA双显卡的更多相关文章

  1. 使用 Bumblebee 控制 NVIDIA 双显卡

    简介 Nvidia的双显卡切换技术叫Optimus(擎天柱),可惜只能在win7.vista下实现.Linux下没有对应的技术,当然苹果也没有.这导致独立显卡一直在启用,显卡发热升温,风扇狂转,却没有 ...

  2. Archlinux 下Intel + NVIDIA 双显卡3D 游戏配置(dota2@steam)

    下午打了几场dota2 感觉流畅度还算非常不错的,写点东西记录一下.用Archlinux 的一般来说都会用搜索引擎,所以仅仅说下须要注意的地方就可以. 1. steam 自带的OpenGL 库是过时的 ...

  3. 【转】[Intel/Nvidia]Ubuntu 16.04 LTS Intel/Nvidia双显卡切换

    1.在Unity中搜索 "Additional Drivers" 2.打开并选择以下选项 3.打开终端并输入 sudo apt-get install nvidia-361 4.安 ...

  4. Ubuntu 14.04(64位)+GTX970+CUDA8.0+Tensorflow配置 (双显卡NVIDIA+Intel集成显卡) ------本内容是长时间的积累,有时间再详细整理

    (后面内容是本人初次玩GPU时,遇到很多坑的问题总结及尝试解决办法.由于买独立的GPU安装会涉及到设备的兼容问题,这里建议还是购买GPU一体机(比如https://item.jd.com/396477 ...

  5. Linux学习心得之 双显卡、中文输入法及svn初步使用

    作者:枫雪庭 出处:http://www.cnblogs.com/FengXueTing-px/ 欢迎转载 Linux学习心得之 双显卡.中文输入法及svn初步使用 1.前言 2.Linux双显卡解决 ...

  6. Ubuntu 13.04 双显卡安装NVIDIA GT 630M驱动

    [日期:2013-05-24]   Linux系统:Ubuntu 13.04 安装 bumblebee 以管理双显卡,下面命令会自动安装NVIDIA显卡驱动 sudo add-apt-reposito ...

  7. Ubuntu16笔记本双显卡安装NVIDIA驱动

    blockquote { direction: ltr; color: rgb(0, 0, 0) } blockquote.western { font-family: "Liberatio ...

  8. 在ubuntu上搭建开发环境5---联想Y470安装 ubuntu,解决双显卡发热等问题

    ubuntu14 没有解决显卡的问题的时候,会有这样的问题 1.耗电特别快.风扇狂转 2.鼠标键头显示有问题,乱闪,根本没法使用,容易卡住找不到鼠标箭头在哪里了:感觉图形界面显示也有问题,不稳定 解决 ...

  9. Centos7下Intel与AMD双显卡驱动的安装

      前2天,在Nvidia单显卡上成功安装上了NVIdia的驱动,一时兴起,拿出另外的一个HP笔记本也准备装上驱动,悲催的是HP的显卡是AMD的,更加.更加悲催的是还是Intel+AMD的双显卡.网络 ...

随机推荐

  1. Flutter移动电商实战 --(38)路由_Fluro中Handler编写方法

    在main.dart中初始化Fluro 编写handler 在lib下新建routers文件夹,表示里面要很多路由相关的文件 我们声明一个Handler,在里面handlerFunc固定的两个参数 重 ...

  2. 例子:Vue 配合 vue-resource 从接口获取数据

    vue-resource 是 vue 的一个与服务器端通信的 HTTP 插件,用来从服务器端请求数据. 结合例子——图片列表来写一下 Vue获取接口数据. html : <div id=&quo ...

  3. python中的cls到底指的是什么

    python中的cls到底指的是什么,与self有什么区别? 2018年07月31日 11:13:09 rs勿忘初心 阅读数:7769   作者:秦风链接:https://www.zhihu.com/ ...

  4. Python在for循环中更改list值的方法

    一.在for循环中直接更改列表中元素的值不会起作用: 如: l = list(range(10)[::2]) print (l) for n in l: n = 0 print (l) 运行结果: [ ...

  5. android java.util.Date和java.util.sql中Date的区别

    1.将java.util.Date 转换为 java.sql.Date java.sql.Date sd; java.util.Date ud; //initialize the ud such as ...

  6. 参照UB单创建DN并过账

    *&---------------------------------------------------------------------* *& Form FRM_DN_POST ...

  7. swift 第八课 CollectView的 添加 footerView 、headerView

    collectView 也是 iOS 很常用的瀑布流展示控件了,虽然使用过很多次,一直没有系统的总结过,尤其是在添加header 和footer view 的时候,很常见,写起来总觉得不是很流畅,这里 ...

  8. Java 代码快速注释 和 取消注释

    注释掉代码: 把要注释的代码选中: 加/* */ 形式的注释  ->  Ctrl+Shift+/ 加 //形式的形式的注释 ->  ctrl+/ 取消代码注释: 把要取消注释的代码选中: ...

  9. lua调用的c函数模块命名规则

    比如lua中调用C函数 socket.core() , 在c中需要这样命名:luaopen_socket_core(); 基本模式是添加luaopen_前缀,讲.变为_

  10. 【ABAP系列】SAP ABAP 高级业务应用程序编程(ABAP)

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[ABAP系列]SAP ABAP 高级业务应用程 ...