https://bugs.freedesktop.org/show_bug.cgi?id=41569
Summary: [r600 KMS] Asus A35T A4-3400 Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: robertcnelson@gmail.com
This laptop, has only one standard video connector (VGA) along with the lcd screen. With 3.1-rc9+ plus airlied's drm-next on bootup bios init the screen, kernel boots in text mode fine, but when KMS takes over the screen goes blank. (the external VGA connector also goes blank). (running latest git of xorg-ati/mesa)
interesting from dmesg;
[ 32.534186] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 104 [ 32.534191] Raw EDID: [ 32.534194] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534196] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534198] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534199] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 70 [ 32.534201] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534203] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534205] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.534207] 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 [ 32.589038] [drm:radeon_dp_i2c_aux_ch] *ERROR* aux_ch invalid native reply 0x70
voodoo@a53t:~$ ls -lh /lib/firmware/radeon/TURKS_* -rw-r--r-- 1 root root 24K 2011-10-06 22:26 /lib/firmware/radeon/TURKS_mc.bin -rw-r--r-- 1 root root 5.4K 2011-10-06 22:26 /lib/firmware/radeon/TURKS_me.bin -rw-r--r-- 1 root root 4.4K 2011-10-06 22:26 /lib/firmware/radeon/TURKS_pfp.bin
Regards,
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Robert Nelson robertcnelson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r600 KMS] Asus A35T |[r600 KMS] Asus A53T |A4-3400 |A4-3400
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #1 from Robert Nelson robertcnelson@gmail.com 2011-10-07 11:25:48 PDT --- Created an attachment (id=52095) --> (https://bugs.freedesktop.org/attachment.cgi?id=52095) dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #2 from Robert Nelson robertcnelson@gmail.com 2011-10-07 11:26:04 PDT --- Created an attachment (id=52096) --> (https://bugs.freedesktop.org/attachment.cgi?id=52096) Xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52095|application/octet-stream |text/plain mime type| | Attachment #52095|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #3 from Robert Nelson robertcnelson@gmail.com 2011-10-07 11:26:21 PDT --- Created an attachment (id=52097) --> (https://bugs.freedesktop.org/attachment.cgi?id=52097) lspci
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52096|text/x-log |text/plain mime type| | Attachment #52096|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52097|application/octet-stream |text/plain mime type| | Attachment #52097|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |feth@tuttu.info
--- Comment #4 from Alex Deucher agd5f@yahoo.com 2011-10-21 07:43:37 PDT --- *** Bug 42004 has been marked as a duplicate of this bug. ***
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2011-10-28 13:16:46 PDT --- Created attachment 52865 --> https://bugs.freedesktop.org/attachment.cgi?id=52865 possible fix
patch 1/2
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #6 from Alex Deucher agd5f@yahoo.com 2011-10-28 13:17:15 PDT --- Created attachment 52866 --> https://bugs.freedesktop.org/attachment.cgi?id=52866 possible fix
patch 2/2. Do these patches help?
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Robert Nelson robertcnelson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Robert Nelson robertcnelson@gmail.com 2011-10-28 22:41:01 PDT --- Awesome! Thanks Alex.
KMS is now works perfectly on this laptop..
Using v3.1.0 + airlied's drm-next pull for (3.2)
Patch 2 was missing another change you had posted, so it didn't apply: http://people.freedesktop.org/~agd5f/0009-drm-radeon-kms-rework-DP-bridge-ch...
and that patch missed one of the function conversions, so i'm posting a git-format patch dump of the 4 patches I used here:
http://rcn-ee.homeip.net:81/testing/asus-a53t/a4-kms/
Thanks,
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #8 from Anisse Astier anisse@astier.eu 2011-11-03 09:17:28 PDT --- As I said to Alex on IRC, these patches also solves the issue on Toshiba laptops: C670D-10C (AMD E-240) and C670D-11K (AMD E-450). (Old reference: https://bugzilla.kernel.org/show_bug.cgi?id=34822 )
Just putting that out there.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
lonefox@kapsi.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #9 from lonefox@kapsi.fi 2012-01-10 12:45:58 PST --- These patches may fix some systems, but they also cause a similar problem on my HP ProBook 6465b (A6-3410MX processor with built-in GPU). There is also someone else with the same issue on different ProBook model: http://forums.gentoo.org/viewtopic-t-908460.html Reverting the patch from comment #6 fixes it at least for me.
Either way, it is bad for Zathras. :-)
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #10 from Alex Deucher agd5f@yahoo.com 2012-01-10 12:51:52 PST --- (In reply to comment #9)
These patches may fix some systems, but they also cause a similar problem on my HP ProBook 6465b (A6-3410MX processor with built-in GPU). There is also someone else with the same issue on different ProBook model: http://forums.gentoo.org/viewtopic-t-908460.html Reverting the patch from comment #6 fixes it at least for me.
Please attach your xorg log and dmesg output.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #11 from lonefox@kapsi.fi 2012-01-10 13:32:37 PST --- Created attachment 55400 --> https://bugs.freedesktop.org/attachment.cgi?id=55400 dmesg/system log
I deleted the buggy kernels already, but here is the system log from a boot with one. It should have full dmesg output in it.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #12 from lonefox@kapsi.fi 2012-01-10 13:38:34 PST --- Created attachment 55401 --> https://bugs.freedesktop.org/attachment.cgi?id=55401 Xorg log
I don't think Xorg log is relevant here, but since you asked one, I'm attaching it anyway. This is from working system. The bug happens when the console switches from text mode to graphics mode during boot, so I cannot startx or even log in except with ssh.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55401|application/octet-stream |text/plain mime type| | Attachment #55401|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #13 from Alex Deucher agd5f@yahoo.com 2012-01-11 14:16:14 PST --- Do these patches work for everyone? http://people.freedesktop.org/~agd5f/dce_fixes/ They are against drm-next or Linus' tree.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #14 from lonefox@kapsi.fi 2012-01-12 08:48:06 PST --- (In reply to comment #13)
Do these patches work for everyone?
They do work for me.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #17 from Robert Nelson robertcnelson@gmail.com 2012-01-12 21:10:18 UTC --- Unfortunately those dce fixes regress my asus a53t laptop..
Using Linus's current top of tree with those 4 patches.. Attached dmesg/xorg.log
Is it too early to for qwerk table for these laptops? ;)
Regards,
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #15 from Robert Nelson robertcnelson@gmail.com 2012-01-12 21:06:07 PST --- Created attachment 55530 --> https://bugs.freedesktop.org/attachment.cgi?id=55530 dmesg of asus a53t with dce fixes patchset
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #16 from Robert Nelson robertcnelson@gmail.com 2012-01-12 21:07:00 PST --- Created attachment 55531 --> https://bugs.freedesktop.org/attachment.cgi?id=55531 xorg log of asus a53t with dce fixes patchset
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #18 from Alexander Konotop alexander.konotop@gmail.com 2012-01-19 04:17:14 PST --- HP 4535s - patches from comment#13 work perfectly. Kernel 3.2.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #19 from Florian Mickler florian@mickler.org 2012-01-21 08:53:40 PST --- A patch referencing this bug report has been merged in Linux v3.2-rc1:
commit cf2aff6eff251b6fbdaf8c253e65ff7c693de8cd Author: Alex Deucher alexander.deucher@amd.com Date: Fri Oct 28 16:07:36 2011 -0400
drm/radeon/kms: fix DP setup on TRAVIS bridges
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #20 from Alexander Konotop alexander.konotop@gmail.com 2012-01-23 05:49:49 PST --- Normal 3.2 kernel doesn't work for me. I tried Debian's 3.2rc7 and Aptosid's 3.2 kernels - they don't work. So seems like the patches haven't been merged into 3.2. Maybe not all of them have been merged, there are 4 patches. I have applied all 4 to my kernel and it works. And I don't think that Debian or Aptosid maintainers have deleted some patches from the original kernel - maybe they have added some but not deleted.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Nikoli nikoli@lavabit.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nikoli@lavabit.com
--- Comment #21 from Nikoli nikoli@lavabit.com 2012-01-28 09:00:21 PST --- I am the author of https://forums.gentoo.org/viewtopic-t-908460.html , do you need any additional info, logs?
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #22 from Alex Deucher agd5f@yahoo.com 2012-02-01 08:50:16 PST --- Created attachment 56457 --> https://bugs.freedesktop.org/attachment.cgi?id=56457 fix travis setup
Does this patch do the right thing for everyone's platform? Patch should apply against Linus' master or Dave's drm-fixes branch.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #23 from Robert Nelson robertcnelson@gmail.com 2012-02-01 11:26:37 PST --- Alex,
The patch (in comment 22) on top of v3.2.2 works fine with kms on my Asus a53t..
Regards,
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #24 from lonefox@kapsi.fi 2012-02-03 23:12:13 PST ---
The patch (in comment 22) on top of v3.2.2 works fine with kms on my Asus a53t..
Works on the ProBook too.
https://bugs.freedesktop.org/show_bug.cgi?id=41569
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=41569
--- Comment #25 from Florian Mickler florian@mickler.org 2012-02-11 07:51:40 PST --- A patch referencing this bug report has been merged in Linux v3.3-rc3:
commit 304a48400d9718f74ec35ae46f30868a5f4c4516 Author: Alex Deucher alexander.deucher@amd.com Date: Thu Feb 2 10:18:00 2012 -0500
drm/radeon/kms: fix TRAVIS panel setup
dri-devel@lists.freedesktop.org