Bug 468547 - Second monitor have no hdmi signal after waking from sleep
Summary: Second monitor have no hdmi signal after waking from sleep
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.27.4
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-04-15 22:06 UTC by Andrew Shark
Modified: 2023-04-18 12:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
drm_info before sleep (both monitors working) (38.54 KB, text/plain)
2023-04-17 19:31 UTC, Andrew Shark
Details
drm_info after sleep (hdmi monitor not working) (38.53 KB, text/plain)
2023-04-17 19:32 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2023-04-15 22:06:30 UTC
I have several monitors. One monitor is connected with displayport, second monitor is connected with hdmi. The problem appears after sleep. The hdmi monitor stays in stand by mode (waiting for signal).

STEPS TO REPRODUCE
1. Turn on PC. Both monitors show picture.
2. Turn PC to sleep.
3. Wake up PC.

OBSERVED RESULT
The picture is only shown on displayport monitor. On hdmi monitor there is no signal.

EXPECTED RESULT
Picture should be shown on both monitors.

This is a regression. It worked normally previously. Unfortunately, I do not know exactly in which version it was broken. Probably a month ago.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
There are workarounds:
1) Turn off, then turn on the monitor by its power button.
2) Disable, then enable the hdmi monitor in system settings.
Comment 1 Zamundaaa 2023-04-17 16:52:17 UTC
Please attach the output of drm_info (https://gitlab.freedesktop.org/emersion/drm_info), once for when the monitor works, and once for when it doesn't get a signal
Comment 2 Andrew Shark 2023-04-17 19:31:42 UTC
Created attachment 158173 [details]
drm_info before sleep (both monitors working)
Comment 3 Andrew Shark 2023-04-17 19:32:20 UTC
Created attachment 158174 [details]
drm_info after sleep (hdmi monitor not working)
Comment 4 Andrew Shark 2023-04-17 19:34:18 UTC
It is some kind unstable. This time after first sleep the hdmi mon worked normal. Then after second sleep it was not working. Then after third sleep it was working again.
Comment 5 Zamundaaa 2023-04-18 12:40:44 UTC
The kernel says both outputs are enabled, so this is a driver bug. It's most likely the same as https://gitlab.freedesktop.org/drm/amd/-/issues/2497, so please add your information there