我如何尝试安装大黄蜂:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
使用此脚本,我得到关于我的图形/xorg设置的以下输出。 https://gist.github.com/NullVoxPopuli/5724159
输出:
Graphics Card(s):
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 730M] (rev a1)
Connected Monitors:
[ 7.244] (II) intel(0): Output LVDS1 connected
[ 7.244] (II) intel(0): Output HDMI1 connected
Current Video Driver:
drm_kms_helper 49394 1 i915
drm 286313 4 i915,drm_kms_helper
Video Output Locations:
/dev/video0
/dev/fb0
/dev/dri/card0
/dev/dri/controlD64
Grub boot command:
BOOT_IMAGE=/boot/vmlinuz-3.8.0-23-generic root=UUID=465876a7-4c66-4160-822f-9c1d5cd30037 ro quiet splash vt.handoff=7
modprobe.d drivers:
/etc/modprobe.d/
/etc/modprobe.d/blacklist-modem.conf
/etc/modprobe.d/bumblebee.conf
/etc/modprobe.d/blacklist-oss.conf
/etc/modprobe.d/nvidia-304_hybrid.conf
/etc/modprobe.d/alsa-base.conf
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/mlx4.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-watchdog.conf
/etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/vmwgfx-fbdev.conf
/etc/modprobe.d/dkms.conf
/etc/modprobe.d/blacklist-ath_pci.conf
Do we have a xorg.conf file?
ls: cannot access /etc/X11/xorg.conf: No such file or directory
glxinfo:
/home/me/scripts/which-graphics-driver: line 25: glxinfo: command not found
Drivers loaded by Xorg:
[ 5.954] (II) LoadModule: "glx"
[ 5.958] (II) LoadModule: "intel"
[ 5.961] (II) LoadModule: "vesa"
[ 5.962] (II) LoadModule: "modesetting"
[ 5.963] (II) LoadModule: "fbdev"
[ 5.966] (II) LoadModule: "fbdevhw"
[ 7.244] (II) LoadModule: "dri2"
[ 7.523] (II) LoadModule: "evdev"
[ 7.534] (II) LoadModule: "synaptics"
我正在使用 Ubuntu 13.04
更新(评论摘要):
optirun app-name
产生了一个错误,所以我安装了它建议的包(mesa-utils
我想是的?)并尝试optirun firefox
并得到这个错误:
[ 2971.281588] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver [ 2971.281649] [ERROR]Aborting because fallback start is disabled.1
接下来,检查文件/etc/bumblebee/xorg.conf.nvidia
,看看它是否有正确的 BusID。它没有,所以我把它从 改为PCI:01:00:0
..PCI:01:00.0
但还是出现了同样的错误。 :-(如果有人好奇的话,
这是我当前的文件:/etc/bumblebee/xorg.conf.nvidia
http://pastebin.com/HreaubsF
有人建议我glxinfo
从终端运行,但是有大量的输出,我不知道如何读取。
截至 2013 年 6 月 12 日美国东部时间晚上 9 点 48 分,我在尝试使用 optirun 时仍然遇到此错误:
$ optirun firefox
[111951.191738] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[111951.191804] [ERROR]Aborting because fallback start is disabled.