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

Suspend: After wake up nvidia card is on #830

Open postadelmaga opened 7 years ago

postadelmaga commented 7 years ago

I just notice that everytime I wake up the pc after a suspend the output of $ optirun --status is: Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is on.

if then I run an app with optirun and close it then the card is correctly switched off.

my /etc/bumblebee/bumblebee.conf is:

` [bumblebeed]

VirtualDisplay=:8

KeepUnusedXServer=false

ServerGroup=bumblebee TurnCardOffAtExit=false NoEcoModeOverride=false Driver= XorgConfDir=/etc/bumblebee/xorg.conf.d

[optirun] Bridge=auto VGLTransport=proxy PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus AllowFallbackToIGC=false [driver-nvidia] KernelDriver=nvidia

PMMethod=auto

PMMethod=bbswitch LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau`

Yamakuzure commented 7 years ago

I just notice that everytime I wake up the pc after a suspend the output of $ optirun --status is: Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is on.

I just tried it out on my Dell Precision M4800 with Intel HD + Quadro and it says after resuming:

~ $ optirun --status Bumblebee status: Ready (3.2.1-45-gc322bd8). X inactive. Discrete video card is off.

This is built from the "develop" branch from https://github.com/Bumblebee-Project/Bumblebee.git

[driver-nvidia] KernelDriver=nvidia KernelDriver=nvidia_uvm

Did you ever try that one out?

Regards

Sven

bm0 commented 6 years ago

I have the same problem on my Xiaomi mi notebook air 13.3 This problem has already been described. That Issue contains a solution but it's a crutch.

Also I set up tlp but it did not help.

UPD. Attached dmesg logs(Before and after suspend):

bm0 commented 6 years ago

Did you ever try that one out?

It does not work for me.

postadelmaga commented 6 years ago

@bm0 I have your same PC, I doesn't work for me either