我最近在具有集成显卡和具有Optimus技术的NVidia GPU的Intel Ivy Bridge中安装了Ubuntu 12.04,但是我无法对其进行正常管理。我已经通过了Bumblebee项目的解决方案,但是当尝试使用nvidia卡(例如使用optirun firefox
)运行任何东西时,iam收到以下消息:
[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)也无法正常工作。
我的BIOS没有关于显卡的选项,并且返回了守护程序日志:
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
一些程序,例如Scilab,现在在optirun(例如>optirun scilab
)调用下运行良好。