Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
488 stars 78 forks source link

few issues when turning on discrete card #146

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

OS: Arch Linux 64bit uname -a: Linux Single34-Aero14 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

Lekensteyn commented 7 years ago

Need more info about your hardware... (laptop model, dGPU, etc)