dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
@ 2021-01-31 16:24 bugzilla-daemon
  2021-01-31 16:26 ` [Bug 211501] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-01-31 16:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

            Bug ID: 211501
           Summary: Kernel freeze when waking monitor from blanking / DPMS
                    (AMDGPU / DC)
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.10.11
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: borisovjasen@protonmail.com
        Regression: No

Created attachment 295021
  --> https://bugzilla.kernel.org/attachment.cgi?id=295021&action=edit
relevant dmesg output after kernel recovered from freeze

Occasional temporary kernel freeze when monitor wakes up.

The freeze only happens sometimes (which makes it hard to reproduce). Most of
the time, it wakes up just fine.

The last time it happened, I decided to wait, rather than resetting the
computer, and the system recovered after some time (less than a minute).

My graphics card is a Radeon RX Vega 64. CPU is Intel i7-7700K.

I have 2 connected monitors:
 - Gigabyte G27QC connected via DisplayPort, running at its highest mode:
2560x1440@165Hz.
 - Samsung SyncMaster 2243WM connected via HDMI through a DvI adapter, also at
its highest mode: 1680x1050@60Hz

I don't know if the issue will occur if only one of the two monitors is
connected; as I said, the bug is hard to reproduce.

I am using the `sway` wayland compositor.

After the system recovered from the freeze, I obtained the relevant `dmesg`
output. I am attaching it as `dmesg-post-freeze.txt` (with relative
timestamps).

I am also attaching `dmesg-boot.txt` with the kernel messages from the system
booting, in case you need it for more info about my system.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
  2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
@ 2021-01-31 16:26 ` bugzilla-daemon
  2021-02-03 18:29 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-01-31 16:26 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

--- Comment #1 from Jasen Borisov (borisovjasen@protonmail.com) ---
Created attachment 295023
  --> https://bugzilla.kernel.org/attachment.cgi?id=295023&action=edit
dmesg output from the system booting (for extra info)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
  2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
  2021-01-31 16:26 ` [Bug 211501] " bugzilla-daemon
@ 2021-02-03 18:29 ` bugzilla-daemon
  2021-02-18 15:58 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-02-03 18:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

--- Comment #2 from Jasen Borisov (borisovjasen@protonmail.com) ---
OK, it just happened again. More info:

The secondary monitor lights up, but just shows a black screen with the mouse
cursor, but the primary monitor does not. This makes me suspect that my primary
monitor is the culprit.

As before, the kernel freezes for about a minute or so in that state, and then
recovers.

The dmesg output is shorter this time:

[Feb 3 19:20] [drm] perform_link_training_with_retries: Link training attempt 1
of 4 failed
[  +0.407677] [drm] perform_link_training_with_retries: Link training attempt 2
of 4 failed
[  +0.460615] [drm] perform_link_training_with_retries: Link training attempt 3
of 4 failed
[  +0.420583] [drm] enabling link 0 failed: 15
[  +0.177390] [drm] perform_link_training_with_retries: Link training attempt 1
of 4 failed
[  +0.060044] [drm] perform_link_training_with_retries: Link training attempt 2
of 4 failed
[  +0.111304] [drm] perform_link_training_with_retries: Link training attempt 3
of 4 failed
[  +0.159993] [drm] enabling link 0 failed: 15
[Feb 3 19:21] [drm] REG_WAIT timeout 10us * 3000 tries -
dce110_stream_encoder_dp_blank line:955

There was no backtrace like last time.

BTW, note that the kernel "thinks" that ~1 second passed, based on those
timestamps, but in reality, it was about a minute.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
  2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
  2021-01-31 16:26 ` [Bug 211501] " bugzilla-daemon
  2021-02-03 18:29 ` bugzilla-daemon
@ 2021-02-18 15:58 ` bugzilla-daemon
  2021-02-19 20:28 ` bugzilla-daemon
  2021-03-31 10:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-02-18 15:58 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

wychuchol (wychuchol7777@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wychuchol7777@gmail.com

--- Comment #3 from wychuchol (wychuchol7777@gmail.com) ---
It happens every time I turn off monitor or it blanks out  (and monitor goes
into sleep mode).
Kernel 5.11.0 rx 5700 xt Mesa 20.3.2 Pop OS 20.10
I can get back to DE but nothing works besides cursor movement (no response
from clicking or keyboard). Only option is to go to terminal only screen and
reboot.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
  2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2021-02-18 15:58 ` bugzilla-daemon
@ 2021-02-19 20:28 ` bugzilla-daemon
  2021-03-31 10:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-02-19 20:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

--- Comment #4 from Jasen Borisov (borisovjasen@protonmail.com) ---
I suspect you might be experiencing a different bug from mine, because in my
case the kernel recovers after some time and everything is back in a usable
state.

There could be many different causes of the kernel freezing up, and I suspect
the different symptoms probably mean that these are different bugs.

Without a response/assistance from a kernel/driver developer, IDK what to do to
investigate these bugs further.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)
  2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2021-02-19 20:28 ` bugzilla-daemon
@ 2021-03-31 10:12 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2021-03-31 10:12 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=211501

Jan Klos (honza.klos@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |honza.klos@gmail.com

--- Comment #5 from Jan Klos (honza.klos@gmail.com) ---
I have the same/similar problem with my 2 monitors - but only when waking them
from sleep. However, switching to terminal (ctrl+alt+fX) allows me to regain
display output in both monitors, after that I can switch back to X and
everything works - until the sleep timer turns the monitors off again.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2021-03-31 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-31 16:24 [Bug 211501] New: Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC) bugzilla-daemon
2021-01-31 16:26 ` [Bug 211501] " bugzilla-daemon
2021-02-03 18:29 ` bugzilla-daemon
2021-02-18 15:58 ` bugzilla-daemon
2021-02-19 20:28 ` bugzilla-daemon
2021-03-31 10:12 ` 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).