bumblebee::无法访问辅助 GPU - 错误:无法加载 GPU 驱动程序

use*_*413 5 nvidia bumblebee

编辑

截至今天,这已由最新的 nvidia-current 更新修复:)


直到上周,我才设置了一个工作 bumblee/nvidia。

现在,当我做

optirun -vv firefox
Run Code Online (Sandbox Code Playgroud)

迎接我的是:

[ 6174.504548] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 6174.632794] [DEBUG]optirun version 3.0.1 starting...
[ 6174.632850] [DEBUG]Active configuration:
[ 6174.632861] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 6174.632872] [DEBUG] X display: :8
[ 6174.632883] [DEBUG] LD_LIBRARY_PATH: 
[ 6174.632893] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 6174.632902] [DEBUG] VGL Compression: proxy
[ 6174.737261] [INFO]Response: No - error: Could not load GPU driver

[ 6174.737309] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 6174.737329] [DEBUG]Socket closed.
[ 6174.737365] [ERROR]Aborting because fallback start is disabled.
[ 6174.737379] [DEBUG]Killing all remaining processes.


dpkg -l | grep nvidia
ii  bumblebee-nvidia                       3.0.1-1~preciseppa1                     nVidia Optimus support using the proprietary NVIDIA driver
ii  nvidia-common                          1:0.2.44                                Find obsolete NVIDIA drivers
ii  nvidia-current                         304.37-0ubuntu1~precise~xup1            NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-current-updates                 295.49-0ubuntu0.2                       NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-settings                        302.17-0ubuntu1~precise~xup3            Tool of configuring the NVIDIA graphics driver
ii  nvidia-settings-updates                295.33-0ubuntu1                         Tool of configuring the NVIDIA graphics driver
Run Code Online (Sandbox Code Playgroud)

我看到了一些关于删除效果的评论

10-nvidia-current-thinkpad-t420s.conf
Run Code Online (Sandbox Code Playgroud)

但做

ls /usr/share/X11/xorg.conf.d/
Run Code Online (Sandbox Code Playgroud)

产量:

10-evdev.conf         11-evdev-trackpoint.conf  50-vmmouse.conf  51-synaptics-quirks.conf
11-evdev-quirks.conf  50-synaptics.conf         50-wacom.conf
Run Code Online (Sandbox Code Playgroud)

有没有办法来解决这个问题?

小智 6

这是从 github 用户 ArchangeGabriel 复制的:

对于您当前的问题,事实是 nvidia 内核模块和驱动程序在这个新的 304.22 版本中已在 Ubuntu 上更改了名称。所以你必须编辑(使用 sudo 权限)/etc/bumblebee/bumblebee.conf并做以下两件事:

  1. 替换Driver=Driver=nvidia
  2. 替换KernelDriver=nvidia-currentKernelDriver=nvidia

然后重新启动,你应该没问题optirun

//结束引用。

所以建议编辑的答案KernelDriver是正确的,但由于名称更改需要 1 个额外步骤。很可能您可能nouveau在系统上的某个地方闲逛,nvidiabumblebee进入自动检测时它会覆盖驱动程序(如果Driver=留空,它会尝试自动检测并nouveau赢得您真正想要的位置nvidia)。

我和你有同样的问题,尝试了这个更完整的答案,现在bumblebee/optirun工作得很好。希望它也对你有用。


And*_*ato 3

同样的问题。重命名驱动程序名称解决了问题,但是

  • 我无法访问外部显示器(我可以在上次更新之前访问)。我在“显示”系统设置中没有看到它们
  • 运行 optirun -vv nvidia-settings 会出现错误,提示我当前没有使用 nvidia X 驱动程序,并且我应该运行 nvidia-xconfig。-vv 不显示任何错误,下面报告完整日志

    optirun -vv nvidia-settings
    [  674.856470] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [  674.856716] [INFO]Configured driver: nvidia
    [  675.044903] [DEBUG]optirun version 3.0.1 starting...
    [  675.044922] [DEBUG]Active configuration:
    [  675.044925] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [  675.044928] [DEBUG] X display: :8
    [  675.044930] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
    [  675.044933] [DEBUG] Socket path: /var/run/bumblebee.socket
    [  675.044936] [DEBUG] VGL Compression: proxy
    [  677.053609] [INFO]Response: Yes. X is active.
    
    [  677.053623] [INFO]Running application through vglrun.
    [  677.053851] [DEBUG]Process vglrun started, PID 4605.
    
    Run Code Online (Sandbox Code Playgroud)

* 更新 *

解决安装 nvidia-current-updates