Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been searching for a few weeks now (must have spent 30+ hours) and cannot get bumblebee to run for the life of me. Here's what I do:

run optirun firefox:

and here's my syslog and Xorg log:

systlog:

http://pastebin.com/PeDg7jJt

[  1057.427] 
X.Org X Server 1.14.5
Release Date: 2013-12-12
[  1057.427] X Protocol Version 11, Revision 0
[  1057.427] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[  1057.427] Current Operating System: Linux jaskarn-0 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64
[  1057.427] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-19-generic.efi.signed root=UUID=8c20a7b9-dc52-47a2-943f-007099490d6f ro quiet splash vt.handoff=7
[  1057.427] Build Date: 17 December 2013  10:06:15AM
[  1057.427] xorg-server 2:1.14.5-1ubuntu2~saucy1 (For technical support please see http://www.ubuntu.com/support) 
[  1057.427] Current version of pixman: 0.30.2
[  1057.427]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1057.427] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1057.427] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Apr  8 20:20:08 2014
[  1057.428] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  1057.428] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  1057.428] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1057.428] (==) ServerLayout "Layout0"
[  1057.428] (==) No screen section available. Using defaults.
[  1057.428] (**) |-->Screen "Default Screen Section" (0)
[  1057.428] (**) |   |-->Monitor "<default monitor>"
[  1057.429] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[  1057.429] (**) |   |-->Device "DiscreteNvidia"
[  1057.429] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[  1057.429] (**) Option "AutoAddDevices" "false"
[  1057.429] (**) Option "AutoAddGPU" "false"
[  1057.429] (**) Not automatically adding devices
[  1057.429] (==) Automatically enabling devices
[  1057.429] (**) Not automatically adding GPU devices
[  1057.429] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1057.429]    Entry deleted from font path.
[  1057.429] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  1057.429]    Entry deleted from font path.
[  1057.429] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  1057.429]    Entry deleted from font path.
[  1057.429] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  1057.429]    Entry deleted from font path.
[  1057.429] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  1057.429]    Entry deleted from font path.
[  1057.429] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[  1057.429] (++) ModulePath set to "/usr/lib/nvidia-319-updates/xorg,/usr/lib/xorg/modules"
[  1057.429] (==) |-->Input Device "<default pointer>"
[  1057.429] (==) |-->Input Device "<default keyboard>"
[  1057.429] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[  1057.429] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[  1057.429] (II) Loader magic: 0x7f848db04d20
[  1057.429] (II) Module ABI versions:
[  1057.429]    X.Org ANSI C Emulation: 0.4
[  1057.429]    X.Org Video Driver: 14.1
[  1057.429]    X.Org XInput driver : 19.1
[  1057.429]    X.Org Server Extension : 7.0
[  1057.430] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1057.430] setversion 1.4 failed
[  1057.430] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[  1057.430] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1057.432] (--) PCI:*(0:4:0:0) 10de:0fe4:1028:05fa rev 161, Mem @ 0xe2000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x00003000/128
[  1057.432] (II) Open ACPI successful (/var/run/acpid.socket)
[  1057.432] Initializing built-in extension Generic Event Extension
[  1057.432] Initializing built-in extension SHAPE
[  1057.432] Initializing built-in extension MIT-SHM
[  1057.433] Initializing built-in extension XInputExtension
[  1057.433] Initializing built-in extension XTEST
[  1057.433] Initializing built-in extension BIG-REQUESTS
[  1057.433] Initializing built-in extension SYNC
[  1057.433] Initializing built-in extension XKEYBOARD
[  1057.433] Initializing built-in extension XC-MISC
[  1057.433] Initializing built-in extension SECURITY
[  1057.433] Initializing built-in extension XINERAMA
[  1057.433] Initializing built-in extension XFIXES
[  1057.433] Initializing built-in extension RENDER
[  1057.433] Initializing built-in extension RANDR
[  1057.433] Initializing built-in extension COMPOSITE
[  1057.433] Initializing built-in extension DAMAGE
[  1057.433] Initializing built-in extension MIT-SCREEN-SAVER
[  1057.433] Initializing built-in extension DOUBLE-BUFFER
[  1057.433] Initializing built-in extension RECORD
[  1057.433] Initializing built-in extension DPMS
[  1057.433] Initializing built-in extension X-Resource
[  1057.433] Initializing built-in extension XVideo
[  1057.433] Initializing built-in extension XVideo-MotionCompensation
[  1057.433] Initializing built-in extension SELinux
[  1057.433] Initializing built-in extension XFree86-VidModeExtension
[  1057.433] Initializing built-in extension XFree86-DGA
[  1057.433] Initializing built-in extension XFree86-DRI
[  1057.433] Initializing built-in extension DRI2
[  1057.433] (II) "glx" will be loaded by default.
[  1057.433] (WW) "xmir" is not to be loaded by default. Skipping.
[  1057.433] (II) LoadModule: "dri2"
[  1057.433] (II) Module "dri2" already built-in
[  1057.433] (II) LoadModule: "glamoregl"
[  1057.434] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  1057.451] (II) Module glamoregl: vendor="X.Org Foundation"
[  1057.451]    compiled for 1.14.3, module version = 0.5.1
[  1057.451]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1057.451] (II) LoadModule: "glx"
[  1057.451] (II) Loading /usr/lib/nvidia-319-updates/xorg/libglx.so
[  1057.472] (II) Module glx: vendor="NVIDIA Corporation"
[  1057.472]    compiled for 4.0.2, module version = 1.0.0
[  1057.472]    Module class: X.Org Server Extension
[  1057.472] (II) NVIDIA GLX Module  319.60  Wed Sep 25 14:24:11 PDT 2013
[  1057.472] Loading extension GLX
[  1057.472] (II) LoadModule: "nvidia"
[  1057.473] (II) Loading /usr/lib/nvidia-319-updates/xorg/nvidia_drv.so
[  1057.475] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1057.475]    compiled for 4.0.2, module version = 1.0.0
[  1057.475]    Module class: X.Org Video Driver
[  1057.475] (II) LoadModule: "mouse"
[  1057.475] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[  1057.476] (II) Module mouse: vendor="X.Org Foundation"
[  1057.476]    compiled for 1.14.1, module version = 1.7.2
[  1057.476]    Module class: X.Org XInput Driver
[  1057.476]    ABI class: X.Org XInput driver, version 19.1
[  1057.476] (II) LoadModule: "kbd"
[  1057.476] (WW) Warning, couldn't open module kbd
[  1057.476] (II) UnloadModule: "kbd"
[  1057.476] (II) Unloading kbd
[  1057.476] (EE) Failed to load module "kbd" (module does not exist, 0)
[  1057.476] (II) NVIDIA dlloader X Driver  319.60  Wed Sep 25 14:04:14 PDT 2013
[  1057.476] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1057.476] (--) using VT number 7

[  1057.476] (II) Loading sub module "fb"
[  1057.476] (II) LoadModule: "fb"
[  1057.476] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1057.477] (II) Module fb: vendor="X.Org Foundation"
[  1057.477]    compiled for 1.14.5, module version = 1.0.0
[  1057.477]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1057.477] (WW) Unresolved symbol: fbGetGCPrivateKey
[  1057.477] (II) Loading sub module "wfb"
[  1057.477] (II) LoadModule: "wfb"
[  1057.477] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1057.477] (II) Module wfb: vendor="X.Org Foundation"
[  1057.477]    compiled for 1.14.5, module version = 1.0.0
[  1057.477]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1057.477] (II) Loading sub module "shadow"
[  1057.477] (II) LoadModule: "shadow"
[  1057.477] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  1057.478] (II) Module shadow: vendor="X.Org Foundation"
[  1057.478]    compiled for 1.14.5, module version = 1.1.0
[  1057.478]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1057.478] (II) Loading sub module "ramdac"
[  1057.478] (II) LoadModule: "ramdac"
[  1057.478] (II) Module "ramdac" already built-in
[  1057.478] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[  1057.478] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  1057.478] (==) NVIDIA(0): RGB weight 888
[  1057.478] (==) NVIDIA(0): Default visual is TrueColor
[  1057.478] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  1057.478] (**) NVIDIA(0): Option "NoLogo" "true"
[  1057.478] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[  1057.478] (**) NVIDIA(0): Option "UseEDID" "false"
[  1057.478] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[  1057.478] (**) NVIDIA(0): Enabling 2D acceleration
[  1057.478] (**) NVIDIA(0): Ignoring EDIDs
[  1057.478] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[  1057.478] (**) NVIDIA(0):     mode
[  1057.486] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:4:0:0.  Please
[  1057.486] (EE) NVIDIA(0):     check your system's kernel log for additional error
[  1057.486] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[  1057.486] (EE) NVIDIA(0):     README for additional information.
[  1057.486] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[  1057.486] (EE) NVIDIA(0): Failing initialization of X screen 0
[  1057.486] (II) UnloadModule: "nvidia"
[  1057.486] (II) UnloadSubModule: "shadow"
[  1057.486] (II) UnloadSubModule: "wfb"
[  1057.487] (II) UnloadSubModule: "fb"
[  1057.487] (EE) Screen(s) found, but none have a usable configuration.
[  1057.487] (EE) 
Fatal server error:
[  1057.487] (EE) no screens found(EE) 
[  1057.487] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1057.487] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  1057.487] (EE) 
[  1057.487] (EE) Server terminated with error (1). Closing log file.

and heres my bumblebee.conf:

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-319-updates
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-319-updates
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-319-updates/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

honestly I cant figure out how to get it working for the life of me and really need help!

share|improve this question
    
output of > optirun -vvv firefox: –  Qasim Apr 9 at 2:28
    
Hi, thank you for replying, heres the output pastebin.com/4mJN7LWy –  user266903 Apr 11 at 20:07
    
Please paste the output of nvidia.bumblebee in /etc/bumblebee –  Qasim Apr 12 at 1:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.