CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Hardware Support
  bumblebee project + libbsd

 

 Bottom   Previous Topic   Next Topic
12>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  Hellboy
      Hellboy
bumblebee project + libbsd
#1

Joined: 2010/7/18
From
Posts: 50
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.
Posted on: 2012/2/20 11:13
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
You could try to rebuild the Fedora 16 SRPM libbsd-0.2.0-4.fc15.src.rpm.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/20 16:57
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#3

Joined: 2010/7/18
From
Posts: 50
I haven't thought about that. I will do that. If it all works, i can build a bumblebee rpm.
Posted on: 2012/2/20 19:11
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#4
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Please update the thread with your progress. If it works others will be interested.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/20 19:46
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#5

Joined: 2010/7/18
From
Posts: 50
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.
Posted on: 2012/2/20 20:26
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#6
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Excellent news. Please keep us posted if anything changes.

If feeling adventurous it would be interesting to see how it plays with ELRepo kmod-nvidia rather than dkms.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/21 10:45
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#7

Joined: 2010/7/18
From
Posts: 50
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.
Posted on: 2012/2/21 10:52
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#8
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Thanks. As you have demonstrated that it works, perhaps an ELRepo RFE would be appropriate. As you seem to be comfortable building packages, you might even want to volunteer to help.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/21 11:08
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#9

Joined: 2010/7/18
From
Posts: 50
If i read the documentation, the kmod-nvidia can replace bbswitch?
Posted on: 2012/2/21 12:01
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#10
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
No, I don't think so, but it might replace akmod-nvidia, and it might be possible to replace bbswitch with a kmod and not require dkms.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/21 14:32
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#11

Joined: 2010/7/18
From
Posts: 50
I see it now. I need to do some tweaking on the configuration of bbswitch.

https://github.com/Bumblebee-Project/bbswitch

I need to test:

load_state
unload_state

And create a config file in /etc/modprobe.d


On my test system i have a external usb drive on which centos is installed, so it has 2 drives, i will leave the usb drive plugged in, when i boot up windows 7.
Posted on: 2012/2/21 14:45
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#12

Joined: 2010/7/18
From
Posts: 50
I installed the kmod-nvidia package.
Configured bumblebee and run glxgears and optirun glxgears, everything works wel.

I also did a glxgears -info and optirun glxgears -info, to see if i am using the nvidia card, and with the kmod-nvidia installed i see nvidia instead of software rastersizer

Except when i reboot, it want's to load the nvidia module and then it say's no such device.

It looks like bumblebee completely disables the card. Have to dig a little bit further.
Posted on: 2012/2/22 6:16
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#13

Joined: 2010/7/18
From
Posts: 50
kmod-nvidia doesn't work together with bumblebee. I tried all kinds of configuration settings.
I now have 2,5 hours of battery time with bumblebee, but that's only when the laptop is not under stress. When i put some load on it, the battery goes empty very quickly.

THe hybrid cards are still a problem in combination with linux.
Posted on: 2012/2/22 20:41
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#14
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
At least you got it to work. Best success I've seen to date.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/22 21:04
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#15

Joined: 2010/7/18
From
Posts: 50
I am browsing for an hour now, to look for a solution to package a app, thatś only in .deb format. My battery status changed from 25% back to 59%. Before the reboot i only had 25%.
I removed the virtualgl package.

I would really like to have a RHEL 6 klone running stable on my laptop. I want a stable laptop, i am not looking for a linux distro i have to do extensive upgrading, like ubuntu and fedora.

I will do some extensive tests the next couple of days.
Posted on: 2012/2/22 21:12
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#16

Joined: 2010/7/18
From
Posts: 50
I got kmod-nvidia working now.
I forgot to remove /etc/X11/xorg.conf

After a reboot everything works now.

Have to do some more testing.
Posted on: 2012/2/23 17:14
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#17
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Thanks for the report. Standing by for more.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/24 2:59
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#18

Joined: 2010/7/18
From
Posts: 50
I have a first version of the bumblebee rpm ready. I am now going to create the bbswitch rpm.
Can i send the bumblebee rpm to elrepo team, so they can test it, verify it?
Posted on: 2012/2/26 8:41
Create PDF from Post Print
Top
  •  Hellboy
      Hellboy
Re: bumblebee project + libbsd
#19

Joined: 2010/7/18
From
Posts: 50
Just finished the bbswitch rpm.
All looks good, i tested it on my laptop. Maybe the rpm's need some tweaking, because it's allways good to let someone else have a look.

I will contact the elrepo team to upload the rpm's.
Posted on: 2012/2/26 13:46
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: bumblebee project + libbsd
#20
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Best way to do that is probably to open a RFE in the bug tracker.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/26 15:08
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
12>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com