MrMEEE/bumblebee — Issue #638: optirun not working
Author: zegmonteiro
Created: 2011-10-28 01:05:44+00:00
State: open

When I try to start an applications using optirun I'm getting the following message:
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log
==================================================

The content of /var/log/bumblebee.log is:
_________________________________________________________________________
[ 24.60] Bumblebee log started at Thu, 27 Oct 2011 18:06:22 -0200
[ 24.60] Creating fifo /var/run/bumblebee.fifo for communication...
[ 24.60] Making FIFO writable for members of group bumblebee
[ 24.61] Power management is disabled, not disabling card on start.
[ 24.61] Waiting for orders
[ 33.24] Checking for X server availability before stopping it...
[ 33.25] The X server has not started or the pidfile is invalid.
[ 33.25] X is stopped.
[ 33.25] Power management is disabled, not unloading driver
[ 33.25] Power management is disabled, card already enabled.
[ 33.26] Bumblebee log ended on Thu, 27 Oct 2011 18:06:31 -0200
[ 6.04] Bumblebee log started at Thu, 27 Oct 2011 18:06:50 -0200
[ 6.05] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.05] Making FIFO writable for members of group bumblebee
[ 6.05] Power management is disabled, not disabling card on start.
[ 6.06] Waiting for orders
[ 13.64] Checking for X server availability before stopping it...
[ 13.65] The X server has not started or the pidfile is invalid.
[ 13.65] X is stopped.
[ 13.65] Power management is disabled, not unloading driver
[ 13.65] Power management is disabled, card already enabled.
[ 13.66] Bumblebee log ended on Thu, 27 Oct 2011 18:06:57 -0200
[ 157.41] Bumblebee log started at Thu, 27 Oct 2011 18:22:57 -0200
[ 157.41] Creating fifo /var/run/bumblebee.fifo for communication...
[ 157.41] Making FIFO writable for members of group bumblebee
[ 157.42] Power management is disabled, not disabling card on start.
[ 157.42] Waiting for orders
[ 163.96] Checking for X server availability before stopping it...
[ 163.96] The X server has not started or the pidfile is invalid.
[ 163.97] X is stopped.
[ 163.97] Power management is disabled, not unloading driver
[ 163.97] Power management is disabled, card already enabled.
[ 163.98] Bumblebee log ended on Thu, 27 Oct 2011 18:23:04 -0200
[ 7.13] Bumblebee log started at Thu, 27 Oct 2011 18:23:38 -0200
[ 7.14] Creating fifo /var/run/bumblebee.fifo for communication...
[ 7.14] Making FIFO writable for members of group bumblebee
[ 7.14] Power management is disabled, not disabling card on start.
[ 7.15] Waiting for orders
[ 12.39] Checking for X server availability before stopping it...
[ 12.39] The X server has not started or the pidfile is invalid.
[ 12.39] X is stopped.
[ 12.40] Power management is disabled, not unloading driver
[ 12.40] Power management is disabled, card already enabled.
[ 12.40] Bumblebee log ended on Thu, 27 Oct 2011 18:23:44 -0200
[ 6.42] Bumblebee log started at Thu, 27 Oct 2011 18:29:14 -0200
[ 6.42] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.42] Making FIFO writable for members of group bumblebee
[ 6.43] Power management is disabled, not disabling card on start.
[ 6.43] Waiting for orders
[ 167.32] Checking for X server availability before stopping it...
[ 167.33] The X server has not started or the pidfile is invalid.
[ 167.33] X is stopped.
[ 167.33] Power management is disabled, not unloading driver
[ 167.34] Power management is disabled, card already enabled.
[ 167.34] Bumblebee log ended on Thu, 27 Oct 2011 18:31:58 -0200
[ 6.63] Bumblebee log started at Thu, 27 Oct 2011 18:32:17 -0200
[ 6.63] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.64] Making FIFO writable for members of group bumblebee
[ 6.64] Power management is disabled, not disabling card on start.
[ 6.64] Waiting for orders
[ 274.46] Checking for X server availability before stopping it...
[ 274.47] The X server has not started or the pidfile is invalid.
[ 274.47] X is stopped.
[ 274.47] Power management is disabled, not unloading driver
[ 274.48] Power management is disabled, card already enabled.
[ 274.48] Bumblebee log ended on Thu, 27 Oct 2011 18:36:45 -0200
[ 6.45] Bumblebee log started at Thu, 27 Oct 2011 18:37:13 -0200
[ 6.46] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.46] Making FIFO writable for members of group bumblebee
[ 6.47] Power management is disabled, not disabling card on start.
[ 6.47] Waiting for orders
[ 58.86] Checking for X server availability before stopping it...
[ 58.87] The X server has not started or the pidfile is invalid.
[ 58.87] X is stopped.
[ 58.87] Power management is disabled, not unloading driver
[ 58.88] Power management is disabled, card already enabled.
[ 58.88] Bumblebee log ended on Thu, 27 Oct 2011 18:38:06 -0200
[ 6.52] Bumblebee log started at Thu, 27 Oct 2011 18:38:40 -0200
[ 6.52] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.52] Making FIFO writable for members of group bumblebee
[ 6.53] Power management is disabled, not disabling card on start.
[ 6.53] Waiting for orders
[ 90.38] Checking for X server availability before stopping it...
[ 90.38] The X server has not started or the pidfile is invalid.
[ 90.38] X is stopped.
[ 90.39] Power management is disabled, not unloading driver
[ 90.39] Power management is disabled, card already enabled.
[ 90.39] Bumblebee log ended on Thu, 27 Oct 2011 18:40:04 -0200
[ 6.26] Bumblebee log started at Thu, 27 Oct 2011 18:40:33 -0200
[ 6.26] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.27] Making FIFO writable for members of group bumblebee
[ 6.27] Power management is disabled, not disabling card on start.
[ 6.27] Waiting for orders
[ 9.99] Checking for X server availability before stopping it...
[ 9.99] The X server has not started or the pidfile is invalid.
[ 9.99] X is stopped.
[ 10.00] Power management is disabled, not unloading driver
[ 10.00] Power management is disabled, card already enabled.
[ 10.00] Bumblebee log ended on Thu, 27 Oct 2011 18:40:37 -0200
[ 6.45] Bumblebee log started at Thu, 27 Oct 2011 21:47:32 -0200
[ 6.47] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.48] Making FIFO writable for members of group bumblebee
[ 6.49] Power management is disabled, not disabling card on start.
[ 6.49] Waiting for orders
[ 453.61] Checking for X server availability before stopping it...
[ 453.62] The X server has not started or the pidfile is invalid.
[ 453.62] X is stopped.
[ 453.62] Power management is disabled, not unloading driver
[ 453.63] Power management is disabled, card already enabled.
[ 453.63] Bumblebee log ended on Thu, 27 Oct 2011 21:54:59 -0200
[ 6.46] Bumblebee log started at Thu, 27 Oct 2011 21:55:18 -0200
[ 6.46] Creating fifo /var/run/bumblebee.fifo for communication...
[ 6.46] Making FIFO writable for members of group bumblebee
[ 6.47] Power management is disabled, not disabling card on start.
[ 6.48] Waiting for orders
[ 218.75] Checking for X server availability before stopping it...
[ 218.76] The X server has not started or the pidfile is invalid.
[ 218.77] X is stopped.
[ 218.78] Power management is disabled, not unloading driver
[ 218.79] Power management is disabled, card already enabled.
[ 218.80] Bumblebee log ended on Thu, 27 Oct 2011 21:58:51 -0200
[ 1842.55] Bumblebee log started at Thu, 27 Oct 2011 22:40:36 -0200
[ 1842.56] Creating fifo /var/run/bumblebee.fifo for communication...
[ 1842.60] Making FIFO writable for members of group bumblebee
[ 1842.61] Power management is disabled, not disabling card on start.
[ 1842.61] Waiting for orders
[ 1881.69] Optirun start request received.
[ 1881.70] Checking for X server availability before starting X...
[ 1881.70] X server is not started
[ 1881.70] Power management is disabled, only loading driver
[ 1881.96] insmod /lib/modules/3.0.0-12-generic/updates/dkms/nvidia_current.ko
[ 1881.96] Starting X using nvidia...
[ 1881.97] Waiting for X server to become available...
[ 1892.02] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 1892.02] Waiting for orders
[ 1892.48] Optirun start request received.
[ 1892.48] Checking for X server availability before starting X...
[ 1892.49] X server is not started
[ 1892.49] Power management is disabled, only loading driver
[ 1892.75] insmod /lib/modules/3.0.0-12-generic/updates/dkms/nvidia_current.ko
[ 1892.75] Starting X using nvidia...
[ 1892.75] Waiting for X server to become available...
[ 1902.79] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 1902.80] Waiting for orders
[ 2002.27] Optirun start request received.
[ 2002.27] Checking for X server availability before starting X...
[ 2002.28] X server is not started
[ 2002.29] Power management is disabled, only loading driver
[ 2002.58] insmod /lib/modules/3.0.0-12-generic/updates/dkms/nvidia_current.ko
[ 2002.58] Starting X using nvidia...
[ 2002.59] Waiting for X server to become available...
[ 2002.64] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 2002.64] Waiting for orders
[ 2049.13] Optirun start request received.
[ 2049.14] Checking for X server availability before starting X...
[ 2049.14] X server is not started
[ 2049.15] Power management is disabled, only loading driver
[ 2049.44] insmod /lib/modules/3.0.0-12-generic/updates/dkms/nvidia_current.ko
[ 2049.44] Starting X using nvidia...
[ 2049.45] Waiting for X server to become available...
[ 2049.50] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 2049.51] Waiting for orders
[ 3019.09] Optirun start request received.
[ 3019.10] Checking for X server availability before starting X...
[ 3019.11] X server is not started
[ 3019.11] Power management is disabled, only loading driver
[ 3019.40] insmod /lib/modules/3.0.0-12-generic/updates/dkms/nvidia_current.ko
[ 3019.41] Starting X using nvidia...
[ 3019.42] Waiting for X server to become available...
[ 3019.46] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 3019.47] Waiting for orders
_________________________________________________________________________

The content of /var/log/Xorg.8.log is:
[ 3019.427]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[ 3019.427] X Protocol Version 11, Revision 0
[ 3019.427] Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
[ 3019.427] Current Operating System: Linux zeg-RF411 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64
[ 3019.427] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=9648ec8e-535e-4504-9bd1-c9d3e1a0788b ro quiet splash vt.handoff=7
[ 3019.427] Build Date: 13 October 2011 05:44:30PM
[ 3019.427] xorg-server 2:1.10.4-1ubuntu4.1 (For technical support please see http://www.ubuntu.com/support)
[ 3019.427] Current version of pixman: 0.22.2
[ 3019.427]	Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3019.427] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3019.428] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Oct 27 23:00:13 2011
[ 3019.428] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 3019.428] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3019.429] (==) ServerLayout "Layout0"
[ 3019.429] (==) No screen section available. Using defaults.
[ 3019.429] (**) |-->Screen "Default Screen Section" (0)
[ 3019.429] (**) | |-->Monitor ""
[ 3019.430] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 3019.430] (**) | |-->Device "Device1"
[ 3019.430] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 3019.430] (**) Option "AutoAddDevices" "false"
[ 3019.430] (**) Not automatically adding devices
[ 3019.430] (==) Automatically enabling devices
[ 3019.430] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 3019.430]	Entry deleted from font path.
[ 3019.430] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 3019.430]	Entry deleted from font path.
[ 3019.430] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 3019.430]	Entry deleted from font path.
[ 3019.430] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 3019.430]	Entry deleted from font path.
[ 3019.430] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 3019.430]	Entry deleted from font path.
[ 3019.430] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[ 3019.430] (**) ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules"
[ 3019.430] (==) |-->Input Device ""
[ 3019.430] (==) |-->Input Device ""
[ 3019.430] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 3019.430] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 3019.430] (II) Loader magic: 0x7e0220
[ 3019.430] (II) Module ABI versions:
[ 3019.430]	X.Org ANSI C Emulation: 0.4
[ 3019.431]	X.Org Video Driver: 10.0
[ 3019.431]	X.Org XInput driver : 12.3
[ 3019.431]	X.Org Server Extension : 5.0
[ 3019.432] (--) PCI:*(0:0:2:0) 8086:0116:144d:c0a5 rev 9, Mem @ 0xf5400000/4194304, 0xc0000000/268435456, I/O @ 0x0000e000/64
[ 3019.432] (--) PCI: (0:1:0:0) 10de:0df4:144d:c0a5 rev 161, Mem @ 0xf4000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[ 3019.432] (II) Open ACPI successful (/var/run/acpid.socket)
[ 3019.432] (II) LoadModule: "extmod"
[ 3019.433] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 3019.433] (II) Module extmod: vendor="X.Org Foundation"
[ 3019.433]	compiled for 1.10.4, module version = 1.0.0
[ 3019.433]	Module class: X.Org Server Extension
[ 3019.433]	ABI class: X.Org Server Extension, version 5.0
[ 3019.433] (II) Loading extension MIT-SCREEN-SAVER
[ 3019.433] (II) Loading extension XFree86-VidModeExtension
[ 3019.433] (II) Loading extension XFree86-DGA
[ 3019.433] (II) Loading extension DPMS
[ 3019.433] (II) Loading extension XVideo
[ 3019.433] (II) Loading extension XVideo-MotionCompensation
[ 3019.433] (II) Loading extension X-Resource
[ 3019.433] (II) LoadModule: "dbe"
[ 3019.434] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 3019.434] (II) Module dbe: vendor="X.Org Foundation"
[ 3019.434]	compiled for 1.10.4, module version = 1.0.0
[ 3019.434]	Module class: X.Org Server Extension
[ 3019.434]	ABI class: X.Org Server Extension, version 5.0
[ 3019.434] (II) Loading extension DOUBLE-BUFFER
[ 3019.434] (II) LoadModule: "glx"
[ 3019.434] (II) Loading /usr/lib/nvidia-current/xorg/libglx.so
[ 3019.444] (II) Module glx: vendor="NVIDIA Corporation"
[ 3019.444]	compiled for 4.0.2, module version = 1.0.0
[ 3019.444]	Module class: X.Org Server Extension
[ 3019.444] (II) NVIDIA GLX Module 285.05.09 Fri Sep 23 17:51:24 PDT 2011
[ 3019.444] (II) Loading extension GLX
[ 3019.444] (II) LoadModule: "record"
[ 3019.444] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 3019.445] (II) Module record: vendor="X.Org Foundation"
[ 3019.445]	compiled for 1.10.4, module version = 1.13.0
[ 3019.445]	Module class: X.Org Server Extension
[ 3019.445]	ABI class: X.Org Server Extension, version 5.0
[ 3019.445] (II) Loading extension RECORD
[ 3019.445] (II) LoadModule: "dri"
[ 3019.445] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 3019.445] (II) Module dri: vendor="X.Org Foundation"
[ 3019.445]	compiled for 1.10.4, module version = 1.0.0
[ 3019.445]	ABI class: X.Org Server Extension, version 5.0
[ 3019.445] (II) Loading extension XFree86-DRI
[ 3019.445] (II) LoadModule: "dri2"
[ 3019.445] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 3019.445] (II) Module dri2: vendor="X.Org Foundation"
[ 3019.445]	compiled for 1.10.4, module version = 1.2.0
[ 3019.445]	ABI class: X.Org Server Extension, version 5.0
[ 3019.445] (II) Loading extension DRI2
[ 3019.445] (II) LoadModule: "nvidia"
[ 3019.445] (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
[ 3019.446] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 3019.446]	compiled for 4.0.2, module version = 1.0.0
[ 3019.446]	Module class: X.Org Video Driver
[ 3019.446] (II) LoadModule: "mouse"
[ 3019.446] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 3019.446] (II) Module mouse: vendor="X.Org Foundation"
[ 3019.446]	compiled for 1.10.2.902, module version = 1.7.1
[ 3019.446]	Module class: X.Org XInput Driver
[ 3019.446]	ABI class: X.Org XInput driver, version 12.3
[ 3019.446] (II) LoadModule: "kbd"
[ 3019.446] (WW) Warning, couldn't open module kbd
[ 3019.446] (II) UnloadModule: "kbd"
[ 3019.446] (II) Unloading kbd
[ 3019.446] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 3019.446] (II) NVIDIA dlloader X Driver 285.05.09 Fri Sep 23 17:33:35 PDT 2011
[ 3019.446] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 3019.446] (--) using VT number 7

[ 3019.446] (II) Loading sub module "fb"
[ 3019.446] (II) LoadModule: "fb"
[ 3019.446] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 3019.447] (II) Module fb: vendor="X.Org Foundation"
[ 3019.447]	compiled for 1.10.4, module version = 1.0.0
[ 3019.447]	ABI class: X.Org ANSI C Emulation, version 0.4
[ 3019.447] (II) Loading sub module "wfb"
[ 3019.447] (II) LoadModule: "wfb"
[ 3019.447] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 3019.447] (II) Module wfb: vendor="X.Org Foundation"
[ 3019.447]	compiled for 1.10.4, module version = 1.0.0
[ 3019.447]	ABI class: X.Org ANSI C Emulation, version 0.4
[ 3019.447] (II) Loading sub module "ramdac"
[ 3019.447] (II) LoadModule: "ramdac"
[ 3019.447] (II) Module "ramdac" already built-in
[ 3019.447] (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
[ 3019.447] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 3019.447] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 3019.447] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 3019.447] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 3019.447] (==) NVIDIA(0): RGB weight 888
[ 3019.447] (==) NVIDIA(0): Default visual is TrueColor
[ 3019.447] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 3019.447] (**) NVIDIA(0): Option "NoLogo" "true"
[ 3019.447] (**) NVIDIA(0): Option "UseEDID" "false"
[ 3019.447] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[ 3019.447] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[ 3019.447] (**) NVIDIA(0): Ignoring EDIDs
[ 3019.447] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[ 3019.447] (EE) NVIDIA(0): system's kernel log for additional error messages and
[ 3019.447] (EE) NVIDIA(0): consult the NVIDIA README for details.
[ 3019.447] (EE) NVIDIA(0): *** Aborting ***
[ 3019.447] (II) UnloadModule: "nvidia"
[ 3019.447] (II) Unloading nvidia
[ 3019.447] (II) UnloadModule: "wfb"
[ 3019.447] (II) Unloading wfb
[ 3019.448] (II) UnloadModule: "fb"
[ 3019.448] (II) Unloading fb
[ 3019.448] (EE) Screen(s) found, but none have a usable configuration.
[ 3019.448]
Fatal server error:
[ 3019.448] no screens found
[ 3019.448]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3019.448] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 3019.448]
[ 3019.448] ddxSigGiveUp: Closing log

What should I do?