Package Details: bumblebee-git 3.2.1.r18.3c6f9c9-1

Git Clone URL: https://aur.archlinux.org/bumblebee-git.git (read-only)
Package Base: bumblebee-git
Description: NVIDIA Optimus support for Linux through VirtualGL or primus
Upstream URL: http://www.bumblebee-project.org
Licenses: GPL3
Conflicts: bumblebee, nvidia-304xx-libgl, nvidia-340xx-libgl, nvidia-libgl
Provides: bumblebee, nvidia-304xx-libgl, nvidia-340xx-libgl, nvidia-libgl
Submitter: Samsagax
Maintainer: SolarAquarion
Last Packager: SolarAquarion
Votes: 41
Popularity: 1.619156
First Submitted: 2011-09-06 12:46
Last Updated: 2016-05-03 18:07

Dependencies (12)

Required by (24)

Sources (1)

Latest Comments

dapolinario commented on 2016-04-14 17:36

You could add the following line in the PKGBUILD file:
echo "remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia" >> "${pkgdir}/usr/lib/modprobe.d/bumblebee.conf"

After:
echo "blacklist nvidia" > "${pkgdir}/usr/lib/modprobe.d/bumblebee.conf"

Thus this package will work properly with bbswitch (https://github.com/Bumblebee-Project/Bumblebee/pull/751).

petterk commented on 2015-12-08 13:11

For those with nvidia_modeset issues, see:

https://github.com/Bumblebee-Project/Bumblebee/issues/699#issuecomment-162867091

Lekensteyn commented on 2014-12-14 21:25

Synced packaging with bumblebee, made virtualgl optional. NOTE: version number is different because 3.2-2-g123abcd was previously treated as newer than 3.2.1.

https://github.com/Bumblebee-Project/bumblebee-AUR/commit/0b45046
https://github.com/Bumblebee-Project/bumblebee-AUR/commit/94dd250

TheAifam5 commented on 2014-11-16 18:35

Please remove "bumblebee.conf" from "/usr/lib/modprobe.d/".

This file make a problem with initializing module "nvidia"

Check this:
https://bbs.archlinux.org/viewtopic.php?id=189943

J4913 commented on 2014-03-16 12:58

Never mind, the bumblebee config just had the wrong paths for some reason. I checked, and those are the ones that are in the package, not inherited from non-git bumblebee.

J4913 commented on 2014-03-16 12:46

Says it provides nvidia-libgl but doesn't seem to?

$ pacman -Ql bumblebee-git | grep -v /$
bumblebee-git /etc/bash_completion.d/optirun
bumblebee-git /etc/bumblebee/bumblebee.conf
bumblebee-git /etc/bumblebee/xorg.conf.d/10-dummy.conf
bumblebee-git /etc/bumblebee/xorg.conf.nouveau
bumblebee-git /etc/bumblebee/xorg.conf.nvidia
bumblebee-git /lib/udev/rules.d/99-bumblebee-nvidia-dev.rules
bumblebee-git /usr/bin/bumblebee-bugreport
bumblebee-git /usr/bin/optirun
bumblebee-git /usr/lib/systemd/system/bumblebeed.service
bumblebee-git /usr/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules
bumblebee-git /usr/sbin/bumblebeed
bumblebee-git /usr/share/doc/bumblebee/README.markdown
bumblebee-git /usr/share/doc/bumblebee/RELEASE_NOTES_3_2_1

optirun with virtualgl uses the integrated graphics for some reason, and with primus I get:

primus: fatal: failed to load any of the libraries: /usr/lib/nvidia-bumblebee/libGL.so.1:/usr/lib32/nvidia-bumblebee/libGL.so.1
/usr/lib/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory

The only -git packages I'm using are this and bbswitch-git.

danbruegge commented on 2013-10-09 16:34

Thanks. I keep in mind! :)

Lekensteyn commented on 2013-10-08 19:59

Suggestion incorporated. Next time you can also send a pull request on Github[1].

[1]: https://github.com/Bumblebee-Project/bumblebee-AUR

danbruegge commented on 2013-10-08 18:25

Please update the PKGBUILD and add nvidia-libgl to conflicts and provides.

https://gist.github.com/haengebruegge/6889161

Lekensteyn commented on 2013-07-27 13:52

Updated, note the version change! Previously it was some date, now it is based on the git tag.

bchretien commented on 2013-07-27 11:24

Out-of-date: 99-remove-nvidia-dev.rules was renamed to 99-bumblebee-nvidia-dev.rules.

Samsagax commented on 2012-02-24 16:43

Added the -lrt workarround

Svenstaro commented on 2012-02-16 07:50

Actually you could but it would be better to just fix this in bumblebee upstream by adding the correct ldflags.

Samsagax commented on 2012-02-06 18:25

> It's due an upstream ld update that changes the default behavior sadly. This actually breaks many packages.

So, this emans that there is nothing we (TBP) can do about that?

Svenstaro commented on 2012-02-06 17:04

It's due an upstream ld update that changes the default behavior sadly. This actually breaks many packages.

Samsagax commented on 2012-02-06 16:53

@Svenstaro
> Please make the bumblebee group and user a system group/user.

done.

About the -lrt thing I can't figure it out with pkg-config, do you have any suggestions? On all other distributions it "just works" with just the glib-2.0 test.

Svenstaro commented on 2012-02-06 15:35

No, this should be fixed upstream.

Anonymous comment on 2012-02-06 15:29

FIX to compilation: just add this text

LDFLAGS=-lrt

after the ./configure \ so it should looks like this

./configure LDFLAGS=-lrt \

snoxu commented on 2012-01-28 15:22

Getting a build error:

/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [bin/optirun] Error 1

I have no clue as to what's is going wrong

Svenstaro commented on 2012-01-20 21:54

Please make the bumblebee group and user a system group/user.

dflt commented on 2012-01-16 14:12

So is there any way to watch movies with vdapau output on mplayer using nvidia card? Last time I've tried it I didn't success.

dflt commented on 2012-01-16 13:52

@FPtje install dkms for bbswitch, look for it @AUR

Anonymous comment on 2012-01-14 16:54

There are two things I needed to do to fix things:
1. Bumblebee refused to start. It gave the error "Could not find module 'nouveau'".
The Driver='nouveau' had to be changed to Driver=nouveau (so without the quotes) in /etc/bumblebee/bumblebee.conf
2. For the power management to work, I needed to update the kernel to 3.1.9-2-ARCH. It did NOT work for 3.1.9-1-ARCH.
Even after installing the latest kernel, bbswitch-git couldn't be started for me. Reinstalling bbswitch-git solved the problem for me.

pernix commented on 2012-01-14 12:55

Right, that was the problem. When I changed from bumblebee to bumblebee-git, the group was deleted and then created again (I think) and my user was not added automatically.
Thanks.

pernix commented on 2012-01-14 12:46

Right, that was the problem. When I changed from bumblebee to bumblebee-git, the group was deleted and then created again (I think) and my user was not added automatically.
Thanks.

pernix commented on 2012-01-14 12:45

Right, that was the problem. When I changed from bumblebee to bumblebee-git, the group was deleted and than created again (I think) and my user was not added automatically.
Thanks.

Svenstaro commented on 2012-01-14 10:52

pernix, sounds like you are not in the bumblebee group.

pernix commented on 2012-01-14 10:42

Hi!
Using this package I receive this error each time I try to start optirun:
[ERROR]Could not connect to /var/run/bumblebee.socket! Error: Permission denied
[ERROR]Could not connect to bumblebee daemon - is it running?
[WARN]The Bumblebee server was not available.
etc...
If I run it as superuser the error is:
No protocol specified
Error: couldn't open display :0

Daemon bumblebeed is running.

Samsagax commented on 2012-01-14 05:57

I feel flattered on that comparison. Maybe I can think of it. Is not my decision to make but yours. Is enough that this piece of hacky software is useful for you, we have accomplished our goal :)

Svenstaro commented on 2012-01-14 05:51

If we think about it like that though then most things are workarounds and hacks (X itself being pretty much one of those). We could easily pull in turbojpeg and virtualgl. That wouldn't be a problem. Anyway, I'll let it rest in AUR for now. You seem to be taking good care of it.

Samsagax commented on 2012-01-14 05:44

The problem with that is it's dependencies right now: VirtualGL won't go into [community] because of it's dependency on 'turbojpeg', that library is intentionally removed from the official package because "it's not versioned". I don't really care about Bumblebee getting into official repositories, I just want to use my card in the distro I love :).

Btw: Bumblebee is not the ultimate solution to the Optimus problem. Is a temporary workaround until David Arlie finishes his magic on Xorg and Nvidia eventually stop it's negligence on us (or Nouveau devs come on with the real solution). We, (and I mean Peter) are trying to help on official support while we improve the workaround.

Svenstaro commented on 2012-01-14 05:34

In that case, would you like to eventually see stable bumblebee releases in [community]? It seems to me the project is at a point where official support would make sense and it works rather well for me.

Samsagax commented on 2012-01-14 05:29

Indeed. We are making things stable and trying to make it as seamless as possible. Currently bbswitch had almost no commits so it is somewhat "stable".

Svenstaro commented on 2012-01-14 05:27

Will there be a stable release of bbswitch along with it?

Samsagax commented on 2012-01-14 02:55

the daemon script is indeed a little strange because is derived from the Debian-like one. As I needed the package working I was too lazy to write it all again. Thanks for the snippets, I'll update it soon enough. btw, release 3.0 is scheduled for tomorrow if there are no blockers. Any feedback is welcome. :)

Svenstaro commented on 2012-01-14 02:37

Your daemon scripts also looks rather strange. Why not adopt a more traditional style as in http://projects.archlinux.org/svntogit/packages.git/tree/trunk/mpd?h=packages/mpd ?

Svenstaro commented on 2012-01-14 02:27

A few notes about the .install scriptlet:

Please use more proper user/group checking. See here for example: http://projects.archlinux.org/svntogit/packages.git/tree/trunk/mpd.install?h=packages/mpd

Don't stop the bumblebee service like this was Debian. Install scripts are expected to not start/stop services unless absolutely required. Let users decide when to stop/start it.

Why don't you use https://wiki.archlinux.org/index.php/PKGBUILD#backup and make your own backup function?

You can reduce the code duplication by just calling pre_upgrade in pre_remove() {}, for instance.

Anonymous comment on 2012-01-13 15:57

FPtje, I had the same problem as you with nvidia. It seems you don't have the kernel module.
I had to install dkms-nvidia opencl-nvidia to make it work. But this is for nvidia not for nouveau.

Samsagax commented on 2012-01-13 05:18

Currently I'm focused on my vacation this week. You can help on that one taking the "official" Wiki on the GH website. Soon we will release a massive communication rally about the whole project status and improvements together with a history of the project hopefully to clarify the mess of misinformation out there.

Svenstaro commented on 2012-01-12 19:00

Samsagax do you plan on updating the wiki? Would be cool if you did. :)

Samsagax commented on 2012-01-12 15:49

I'm updating the wiki. The complete configuration changed. Please join #bumblebee on Freenode

Anonymous comment on 2012-01-12 14:09

After installing the latest bumblebee-git I faced the following problem:
Bumblebee fails to start. When I try to start it manually through sudo /bin/bumblebeed it gives this error:

[ERROR]Module ''nouveau'' is not found.

However, my X works fine. My laptop runs on nouveau, and depmod --show | grep nouveau shows that the nouveau modules are installed.
How can I solve this?

Samsagax commented on 2012-01-11 19:53

Updated to the next version of Bumblebee. A new C-coded daemon and client plus a big deal of updates on power management. Will upload a bbswitch package soon

Samsagax commented on 2011-11-13 19:27

@neolith2099: thanks for the heads-up. Will update it soon

neolith2099 commented on 2011-11-13 19:19

Just a note. The PKGBUILD is missing GIT as a build dependency.
I suggest updating your PKGBUILD with the following line:
makedepends=('git')

Cheers!

aliasbody commented on 2011-11-01 23:19

With 1215N the power saving fuction doesn't work ! (acpi_call alone works and all the files have been checked) It works fine with the ubuntu version.