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. ArcGIS超级工具SPTOOLS-影像的批量裁剪和批量合并

    1.1  影像批量裁剪 操作视频: https://weibo.com/tv/v/Hw25XqOL4?fid=1034:4376345233306897 影像批量裁剪:一个影像(可以多波段,也可以单波 ...

  2. JAVA的main方法

    在Java中,main()方法是Java应用程序的入口方法,也就是说,程序在运行的时候,第一个执行的方法就是main()方法,这个方法和其他的方 法有很大的不同,比如方法的名字必须是main,方法必须 ...

  3. SQL优化 | sql执行过长的时间,如何优化?

    1.查看sql是否涉及多表的联表或者子查询,如果有,看是否能进行业务拆分,相关字段冗余或者合并成临时表(业务和算法的优化) 2.涉及链表的查询,是否能进行分表查询,单表查询之后的结果进行字段整合 3. ...

  4. 分组背包---P1757 通天之分组背包

    P1757 通天之分组背包 题解 分组背包板子题 k组物品,每组之间相互矛盾,也就是一组里面只能选一个或者不选 分组背包其实和01背包差不多,就是多加一维枚举组数 f[k][j] 前k组中,体积不超过 ...

  5. numpy中flatten学习笔记

    ndarray.flatten() 用法 用于返回一个折叠成一维的数组.该函数只能适用于numpy对象,即array或者mat,普通的list列表是不行的. 例子 # coding=utf-8 fro ...

  6. vue 组件之间通信

    父传子 **父组件代码** <template> <header-box :title-txt="showTitleTxt"></header-box ...

  7. 阶段5 3.微服务项目【学成在线】_day05 消息中间件RabbitMQ_3.RabbitMQ研究-工作原理

    Producer生产者 Consumer:消费者 组成部分说明如下: Broker:消息队列服务进程,此进程包括两个部分:Exchange和Queue. Exchange:消息队列交换机,按一定的规则 ...

  8. 阶段5 3.微服务项目【学成在线】_day03 CMS页面管理开发_07-新增页面-前端-页面完善

    在新增页面加返回按钮 <el-button type="primary" @click="go_back" >返回</el-button> ...

  9. Linux 远程登陆图形界面

    如果我的解决方案帮助到了你,请随手点亮一颗小红心.如有疑问,可在下方评论区处留言. 利用Xmanager,linux启用XDMCP协议(可直接修改配置文件,也可以采用在Xshell中运行gdmconf ...

  10. [转]c3p0学习-JdbcUtil工具类

    原文:https://www.cnblogs.com/jonny-xu/p/6374163.html 一.需要jar包: c3p0-0.9.1.2.jar mysql-connector-java-5 ...