给没成功的兄弟参考。dell inspiron-3420双显卡安装ubuntu,使用bumblebee控制独显
发表于 : 2013-03-24 11:14
以前在ubuntu上使用bumblebee总是失败,终端输入lspci,显示3D controller: NVIDIA Corporation Device 1140 (rev a1),独显关不掉,光发热不干活,本本没一会儿就没电了。在xubuntu或者kubuntu等衍生版本上就能安装成功。
现在ubuntukylin bate1中文定制版发布了,马上装上体验一番,顺便看看能不能搞定bumblebee控制双显卡。这次倒是成功关闭独显了,终端输入lspci,显示3D controller: NVIDIA Corporation Device 1140 (rev ff)。不过输入optirun glxspheres进行3D测试时出问题了:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ERROR]Aborting because fallback start is disabled.
无法访问第二GPU,没有检测到设备。百度谷歌了一番,查到的方法都试了一遍,哪怕是相似的错误提示也试着按他的方法做了,还不行,重启N遍了!!ArchWiki给出的解决方案是:
In this case, you will need to move the file /etc/X11/xorg.conf.d/20-intel.conf to somewhere else. Restart the bumblebeed daemon, and it should work.
It could be also necessary to comment the driver line in /etc/X11/xorg.conf.d/10-monitor.conf.
If you're using the nouveau driver you could try switching to the nVidia driver.
You might need to define the nvidia card somewhere (e.g. file /etc/X11/xorg.conf.d), and remember to change the BusID using lspci.
擦,上面说的这几个文件都没有让我怎么弄。。。
最后试着改了一下/etc/bumblebee/xorg.conf.nvidia。成功了。
终端输入:sudo gedit /etc/bumblebee/xorg.conf.nvidia
将原来的:
Section "Device"
Identifier "Device1"
VendorName "NVIDIA Corporation"
改为
Section "Device"
Identifier "nvidiagpu1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:02:00:0"
最后加一句总线地址: BusID "PCI:02:00:0"
保存。终端输入:sudo reboot
重启后,终端输入:optirun glxspheres。如下图
可以看出,已经正确识别出我的显卡:GeForce GT 620M
现在ubuntukylin bate1中文定制版发布了,马上装上体验一番,顺便看看能不能搞定bumblebee控制双显卡。这次倒是成功关闭独显了,终端输入lspci,显示3D controller: NVIDIA Corporation Device 1140 (rev ff)。不过输入optirun glxspheres进行3D测试时出问题了:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ERROR]Aborting because fallback start is disabled.
无法访问第二GPU,没有检测到设备。百度谷歌了一番,查到的方法都试了一遍,哪怕是相似的错误提示也试着按他的方法做了,还不行,重启N遍了!!ArchWiki给出的解决方案是:
In this case, you will need to move the file /etc/X11/xorg.conf.d/20-intel.conf to somewhere else. Restart the bumblebeed daemon, and it should work.
It could be also necessary to comment the driver line in /etc/X11/xorg.conf.d/10-monitor.conf.
If you're using the nouveau driver you could try switching to the nVidia driver.
You might need to define the nvidia card somewhere (e.g. file /etc/X11/xorg.conf.d), and remember to change the BusID using lspci.
擦,上面说的这几个文件都没有让我怎么弄。。。
最后试着改了一下/etc/bumblebee/xorg.conf.nvidia。成功了。
终端输入:sudo gedit /etc/bumblebee/xorg.conf.nvidia
将原来的:
Section "Device"
Identifier "Device1"
VendorName "NVIDIA Corporation"
改为
Section "Device"
Identifier "nvidiagpu1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:02:00:0"
最后加一句总线地址: BusID "PCI:02:00:0"
保存。终端输入:sudo reboot
重启后,终端输入:optirun glxspheres。如下图
可以看出,已经正确识别出我的显卡:GeForce GT 620M