From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 57201] New: [vgaswitcheroo] increased consumption and hangups after hibernating with disabled radeon Date: Sat, 27 Apr 2013 14:02:04 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by gabe.freedesktop.org (Postfix) with ESMTP id 39984E5C65 for ; Sat, 27 Apr 2013 07:02:08 -0700 (PDT) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 179DA20626 for ; Sat, 27 Apr 2013 14:02:07 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id F020720628 for ; Sat, 27 Apr 2013 14:02:04 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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: drivers_video-dri@kernel-bugs.osdl.org ReportedBy: nikoamia@gmail.com CC: nikoamia@gmail.com 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. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.