bumblebee project + libbsd

Issues related to hardware problems
Hellboy
Posts: 116
Joined: 2010/07/18 09:46:18

bumblebee project + libbsd

Post by Hellboy » 2012/02/20 11:13:24

I am doing some testing to see if my laptop MSI ge620 supports Centos 6.
Everything works out of the box, except for the videocard i have to install bumblebee, because it's a hybrid videocard. And the lifetime of my battery decreases to 1,5 hours instead of 5 with windows 7.

I looked at the following howto:
https://fedoraproject.org/wiki/Bumblebee

to see if i can get it to work, first problem was the autoconf version, which i changed in the makefile.
But then it wants libbsd, i have searched all yum repos, but i can't find it.

Who has any experience with bumblebee and centos 6 and can share his experience?

Thanks in advance.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: bumblebee project + libbsd

Post by pschaff » 2012/02/20 16:57:11

You could try to [url=http://wiki.centos.org/HowTos/RebuildSRPM]rebuild[/url] the Fedora 16 SRPM [url=http://download.fedora.redhat.com/pub/fedora/linux/releases/16/Everything/source/SRPMS/libbsd-0.2.0-4.fc15.src.rpm]libbsd-0.2.0-4.fc15.src.rpm[/url].

Hellboy
Posts: 116
Joined: 2010/07/18 09:46:18

Re: bumblebee project + libbsd

Post by Hellboy » 2012/02/20 19:11:52

I haven't thought about that. I will do that. If it all works, i can build a bumblebee rpm.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: bumblebee project + libbsd

Post by pschaff » 2012/02/20 19:46:47

Please update the thread with your progress. If it works others will be interested.

Hellboy
Posts: 116
Joined: 2010/07/18 09:46:18

Re: bumblebee project + libbsd

Post by Hellboy » 2012/02/20 20:26:09

I installed bumblebee.

First i edited the makefile autoconfig on centos 6 is 2.63
Install the kernel-devel package
Install automake
Install dkms from epel.

The rebuild of the libbsd package was the right solution, install them both.

I installed bumblebee, and copied over the bumblebee sysvinit script.
I then used the bbswitch installation option with dkms from this guide:

http://duxyng.wordpress.com/2012/01/26/finally-working-nvidia-optimus-on-fedora-16/

The laptop lifetime is extended to 2,30 hours, which is a lot better.

But i will have to test further.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: bumblebee project + libbsd

Post by pschaff » 2012/02/21 10:45:50

Excellent news. Please keep us posted if anything changes.

If feeling adventurous it would be interesting to see how it plays with [url=http://elrepo.org/tiki/kmod-nvidia]ELRepo kmod-nvidia[/url] rather than dkms.

Hellboy
Posts: 116
Joined: 2010/07/18 09:46:18

Re: bumblebee project + libbsd

Post by Hellboy » 2012/02/21 10:52:24

I will keep the thread updated. I installed centos on a external usb hard drive, so that i can test easily.
I will have a look at the ELrepo repo.

To bad the hardware suppliers don't write drivers about the hybrid cards.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: bumblebee project + libbsd

Post by pschaff » 2012/02/21 11:08:22

Thanks. As you have demonstrated that it works, perhaps an ELRepo [url=http://elrepo.org/bugs/]RFE[/url] would be appropriate. As you seem to be comfortable building packages, you might even want to volunteer to help. :-)

Hellboy
Posts: 116
Joined: 2010/07/18 09:46:18

Re: bumblebee project + libbsd

Post by Hellboy » 2012/02/21 12:01:39

If i read the documentation, the kmod-nvidia can replace bbswitch?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: bumblebee project + libbsd

Post by pschaff » 2012/02/21 14:32:21

No, I don't think so, but it might replace akmod-nvidia, and it [i]might[/i] be possible to replace bbswitch with a kmod and not require dkms.

Post Reply