All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
@ 2019-10-08 15:21 bugzilla-daemon
  2019-10-08 18:57 ` bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-08 15:21 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 111922
           Summary: amdgpu fails to resume on 5.2 kernel [regression]
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: not set
          Priority: not set
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: pierre-bugzilla@ossman.eu

The upgrade to the 5.2 series of the kernel has unfortunately made my system
unusable. After resuming the system from suspend the display goes green and is
unresponsive locally. It is still up though so I was able to reach it via the
network and get some logs out of it.

Tested bad kernels:

5.2.15-200.fc30
5.2.9-200.fc30

Known good kernels:

5.0.17-300.fc30
5.1.18-300.fc30
5.1.20-300.fc30

Found some other bug reports both here and with Red Hat with similar warnings
in dmesg, but they seem to be failing right away and not after a suspend. So
I'm not sure if it's the same issue.

But report at Red Hat:

https://bugzilla.redhat.com/show_bug.cgi?id=1754252

(includes dmesg)

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

[-- Attachment #1.2: Type: text/html, Size: 2625 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
@ 2019-10-08 18:57 ` bugzilla-daemon
  2019-10-09  5:15 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-08 18:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Can you bisect?

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

[-- Attachment #1.2: Type: text/html, Size: 997 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
  2019-10-08 18:57 ` bugzilla-daemon
@ 2019-10-09  5:15 ` bugzilla-daemon
  2019-11-05 17:38 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-09  5:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
Not easily unfortunately as I've only been using Fedora kernels, so I don't
have a build environment set up.

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

[-- Attachment #1.2: Type: text/html, Size: 1101 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
  2019-10-08 18:57 ` bugzilla-daemon
  2019-10-09  5:15 ` bugzilla-daemon
@ 2019-11-05 17:38 ` bugzilla-daemon
  2019-11-05 19:55 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-05 17:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
Issue still remains with 5.4.0-rc6 unfortunately. :/

Do you have any patches or commits I could try reverting? It's much easier
building a test RPM here.

It should be something during the 5.2.0 merge window. Anything likely from that
set?

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

[-- Attachment #1.2: Type: text/html, Size: 1238 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-11-05 17:38 ` bugzilla-daemon
@ 2019-11-05 19:55 ` bugzilla-daemon
  2019-11-08 13:49 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-05 19:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Nothing comes to mind.

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

[-- Attachment #1.2: Type: text/html, Size: 1004 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-11-05 19:55 ` bugzilla-daemon
@ 2019-11-08 13:49 ` bugzilla-daemon
  2019-11-08 14:01 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-08 13:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
That's a shame.

I did find bug 111811, which looks very similar. Through that I found this
patch:

https://www.mail-archive.com/amd-gfx@lists.freedesktop.org/msg40304.html

Unfortunately it does not solve the issue here. :/


Have you checked if you can reproduce this in a 2200G in your end? Or other
Raven Ridge APUs?

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

[-- Attachment #1.2: Type: text/html, Size: 1573 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-11-08 13:49 ` bugzilla-daemon
@ 2019-11-08 14:01 ` bugzilla-daemon
  2019-11-10 12:17 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-08 14:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
Hmmm... I did get this from that patch though:

> [   98.391016] amdgpu 0000:38:00.0: GPU mode1 reset
> [   98.391072] [drm] psp mode 1 reset not supported now! 
> [   98.391074] amdgpu 0000:38:00.0: GPU mode1 reset failed
> [   98.391151] amdgpu 0000:38:00.0: GPU mode1 reset
> [   98.391198] [drm] psp mode 1 reset not supported now! 
> [   98.391199] amdgpu 0000:38:00.0: GPU mode1 reset failed
> [   98.391358] [drm:amdgpu_device_suspend [amdgpu]] *ERROR* amdgpu asic reset failed

Not sure if it helps.

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

[-- Attachment #1.2: Type: text/html, Size: 1558 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-11-08 14:01 ` bugzilla-daemon
@ 2019-11-10 12:17 ` bugzilla-daemon
  2019-11-11 17:44 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-10 12:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Pierre Ossman <pierre-bugzilla@ossman.eu> ---
I finally got a build environment set up, and the winner is:

> df8368be1382b442384507a5147c89978cd60702 is the first bad commit
> commit df8368be1382b442384507a5147c89978cd60702
> Author: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
> Date:   Wed Feb 27 12:56:36 2019 -0500
> 
>     drm/amdgpu: Bump amdgpu version for per-flip plane tiling updates
>     
>     To help xf86-video-amdgpu and mesa know DC supports updating the
>     tiling attributes for a framebuffer per-flip.
>     
>     Cc: Michel Dänzer <michel@daenzer.net>
>     Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
>     Acked-by: Alex Deucher <alexander.deucher@amd.com>
>     Reviewed-by: Marek Olšák <marek.olsak@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> 
> :040000 040000 06a7975c484e74ebdaa4ccf9ee1dc5dac7a0abc9 ab68acde511d49b3f96818066bba35f255ce1656 M	drivers

Which seems extremely odd given the contents of that commit. But I guess it
makes userspace change behaviour in a way that provokes the bug?

I don't think bisect will get me further. Help?

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

[-- Attachment #1.2: Type: text/html, Size: 2536 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-11-10 12:17 ` bugzilla-daemon
@ 2019-11-11 17:44 ` bugzilla-daemon
  2019-11-11 19:22 ` bugzilla-daemon
  2019-11-19  9:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-11 17:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Pierre Ossman from comment #7)
> I finally got a build environment set up, and the winner is:
> 
> > df8368be1382b442384507a5147c89978cd60702 is the first bad commit
> > commit df8368be1382b442384507a5147c89978cd60702
> > Author: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
> > Date:   Wed Feb 27 12:56:36 2019 -0500
> > 
> >     drm/amdgpu: Bump amdgpu version for per-flip plane tiling updates
> >     
> >     To help xf86-video-amdgpu and mesa know DC supports updating the
> >     tiling attributes for a framebuffer per-flip.
> >     
> >     Cc: Michel Dänzer <michel@daenzer.net>
> >     Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
> >     Acked-by: Alex Deucher <alexander.deucher@amd.com>
> >     Reviewed-by: Marek Olšák <marek.olsak@amd.com>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > 
> > :040000 040000 06a7975c484e74ebdaa4ccf9ee1dc5dac7a0abc9 ab68acde511d49b3f96818066bba35f255ce1656 M	drivers
> 
> Which seems extremely odd given the contents of that commit. But I guess it
> makes userspace change behaviour in a way that provokes the bug?
> 
> I don't think bisect will get me further. Help?

Userspace only enables per flip tiling updates if the version of the kernel
driver is new enough to support that feature.  Maybe this is related to the DCC
changes in mesa.

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

[-- Attachment #1.2: Type: text/html, Size: 2909 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (7 preceding siblings ...)
  2019-11-11 17:44 ` bugzilla-daemon
@ 2019-11-11 19:22 ` bugzilla-daemon
  2019-11-19  9:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-11 19:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Marek Olšák <maraeo@gmail.com> ---
Userspace doesn't know when suspend/resume is happening, so it can't hang on
suspend/resume. My guess is it's something in DAL.

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

[-- Attachment #1.2: Type: text/html, Size: 1102 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

* [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression]
  2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
                   ` (8 preceding siblings ...)
  2019-11-11 19:22 ` bugzilla-daemon
@ 2019-11-19  9:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:57 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #10 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/931.

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

[-- Attachment #1.2: Type: text/html, Size: 2373 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  9:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 15:21 [Bug 111922] amdgpu fails to resume on 5.2 kernel [regression] bugzilla-daemon
2019-10-08 18:57 ` bugzilla-daemon
2019-10-09  5:15 ` bugzilla-daemon
2019-11-05 17:38 ` bugzilla-daemon
2019-11-05 19:55 ` bugzilla-daemon
2019-11-08 13:49 ` bugzilla-daemon
2019-11-08 14:01 ` bugzilla-daemon
2019-11-10 12:17 ` bugzilla-daemon
2019-11-11 17:44 ` bugzilla-daemon
2019-11-11 19:22 ` bugzilla-daemon
2019-11-19  9:57 ` 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.