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

Bumblebee freezes system on boot (Debian) #1036

Open
dalechyn opened this issue Aug 16, 2019 · 6 comments
Open

Bumblebee freezes system on boot (Debian) #1036

dalechyn opened this issue Aug 16, 2019 · 6 comments

Comments

@dalechyn
Copy link

Hi. I am using ParrotOS (a Debian derivative), and me and other users are having the issue with nvidia-driver 418.88 on 5.2.20 kernel. The workaround around this bug is putting a delay between starting bumblebeed service right after starting of desktop-manager service. It literally looks like this:
# systemctl edit bumblebeed.service

[Unit]
After=display-manager.service
BindsTo=display-manager.service

[Service]
Type=idle
ExecStartPre=/bin/sleep 5


Steps to reproduce: you need to have 5.2.20 kernel, install nvidia-driver 418.88 and bumblebee 3.2.1-20.

@PalinuroSec
Copy link

this patch to bumblebee seems to solve the issue, but it is a dirty hack and some help from upstream would be useful to better understand the cause of the bug and develop a better solution

https://github.com/ParrotSec/bumblebee/blob/master/debian/patches/fix-dm-race-condition.patch
https://nest.parrotsec.org/debian-packages/bumblebee/blob/master/debian/patches/fix-dm-race-condition.patch

@vincent-rg
Copy link

Solved the freeze issue on boot for me (Debian 10 / Kernel 4.19.0.6).
Laptop: MSI GS60-6QE (GTX970M / Intel HD Graphics 530). Still have an issue with nvidia driver unable to unload.

@yurii-github
Copy link

h0tw4t3r,
your workaround worked for me

Linux laptop 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
bumblebeed (Bumblebee) 3.2.1

vincent-rg,
you probably have file at /etc/X11/xorg.conf which contains line like "Driver "nvidia"" or something

@pablodz
Copy link

pablodz commented Dec 8, 2019

Nice, I was looking for this for 3 months.

@ranjithshegde
Copy link

ranjithshegde commented Apr 13, 2020

I will test it today on my Arch. Any exceptions? I ask because the only way to recover the system in case this does not work is to chroot into my system with a live USB, which i dont fancy carrying around everywhere.

An alternate solution I am using is to enable bumblebeed from startx - xinit or xsession and setting alias to reboot and shutdown by adding bumblebeed disable

EDIT: Works like a charm! Thanks a lot. I will specify this method on other open issues for the same problem!

@asctime
Copy link

asctime commented Feb 1, 2024

This is is still an issue in Bookworm. Three years later.

Everything works fine when run manually (systemctl, dm start etc) but we are still choking on a boot sequence.

Thanks for the fix, works as advertised.

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

No branches or pull requests

7 participants