can`t get nvidia driver working #176

raveit65 opened this Issue Jun 5, 2012 · 8 comments


None yet
2 participants

raveit65 commented Jun 5, 2012

First, bumblebee with nouveau are working well on fedora 17.
Also, the nvidia driver had been worked with bumblebee-2.4.1 on my MSI FX-700
I used bumblebee and bbswitch from elrepo rebuild for fedora
nvidia driver is 295.53 from nvidia site installed with -no-opengl-files

My config files:

[root@satelitte rave]# cat /etc/bumblebee/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.
# The secondary Xorg server DISPLAY number
# 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.
# The name of the Bumbleblee server group name (GID name)
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
# 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)

## Client options. Will take effect on the next optirun executed.
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?

# 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
#             none - disable PM completely

## Section with nvidia driver specific options, only parsed if Driver=nvidia
# Module name to load, defaults to Driver if empty or unset
# colon-separated path to the nvidia libraries
# comma-separated path of the directory containing and the
# default Xorg modules path

## Section with nouveau driver specific options, only parsed if Driver=nouveau

[root@satelitte rave]# cat /etc/bumblebee/xorg.conf.nvidia 
Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"

Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"

The bumblebee daemon doesn't start.

/usr/sbin/bumblebeed -D -x /etc/bumblebee/xorg.conf.nvidia --driver nvidia -m /usr/lib64/xorg/modules -k nvidia.ko -l /usr/lib64/xorg/modules/driver

(my latest try)


[rave@satelitte ~]$ sudo optirun smplayer
[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?

If i try start the dameon without define nvidia in /etc/bumblebee/bumblebee.conf, the daemon starts but use xorg.conf.nouveau and optirun fails. (nouveau is uninstalled)

[root@satelitte rave]# cat /var/log/Xorg.8.log

[    69.031] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Jun  5 20:24:27 2012
[    69.031] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[    69.031] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    69.031] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    69.032] (==) ServerLayout "Layout0"

[    69.036]    compiled for 1.12.0, module version = 1.2.0
[    69.036]    ABI class: X.Org Server Extension, version 6.0
[    69.036] (II) Loading extension DRI2
[    69.036] (II) LoadModule: "nouveau"
[    69.036] (WW) Warning, couldn't open module nouveau
[    69.036] (II) UnloadModule: "nouveau"
[    69.036] (II) Unloading nouveau
[    69.036] (EE) Failed to load module "nouveau" (module does not exist, 0)

I hate nouveau foggy , so perhaps you can help me.
If you need more info let me know.


Lekensteyn commented Jun 5, 2012

You must not use the .ko suffix for -k. Do not daemonize and add --debug for more info.

raveit65 commented Jun 7, 2012

new day, new kernel and a lucky punch :)
I change /etc/bumblebbe.conf to


and in driver section


Now it works, but without define 'Driver=nvidia', bumblebeed try to start nouveau.
Also without `KernelDriver=nvidia' bumblebeed doesn't find the kernel module.
So pls write this in the readme.

The init sript /etc/rc./ini.d/bumblebeed from the packages from
working well after a little error fix.
Perhaps you can use this init script for bumblebee.

Thanks for helping

raveit65 closed this Jun 7, 2012

raveit65 commented Jun 7, 2012

I see that already sript files for init and systemd are in your source code.
I think my probs results because the the elrepo rpm is build for nouveau.
I will build my own rpm.


Lekensteyn commented Jun 7, 2012

Sorry, it's a bug in Bumblebee which has been committed, but not released. Commits:

raveit65 commented Jun 7, 2012

For the new rpm i used those configure flags

in result the rpm will build with those files

installed (but not packed) File(s) found:

I miss the the systemd files. Is there a extra configure flag or should i insert them manualy in the rpm build process?


Lekensteyn commented Jun 7, 2012

The systemd script has to be copied manually from the scripts directory iirc.

raveit65 commented Jun 7, 2012

rpm with systemd + nvidia is done for fedora and work well.
One litle issue, if i choose CONF_PIDFILE=/var/run as configure flag bumblebeed can't write the pidfile in /var/run.
Without this flag it works.

Let me say a big thankx for your work, you did a great job!
Bumblebee-3,0 is a big step forward
A configure flag for systemd in the next release would be amazing.


Lekensteyn commented Jun 7, 2012

It expects a file, not a directory name. So you need to use CONF_PIDFILE=/var/run/ No problem, you're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment