Bumblebeed does not start on boot after upgrade to 3.1 (Linux Mint 13/14?) #337

Closed
0rzech opened this Issue Feb 26, 2013 · 32 comments

Comments

Projects
None yet
@0rzech

0rzech commented Feb 26, 2013

Distro: Linux Mint 14 Nadia (but Ubuntu 12.04 probably as well, as per http://ubuntuforums.org/showthread.php?t=2120421).

Bumblebeed does not start automatically on boot after upgrade (still can be run manually though). The workaround for this issue is to create /etc/init/bumblebeed.override file containing:

start on    (runlevel [2345])
stop on     (runlevel [016])

or to place these stanzas back in /etc/init/bumblebeed.conf file instead of the following:

start on    (login-session-start or desktop-session-start)
stop on     (desktop-shutdown)

EDIT by Lekensteyn: if you are a newb and do not know how to make these changes, follow the following instructions:

  1. Open a terminal
  2. Paste the below command:
printf 'start on    (runlevel [2345])\nstop on     (runlevel [016])\n' | sudo tee /etc/init/bumblebeed.override
  1. Press Enter to run this.
  2. Enter your password
  3. Profit!

EDIT: Please note that I didn't put much effort into finding any other workarounds. I have simply compared tag v3.0.1 to v3.1 and that was it. So maybe there's some other solution.

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Feb 27, 2013

Member

But this change happened to solve issues, as said at 20b4ece.

@Lekensteyn, an idea about this?

Member

ArchangeGabriel commented Feb 27, 2013

But this change happened to solve issues, as said at 20b4ece.

@Lekensteyn, an idea about this?

@dibok

This comment has been minimized.

Show comment
Hide comment
@dibok

dibok Feb 27, 2013

I have same problem. I updated system today, bumblebee was on the list. I updated bumblebee many times and have not problems. But today after reboot my cooler still working and command "lshw -c video" showing me two cards instead of intel only. Starting bumblebee manually by "sudo start bumblebee" solving problem. My conf file after update have lines:

start on (login-session-start or desktop-session-start)
stop on (desktop-shutdown)

Linux Mint 14 64bit, XFCE
Kernell: 3.5.0-25
Dell XPS LX502 Nvidia Optimus GT 540M

dibok commented Feb 27, 2013

I have same problem. I updated system today, bumblebee was on the list. I updated bumblebee many times and have not problems. But today after reboot my cooler still working and command "lshw -c video" showing me two cards instead of intel only. Starting bumblebee manually by "sudo start bumblebee" solving problem. My conf file after update have lines:

start on (login-session-start or desktop-session-start)
stop on (desktop-shutdown)

Linux Mint 14 64bit, XFCE
Kernell: 3.5.0-25
Dell XPS LX502 Nvidia Optimus GT 540M

@poVoq

This comment has been minimized.

Show comment
Hide comment
@poVoq

poVoq Feb 27, 2013

same error here. Mint Linux 13 (based on Ubunt12.04).

poVoq commented Feb 27, 2013

same error here. Mint Linux 13 (based on Ubunt12.04).

@Corollax

This comment has been minimized.

Show comment
Hide comment
@Corollax

Corollax Feb 27, 2013

Had the same issue. Editing the stanzas you specified fixed the problem. Registered an account just to thank you guys for figuring out the solution. :)

Had the same issue. Editing the stanzas you specified fixed the problem. Registered an account just to thank you guys for figuring out the solution. :)

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Feb 28, 2013

Member

Please post relevant lines of your syslog so we can see why bumblebeed did not start.

Member

Lekensteyn commented Feb 28, 2013

Please post relevant lines of your syslog so we can see why bumblebeed did not start.

@0rzech

This comment has been minimized.

Show comment
Hide comment
@0rzech

0rzech Feb 28, 2013

This is the funniest part, because, at least in my case, there was nothing in syslog since upgrade, as if bumblebeed script simply wasn't run at boot. However, manual "service bumblebeed start" did append related stuff to syslog. That's why I started to look for solution in /etc/init_/bumblebeed_.

0rzech commented Feb 28, 2013

This is the funniest part, because, at least in my case, there was nothing in syslog since upgrade, as if bumblebeed script simply wasn't run at boot. However, manual "service bumblebeed start" did append related stuff to syslog. That's why I started to look for solution in /etc/init_/bumblebeed_.

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Feb 28, 2013

Member

Does /etc/init/bumblebeed.override exist? Is /etc/init/bumblebeed.conf still the original one? What about /etc/init.d/bumblebeed (should be a wrapper for the upstart script).

Member

Lekensteyn commented Feb 28, 2013

Does /etc/init/bumblebeed.override exist? Is /etc/init/bumblebeed.conf still the original one? What about /etc/init.d/bumblebeed (should be a wrapper for the upstart script).

@0rzech

This comment has been minimized.

Show comment
Hide comment
@0rzech

0rzech Feb 28, 2013

It seems I didn't make it clear: after upgrade to 3.1, but before creating /etc/init/bumblebeed.override, no bumblebeed related logs were appended to syslog until I run script manually. Now everything is fine, but I use the override. I haven't changed /etc/init/bumblebeed.conf nor /etc/init.d/bumblebeed.

0rzech commented Feb 28, 2013

It seems I didn't make it clear: after upgrade to 3.1, but before creating /etc/init/bumblebeed.override, no bumblebeed related logs were appended to syslog until I run script manually. Now everything is fine, but I use the override. I haven't changed /etc/init/bumblebeed.conf nor /etc/init.d/bumblebeed.

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Feb 28, 2013

Member

@porzechowski Alright, that should be fine then. I have one other very likely cause, noone of the login-session-start or desktop-session-start events are emitted.

As far as dependencies go, I think that bumblebeed must:

  • start after the hybrid-detect service has run
  • before any desktop/Xorg has started (if possible)
  • before dkms has started (is there a dkms service that rebuilds kernel modules on start?)
  • after/before (?) pulseaudio (I remember a kernel oops bug somewhere in kernel 3.2 caused by bad interaction with the audio driver on HDMI audio hardware)

Then we can revert to the changes and use start-stop with those numeric levels instead.

Member

Lekensteyn commented Feb 28, 2013

@porzechowski Alright, that should be fine then. I have one other very likely cause, noone of the login-session-start or desktop-session-start events are emitted.

As far as dependencies go, I think that bumblebeed must:

  • start after the hybrid-detect service has run
  • before any desktop/Xorg has started (if possible)
  • before dkms has started (is there a dkms service that rebuilds kernel modules on start?)
  • after/before (?) pulseaudio (I remember a kernel oops bug somewhere in kernel 3.2 caused by bad interaction with the audio driver on HDMI audio hardware)

Then we can revert to the changes and use start-stop with those numeric levels instead.

@samworley

This comment has been minimized.

Show comment
Hide comment
@samworley

samworley Mar 3, 2013

Thanks a lot! Solved the issue for me as well.

Thanks a lot! Solved the issue for me as well.

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Mar 3, 2013

Member

@samworley I have seen your mail, you are also using Linux Mint (14). Is LM that different in regard with upstart hooks?

Member

Lekensteyn commented Mar 3, 2013

@samworley I have seen your mail, you are also using Linux Mint (14). Is LM that different in regard with upstart hooks?

@dibok

This comment has been minimized.

Show comment
Hide comment
@dibok

dibok Mar 4, 2013

I also noticied that I often have problems with my laptop power off. Just black screen, I must manually press power off button.

dibok commented Mar 4, 2013

I also noticied that I often have problems with my laptop power off. Just black screen, I must manually press power off button.

@candhare

This comment has been minimized.

Show comment
Hide comment
@candhare

candhare Mar 6, 2013

I'm using Linux Mint 14 (fully updated) on an Asus N55SL laptop (Geforce GT 635M). Creating the /etc/init/bumblebeed.override worked for me.

@porzechowski Thanks for the workaround!

candhare commented Mar 6, 2013

I'm using Linux Mint 14 (fully updated) on an Asus N55SL laptop (Geforce GT 635M). Creating the /etc/init/bumblebeed.override worked for me.

@porzechowski Thanks for the workaround!

@samworley

This comment has been minimized.

Show comment
Hide comment
@samworley

samworley Mar 6, 2013

@ca261
You could just replace the two lines, as also suggested, in the .conf file and save creating a new file!

@ca261
You could just replace the two lines, as also suggested, in the .conf file and save creating a new file!

@candhare

This comment has been minimized.

Show comment
Hide comment
@candhare

candhare Mar 6, 2013

I know! Either way works :)

candhare commented Mar 6, 2013

I know! Either way works :)

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Mar 6, 2013

Member

Definitely looks to be a Linux Mint issue...

Member

ArchangeGabriel commented Mar 6, 2013

Definitely looks to be a Linux Mint issue...

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Mar 6, 2013

Member

Confirmed to be true for LM 13.

Member

Lekensteyn commented Mar 6, 2013

Confirmed to be true for LM 13.

@gorin666

This comment has been minimized.

Show comment
Hide comment
@gorin666

gorin666 Mar 7, 2013

Also after update to 3.1 at openSuSE 12.2 x64 from http://download.opensuse.org/repositories/home:/Overman79/openSUSE_12.2/ repository bumblebeed.service did not start.
I have a systemd, not system V.
A bumblebee-3.1-3.1.x86_64.rpm now installs bumblebeed.service to /usr/lib/systemd/system/, but not to /lib/systemd/system/.
After move it to /lib/systemd/system/ and run
#systemctl enable bumblebeed.service
service starts normally.

gorin666 commented Mar 7, 2013

Also after update to 3.1 at openSuSE 12.2 x64 from http://download.opensuse.org/repositories/home:/Overman79/openSUSE_12.2/ repository bumblebeed.service did not start.
I have a systemd, not system V.
A bumblebee-3.1-3.1.x86_64.rpm now installs bumblebeed.service to /usr/lib/systemd/system/, but not to /lib/systemd/system/.
After move it to /lib/systemd/system/ and run
#systemctl enable bumblebeed.service
service starts normally.

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Mar 7, 2013

Member

@gorin666 This is a totally different issue, that is depending on openSuSE packaging.

Member

ArchangeGabriel commented Mar 7, 2013

@gorin666 This is a totally different issue, that is depending on openSuSE packaging.

@dnstanciu

This comment has been minimized.

Show comment
Hide comment
@dnstanciu

dnstanciu Mar 20, 2013

Had the same problem on Linux Mint 13. Modifying /etc/init/bumblebeed.conf as in the OP, followed by a reboot, solved the problem. Thank you, @porzechowski !

Had the same problem on Linux Mint 13. Modifying /etc/init/bumblebeed.conf as in the OP, followed by a reboot, solved the problem. Thank you, @porzechowski !

@adlermedrado

This comment has been minimized.

Show comment
Hide comment
@adlermedrado

adlermedrado Mar 26, 2013

Thank you guys.
The override solution worked well for me.

Thank you guys.
The override solution worked well for me.

@raulrm75

This comment has been minimized.

Show comment
Hide comment
@raulrm75

raulrm75 Mar 30, 2013

Thank you so much. I have changed the file /etc/init/bumblebeed.conf by changing the start and stop lines with your suggestion. It worked for me too.

I am on Linux Mint 13.

Thank you so much. I have changed the file /etc/init/bumblebeed.conf by changing the start and stop lines with your suggestion. It worked for me too.

I am on Linux Mint 13.

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Mar 30, 2013

Member

@Lekensteyn What should we do here? Package Bumblebee differently for Linux Mint? Do we know what change exactly causes this.

Member

ArchangeGabriel commented Mar 30, 2013

@Lekensteyn What should we do here? Package Bumblebee differently for Linux Mint? Do we know what change exactly causes this.

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Mar 30, 2013

Member

When reverting to the runlevel lines, test:

  • Whether pulseaudio still work with machines equipped with the HDMI audio port. (bad interaction with bbswitch caused an Oops in the patch in combination with the audio component of vgaswitcheroo)
  • Whether X starts without a black screen (probing for nvidia card during startup or something?)

I would keep packaging the same, diverging for such a small thing is an unnecessary maintenance burden.

Oh, and we likely need to disable PCI config space poking too to lower the chance of errors.

Member

Lekensteyn commented Mar 30, 2013

When reverting to the runlevel lines, test:

  • Whether pulseaudio still work with machines equipped with the HDMI audio port. (bad interaction with bbswitch caused an Oops in the patch in combination with the audio component of vgaswitcheroo)
  • Whether X starts without a black screen (probing for nvidia card during startup or something?)

I would keep packaging the same, diverging for such a small thing is an unnecessary maintenance burden.

Oh, and we likely need to disable PCI config space poking too to lower the chance of errors.

@nO0B

This comment has been minimized.

Show comment
Hide comment
@nO0B

nO0B Jul 12, 2013

Hi everyone, so the solution here did not work for me. I tried manually starting the daemon, I tried re-installing nvidia drivers and bumblebee itself, and I have tried editing the conf file. Nothing works. I have an integrated graphics card (Intel HD 4000 and Nvidia Geforce 630m). syslog tells me that the device is not configured. I can provide you with more information if required, but I was wondering if there might be another thread that might be more relevant to the issue I am having.

nO0B commented Jul 12, 2013

Hi everyone, so the solution here did not work for me. I tried manually starting the daemon, I tried re-installing nvidia drivers and bumblebee itself, and I have tried editing the conf file. Nothing works. I have an integrated graphics card (Intel HD 4000 and Nvidia Geforce 630m). syslog tells me that the device is not configured. I can provide you with more information if required, but I was wondering if there might be another thread that might be more relevant to the issue I am having.

@Lekensteyn

This comment has been minimized.

Show comment
Hide comment
@Lekensteyn

Lekensteyn Jul 13, 2013

Member

@nO0B If manually starting bumblebeed fails, then this is not related to this issue. Make sure to mention which distro you are using.

Member

Lekensteyn commented Jul 13, 2013

@nO0B If manually starting bumblebeed fails, then this is not related to this issue. Make sure to mention which distro you are using.

@nO0B

This comment has been minimized.

Show comment
Hide comment
@nO0B

nO0B Jul 13, 2013

I am using linux mint 13. I am actually coming to realize that I might not have the nvidia card, only the Intel one. Not sure why I thought I had the nvidia, but I guess bumblebee doesn't apply to me.

nO0B commented Jul 13, 2013

I am using linux mint 13. I am actually coming to realize that I might not have the nvidia card, only the Intel one. Not sure why I thought I had the nvidia, but I guess bumblebee doesn't apply to me.

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Dec 6, 2013

Member

Is this still an issue for Mint user?

Member

ArchangeGabriel commented Dec 6, 2013

Is this still an issue for Mint user?

@0rzech

This comment has been minimized.

Show comment
Hide comment
@0rzech

0rzech Dec 7, 2013

@ArchangeGabriel, you mean on LM 13 and 14 or later? If later, I did not experience this problem on LM 16, and AFAIR neither on 15.

0rzech commented Dec 7, 2013

@ArchangeGabriel, you mean on LM 13 and 14 or later? If later, I did not experience this problem on LM 16, and AFAIR neither on 15.

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel Dec 9, 2013

Member

Ok, LM 14 is still supported for some time (I will not consider LM 13 for this), so we will keep this issue open until there, in case some people are looking for this. To be closed on May 1st, 2014.

Member

ArchangeGabriel commented Dec 9, 2013

Ok, LM 14 is still supported for some time (I will not consider LM 13 for this), so we will keep this issue open until there, in case some people are looking for this. To be closed on May 1st, 2014.

@Bugattikid2012

This comment has been minimized.

Show comment
Hide comment
@Bugattikid2012

Bugattikid2012 Apr 25, 2014

I'm having the same issue there, and it is also described here.

http://askubuntu.com/questions/454729/installed-14-04-and-nvidia-graphics-card-wont-load/454874?noredirect=1#comment598705_454874

I have yet to recieve a working solution, even though I have tried everything I have found. From my understanding the issue became present in 3.1? If so, how can I download and install 3.1 and stop it from self updating? I can't use my Nvidia card at all, and I need a fix to this!

I'm having the same issue there, and it is also described here.

http://askubuntu.com/questions/454729/installed-14-04-and-nvidia-graphics-card-wont-load/454874?noredirect=1#comment598705_454874

I have yet to recieve a working solution, even though I have tried everything I have found. From my understanding the issue became present in 3.1? If so, how can I download and install 3.1 and stop it from self updating? I can't use my Nvidia card at all, and I need a fix to this!

@ArchangeGabriel

This comment has been minimized.

Show comment
Hide comment
@ArchangeGabriel

ArchangeGabriel May 5, 2014

Member

Your issue is different. If you have exactly the same things than in the askubuntu, then you have both nvidia-prime and bumblebee installed, which is not wanted.

Member

ArchangeGabriel commented May 5, 2014

Your issue is different. If you have exactly the same things than in the askubuntu, then you have both nvidia-prime and bumblebee installed, which is not wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment