LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-12-2012, 12:49 AM   #1
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Bumblebee 3 on Slackware 1337 Error


Quote:
Originally Posted by teox99 View Post
Bumblebee 3.0 new packages for slackware 13.37 64 bit
http://www.teoxonline.com/appunti.php?id=25
Hi,
Thanks for putting these up.
I am running Slackware 1337 on an Aspire with i7-2630QM CPU @ 2.00GHz and Nvidia 540M Optimus.

I can install it fine but on running I get

Error: couldn't get an RGB, Double-buffered visual

A full verbose output is here:

Code:
bash-4.1# optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[WARN]Using default configuration
[DEBUG]Process /sbin/modinfo started, PID 8413.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: 
[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 8419.
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.

I have tried with both direct and indirect rendering set - same error.
Any help appreciated, Thanks in advance.
 
Old 02-12-2012, 03:05 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
try adding this line
Code:
export LIBGL_ALWAYS_INDIRECT=1
in .bashrc
 
Old 02-12-2012, 03:17 AM   #3
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
try adding this line
Code:
export LIBGL_ALWAYS_INDIRECT=1
in .bashrc

Hi,

Thanks for the suggestion.
I get the same error with this set to 1 or 0.

E.
 
Old 02-12-2012, 04:20 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
here's a link to a forum where they have the similar problem like yours
https://github.com/Bumblebee-Project...ebee/issues/41

probably you can find the answer over there as i don't have optimus on my system
 
Old 02-12-2012, 04:43 AM   #5
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
here's a link to a forum where they have the similar problem like yours
https://github.com/Bumblebee-Project...ebee/issues/41

probably you can find the answer over there as i don't have optimus on my system
Hi,
That is an interesting link.
The problem they have there is that they are using incorrectly installed/configured nouveau drivers. I am using nvidia.
However, I will continue to troubleshoot it. It may be a driver issue I am having.
I hope to attract the attention of someone within the Slackware community who has experience with using Optimus, hopefully with bumblebee, but I suspect that the actual bumblebee is installed ok, as I have been banging my head against this for a while.

Thanks again.
 
Old 02-12-2012, 05:17 AM   #6
teox99
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 3
hi
your prob seams to be related to
/etc/bumblebee/bumblebee.conf

have you these files in /etc/bumblebee/ ?

if you have not older version than bb3.0 you need to install
libjpeg-turbo too

Last edited by teox99; 02-12-2012 at 05:21 AM.
 
Old 02-12-2012, 05:50 AM   #7
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by teox99 View Post
hi
your prob seams to be related to
/etc/bumblebee/bumblebee.conf

have you these files in /etc/bumblebee/ ?

if you have not older version than bb3.0 you need to install
libjpeg-turbo too
Hi,
I think I have all the packages installed.
The content of my bumblebee.conf is:

Code:
### Bumblebee daemon configuration file.
### Boolean options accept 'Y' and 'N'. Do not use true/false or 0/1.

### Modifications made here will need a daemon restart to take effect.

# Should bumblebee service be stopped after last optirun program is closed ?
STOP_SERVICE_ON_EXIT=N

# How many seconds should be waited before giving up on starting the X server ?
X_SERVER_TIMEOUT=10

# Display for the nVidia X Server, choose a higher display (e.g. :5) if you use
# Fast User Switching which starts incrementing from :0 (:0, :1, :2, ...).
VGL_DISPLAY=:8

# The video driver to be used. Supported drivers are 'nvidia' and 'nouveau'.
# Nouveau driver can be used if the available drivers are available and the
# experimental Mesa Gallium3D libraries are present.
DRIVER=nvidia

# The Xorg configuration to be used, leaving it empty will base the file on the
# driver name, which is usually /etc/bumblebee/xorg.conf.DRIVER
X_CONFFILE=

# The group that is allowed to use Bumblebee. Note that the user needs to
# re-login for group membership changes to apply.
BUMBLEBEE_GROUP=bumblebee

# WARNING ! Power management is a very unstable feature for now, use it at your
# own risk. You won't get any support if you use this function. Please set
# first /etc/bumblebee/cardon and /etc/bumblebee/cardoff by just writing your
# calls there (one per line) and nothing else or you will face errors :
# \_SB.PCI0.PEG0.GFX0_ON
# Or :
# \_SB.PCI0.RP00.VGA._DSM {0x01,0x02} 0x03 0x04 {0x1,0x0,0x0,0x3}
# \_SB.PCI0.RP00.VGA._PS0
# You should also set STOP_SERVICE_ON_EXIT to Y if you really want to save
# power/battery life.
# See https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-for-Developers
# for more information.
ENABLE_POWER_MANAGEMENT=N

### The below only affects optirun, restarting the daemon is not necessary

# Image transport from bumblebee X server to screen.
# Possible values: proxy, jpeg, rgb, xv or yuv (default = proxy)
VGL_COMPRESS=proxy

# If ECO mode is active, the nvidia card will not be used if not plugged in
# (running on battery). This setting has only effect on newly started programs.
# This feature is still not enablend and depends on power-management features.
ECO_MODE=N

# Fall back on using the Intel graphics card if the nVidia one is not available.
# If disabled, optirun will quit after displaying an error message.
FALLBACK_START=N
Also the output of this seems ok.
Code:
lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
Sorry, I know Slackware but I am not too familiar with X or GL.

Thanks.
 
Old 02-12-2012, 06:46 AM   #8
teox99
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 3
is your a fresh installation of bb3.0 or an upgrade from an older one?

- you should remove xorg.conf in /etc/X11
- try to blacklist the nouveau driver
- have you added bumblebee group, and started the bumblebeed daemon?

you can read
https://github.com/Bumblebee-Project...roubleshooting
 
Old 02-12-2012, 06:54 AM   #9
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by teox99 View Post
is your a fresh installation of bb3.0 or an upgrade from an older one?

- you should remove xorg.conf in /etc/X11
- try to blacklist the nouveau driver
- have you added bumblebee group, and started the bumblebeed daemon?

you can read
https://github.com/Bumblebee-Project...roubleshooting
It is a fresh install.
I added the bumblebee group when I installed it and the daemon runs fine. I will try your other suggestions when I am at my laptop and troubleshoot some more and post the outcome here.

Thanks again.
 
Old 02-12-2012, 07:19 AM   #10
ensa
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for your help, teox99. Your first suggestion was correct - it was a problem with the config file.

The problem was that when I uninstalled the previous bumblebee the config file was not removed.

The solution was I deleted the bumblebee.conf and re-installed the .tgz

That was all I needed to do.
Your packages worked perfectly.
Thank you.
e.
 
Old 02-12-2012, 08:28 AM   #11
teox99
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 3
ok!

there are other problems that are still not solved, such as VDPAU and windump, WEBGL acceleration,
i hope we find a solution later!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackbuilds for Bumblebee - Nvidia Optimus jimmy_page_89 Slackware 5 12-31-2011 07:31 AM
Slackware 64 1337, slight delay when processing commands using Bash shell hyperhead Slackware 7 04-26-2011 03:05 AM
Possible last-minute inclusion in Slackware 1337 -- new Emacs released... Lufbery Slackware 4 03-13-2011 12:59 AM
are you 1337? drigz General 18 06-17-2004 06:36 AM


All times are GMT -5. The time now is 04:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration