ubuntu16.04安装bumblebee

由于ubuntu的显卡驱动更新到nvidia384,所以系统源里面的bumblebee已经没办法使用了,因为不支持384这个版本的显卡。所以,要添加测试源。

第一步:安装源里面的显卡驱动

很简单,只要点进去安装就好,安装后重启(一般不会出错,出错你很快会发现)
这里写图片描述
安装成功后,把显卡切换为intel模式
这里写图片描述

第二步:添加源

sudo add-apt-repository ppa:bumblebee/testing
sudo apt update
sudo apt install bumblebee-nvidia bumblebee primus

第三步:修改配置文件

第一处

# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia

第二处(全部的nvidia-current改成你使用的版本)

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-384:/usr/lib32/nvidia-384
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-384/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

第四步:(需要重启后才可以检查)检查下

optirun --status

结果是下面的,基本是没问题了

Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

或者使用(报错就是可能配置错了,或者bug吧)

optirun glxspheres64
  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值