LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-18-2012, 10:09 PM   #1
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Rep: Reputation: 21
BumbleBee


I'm looking to install BumbleBee 3.0 on slackware_64 13.37.
There are, as expected, some requirements...
Code:
    a C compiler
    pkg-config
    glib-2.0 and development headers
    libX11 and development headers
    libbsd and development headers
    help2man (optional, but recommended)

If you're building from git, you'll also need:

    autotools (2.68+ recommended)
I did a full install except for KDE , never did like it, I'm using xfce.

The only one of the requirements at Slackbuilds is libssd, with no mention of development headers.

How does one check if any of these requirements are already installed?
I also have no idea what git is, so I'm not sure if I would need the autotools or not...
 
Old 05-18-2012, 11:52 PM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 101Reputation: 101
as root, run
Code:
slackpkg search libssd
That will tell you if a package for libssd is installed.
 
Old 05-19-2012, 07:17 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,784
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I just installed bumblebee on my laptop using these slackbuilds and the only missing dependency on a full Slackware64 13.37 install was libjpeg-turbo. You can get a slackbuild for that on Slackbuilds.org, but you need a newer version so just grab the newest source and alter the version number in the slackbuild.
 
Old 05-20-2012, 06:16 PM   #4
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Hangdog42 View Post
I just installed bumblebee on my laptop using these slackbuilds and the only missing dependency on a full Slackware64 13.37 install was libjpeg-turbo. You can get a slackbuild for that on Slackbuilds.org, but you need a newer version so just grab the newest source and alter the version number in the slackbuild.
Thanks for the links...
I'm not sure about the source code for nvidia-bumblebee and nvidia-kernel...
Should I be using the nvidia 295.40 drivers for these two slackbuilds?
Or, are these different? If they're different, where can they be downloaded?
 
Old 05-20-2012, 08:52 PM   #5
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Ok, I don't understand this....

AS ROOT, I try to install VirtualGL and get "permission denied"
I have no clue as to how to get around this one....

EDIT*** Fixed it....It wasn't executable...

Last edited by ceh383; 05-20-2012 at 09:06 PM. Reason: oops
 
Old 05-21-2012, 07:47 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,784
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
Originally Posted by ceh383 View Post
Thanks for the links...
I'm not sure about the source code for nvidia-bumblebee and nvidia-kernel...
Should I be using the nvidia 295.40 drivers for these two slackbuilds?
Or, are these different? If they're different, where can they be downloaded?
I just used the nvdia 295.40 drivers in both. If I understand correctly, these two packages are replacements for the "normal" nvidia-driver and nvidia-kernel slackbuilds. I had previously installed nvidia with the normal slackbuilds, and when I installed bumblebee, I uninstalled the normal ones first. Then I installed the bumblebee packages and restarted X. The optirun command seems to be doing the right thing as I can hear the fan kick on when I use it, and my battery life doubled, so I'm guessing that bumblebee is doing its job.
 
Old 05-21-2012, 09:12 PM   #7
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
*Edit*
I removed all packages, removed the nouveau drivers, then rebuilt and reinstalled everything.
Now I get this error...
Code:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

[ERROR]Aborting because fallback start is disabled.
At this rate, I'm going to wear Google out...LOL

Last edited by ceh383; 05-21-2012 at 10:20 PM.
 
Old 05-21-2012, 11:12 PM   #8
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Ok, I blacklisted the nouveau drivers and it seems to be working...

Now I need to figure out how to run it at system startup....More Google time....
 
Old 05-22-2012, 07:17 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,784
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
Now I need to figure out how to run it at system startup....More Google time....
If I remember correctly, the slackbuilds I linked to earlier put rc.bumblebeed in /etc/rc.d. I just start that up from rc.local and it works well.
 
1 members found this post helpful.
Old 05-22-2012, 10:17 PM   #10
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
It seems I can only start bumblebee as su, I did create the group and add myself to it...but no joy...

Quote:
If I remember correctly, the slackbuilds I linked to earlier put rc.bumblebeed in /etc/rc.d. I just start that up from rc.local and it works well.
This my be stupid, but, I don't see rc.local anywhere...where is it?
 
Old 05-23-2012, 07:17 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,784
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
It seems I can only start bumblebee as su
I think the bumblebee daemon has to start as root since it interacts with hardware. I haven't done any digging so this is probably irresponsible speculation, but it could be that it works like a lot of other daemons in that it starts as root and then drops to a non-privileged user after it gets going.

Quote:
This my be stupid, but, I don't see rc.local anywhere...where is it?
If you did a full install, it should be in /etc/rc.d along with all of the other startup scripts. If it isn't there, you can just create it, it is nothing more than a basic shell script. If you make it executable, it should be run as the last thing at startup.
 
Old 05-23-2012, 10:00 PM   #12
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
That did the trick and battery life is very much improved...Hangdog42, thank you for all your help.

Chuck

Last edited by ceh383; 05-23-2012 at 10:06 PM.
 
  


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
[SOLVED] Unable to make bumblebee work in slackware 13.37 DecioSP Slackware 4 05-05-2012 08:53 PM
Arch Linux : Cannot seem to get bumblebee running kiran87 Linux - Software 1 02-15-2012 04:19 AM
[SOLVED] Debian Bumblebee glxspheres failsauce Lumify Linux - Hardware 0 02-14-2012 07:34 AM
[SOLVED] Bumblebee 3 on Slackware 1337 Error ensa Slackware 10 02-12-2012 08:28 AM
Slackbuilds for Bumblebee - Nvidia Optimus jimmy_page_89 Slackware 5 12-31-2011 07:31 AM


All times are GMT -5. The time now is 06:57 AM.

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