我最近升级到了 Ubuntu 15.04。当我运行 时optirun -vv glxinfo
,我得到:
[ 790.194984] [DEBUG] 正在读取文件:/etc/bumblebee/bumblebee.conf
[ 790.195278] [DEBUG]optirun 版本 3.2.1 正在启动...
[ 790.195292] [DEBUG] 活动配置:
[ 790.195299] [DEBUG] bumblebeed 配置文件:/etc/bumblebee/bumblebee.conf
[790.195307] [调试] X 显示::8
[790.195315][调试]LD_LIBRARY_PATH:
[ 790.195323 ] [DEBUG] 套接字路径:/var/run/bumblebee.socket
[ 790.195330] [调试] 加速/显示桥:自动
[ 790.195338] [调试] VGL 压缩:代理
[ 790.195345] [DEBUG] VGLrun 额外选项:
[ 790.195353] [DEBUG] Primus LD 路径:/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 790.195394] [DEBUG]使用自动检测的桥接 primus
[ 790.196751] [INFO]响应:否 - 错误:无法加载 GPU 驱动程序
[ 790.196777] [错误]无法访问辅助 GPU - 错误:无法加载 GPU 驱动程序
[ 790.196793 ] [调试] 套接字已关闭。
[ 790.196815] [错误]由于后备启动已被禁用,因此中止。
[ 790.196831] [DEBUG] 终止所有剩余进程。
这是我的 /etc/bumblebee/bumblebee.conf:
\# Configuration file for Bumblebee. Values should **not** be put between quotes
\#\# Server options. Any change made in this section will need a server restart
\# to take effect.
[bumblebeed]
\# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
\# Should the unused Xorg server be kept running? Set this to true if waiting
\# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
\# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
\# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
\# server exits.
TurnCardOffAtExit=false
\# The default behavior of '-f' option on optirun. If set to "true", '-f' will
\# be ignored.
NoEcoModeOverride=false
\# The Driver used by Bumblebee server. If this value is not set (or empty),
\# auto-detection is performed. The available drivers are nvidia and nouveau
\# (See also the driver-specific sections below)
Driver=
\# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
\#\# Client options. Will take effect on the next optirun executed.
[optirun]
\# Acceleration/ rendering bridge, possible values are auto, virtualgl and
\# primus.
Bridge=auto
\# The method used for VirtualGL to transport frames between X servers.
\# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
\# List of paths which are searched for the primus libGL.so.1 when using
\# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
\# Should the program run under optirun even if Bumblebee server or nvidia card
\# is not available?
AllowFallbackToIGC=false
\# Driver-specific settings are grouped under [driver-NAME]. The sections are
\# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
\# detection resolves to NAME).
\# PMMethod: method to use for saving power by disabling the nvidia card, valid
\# values are: auto - automatically detect which PM method to use
\# bbswitch - new in BB 3, recommended if available
\# switcheroo - vga_switcheroo method, use at your own risk
\# none - disable PM completely
\# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
\#\# 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-304
PMMethod=auto
\# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
\# comma-separated path of the directory containing nvidia_drv.so and the
\# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
\#\# Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
我已经尝试重新安装与 bumblebee 和 nvidia 相关的所有内容。我已经运行了sudo systemctl enable bumblebeed
。
cat /proc/acpi/bbswitch
印刷0000:01:00.0 ON
。
运行 之后optirun glxinfo
,lsmod | grep nvidia
我没有得到任何输出,但 之后sudo modprobe nvidia-304
,lsmod
再次找到了 nvidia 模块。
我有一台联想 Thinkpad T530,配备 Nvidia NVS 5400 GPU 和另一个集成英特尔芯片。
我希望我提供的信息足够帮助别人解决我的问题。提前致谢。