https://bugs.freedesktop.org/show_bug.cgi?id=28016
Summary: [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon) Product: DRI Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: critical Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: astronomo@op.pl
Created an attachment (id=35492) --> (https://bugs.freedesktop.org/attachment.cgi?id=35492) kernel log with the backtrace
I have tested recent branches drm-radeon-testing (last commit 7a1ffce50373c177d3f6eecce52badc40c90e1dd) and drm-next (last commit 9e51159c14c29ebd485a45ba56f148e180d62c29) from http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git. These branches contain patches for enabling unmappable VRAM. However, soon after booting I am getting a GPU lockup and corrupted console and X.
My hardware is laptop ASUS M50SA with 4GB system memory, and graphics 1GB Mobility Radeon HD 3650.
I am attaching the kernel output with the backtrace and lspci -v output.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #1 from Grzegorz Kowal astronomo@op.pl 2010-05-07 04:42:22 PDT --- Created an attachment (id=35493) --> (https://bugs.freedesktop.org/attachment.cgi?id=35493) lspci -v output
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Grzegorz Kowal astronomo@op.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|medium |high
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #2 from Grzegorz Kowal astronomo@op.pl 2010-05-07 04:48:35 PDT --- To be more precise, I bisected the commit introducing the problem. It is 6b8b1786a8c29ce6e32298b93ac8d4a18a2b11c4 (drm/radeon/kms: enable use of unmappable VRAM V2). Before it everything works fine.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #3 from Alex Deucher agd5f@yahoo.com 2010-05-07 06:18:03 PDT ---
*** This bug has been marked as a duplicate of bug 27822 ***
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Grzegorz Kowal astronomo@op.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |
--- Comment #4 from Grzegorz Kowal astronomo@op.pl 2010-05-07 08:35:57 PDT --- I am reopening the bug since the patch included in bug 27822 does not resolve my problem.
I have tested once again the recent branch drm-next with the last commit "drm/ttm: fix, avoid iomapping system memory" (9e51159c14c29ebd485a45ba56f148e180d62c29) and the problem remains.
I am attaching dmesg output from this as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #5 from Grzegorz Kowal astronomo@op.pl 2010-05-07 08:36:30 PDT --- Created an attachment (id=35498) --> (https://bugs.freedesktop.org/attachment.cgi?id=35498) dmesg output from drm-next
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[REGR] RV635 GPU lockup |KMS:RV635:HD3650 GPU lockup |after enabling unmappable | |VRAM V2 (KMS, Radeon) |
--- Comment #6 from Jerome Glisse glisse@freedesktop.org 2010-05-10 03:14:46 PDT --- Can you describe what you are doing when it lockup (where you using firefox on heavy website with lot of picture ? ...)
Also please try with reverting : 6b8b1786a8c29ce6e32298b93ac8d4a18a2b11c4
and report if it helps
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #7 from Grzegorz Kowal astronomo@op.pl 2010-05-10 06:29:42 PDT --- Basically, I am just booting the kernel. The screen is corrupted since the initialization of the KMS (bounch of white dots on black background, it looks like each line is shifted horizontally). When I log in using ssh, however, everything seems to work fine.
Once I start the X server I am getting the soft lockup. The screen flickers a few times, the server seems to restart ending with the distorted image of kdm background. I can post the images if necessary.
After reverting 6b8b1786a8c29ce6e32298b93ac8d4a18a2b11c4 everything works fine. There is no screen corruption after the KMS initialization and the X server works fine. Obviously, the amount of accessible VRAM is reduced from 1024MB to 256MB then.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #8 from Jerome Glisse glisse@freedesktop.org 2010-05-10 06:51:33 PDT --- Please attach full dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #9 from Jerome Glisse glisse@freedesktop.org 2010-05-10 06:51:51 PDT --- Full dmesg without the revert.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #10 from Grzegorz Kowal astronomo@op.pl 2010-05-10 12:22:58 PDT --- Created an attachment (id=35552) --> (https://bugs.freedesktop.org/attachment.cgi?id=35552) Full dmesg without the revert.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #11 from Grzegorz Kowal astronomo@op.pl 2010-05-10 12:30:42 PDT --- Created an attachment (id=35553) --> (https://bugs.freedesktop.org/attachment.cgi?id=35553) Full dmesg with the revert.
I have not noticed that my dmesg was not full (kernel log size was too small).
I am submitting two full dmesg outputs for the recent drm-radeon-testing branch: one without any modifications (bad) and the second with the reverted commit 6b8b1786 (good).
Jerome, let me know if you need anything else in order to diagnose this problem.
Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=28016
--- Comment #12 from Jerome Glisse glisse@freedesktop.org 2010-06-03 12:10:06 PDT --- Created an attachment (id=36035) View: https://bugs.freedesktop.org/attachment.cgi?id=36035 Review: https://bugs.freedesktop.org/review?bug=28016&attachment=36035
HDP NONSURF to maximum size
Can you confirm that attach patch fix the issue for you
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Grzegorz Kowal astronomo@op.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #13 from Grzegorz Kowal astronomo@op.pl 2010-06-03 14:39:09 PDT --- I can confirm, that the patch fixes my problems.
Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Grzegorz Kowal astronomo@op.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #14 from Grzegorz Kowal astronomo@op.pl 2010-06-09 08:21:00 PDT --- I am reopening this since the patch has not been applied yet.
https://bugs.freedesktop.org/show_bug.cgi?id=28016
Grzegorz Kowal astronomo@op.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
dri-devel@lists.freedesktop.org