← Back to team overview

touch-packages team mailing list archive

[Bug 1438106] Re: bumblebee doesn't work with systemd on 15.04, but works with upstart

 

bumblebeed itself fails in the modprobe call, so reassigning back for
now. This could also belong to kmod, but let's find out what's wrong
first. What does that command say?

   grep -r off /etc/mod*

My suspicion is that there is some "alias whatever off" in
/etc/modprobe.d which bumblebee tries to load, and bumblebee calls
"modprobe whatever" and gets this error:

modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='off'
modprobe: ERROR: could not insert 'off': Function not implemented

This is how current kmod behaves, and is independent of systemd vs.
upstart. That may or may not be a kmod bug, but I don't think it is --
"off" is not a magic name in any way, it's not documented in man
modprobe.d. So it seems "off" is merely a convention, but modprobing
indeed will fail. I'll wait for your confirmation, then we can set this
to "Triaged", and I suggest the upstream bug should be reopened.

Thanks!
I don't see any "off" in the bumblebee source, and debian/bumblebee.conf (which gets installed into /etc/modprobe.d/bumblebee.conf) looks fine to me.

** Package changed: systemd (Ubuntu) => bumblebee (Ubuntu)

** Changed in: bumblebee (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- bumblebee doesn't work with systemd on 15.04, but works with upstart
+ bumblebee fails on trying to modprobe "off"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1438106

Title:
  bumblebee fails on trying to modprobe "off"

Status in bumblebee package in Ubuntu:
  Incomplete

Bug description:
  Currently Ubuntu switched to systemd by default, unfortunately bumblebee is not working in this case.
  I have proprietary nvidia driver and bumblebee from standard repository, kernel 3.19.0.

      nazar-pc@nazar-pc ~> optirun steam
      [ 523.733713] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

      [ 523.733754] [ERROR]Aborting because fallback start is disabled.

  with Driver=

      nazar-pc@nazar-pc ~> sudo service bumblebeed status
      ● bumblebeed.service - Bumblebee C Daemon
      Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
      Active: active (running) since ср 2015-03-25 03:56:04 CET; 31s ago
      Main PID: 16229 (bumblebeed)
      Memory: 292.0K
      CGroup: /system.slice/bumblebeed.service
      └─16229 /usr/sbin/bumblebeed

      бер 25 03:56:04 nazar-pc systemd[1]: Started Bumblebee C Daemon.
      бер 25 03:56:04 nazar-pc systemd[1]: Starting Bumblebee C Daemon...
      бер 25 03:56:04 nazar-pc bumblebeed[16229]: [ 495.736332] [INFO]/usr/sbin/bumblebeed 3.2.1 started
      бер 25 03:56:32 nazar-pc bumblebeed[16229]: modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='off'
      бер 25 03:56:32 nazar-pc bumblebeed[16229]: modprobe: ERROR: could not insert 'off': Function not implemented
      бер 25 03:56:32 nazar-pc bumblebeed[16229]: [ 523.733668] [ERROR]Module nouveau could not be loaded (timeout?)
      бер 25 03:56:32 nazar-pc bumblebeed[16229]: [ 523.733678] [ERROR]Could not load GPU driver

  with Driver=nvidia

      nazar-pc@nazar-pc ~> sudo service bumblebeed status
      ● bumblebeed.service - Bumblebee C Daemon
      Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
      Active: activating (auto-restart) (Result: exit-code) since ср 2015-03-25 04:01:52 CET; 1s ago
      Process: 18370 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)
      Main PID: 18370 (code=exited, status=1/FAILURE)

      бер 25 04:01:52 nazar-pc systemd[1]: Unit bumblebeed.service entered failed state.
      бер 25 04:01:52 nazar-pc systemd[1]: bumblebeed.service failed.

  When booted with upstart - works perfectly

  From bumblebee developer:

  > Looks like a compatibility issue with the modprobe configuration file on Ubuntu.
  > When I said compatibility, I think that systemd(/kmod?) does not like the alias nvidia off line in some modprobe configuration as supplied by the nvidia package.

  Initially reported on GitHub: https://github.com/Bumblebee-
  Project/Bumblebee/issues/644

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1438106/+subscriptions


References