每次我暂停笔记本电脑时,我都无法执行 optirun/primusrun,因为它无法激活 gpu。
[ 8597.514526] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 8597.515142] [INFO]Configured driver: nvidia
[ 8597.515421] [DEBUG]optirun version 3.2.1 starting...
[ 8597.515456] [DEBUG]Active configuration:
[ 8597.515474] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 8597.515496] [DEBUG] X display: :8
[ 8597.515506] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[ 8597.515517] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 8597.515527] [DEBUG] Accel/display bridge: auto
[ 8597.515536] [DEBUG] VGL Compression: proxy
[ 8597.515546] [DEBUG] VGLrun extra options:
[ 8597.515555] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 8597.515639] [DEBUG]Using auto-detected bridge virtualgl
[ 8597.575176] [INFO]Response: No - error: XORG NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 8597.575194] [ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 8597.575202] [DEBUG]Socket closed.
[ 8597.575217] [WARN]The Bumblebee server was not available.
我尝试了一些 pm-suspend 的怪癖,但没有什么效果。有什么想法我可以做什么吗?
答案1
今天升级内核后我的笔记本电脑也出现了同样的情况。Debian 和 bumblebee。
就我而言,模块bbswitch
丢失了,所以我曾经dkms
为实际的内核版本构建它。
检查内核版本:
uname -a (例如3.12.9)安装 bbswitch 以准备使用 dkms:
sudo apt-get install dkms-bbswitch(例如 0.8 版本)(我不知道是否需要内核头文件。如果需要请安装)
构建/安装 bbswitch:
sudo dkms install -v 0.8 bbswitch -k 3.12.9如果有必要,重新启动 bumblebeed:
sudo service bumblebeed restart