Bumblebee-Project/Bumblebee — Issue #176: Optirun fails on Thinkpad W520, 64-bit Ubuntu 11.10
Author: jbeard4
Created: 2011-12-16 01:54:33+00:00
State: open

Hi, I've tried installing bumblebee on Ubuntu 11.10 from ppa. After following the instructions and troubleshooting steps, optirun fails to start. Here is my system's information:

Distro: 64-bit Ubuntu 11.10
Kernel: Linux jacob-ThinkPad-W520 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Manufacturer and model:
baseboard-product-name: 4270CTO
baseboard-version : Not Available
system-manufacturer : LENOVO
system-product-name : 4270CTO
system-version : ThinkPad W520

Bumblebee version: 2.4.1-1~oneiricppa1

Issue:
Try to run optirun glxspheres. The command waits for a minute, then produces the following output:

```
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log
==================================================
```

Here is the relevant output from /var/log/bumblebee.log:

```
[ 359.03] Bumblebee log started at Thu, 15 Dec 2011 20:23:05 -0500
[ 359.04] Creating fifo /var/run/bumblebee.fifo for communication...
[ 359.05] Making FIFO writable for members of group bumblebee
[ 359.05] Power management is disabled, not disabling card on start.
[ 359.05] Waiting for orders
[ 510.78] Checking for X server availability before stopping it...
[ 510.78] The X server has not started or the pidfile is invalid.
[ 510.78] X is stopped.
[ 510.79] Power management is disabled, not unloading driver
[ 510.79] Power management is disabled, card already enabled.
[ 510.79] Bumblebee log ended on Thu, 15 Dec 2011 20:25:37 -0500
[ 19.96] Bumblebee log started at Thu, 15 Dec 2011 20:27:19 -0500
[ 19.97] Creating fifo /var/run/bumblebee.fifo for communication...
[ 20.02] Making FIFO writable for members of group bumblebee
[ 20.03] Power management is disabled, not disabling card on start.
[ 20.04] Waiting for orders
[ 129.50] Optirun start request received.
[ 129.51] Checking for X server availability before starting X...
[ 129.52] X server is not started
[ 129.53] Power management is disabled, only loading driver
[ 131.73] rmmod /lib/modules/3.0.0-14-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko
[ 131.73] rmmod /lib/modules/3.0.0-14-generic/kernel/drivers/gpu/drm/ttm/ttm.ko
[ 131.73] rmmod /lib/modules/3.0.0-14-generic/kernel/drivers/platform/x86/mxm-wmi.ko
[ 131.73] rmmod /lib/modules/3.0.0-14-generic/kernel/drivers/platform/x86/wmi.ko
[ 131.73] insmod /lib/modules/3.0.0-14-generic/updates/dkms/nvidia_current.ko
[ 131.74] Starting X using nvidia...
[ 131.74] Waiting for X server to become available...
[ 142.18] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 142.19] Waiting for orders
[ 851.42] Checking for X server availability before stopping it...
[ 851.43] The X server has not started or the pidfile is invalid.
[ 851.44] X is stopped.
[ 851.45] Power management is disabled, not unloading driver
[ 851.46] Power management is disabled, card already enabled.
[ 851.47] Bumblebee log ended on Thu, 15 Dec 2011 20:41:11 -0500
[ 852.59] Bumblebee log started at Thu, 15 Dec 2011 20:41:12 -0500
[ 852.60] Creating fifo /var/run/bumblebee.fifo for communication...
[ 852.61] Making FIFO writable for members of group bumblebee
[ 852.62] Power management is disabled, not disabling card on start.
[ 852.63] Waiting for orders
[ 879.21] Optirun start request received.
[ 879.22] Checking for X server availability before starting X...
[ 879.22] X server is not started
[ 879.23] Power management is disabled, only loading driver
[ 879.84] insmod /lib/modules/3.0.0-14-generic/updates/dkms/nvidia_current.ko
[ 879.84] Starting X using nvidia...
[ 879.85] Waiting for X server to become available...
[ 879.91] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 879.91] Waiting for orders
[ 882.80] Optirun start request received.
[ 882.81] Checking for X server availability before starting X...
[ 882.82] X server is not started
[ 882.83] Power management is disabled, only loading driver
[ 883.39] insmod /lib/modules/3.0.0-14-generic/updates/dkms/nvidia_current.ko
[ 883.40] Starting X using nvidia...
[ 883.41] Waiting for X server to become available...
[ 883.46] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 883.47] Waiting for orders
[ 1388.55] Optirun start request received.
[ 1388.56] Checking for X server availability before starting X...
[ 1388.57] X server is not started
[ 1388.57] Power management is disabled, only loading driver
[ 1389.15] insmod /lib/modules/3.0.0-14-generic/updates/dkms/nvidia_current.ko
[ 1389.16] Starting X using nvidia...
[ 1389.17] Waiting for X server to become available...
[ 1389.22] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 1389.22] Waiting for orders
```

And here is the output of /var/log/Xorg.8.log:

```
[ 1389.176]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[ 1389.176] X Protocol Version 11, Revision 0
[ 1389.176] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[ 1389.176] Current Operating System: Linux jacob-ThinkPad-W520 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64
[ 1389.176] Kernel command line: BOOT_IMAGE=/vmlinuz-3.0.0-14-generic root=UUID=493a5643-2946-4fe0-bb29-08d616f42eae ro quiet splash vt.handoff=7
[ 1389.176] Build Date: 19 October 2011 05:21:26AM
[ 1389.176] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[ 1389.176] Current version of pixman: 0.22.2
[ 1389.176]	Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1389.176] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1389.177] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Dec 15 20:50:08 2011
[ 1389.177] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 1389.177] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1389.178] (==) ServerLayout "Layout0"
[ 1389.178] (==) No screen section available. Using defaults.
[ 1389.178] (**) |-->Screen "Default Screen Section" (0)
[ 1389.178] (**) | |-->Monitor ""
[ 1389.178] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1389.178] (**) | |-->Device "Device1"
[ 1389.178] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1389.178] (**) Option "AutoAddDevices" "false"
[ 1389.178] (**) Not automatically adding devices
[ 1389.178] (==) Automatically enabling devices
[ 1389.178] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1389.178]	Entry deleted from font path.
[ 1389.178] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1389.178]	Entry deleted from font path.
[ 1389.178] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1389.178]	Entry deleted from font path.
[ 1389.178] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 1389.178]	Entry deleted from font path.
[ 1389.178] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1389.178]	Entry deleted from font path.
[ 1389.178] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[ 1389.178] (**) ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules"
[ 1389.178] (==) |-->Input Device ""
[ 1389.178] (==) |-->Input Device ""
[ 1389.178] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 1389.178] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 1389.178] (II) Loader magic: 0x7e0220
[ 1389.178] (II) Module ABI versions:
[ 1389.178]	X.Org ANSI C Emulation: 0.4
[ 1389.179]	X.Org Video Driver: 10.0
[ 1389.179]	X.Org XInput driver : 12.3
[ 1389.179]	X.Org Server Extension : 5.0
[ 1389.180] (--) PCI:*(0:0:2:0) 8086:0126:17aa:21d1 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00007000/64
[ 1389.180] (--) PCI: (0:1:0:0) 10de:0dfa:17aa:21d1 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[ 1389.180] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1389.180] (II) LoadModule: "extmod"
[ 1389.181] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 1389.181] (II) Module extmod: vendor="X.Org Foundation"
[ 1389.181]	compiled for 1.10.4, module version = 1.0.0
[ 1389.181]	Module class: X.Org Server Extension
[ 1389.181]	ABI class: X.Org Server Extension, version 5.0
[ 1389.181] (II) Loading extension MIT-SCREEN-SAVER
[ 1389.181] (II) Loading extension XFree86-VidModeExtension
[ 1389.181] (II) Loading extension XFree86-DGA
[ 1389.181] (II) Loading extension DPMS
[ 1389.181] (II) Loading extension XVideo
[ 1389.181] (II) Loading extension XVideo-MotionCompensation
[ 1389.182] (II) Loading extension X-Resource
[ 1389.182] (II) LoadModule: "dbe"
[ 1389.182] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 1389.182] (II) Module dbe: vendor="X.Org Foundation"
[ 1389.182]	compiled for 1.10.4, module version = 1.0.0
[ 1389.182]	Module class: X.Org Server Extension
[ 1389.182]	ABI class: X.Org Server Extension, version 5.0
[ 1389.182] (II) Loading extension DOUBLE-BUFFER
[ 1389.182] (II) LoadModule: "glx"
[ 1389.182] (II) Loading /usr/lib/nvidia-current/xorg/libglx.so
[ 1389.196] (II) Module glx: vendor="NVIDIA Corporation"
[ 1389.196]	compiled for 4.0.2, module version = 1.0.0
[ 1389.196]	Module class: X.Org Server Extension
[ 1389.196] (II) NVIDIA GLX Module 280.13 Wed Jul 27 17:12:07 PDT 2011
[ 1389.196] (II) Loading extension GLX
[ 1389.196] (II) LoadModule: "record"
[ 1389.196] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 1389.196] (II) Module record: vendor="X.Org Foundation"
[ 1389.196]	compiled for 1.10.4, module version = 1.13.0
[ 1389.196]	Module class: X.Org Server Extension
[ 1389.196]	ABI class: X.Org Server Extension, version 5.0
[ 1389.196] (II) Loading extension RECORD
[ 1389.196] (II) LoadModule: "dri"
[ 1389.196] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 1389.197] (II) Module dri: vendor="X.Org Foundation"
[ 1389.197]	compiled for 1.10.4, module version = 1.0.0
[ 1389.197]	ABI class: X.Org Server Extension, version 5.0
[ 1389.197] (II) Loading extension XFree86-DRI
[ 1389.197] (II) LoadModule: "dri2"
[ 1389.197] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1389.197] (II) Module dri2: vendor="X.Org Foundation"
[ 1389.197]	compiled for 1.10.4, module version = 1.2.0
[ 1389.197]	ABI class: X.Org Server Extension, version 5.0
[ 1389.197] (II) Loading extension DRI2
[ 1389.197] (II) LoadModule: "nvidia"
[ 1389.197] (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
[ 1389.198] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1389.198]	compiled for 4.0.2, module version = 1.0.0
[ 1389.198]	Module class: X.Org Video Driver
[ 1389.198] (II) LoadModule: "mouse"
[ 1389.198] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 1389.198] (II) Module mouse: vendor="X.Org Foundation"
[ 1389.198]	compiled for 1.10.2.902, module version = 1.7.1
[ 1389.198]	Module class: X.Org XInput Driver
[ 1389.198]	ABI class: X.Org XInput driver, version 12.3
[ 1389.198] (II) LoadModule: "kbd"
[ 1389.199] (WW) Warning, couldn't open module kbd
[ 1389.199] (II) UnloadModule: "kbd"
[ 1389.199] (II) Unloading kbd
[ 1389.199] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1389.199] (II) NVIDIA dlloader X Driver 280.13 Wed Jul 27 16:55:26 PDT 2011
[ 1389.199] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1389.199] (--) using VT number 7

[ 1389.199] (EE) No devices detected.
[ 1389.199]
Fatal server error:
[ 1389.199] no screens found
[ 1389.199]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1389.199] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 1389.199]
```