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

Multiple issues probably related to the same cause #828

Open Single34 opened 7 years ago

Single34 commented 7 years ago

startx freezes the system if the nvidia card is turned off, a workaround is to turn on the nvidia card before launching x. Wayland isn't affected and can be started when the nvidia card is turned off perfectly.

There's a probability that the system freezes when powering on the nvidia card. Usually when I hit enter, the cursor blinks slower and slower gradually and eventually stops blinkling (pretty much like something got stuck in an infinite loop).

When the nvidia card is on, lspci is working as expected. But when the card is off, the first lspci command entered causes a delay (about 1 sec) and end up with a correct output, a subsequent lspci command freezes the system. But if I turn nvidia card on before the second lspci command is issued, everything is back to normal. When I turn the card off again, same story happens again (i.e. first lspci causes delay, second freezes the system).

I have tried pcie_port_pm=off and acpi_osi=! acpi_osi="Windows 2009" and acpi_osi="Windows 2015". None of the above worked.

I have laptop mode tools installed, but its services are never enabled because I haven't configured them yet.

I have checked that bbswitch does work with or without pcie_port_pm=off by watching a current meter in the battery. It does reduce power consumption significantly (by 5/13).

Single34 commented 7 years ago

And about my laptop model: Gigabyte Aero 14 (GTX 1060) i7-6700HQ, Geforce GTX 1060 I changed the ssd inside into a samsung 960 evo 1tb, but I don't think that's related to the problem, although I'm currently having some problem with the samsung ssd.

about my system: Arch linux 64bit, i3 as X windows manager, sway as wayland windows manager.

Single34 commented 7 years ago

cat /sys/bus/pci/devices/0000\:01\:00.0/power/control

says 'on'.

Lekensteyn commented 7 years ago

Sounds like https://bugzilla.kernel.org/show_bug.cgi?id=156341

Unfortunately there is no solution yet, only a workaround. If not already, can you post to your tarball according to https://bugs.launchpad.net/lpbugreporter/+bug/752542?