Skip to contentSkip to conversation

vgaswitcheroo not working anymore

Bug 53111 [email protected] 1 participant 15 messages Jan 29, 2013 – Nov 18, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

Rafael J. Wysocki <[email protected]> changed:

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

          Component|Other                       |Video(DRI - non Intel)
         AssignedTo|[email protected]                 |drivers_video-dri@kernel-bu
                   |                            |gs.osdl.org
            Product|Power Management            |Drivers
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
In reply to a message not in the archive

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

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher <[email protected]> 2013-01-29 13:58:59 --- Can you bisect?

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
In reply to a message not in the archive

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

--- Comment #2 from [email protected] 2013-01-29 19:10:46 --- Usually I use the current arch package. Looking at the Arch Rollback Machine
(http://arm.konnichi.com/search/index.php?a=64&q=^linux&core=1) shows that there was made a jump from 3.6.11 to 3.7.3. I was a bit surprised before to get 3.7.4 all of a sudden... I just tried 3.7.3 and the problem appears there already.

Doing a quick search I found this:
https://bugzilla.novell.com/show_bug.cgi?id=798254 indicating that it's already broken on 3.7.1 (similar description, and _same_ lspci | grep VGA as mine:

[root@hplaptop cem]# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]

The old Arch bug mentioned there was mine, but note that it is _not_ related to this error cause in the meantime vgaswitcheroo was working.

Don't know if it's of interest but maybe see the link there:
http://www.phoronix.com/scan.php?page=news_item&px=MTE4MDM

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
In reply to a message not in the archive

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

Alexander Mezin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Alexander Mezin <[email protected]> 2013-02-19 11:01:19 --- I have the same problem with
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler XT [AMD Radeon HD 6700M Series]

Seems that the bug is introduced in this commit:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=492b49a2f21a7ce6cb0abce36017daa06036a626

Before it discrete card actually switches off.

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.
#5 lore raw
In reply to a message not in the archive

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

--- Comment #4 from Alex Deucher <[email protected]> 2013-02-19 13:32:03 --- Make sure your kernel has this patch:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=0b90365e7a32317b948583c4b5c2712d84610b08

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.
#7 lore raw
In reply to a message not in the archive

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

--- Comment #6 from Alexander Mezin <[email protected]> 2013-02-19 14:55:44 --- Created an attachment (id=93541)
--> (https://bugzilla.kernel.org/attachment.cgi?id=93541)
Workaround

I found a workaround.

atpx->functions.power_cntl is 0 on my machine. Without this check switcheroo works again.

lspci:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 3388
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler XT [AMD Radeon HD 6700M Series] (rev ff)

It's muxless system.

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.
#8 lore raw
In reply to a message not in the archive

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

--- Comment #7 from Alex Deucher <[email protected]> 2013-02-19 15:36:13 --- Created an attachment (id=93591)
--> (https://bugzilla.kernel.org/attachment.cgi?id=93591)
Print atpx function mask

Can you attach the output of this patch? I'd like to see the atpx function mask on your system.

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.
#10 lore raw
In reply to a message not in the archive

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

--- Comment #9 from Alex Deucher <[email protected]> 2013-02-19 18:02:54 --- Created an attachment (id=93601)
--> (https://bugzilla.kernel.org/attachment.cgi?id=93601)
possible fix

Does the attached patch fix the issue for you?

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.
#12 lore raw
In reply to a message not in the archive

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

Florian Mickler <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from Florian Mickler <[email protected]> 2013-03-04 21:28:06 --- A patch referencing this bug report has been merged in Linux v3.9-rc1:

commit 43a23aa450cc19fe8996caf09e7e21ae5f6e56e8

Author: Alex Deucher <[email protected]>
Date:   Tue Feb 19 12:55:52 2013 -0500

drm/radeon: properly validate the atpx interface

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.
#13 lore raw
In reply to a message not in the archive

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

Daniel Vetter <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #12 from Daniel Vetter <[email protected]> 2013-04-20 18:21:28 --- *** Bug 55311 has been marked as a duplicate of this bug. ***

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.