Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Closed

Comments

@0rzech
Copy link

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
Copy link
Member

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

@Lekensteyn, an idea about this?

@dibok
Copy link

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
Copy link

poVoq commented Feb 27, 2013

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

@Corollax
Copy link

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
Copy link
Member

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

@0rzech
Copy link
Author

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
Copy link
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).

@0rzech
Copy link
Author

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
Copy link
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.

@samworley
Copy link

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

@Lekensteyn
Copy link
Member

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

@dibok
Copy link

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
Copy link

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
Copy link

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

@candhare
Copy link

candhare commented Mar 6, 2013

I know! Either way works :)

@ArchangeGabriel
Copy link
Member

Definitely looks to be a Linux Mint issue...

@Lekensteyn
Copy link
Member

Confirmed to be true for LM 13.

@gorin666
Copy link

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
Copy link
Member

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

@dnstanciu
Copy link

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
Copy link

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

@raulrm75
Copy link

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
Copy link
Member

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

@Lekensteyn
Copy link
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.

@rkharkar
Copy link

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
Copy link
Member

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

@rkharkar
Copy link

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
Copy link
Member

Is this still an issue for Mint user?

@0rzech
Copy link
Author

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
Copy link
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.

@Bugattikid2012
Copy link

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
Copy link
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.

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

No branches or pull requests