Bumblebee 套接字路径/var/run/bumblebee未启动, 套接字不正确

分享于 

4分钟阅读

ubuntu

  繁體

问题

bumblebee解决方案项目,但当尝试使用nvidia显卡(例如使用optirun firefox )运行内容时,得到以下消息:


[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.


[ERROR]Could not connect to bumblebee daemon - is it running?



由于nvidia卡工作不正常,因此某些使用X11系统进行图形处理和绘图的软件(如Scilab)也无法正常工作。


Jul 5 16:10:51 humannoise-W251ESQ-W270ESQ bumblebeed[980]: Module 'nvidia' is not found. 


Jul 5 16:10:51 humannoise-W251ESQ-W270ESQ kernel: [ 17.943272] init: bumblebeed main process (980) terminated with status 1 


Jul 5 16:10:51 humannoise-W251ESQ-W270ESQ kernel: [ 17.943288] init: bumblebeed main process ended, respawning 


Jul 5 16:10:51 humannoise-W251ESQ-W270ESQ bumblebeed[1026]: Module 'nvidia' is not found.



lspci -nn | grep '[030[02]]:' 返回:


00:02.0 VGA compatible controller [0300]: Intel Corporation Ivy Bridge Graphics Controller [8086:0166] (rev 09)


01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0de9] (rev a1)



dpkg -l | grep '^ii' | grep nvidia 我得到:


ii bumblebee-nvidia 3.0-2~preciseppa1 nVidia Optimus support using the proprietary NVIDIA driver


ii nvidia-current 302.17-0ubuntu1~precise~xup1 NVIDIA binary Xorg driver, kernel module and VDPAU library


ii nvidia-current-updates 295.49-0ubuntu0.1 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



完全重新安装后,包括删除以前的nvidia驱动,lsmod | grep -E 'nvidia|nouveau' 返回:


nvidia 10888310 46



dmesg |grep -C3 -E'nouveau NVRM'返回的内容如下所示:


[ 1875.607283] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16


[ 1875.607289] nvidia 0000:01:00.0: setting latency timer to 64


[ 1875.607293] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none


[ 1875.607363] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012


[ 1884.830035] nvidia 0000:01:00.0: PCI INT A disabled


[ 1884.832058] bbswitch: disabling discrete graphics


[ 1884.832960] bbswitch: Result of Optimus _DSM call: 09000019




答案1

这意味着Nvidia内核驱动程序没有正确安装,确保安装linux-headers-generic软件包并重新安装nvidia软件包:


sudo apt-get install linux-headers-generic


sudo apt-get install --reinstall nvidia-current




grep bumblebeed /var/log/syslog




STA  soc  socket  路径  Daemon  英伟达  
相关文章