经过一周时间查阅大量关于 bumblebee/nvidia 的参考资料后,我决定发布这个新帖子。我尝试过的所有方法都无法在我的场景中发挥作用 :-( ... 测试 virtualgl 和 primus、选择不同的配置文件、重建和测试驱动程序 nvidia-current-updates 和 nvidia-331-updates,以及多次安装/卸载 ... 令人沮丧。 :-( :-/
我将不胜感激任何能帮助我解决下面解释的问题的提示、技巧或参考。
HP 笔记本电脑。Pavilion 15 以传统模式运行(通过禁用 secureBoot)安装了 Ubuntu 12.04(不带 win8),带有 bumblebee bumblebee-nvidia virtualgl virtualgl-libs:i386 linux-headers-generic nvidia-331-updates,以及 primus primus-libs:i386
当前状态和结果:
~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
305 frames in 5.0 seconds = 60.888 FPS
301 frames in 5.0 seconds = 60.026 FPS
...
$ optirun -vv glxgears
[ 837.155622] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 837.156380] [INFO]Configured driver: nvidia
[ 837.156787] [DEBUG]optirun version 3.2.1 starting...
[ 837.156840] [DEBUG]Active configuration:
[ 837.156896] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 837.156948] [DEBUG] X display: :8
[ 837.156980] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-331-updates:/usr/lib32/nvidia-331-updates
[ 837.157012] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 837.157042] [DEBUG] Accel/display bridge: virtualgl
[ 837.157077] [DEBUG] VGL Compression: proxy
[ 837.157109] [DEBUG] VGLrun extra options:
[ 837.157145] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 837.164030] [INFO]Response: No - error: X did not start properly
[ 837.164069] [ERROR]Cannot access secondary GPU - error: X did not start properly
[ 837.164085] [DEBUG]Socket closed.
[ 837.164117] [ERROR]Aborting because fallback start is disabled.
[ 837.164131] [DEBUG]Killing all remaining processes.
-
$ lspci | egrep '3D|VGA'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
0a:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
-
$lspci -k
启动后...
0a:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
在“sudo modprobe nvidia_331_updates”之后...
0a:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
Subsystem: Hewlett-Packard Company Device 2166
Kernel driver in use: nvidia
Kernel modules: nvidia_331_updates, nvidia_304, nouveau, nvidiafb
(只需查看从 rev-ff 到 rev-a1 的变化...!!!)
$ jockey-text -l
kmod:nvidia_304 - nvidia_304 (Privativo, Activado, No está en uso)
kmod:nvidia_331 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Libre, Desactivado, No está en uso)
kmod:nvidia_331_updates - nvidia_331_updates (Privativo, Activado, No está en uso)
所有驱动程序均已激活但“未使用”
~$ optirun --status
Bumblebee status: Error (3.2.1): X did not start properly
$ optirun -b none nvidia-settings -c :8
[ 525.940758] [ERROR]Cannot access secondary GPU - error: X did not start properly
[ 525.940890] [ERROR]Aborting because fallback start is disabled.
$ ldd $(which optirun)
linux-vdso.so.1 => (0x00007fffb7bfe000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007facb3bce000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007facb39c6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007facb3605000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007facb33c8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007facb31ab000)
/lib64/ld-linux-x86-64.so.2 (0x00007facb3ed7000)
由于此表单的字符限制问题,我发布了一个外部链接,其中包含以下内容:bumblebee.conf、xorg.conf.nvidia、Xorg.0.log:
http://public.justcloud.com/dra40vv88p.5315941
谢谢关注!谨致问候!;-))
答案1
我知道这不一定能回答您关于大黄蜂的问题,但您说了任何提示或技巧。
如果您没有明确地局限于 12.04,您可以更新到 14.04 并使用该nvidia-prime
软件包,这使得使用 Optimus 硬件变得更加容易。
您确实需要注销/登录才能在 Intel 芯片和 nVidia 芯片之间来回切换,但是当您使用它时,您将在 nVidia 卡上获得整个桌面,并且几乎不需要任何配置。
大黄蜂是一个很好的解决方案,但有时设置起来会很麻烦,而且我在某些游戏中遇到了一些与粒子和其他东西有关的问题。