vgaswitcheroo not working anymore
A message that is not in the archive (sent off-list or not yet received): [email protected]/
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 |DriversSignature · 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.
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.
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.
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.
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.
https://bugzilla.kernel.org/show_bug.cgi?id=53111
--- Comment #5 from Alexander Mezin <[email protected]> 2013-02-19 13:52:09 --- Tested on vanilla 3.8. It has this patch.
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.
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.
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.
https://bugzilla.kernel.org/show_bug.cgi?id=53111
--- Comment #8 from Alexander Mezin <[email protected]> 2013-02-19 15:55:26 --- atpx function mask: 0x00000031
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.
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.
https://bugzilla.kernel.org/show_bug.cgi?id=53111
--- Comment #10 from Alexander Mezin <[email protected]> 2013-02-19 19:55:55 --- yes, it fixes the issue
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.
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.
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.
https://bugzilla.kernel.org/show_bug.cgi?id=53111
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |CODE_FIXSignature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=53111
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.