~/Downloads/FTL$ optirun -vv ./FTL
[ 3180.543769] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3180.544875] [DEBUG]optirun version 3.2.1 starting...
[ 3180.544894] [DEBUG]Active configuration:
[ 3180.544904] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 3180.544931] [DEBUG] X display: :8
[ 3180.544966] [DEBUG] LD_LIBRARY_PATH:
[ 3180.545003] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3180.545042] [DEBUG] Accel/display bridge: auto
[ 3180.545077] [DEBUG] VGL Compression: proxy
[ 3180.545111] [DEBUG] VGLrun extra options:
[ 3180.545144] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 3180.545282] [DEBUG]Using auto-detected bridge primus
[ 3181.061842] [INFO]Response: No - error: Could not load GPU driver
[ 3181.061861] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 3181.061867] [DEBUG]Socket closed.
[ 3181.061887] [ERROR]Aborting because fallback start is disabled.
[ 3181.061891] [DEBUG]Killing all remaining processes.
Bumblebee 无法找到库路径这一事实对我来说很奇怪,因为我最近才更新了 bumblebee.conf,如下所示:
## 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
我的笔记本电脑使用的是 Gefore GT 525M。所有模块似乎都已安装到位:
~$ find /lib/modules/$(uname -r) -name 'nvidia*.ko*'
/lib/modules/3.13.0-24-generic/updates/dkms/nvidia_331.ko
/lib/modules/3.13.0-24-generic/kernel/drivers/video/nvidia/nvidiafb.ko
~$ find /usr/ -name 'nvidia_drv.so'
/usr/lib/nvidia-331/xorg/nvidia_drv.so
find: `/usr/share/doc/google-chrome-stable': Permission denied
我刚刚更新了 Bumblebee。为什么我无法使用 Bumblebee 在我的显卡上运行程序?
答案1
删除 bumblebee 和 libvdpau-va-gl1
sudo apt-get purge bumblebee*
sudo apt-get purge libvdpau-va-gl1
安装 nvidia-prime 和 nVida 驱动器和 nvidia-settings 319
sudo apt-get install nvidia-319 nvidia-settings-319 nvidia-prime
并安装主要指示器
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install prime-indicator
重启。
http://www.webupd8.org/2013/12/more-work-to-support-nvidia-optimus.html