Not start bumblebeed when no optimus system
vcheng at debian.org
Mon Jun 15 00:25:04 UTC 2015
On Sun, Jun 14, 2015 at 10:21 AM, Diederik de Haas
<didi.debian at cknow.org> wrote:
> I'm building a Debian Live system (with KDE) and also want to support Optimus
> systems ... when that's available.
> When I try the built image on my PC, with nvidia card, KDM/Xorg isn't started
> because it couldn't find a screen (and thus $DISPLAY was not set).
> Stopping the bumblebeed service and 'modprobe nvidia-current' and then
> restarting KDM showed the KDE GUI.
This is deliberate; the bumblebee package installs
/etc/modprobe.d/bumblebee.conf which blacklists both nvidia and
nouveau (in order to ensure that bbswitch gets loaded first).
> Is it possible to integrate bumblebee into a live system in such a way that it
> only works when it's run on an Optimus system?
No, not unless you expect the user to do manual configuration
(although to be fair, there's currently still some amount of manual
configuration to be done by the user before "optirun" works seamlessly
from the end-user POV, e.g. adding the user to the bumblebee group).
More information about the pkg-nvidia-devel