Optirun glxgears:无法访问辅助 GPU - 错误:[XORG] (EE) 未检测到设备

jaf*_*fan 7 graphics dell nvidia-optimus

我在笔记本 DELL M6600 上安装的 Ubuntu 12.10 上使用 optirun 命令时遇到问题。在 BIOS 中,我启用了 Optimus 技术。我有两个图形:

lspci -vnn | grep '\''[030[02]\]'
Run Code Online (Sandbox Code Playgroud)
  • 英特尔公司第二代核心处理器家族集成图形控制器 [8086:0126](修订版 09)(prog-if 00 [VGA 控制器])
  • NVIDIA Corporation GF104 [Quadro 4000M] [10de:0e3b] (rev a1)(prog-if 00 [VGA 控制器])

我已经安装了 nvidia 驱动程序:

dpkg -l | grep nvidia

ii  boinc-nvidia-cuda                         7.0.27+dfsg-5ubuntu0.12.04.1               amd64        metapackage for CUDA-savvy BOINC client and manager
ii  bumblebee-nvidia                          3.0.1-3~quantalppa2                        amd64        nVidia Optimus support using the proprietary NVIDIA driver
ii  nvidia-common                             1:0.2.71.1                                 amd64        transitional package for ubuntu-drivers-common
ii  nvidia-cuda-doc                           4.2.9-1ubuntu1                             all          NVIDIA CUDA and OpenCL documentation
ii  nvidia-cuda-gdb                           4.2.9-1ubuntu1                             amd64        NVIDIA CUDA GDB
rc  nvidia-current                            304.64-0ubuntu1~quantal~xup1               amd64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-experimental-310                   310.14-0ubuntu1                            amd64        Experimental NVIDIA binary Xorg driver, kernel module and VDPAU library
rc  nvidia-settings                           304.64-0ubuntu1~quantal~xup1               amd64        Tool for configuring the NVIDIA graphics driver
rc  nvidia-settings-experimental-310          310.14-0ubuntu1                            amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-updates                   304.51-0ubuntu2                            amd64        Tool for configuring the NVIDIA graphics driver
Run Code Online (Sandbox Code Playgroud)

当我尝试这个时:

 optirun -vv -debug glxspheres
Run Code Online (Sandbox Code Playgroud)

我有:

[  912.342326] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  912.497379] [DEBUG]optirun version 3.0.1 starting...
[  912.497472] [DEBUG]Active configuration:
[  912.497560] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  912.497600] [DEBUG] X display: ebug
[  912.497660] [DEBUG] LD_LIBRARY_PATH: 
[  912.497694] [DEBUG] Socket path: /var/run/bumblebee.socket
[  912.497724] [DEBUG] VGL Compression: proxy
[  912.734313] [INFO]Response: No - error: [XORG] (EE) No devices detected.

[  912.734376] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[  912.734399] [DEBUG]Socket closed.
[  912.734447] [ERROR]Aborting because fallback start is disabled.
[  912.734477] [DEBUG]Killing all remaining processes.
Run Code Online (Sandbox Code Playgroud)

小智 3

我想我也遇到了同样的问题。当我安装大黄蜂时,它无法识别我的谨慎卡。寻找这个问题,发现Ubuntu使用键nvidia而不是nvidia-current来引用nVidia的驱动程序。

所以试试这个:

备份文件 /etc/bumblebee/bumblebee.conf

  • sudo cp /etc/bumblebee/bumblebee.conf /etc/bumblebee/bumblebee.conf.backup

(例如)

编辑该文件(使用您想要的编辑器,例如 gedit):

  • sudo gedit /etc/bumblebee/bumblebee.conf

转到 部分[driver-nvidia]

在那里,改变值

  • KernelDriver=nvidia-current

  • KernelDriver=nvidia

  • Module=nvidia-current

  • Module=nvidia

保存文件并重新启动。

现在再试一次:

  • optirun -vv -debug glxspheres

如果遇到同样的错误,请恢复配置文件:

  • sudo cp /etc/bumblebee/bumblebee.conf.backup /etc/bumblebee/bumblebee.conf

祝你好运。