Skip to contentSkip to conversation

New: [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon

Bug 57201 [email protected] 1 participant 5 messages Apr 27, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=57201

Summary: [vgaswitcheroo] increased consumption and hangups
after hibernating with disabled radeon
Product: Drivers
Version: 2.5
Kernel Version: 3.9-rc8-24-gd7d7271
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: No

Created an attachment (id=100101)
--> (https://bugzilla.kernel.org/attachment.cgi?id=100101)
lspci -vv (from the older kernel)

After hibernation with disabled radeon and resuming, vgaswitcheroo thinks that discrete card is powered down, but in fact it is not. It consumes power, and attemts to disable it again hangups the system.

Steps to reproduce:
1. Start system, switch to intel (if needed), disable unused card (echo DDIS and OFF to /sys/kernel/debug/vgaswitcheroo/switch)
2. Check power consumption (for example, with powertop)
3. Hibernate the system, resume
4. Check power consumption again, notice increase

If attempting to re-disable card (echo ON and OFF) echo hang-ups after ON. If you SIGINT echo, whole system will hangup.

On the older 3.8.8 kernel the behaviour is somewhat different:
1. Echo ON and OFF, the power consumption will go down.
2. Hibernate the system again, resume.
3. Notice power consumption increase again.
4. Echo ON.
And system hangups just like with newer kernel.

A workaround is to enable card before hibernation and disable it after resuming --- it works in both kernels.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 57201] [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon

https://bugzilla.kernel.org/show_bug.cgi?id=57201

--- Comment #1 from Nikolay Amiantov <[email protected]> 2013-04-27 14:03:36 --- Created an attachment (id=100111)
--> (https://bugzilla.kernel.org/attachment.cgi?id=100111)
dmesg with failure from 3.9-rc8

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 57201] [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57201

--- Comment #2 from Nikolay Amiantov <[email protected]> 2013-04-27 14:05:32 --- Created an attachment (id=100121)
--> (https://bugzilla.kernel.org/attachment.cgi?id=100121)
dmesg after rebooting from failure, 3.9-rc8

Also, after rebooting (with magic-sysrq), the ATI card is not avaliable at all (it doesn't exist in lspci). It can be fixed with poweroff-poweron. Attached dmesg log from this state.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 57201] [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57201

--- Comment #3 from Nikolay Amiantov <[email protected]> 2013-04-27 14:06:26 --- Created an attachment (id=100131)
--> (https://bugzilla.kernel.org/attachment.cgi?id=100131)
dmesg, 3.8.8

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#4 lore raw

[Bug 57201] [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57201

Nikolay Amiantov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #100101|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.