All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
@ 2012-06-18  6:29 bugzilla-daemon
  2012-06-18  6:30 ` [Bug 51190] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-18  6:29 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 51190
           Summary: [RADEON:KMS:RV370:RESUME] garbage on screen (console
                    or X) after suspend-resume with radeon (KMS only)
    Classification: Unclassified
           Product: DRI
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: cyberbat@lavabit.com


Created attachment 63153
  --> https://bugs.freedesktop.org/attachment.cgi?id=63153
full kernel 3.5rc2 log

Screen on my Samsung R50 notebook with AMD Mobility Radeon X300 (RV370 chipset)
become completely unusable after resume (watch screenshots). I've tested
different kernels from 2.6.32 till 3.5rc2. Just the same thing. The thing
happens only with KMS turned on. I have tried suspend from X (Xfce) and from
console (using pm-suspend).


I repeatedly get following errors in kernel log after resume:

Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: GPU lockup CP stall for
more than 10000msec
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: GPU lockup (waiting for
0x000000000000023d last fence id 0x000000000000023c)
Jun 15 18:56:39 localhost kernel: Failed to wait GUI idle while programming
pipes. Bad things might happen.
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:392)
RBBM_STATUS=0x80010140
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:411)
RBBM_STATUS=0x80010140
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:423)
RBBM_STATUS=0x00000140
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: GPU reset succeed
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: GPU reset succeed
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: f5eaf400 unpin not
necessary
Jun 15 18:56:39 localhost kernel: [drm] radeon: 1 quad pipes, 1 Z pipes
initialized.
Jun 15 18:56:39 localhost kernel: [drm] PCIE GART of 512M enabled (table at
0x00000000D0040000).
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: WB enabled
Jun 15 18:56:39 localhost kernel: radeon 0000:01:00.0: fence driver on ring 0
use gpu addr 0x00000000b0000000 and cpu addr 0xff8de000
Jun 15 18:56:39 localhost kernel: [drm] radeon: ring at 0x00000000B0001000
Jun 15 18:56:39 localhost kernel: [drm] ring test succeeded in 1 usecs
Jun 15 18:56:39 localhost kernel: [drm] ib test succeeded in 0 usecs
...
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: GPU lockup CP stall for
more than 10000msec
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: GPU lockup (waiting for
0x0000000000000490 last fence id 0x000000000000033b)
Jun 15 18:58:32 localhost kernel: Failed to wait GUI idle while programming
pipes. Bad things might happen.
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:392)
RBBM_STATUS=0x80010140
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:411)
RBBM_STATUS=0x80010140
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:423)
RBBM_STATUS=0x00000140
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: GPU reset succeed
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: GPU reset succeed
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: f5eaf400 unpin not
necessary
Jun 15 18:58:32 localhost kernel: [drm] radeon: 1 quad pipes, 1 Z pipes
initialized.
Jun 15 18:58:32 localhost kernel: [drm] PCIE GART of 512M enabled (table at
0x00000000D0040000).
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: WB enabled
Jun 15 18:58:32 localhost kernel: radeon 0000:01:00.0: fence driver on ring 0
use gpu addr 0x00000000b0000000 and cpu addr 0xff8de000
Jun 15 18:58:32 localhost kernel: [drm] radeon: ring at 0x00000000B0001000
Jun 15 18:58:32 localhost kernel: [drm] ring test succeeded in 1 usecs
Jun 15 18:58:32 localhost kernel: [drm] ib test succeeded in 0 usecs
Jun 15 19:00:46 localhost /usr/sbin/gpm[1110]: *** info
[daemon/processrequest.c(42)]: 
Jun 15 19:00:46 localhost /usr/sbin/gpm[1110]: Request on 6 (console 1)
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: GPU lockup CP stall for
more than 200579msec
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: GPU lockup (waiting for
0x000000000000058f)
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: failed to get a new IB
(-35)
Jun 15 19:01:42 localhost kernel: [drm:radeon_cs_ib_chunk] *ERROR* Failed to
get ib !
Jun 15 19:01:42 localhost kernel: Failed to wait GUI idle while programming
pipes. Bad things might happen.
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:392)
RBBM_STATUS=0x80010140
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:411)
RBBM_STATUS=0x80010140
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: (r300_asic_reset:423)
RBBM_STATUS=0x00000140
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: GPU reset succeed
Jun 15 19:01:42 localhost kernel: radeon 0000:01:00.0: GPU reset succeed

I recognize that I have really old notebook, but It has enough power for my
tasks so it will be good to use KMS on it cause I loose a lot of features of X
without it.

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
@ 2012-06-18  6:30 ` bugzilla-daemon
  2012-06-18  6:31 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-18  6:30 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from cyberbat <cyberbat@lavabit.com> 2012-06-17 23:30:56 PDT ---
Created attachment 63154
  --> https://bugs.freedesktop.org/attachment.cgi?id=63154
.config

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
  2012-06-18  6:30 ` [Bug 51190] " bugzilla-daemon
@ 2012-06-18  6:31 ` bugzilla-daemon
  2012-06-18  6:32 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-18  6:31 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from cyberbat <cyberbat@lavabit.com> 2012-06-17 23:31:44 PDT ---
Created attachment 63155
  --> https://bugs.freedesktop.org/attachment.cgi?id=63155
console with garbage

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
  2012-06-18  6:30 ` [Bug 51190] " bugzilla-daemon
  2012-06-18  6:31 ` bugzilla-daemon
@ 2012-06-18  6:32 ` bugzilla-daemon
  2012-06-19 10:46 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-18  6:32 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from cyberbat <cyberbat@lavabit.com> 2012-06-17 23:32:37 PDT ---
Created attachment 63156
  --> https://bugs.freedesktop.org/attachment.cgi?id=63156
X with garbage

Xorg started with Xfce and garbage on the screen. It's thunar window on the
screen under the garbage.

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-06-18  6:32 ` bugzilla-daemon
@ 2012-06-19 10:46 ` bugzilla-daemon
  2012-06-19 16:45 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-19 10:46 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Michel Dänzer <michel@daenzer.net> 2012-06-19 10:46:10 UTC ---
(In reply to comment #5)
> Do I correctly understand that I should try to do
> echo -n "3" > /sys/power/state

No, I mean writing the string 'mem'. I don't know what if anything writing 3
will do.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-06-19 10:46 ` bugzilla-daemon
@ 2012-06-19 16:45 ` bugzilla-daemon
  2012-06-19 17:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-19 16:45 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> 2012-06-19 09:45:43 PDT ---
(In reply to comment #4)
> I have tried suspend from X (Xfce) and from console (using pm-suspend).

Have you also tried writing mem to /sys/power/state directly?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-06-19 16:45 ` bugzilla-daemon
@ 2012-06-19 17:23 ` bugzilla-daemon
  2012-06-20 17:56 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-19 17:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from cyberbat <cyberbat@lavabit.com> 2012-06-19 10:23:59 PDT ---
(In reply to comment #4)
> (In reply to comment #4)
> > I have tried suspend from X (Xfce) and from console (using pm-suspend).
> 
> Have you also tried writing mem to /sys/power/state directly?

No. I'll try tomorrow. I don't have my notebook now.

Do I correctly understand that I should try to do
echo -n "3" > /sys/power/state
?

May be I should turn something on to produce more verbose output for debugging?

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-06-19 17:23 ` bugzilla-daemon
@ 2012-06-20 17:56 ` bugzilla-daemon
  2012-06-20 18:00 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-20 17:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from cyberbat <cyberbat@lavabit.com> 2012-06-20 10:56:44 PDT ---
(In reply to comment #6)

> No, I mean writing the string 'mem'. I don't know what if anything writing 3
> will do.

I've tried echo -n "mem" > /sys/power/state

Just the same behavior as described.

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-06-20 17:56 ` bugzilla-daemon
@ 2012-06-20 18:00 ` bugzilla-daemon
  2012-06-21  2:38 ` bugzilla-daemon
  2019-11-19  8:27 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-20 18:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from cyberbat <cyberbat@lavabit.com> 2012-06-20 11:00:28 PDT ---
I got following in dmesg after restoring after mem > /sys/power/state:

radeon 0000:01:00.0: restoring config space at offset 0xf (was 0x1ff, writing
0x10a)
radeon 0000:01:00.0: restoring config space at offset 0x6 (was 0x0, writing
0xc0100000)
radeon 0000:01:00.0: restoring config space at offset 0x4 (was 0x8, writing
0xd0000008)
radeon 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing
0x8)
radeon 0000:01:00.0: restoring config space at offset 0x1 (was 0x100107,
writing 0x100507)

...

[drm] PCIE GART of 512M enabled (table at 0x00000000D0040000).
radeon 0000:01:00.0: WB enabled
[drm] radeon: ring at 0x00000000B0001000
[drm:r100_ring_test] *ERROR* radeon: ring test failed
(scratch(0x15E4)=0xCAFEDEAD)
[drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
radeon 0000:01:00.0: failed initializing CP (-22).

-- 
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] 11+ messages in thread

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-06-20 18:00 ` bugzilla-daemon
@ 2012-06-21  2:38 ` bugzilla-daemon
  2019-11-19  8:27 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2012-06-21  2:38 UTC (permalink / raw)
  To: dri-devel

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63153|application/octet-stream    |text/plain
          mime type|                            |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 51190] [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only)
  2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
                   ` (8 preceding siblings ...)
  2012-06-21  2:38 ` bugzilla-daemon
@ 2019-11-19  8:27 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:27 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

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

--- Comment #9 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/277.

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

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

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

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

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

end of thread, other threads:[~2019-11-19  8:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18  6:29 [Bug 51190] New: [RADEON:KMS:RV370:RESUME] garbage on screen (console or X) after suspend-resume with radeon (KMS only) bugzilla-daemon
2012-06-18  6:30 ` [Bug 51190] " bugzilla-daemon
2012-06-18  6:31 ` bugzilla-daemon
2012-06-18  6:32 ` bugzilla-daemon
2012-06-19 10:46 ` bugzilla-daemon
2012-06-19 16:45 ` bugzilla-daemon
2012-06-19 17:23 ` bugzilla-daemon
2012-06-20 17:56 ` bugzilla-daemon
2012-06-20 18:00 ` bugzilla-daemon
2012-06-21  2:38 ` bugzilla-daemon
2019-11-19  8:27 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.