LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   BumbleBee (http://www.linuxquestions.org/questions/slackware-14/bumblebee-945821/)

ceh383 05-18-2012 10:09 PM

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...

Cultist 05-18-2012 11:52 PM

as root, run
Code:

slackpkg search libssd
That will tell you if a package for libssd is installed.

Hangdog42 05-19-2012 07:17 AM

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.

ceh383 05-20-2012 06:16 PM

Quote:

Originally Posted by Hangdog42 (Post 4682577)
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?

ceh383 05-20-2012 08:52 PM

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...

Hangdog42 05-21-2012 07:47 AM

Quote:

Originally Posted by ceh383 (Post 4683507)
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.

ceh383 05-21-2012 09:12 PM

*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

ceh383 05-21-2012 11:12 PM

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....

Hangdog42 05-22-2012 07:17 AM

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.

ceh383 05-22-2012 10:17 PM

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?

Hangdog42 05-23-2012 07:17 AM

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.

ceh383 05-23-2012 10:00 PM

That did the trick and battery life is very much improved...Hangdog42, thank you for all your help.

Chuck


All times are GMT -5. The time now is 11:30 AM.