Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 142 forks source link

Laptop failed to boot graphical interface but freezed after BumbleBee installed #975

Open yitro-z-wang opened 6 years ago

yitro-z-wang commented 6 years ago

I installed bumblebee strictly following Bumblebee - Fedora Project Wiki. Motherboard series is CLEVO P95XER/EP6 with American Megatrend BIOS and GPU is NVIDIA 1060. I've tried the param acpi_osi=! acpi_osi='Windows 2009' but it didn't work. Replace 2009 with 2013/2015 didn't help either. I found I could boot into graphical interface with acpi=off, but in that case bumblebee will be obviously useless.

The boot log without acpi=off:

...
bbswitch: loading out-of-tree module taints kernel.
bbswitch: module verification failed: signature and/or required key missing - tainting kernel
bbswitch: version 0.8
bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
ACPI Warning: \_SB.PCI0.PEG8.PEGP._DSM: Argument#4 type mismatch - Found [Buffer], ACPI requires [Package] (20180313/nsarguments-66)
bbswitch: detected an Optimus _DSM function
pci 0000:01:00.0: enabling device (0006 -> 0007)
bbswitch: Successfully loaded. Discrete card 0000:01:00.0 is on
bbswitch: disabling discrete graphics

And then the entire system became unresponsive.

Any ideas or advice?

Cabub commented 6 years ago

Hey @TainKung , I'm also tracking down an issue, and yours sounds a lot like mine... try booting with the discrete graphics card ON. This allows me to start X, but is an issue on its own since I won't get any power savings if my GPU is always on. Anyway it's something else to try.

endrift commented 6 years ago

I have a very similar issue with the GIGABYTE Aero 15X v8. I work around it by making sure bbswitch is loaded and in the ON state but bumblebeed isn't running, starting X, and then starting bumblebeed after X is running. It's suboptimal, but it lets me actually use the laptop.

I still have issues with freezing sometimes though, such as starting Steam or running lshw if the GPU is off. I have to temporarily turn it on using bbswitch and then turn it off when I'm done. Not sure why.

yitro-z-wang commented 6 years ago

Thanks a lot! BTW, I've added After=sddm.service and ExecStartPre=/bin/sleep 10 into bumblebeed.service to make the startup delayed so I could pretend to forget this problem :-P.

But still I hope there will be some 'official' patch.