Skip to content
This repository

Bumblebee 3.0 doesn't work (Error loading or GLX) #41

Closed
aliasbody opened this Issue · 13 comments

6 participants

Luis Da Costa G Joaquín Ignacio Aramendía Jaron Viëtor raysarvatt Peter Wu
Luis Da Costa

Hello Everyone,
Today I made an install of Bumblebee 3.0 (fresh install so no need to any uninstall to update). After the installation ended and the user's been added to the group bumblebee, I tried to start optirun and this is what happens :

"With Driver="
[aliasbody@BodyAsus ~]$ optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process /sbin/modinfo started, PID 3055.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Process /sbin/modinfo started, PID 3056.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nouveau driver
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: Yes. X is active.

[INFO]Running application through vglrun.
[DEBUG]Process vglrun started, PID 3065.
Xlib: extension "GLX" missing on display ":8".
Error: couldn't get an RGB, Double-buffered visual
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Socket closed.
[DEBUG]Killing all remaining processes.

"With Driver=nvidia"
[aliasbody@BodyAsus ~]$ optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[INFO]Configured driver: nvidia
[DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[DEBUG]Process /sbin/modinfo started, PID 3228.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[DEBUG]Socket closed.
[ERROR]Could not connect to bumblebee daemon - is it running?

"With Driver=nouveau"
[aliasbody@BodyAsus ~]$ optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[INFO]Configured driver: nouveau
[DEBUG]Skipping auto-detection, using configured driver 'nouveau'
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: Yes. X is active.

[INFO]Running application through vglrun.
[DEBUG]Process vglrun started, PID 3390.
Xlib: extension "GLX" missing on display ":8".
Error: couldn't get an RGB, Double-buffered visual
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Socket closed.
[DEBUG]Killing all remaining processes.

The package as been installed directly from the aur :
http://aur.archlinux.org/packages.php?ID=49469

Thanks in Advance,
Luis Da Costa

Joaquín Ignacio Aramendía
Owner

The package clearly states that you need to install the drivers separately.

If that isn't clear enough please let me know and I can put that on the ArchWiki in some other way :)

https://wiki.archlinux.org/index.php/Bumblebee#Installation

To use it with nouveau you need the following packages:

  • xf86-video-nouveau
  • nouveau-dri
  • libgl
  • a proper installed xorg-server

For nvidia, just install nvidia-bumblebee. Be sure to load the modules correctly and restart the daemon.

Jaron Viëtor
Collaborator

Also, you have the setting
LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
active when using nouveau. This setting should be unset for nearly all nouveau configs.

Luis Da Costa

I think I found the problem... there was an error while installing bumblebee, and the nvidia drivers didn't install correctly :
*** Unable to determine the target kernel version. ***

After that I removed all the bumblebee package, and reinstalled it again, the optirun was working with nouveau but not with nvidia (because of the problem above)..

Is there anyway to bypasse this by edting the config files of nvidia before the instalation ?

PS : I am using Arch Linux with the lastest kernel 3.2.1-1-ARCH

Thanks in Advance

Joaquín Ignacio Aramendía
Owner

Here is a possible workaround:
Install the nvidia-utils-bumblebee package from AUR. Then install dkms-nvidia from AUR and load that kernel module. Worked like that for me. I have the same kernel.

Luis Da Costa

dkms-nvidia ? ok I will try that

Joaquín Ignacio Aramendía
Owner

This will also work:

  • extra/nvidia (if you don't install extra/nvidia-utils)
  • aur/nvidia-bumblebee
Luis Da Costa

How it is possible to install extra/nvidia without the need of removing libgl ?

Luis Da Costa

Problem solved, everything is working fine and extra/nvidia is installed instead of nvidia-bumblebee ^^

Thanks in advance for all your help :D

raysarvatt

I have the same problem with ubuntu 11.10
I don't know what I have to do

enrico@raysarvatt:~$ optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process /sbin/modinfo started, PID 3080.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia-current)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[DEBUG]Socket closed.
[ERROR]Could not connect to bumblebee daemon - is it running?

please help me
thanks

Jaron Viëtor
Collaborator

Did you add yourself to the bumblebee group? If yes, what errors does the daemon itself show when you attempt to start it?

Peter Wu
Owner

@raysarvatt Do you really have an Optimus machine? What model do you have?

raysarvatt

SOLVED
I don't know why but the card was disabled from the BIOS
now everything works again ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.