dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
@ 2012-01-14 10:26 bugzilla-daemon
  2012-01-21 15:42 ` [Bug 44772] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-01-14 10:26 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 44772
           Summary: Radeon HD6950 (Cayman): Resuming from hibernation
                    fails sometimes
    Classification: Unclassified
           Product: DRI
           Version: XOrg CVS
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: h.judt@gmx.at


Resuming after hibernation fails sometimes. After reading the snapshot (the
percentage reached 100%), the screen would switch back, but instead the monitor
goes black and turns off and the complete system hangs. No ssh or sysreq keys
work, everything is dead.

Some things I noticed that might help:
* It does not occur with nomodeset=1.
* You don't need X to reproduce this, just console with modesetting enabled is
enough.
* It is not reproducible reliably, but the likelyness that it will occur is
unfortunately not small (I'd say 3-4 out of 10 attempts).
* The fastboot kernel parameter is not related to it.

That is all with vanilla kernel. Now enter tuxonice, because it provides more
information. Tuxonice reads the atomic copy first (20%..40%..60%..80%->100%).
Now, it would switch on tuxoniceui and show the progress for reading in the
caches. However, in the problem case the switch does not happen, because the
system hangs as described for the vanilla kernel (no ssh, sysreq). At this
point, one has to push the reset button to reboot. However, tuxonice has a nice
feature: It will detect the image, and that it has resumed from this image
before. It then asks the user whether he wants to try resuming from that same
image again or remove the image and continue booting. If one presses 'C' to
resume from the image, this time everything works and the system is fully
functional. In fact, it's a 100% chance that the screen does not get black or
the system freezes.

The issue does not occur at certain cycles, sometimes three hibernation->resume
cycles go well, then the fourth and fifth will not work, then the next four are
ok and so on...

So, I believe there is some issue with hardware initialization and hibernation.
It might be that something does not really finish in time. What could there be
wrong?

This is with vanilla-3.2-rc5 and 3.2-rc7-tuxonice (see
http://git.tuxonice.net/?p=tuxonice-head.git;a=summary), but I guess all 3.2-rc
kernels will show the same problem. I had troubles hibernating with
vanilla-3.2-final, so I could not test this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
@ 2012-01-21 15:42 ` bugzilla-daemon
  2012-02-13  0:22 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-01-21 15:42 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Harald Judt <h.judt@gmx.at> 2012-01-21 07:42:30 PST ---
Still reproducible in 3.3-rc1.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
  2012-01-21 15:42 ` [Bug 44772] " bugzilla-daemon
@ 2012-02-13  0:22 ` bugzilla-daemon
  2012-02-19 23:32 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-02-13  0:22 UTC (permalink / raw)
  To: dri-devel

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

Harald Judt <h.judt@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Harald Judt <h.judt@gmx.at> 2012-02-12 16:22:50 PST ---
I cannot reproduce this anymore in 3.3-rc3, setting resolved fixed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
  2012-01-21 15:42 ` [Bug 44772] " bugzilla-daemon
  2012-02-13  0:22 ` bugzilla-daemon
@ 2012-02-19 23:32 ` bugzilla-daemon
  2012-02-21 22:13 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-02-19 23:32 UTC (permalink / raw)
  To: dri-devel

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

Harald Judt <h.judt@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
           Severity|major                       |normal

--- Comment #3 from Harald Judt <h.judt@gmx.at> 2012-02-19 15:32:14 PST ---
Ok, just when I thought this has been fixed, the bug strikes back! I still have the same problem and it seems I was a bit lucky that it did not occur until a
few days ago.

I've tried to investigate further using netconsole, but unfortunately netconsole is of no use here because the network interface is down while reading the
atomic copy.

The symptoms are still the same, and I cannot reproduce it with nomodeset=1.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-02-19 23:32 ` bugzilla-daemon
@ 2012-02-21 22:13 ` bugzilla-daemon
  2012-02-27 19:34 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-02-21 22:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Harald Judt <h.judt@gmx.at> 2012-02-21 14:13:08 PST ---
As a side note: This does not occur with suspend and resume, only with
hibernate and resume. Powering down vs rebooting after hibernating does not
make a difference, too.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-02-21 22:13 ` bugzilla-daemon
@ 2012-02-27 19:34 ` bugzilla-daemon
  2012-03-20 18:15 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-02-27 19:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Harald Judt <h.judt@gmx.at> 2012-02-27 11:34:39 PST ---
This problem is still present in 3.3-rc5 (vanilla and tuxonice).

> In fact, it's a 100% chance that the screen does not get black or
> the system freezes.

I have to falsify my previous assumption. It can also happen on the second,
third etc. try. But eventually, if you keep trying long enough, it will still
succeed to resume.

Anyone got an idea what could be wrong here or how to get more info?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-02-27 19:34 ` bugzilla-daemon
@ 2012-03-20 18:15 ` bugzilla-daemon
  2012-05-15  7:47 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-03-20 18:15 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Harald Judt <h.judt@gmx.at> 2012-03-20 11:15:35 PDT ---
The bug is still present with kernel-3.3 final.

Further tests confirm that this is an issue specific to the HD6950 card. I
swapped the card with a Radeon HD3650 (RV635 chipset) for testing while leaving
the rest of the system configuration unchanged, and the problem was no longer
reproducible and hibernating and resuming worked fine.

If I change the power profile back from low to default, sometimes the system
will freeze immediately when hibernating. Maybe some registers still don't get
initialized/updated properly?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-03-20 18:15 ` bugzilla-daemon
@ 2012-05-15  7:47 ` bugzilla-daemon
  2012-06-14 22:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-05-15  7:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Harald Judt <h.judt@gmx.at> 2012-05-15 00:47:26 PDT ---
Still reproducible on linux-3.4.0-rc7.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-05-15  7:47 ` bugzilla-daemon
@ 2012-06-14 22:02 ` bugzilla-daemon
  2013-03-12 12:35 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2012-06-14 22:02 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Harald Judt <h.judt@gmx.at> 2012-06-14 15:02:10 PDT ---
Still reproducible with 3.4.0 final and "drm/radeon: fix vm deadlocks on
cayman" applied, but at least I do not experience freezes anymore.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-06-14 22:02 ` bugzilla-daemon
@ 2013-03-12 12:35 ` bugzilla-daemon
  2013-05-26  5:35 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-03-12 12:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 211 bytes --]

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

--- Comment #9 from Harald Judt <h.judt@gmx.at> ---
Still reproducible with 3.8.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (8 preceding siblings ...)
  2013-03-12 12:35 ` bugzilla-daemon
@ 2013-05-26  5:35 ` bugzilla-daemon
  2013-07-11 18:52 ` bugzilla-daemon
  2013-07-11 19:07 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-05-26  5:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

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

Harald Judt <h.judt@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Harald Judt <h.judt@gmx.at> ---
Solved by setting /sys/power/pm_async to 0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2010 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (9 preceding siblings ...)
  2013-05-26  5:35 ` bugzilla-daemon
@ 2013-07-11 18:52 ` bugzilla-daemon
  2013-07-11 19:07 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-11 18:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 636 bytes --]

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

Harald Judt <h.judt@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #11 from Harald Judt <h.judt@gmx.at> ---
Reopened because it happens with 3.10 now even with pm_async set to 0. It
happens with older kernel releases too when pm_async is set to 0, but is much
harder to reproduce.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2103 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes
  2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
                   ` (10 preceding siblings ...)
  2013-07-11 18:52 ` bugzilla-daemon
@ 2013-07-11 19:07 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-11 19:07 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

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

Harald Judt <h.judt@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #12 from Harald Judt <h.judt@gmx.at> ---
Just for reference: Since I've never got a response here, I've opened a bug
report at kernel bugzilla in the hope of someone helping me collect more debug
data: https://bugzilla.kernel.org/show_bug.cgi?id=57381

Since everything's documented there, I'll finally close this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2308 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-07-11 19:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-14 10:26 [Bug 44772] New: Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes bugzilla-daemon
2012-01-21 15:42 ` [Bug 44772] " bugzilla-daemon
2012-02-13  0:22 ` bugzilla-daemon
2012-02-19 23:32 ` bugzilla-daemon
2012-02-21 22:13 ` bugzilla-daemon
2012-02-27 19:34 ` bugzilla-daemon
2012-03-20 18:15 ` bugzilla-daemon
2012-05-15  7:47 ` bugzilla-daemon
2012-06-14 22:02 ` bugzilla-daemon
2013-03-12 12:35 ` bugzilla-daemon
2013-05-26  5:35 ` bugzilla-daemon
2013-07-11 18:52 ` bugzilla-daemon
2013-07-11 19:07 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).