You are not logged in.

#1 2012-04-01 11:09:39

f0nd004u
Member
Registered: 2009-05-06
Posts: 16

Thinkpad T420 with Optimus: Card is turning on at random

Hey yall,

I'm using bumblebeed on my Thinkpad T420 and upgraded to bbswitch for power management. The discrete card still shows up in lspci when it's 'turned off" but power consumption goes down and bumblebee says its off, so I figure that's the best I'm gonna get.

Weird thing is, it keeps turning itself on for no good reason. I manually switch the daemon on and off, which I thought was completely controlling all software interface with the card. Apparently ACPI is turning the card on for some reason, and I don't want it to. The only reason I noticed is because I was watching the logs to figure out unrelated ACPI behavior. Pasted below is when I unplugged the laptop and plugged it back in a couple times to see what happened. About a minute later, ACPI wakes up the card. The stuff after that is me running a script that cycles the daemon, which is the most consistent way I have to disable the card manually. I think I pressed a laptop button in there somewhere too.

Does anyone know why ACPI might be waking up the card at random, and how to get it to stop? I have a feeling it's eating away at my battery without my knowledge by turning itself on when I'm on the road.

Apr  1 03:54:11 localhost josh: ACPI action undefined: PNP0C0A:00
Apr  1 03:54:11 localhost laptop-mode: Laptop mode 
Apr  1 03:54:11 localhost laptop-mode: enabled, 
Apr  1 03:54:11 localhost laptop-mode: not active [unchanged]
Apr  1 03:54:11 localhost josh: ACPI action undefined: PNP0C0A:00
Apr  1 03:54:11 localhost laptop-mode: Laptop mode 
Apr  1 03:54:11 localhost laptop-mode: enabled, 
Apr  1 03:54:11 localhost laptop-mode: not active [unchanged]
Apr  1 03:55:01 localhost kernel: [43515.975286] nvidia 0000:01:00.0: power state changed by ACPI to D0
Apr  1 03:55:01 localhost kernel: [43515.975304] nvidia 0000:01:00.0: power state changed by ACPI to D0
Apr  1 03:55:01 localhost kernel: [43515.975308] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Apr  1 03:55:01 localhost kernel: [43515.975313] thinkpad_acpi: EC reports that Thermal Table has changed
Apr  1 03:55:01 localhost kernel: [43515.975316] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Apr  1 03:55:01 localhost kernel: [43515.975329] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Apr  1 03:55:01 localhost kernel: [43515.975477] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  295.33  Sat Mar 17 14:55:45 PDT 2012
Apr  1 03:55:01 localhost josh: ACPI group/action undefined: ibm/hotkey / LEN0068:00
Apr  1 03:55:38 localhost bumblebeed[13836]: /usr/sbin/bumblebeed 3.0 started
Apr  1 03:55:38 localhost kernel: [43553.070886] bbswitch: disabling discrete graphics
Apr  1 03:55:38 localhost kernel: [43553.083249] pci 0000:01:00.0: Refused to change power state, currently in D0
Apr  1 03:55:38 localhost kernel: [43553.083871] thinkpad_acpi: EC reports that Thermal Table has changed
Apr  1 03:55:38 localhost josh: ACPI group/action undefined: ibm/hotkey / LEN0068:00
Apr  1 03:55:38 localhost bumblebeed[13839]: Received Terminated signal.
Apr  1 03:55:38 localhost kernel: [43553.091937] pci 0000:01:00.0: power state changed by ACPI to D3

Offline

#2 2012-04-01 11:19:03

f0nd004u
Member
Registered: 2009-05-06
Posts: 16

Re: Thinkpad T420 with Optimus: Card is turning on at random

Ok, so, apparently it is turning itself on when I'm using Flash. I am scratching my head. My browser should have no idea that card exists, because I use optirun to select things to run in that layer. And the bumblebee daemon is off. This seems like a security issue! I'm only able to control the card with root privileges; how on earth is Flash getting around that?

Any ideas are welcome, this is a little over my head. I don't understand ACPI in any intimate way.

Offline

#3 2012-04-03 00:13:15

mugg
Member
Registered: 2010-02-04
Posts: 4

Re: Thinkpad T420 with Optimus: Card is turning on at random

I see that you have the proprietary Nvidia drivers installed, did you check if hardware acceleration is enabled for flash ?
Maybe libvdpau is waking up your gpu for some reason.

Last edited by mugg (2012-04-03 00:14:35)

Offline

#4 2012-06-07 23:11:39

akuschki
Member
Registered: 2009-10-17
Posts: 40

Re: Thinkpad T420 with Optimus: Card is turning on at random

I have the same problem, is there any news on this issue?

Edit: there is a pertinent bug report here: https://github.com/Bumblebee-Project/Bu … issues/144

Last edited by akuschki (2012-06-07 23:25:16)

Offline

Board footer

Powered by FluxBB