Skip to content

Samsagax/bumblebeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bumblebee Daemon

Bumblebee daemon is a rewrite of the original Bumblebee service, providing an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use.

Build Requirements

  • pkg-config
  • autotools (2.68+ recommended)
  • glib-2.0 and development headers
  • libx11 and development headers
  • libbsd and development headers (if pidfile support is enabled, default yes)

Runtime dependencies

If you want to use optirun for running applications with the discrete nVidia card, you will also need:

  • virtualgl
  • Driver for nvidia graphics card: nouveau or the proprietary nvidia driver. Don't install it directly from nvidia.com as it will break 3D capabilities on the Intel graphics card and therefore affect the display of frames from the nvidia card.

If you want to make use of Power Management, you will need:

  • bbswitch
  • If you're brave and want to try the switcheroo method, install at least the optimus patch. Note that suspend is not yet supported by this method.

Building

autoreconf -fi
./configure
make

Usage

sudo bin/bumblebeed --daemon
bin/optirun -- <application>

For more information, try --help on either of the two binaries.

Installing System-wide and Packaging

You can build the binaries and set the system wide paths at configure time

autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc
make

To set the default driver to nvidia and adjust the library and module paths for it, use ./configure like:

./configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
  CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib32/nvidia-current \
  CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules \
  --prefix=/usr --sysconfdir=/etc

For all available options, run:

./configure --help

After building the binaries they can be installed using make:

sudo make install

For packagers you need to add DESTDIR=$pkgdir

make install DESTDIR=$pkgdir

About

Bumblebee daemon and client rewritten

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages