Bumblebee-Project/Bumblebee — Issue #75: Help with centos 6 bumblebee issue ?
Author: gsgatlin
Created: 2012-02-10 02:54:41+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.

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.

Here is the bumblebee config file.
http://pastebin.com/XWajXGzw

Also, I tried changing the line:

KernelDriver=
to
KernelDriver=nvidia

The error I get after doing that is:

[gsgatlin@localhost ~]$ optirun glxgears
[ERROR]Cannot access secondary GPU - error: XORG Failed to load module "extmod" (module does not exist, 0)

[ERROR]Aborting because fallback start is disabled.

Here is what /var/log/messages has:

Feb 9 21:34:26 localhost bumblebeed[4209]: Switching method 'bbswitch' is available and will be used.
Feb 9 21:34:26 localhost bumblebeed[4209]: bumblebeed 3.0 started
Feb 9 21:34:26 localhost bumblebeed[4213]: Unloading nvidia driver
Feb 9 21:34:26 localhost kernel: nvidia 0000:01:00.0: PCI INT A disabled
Feb 9 21:34:26 localhost bumblebeed[4213]: Switching dedicated card OFF [bbswitch]
Feb 9 21:34:26 localhost kernel: bbswitch: disabling discrete graphics
Feb 9 21:34:26 localhost kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Feb 9 21:34:26 localhost kernel: pci 0000:01:00.0: power state changed by ACPI to D3
Feb 9 21:34:26 localhost bumblebeed[4213]: Initialization completed - now handling client requests
Feb 9 21:35:05 localhost bumblebeed[4213]: Switching dedicated card ON [bbswitch]
Feb 9 21:35:05 localhost kernel: bbswitch: enabling discrete graphics
Feb 9 21:35:06 localhost kernel: pci 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: pci 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: pci 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: pci 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 9 21:35:06 localhost bumblebeed[4213]: Loading driver nvidia (module nvidia)
Feb 9 21:35:06 localhost kernel: nvidia 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: nvidia 0000:01:00.0: power state changed by ACPI to D0
Feb 9 21:35:06 localhost kernel: nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 9 21:35:06 localhost kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Feb 9 21:35:06 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 290.10 Wed Nov 16 17:39:29 PST 2011
Feb 9 21:35:06 localhost bumblebeed[4213]: Starting X server on display :8.
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module extmod
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "extmod" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module dbe
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "dbe" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module record
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "record" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module dri
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "dri" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module dri2
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "dri2" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module nvidia
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "nvidia" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Warning, couldn't open module mouse
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG Failed to load module "mouse" (module does not exist, 0)
Feb 9 21:35:07 localhost bumblebeed[4213]: XORG No drivers available.
Feb 9 21:35:07 localhost bumblebeed[4213]: X did not start properly
[root@localhost bumblebee-3.0]#

Any ideas what I am doing wrong? Thanks so much for any ideas.