Bumblebee-Project/bbswitch — Issue #11: help with a new distro issues?
Author: gsgatlin
Created: 2012-02-10 02:20:54+00:00
State: open

Sorry to bother but I feel I am close to having bumblebee work. maybe. hehe. So maybe someone can give me some advice?

I am using centos 6 as my distro of choice. We use it where I work.

I installed the nvidia binary blob install. Then using Samsagax's suggestion, I was able to fix the 3d in my intel card. :)

So all the nvidia files are where the installer put them except for the conflicting files which have been moved to:

/usr/lib/nvidia-bumblebee/libGL.so
/usr/lib/nvidia-bumblebee/libGL.so.1
/usr/lib/nvidia-bumblebee/libGL.so.290.10
/usr/lib64/nvidia-bumblebee/libGL.so
/usr/lib64/nvidia-bumblebee/libGL.so.1
/usr/lib64/nvidia-bumblebee/libGL.so.290.10
/usr/lib64/nvidia-bumblebee/xorg/modules/extensions/libglx.so
/usr/lib64/nvidia-bumblebee/xorg/modules/extensions/libglx.so.290.10

I guessed at the configure options...

./configure CONF_DRIVER=nvidia CONF_LDPATH_NVIDIA=/usr/lib64:/usr/lib CONF_MODPATH_NVIDIA=/usr/lib64/nvidia-bumblebee/xorg/modules

when I try to start bumblebeed, i get errors in my /var/log/messages file.

Feb 9 20:49:44 localhost bumblebeed[5985]: Invalid configuration: no driver configured.
Feb 9 20:50:35 localhost bumblebeed[6059]: Invalid configuration: no driver configured.
Feb 9 21:01:16 localhost bumblebeed[6258]: Switching method 'bbswitch' is available and will be used.
Feb 9 21:01:16 localhost bumblebeed[6258]: Invalid configuration: no driver configured.

Here is my configuration file, /usr/local/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.
[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

## Client options. Will take effect on the next optirun executed.
[optirun]
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# 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
# 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=
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib64:/usr/lib
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib64/nvidia-bumblebee/xorg/modules
XorgConfFile=/usr/local/etc/bumblebee/xorg.conf.nvidia

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

Maybe my configuration file is missing something or I needed to configure with more options before make? Any help or advice would be awesome. All this graphics stuff is so new to me.