Skip to contentSkip to conversation

New: [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

Bug 28016 [email protected] 1 participant 17 messages May 7, 2010 – Jul 6, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #1 from Grzegorz Kowal <[email protected]> 2010-05-07 04:42:22 PDT --- Created an attachment (id=35493)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35493)
lspci -v output

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Grzegorz Kowal <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #2 from Grzegorz Kowal <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Alex Deucher <[email protected]> 2010-05-07 06:18:03 PDT ---

*** This bug has been marked as a duplicate of bug 27822 ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Grzegorz Kowal <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #4 from Grzegorz Kowal <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 28016] [REGR] RV635 GPU lockup after enabling unmappable VRAM V2 (KMS, Radeon)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #5 from Grzegorz Kowal <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Jerome Glisse <[email protected]> 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 <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #7 from Grzegorz Kowal <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #10 from Grzegorz Kowal <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #11 from Grzegorz Kowal <[email protected]> 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!

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

--- Comment #12 from Jerome Glisse <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Grzegorz Kowal <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Grzegorz Kowal <[email protected]> 2010-06-03 14:39:09 PDT --- I can confirm, that the patch fixes my problems.

Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Grzegorz Kowal <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #14 from Grzegorz Kowal <[email protected]> 2010-06-09 08:21:00 PDT --- I am reopening this since the patch has not been applied yet.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 28016] KMS:RV635:HD3650 GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28016

Grzegorz Kowal <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.