https://bugs.kde.org/show_bug.cgi?id=456298

            Bug ID: 456298
           Summary: [regression] UI freezes and kwin_wayland goes into an
                    infinite loop when turning on TV screen
           Product: kwin
           Version: 5.25.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: maciej.stancze...@gmail.com
  Target Milestone: ---

Created attachment 150374
  --> https://bugs.kde.org/attachment.cgi?id=150374&action=edit
'journalctl -b | grep kwin_wayland_drm' for 5.25.1 and 5.25.2

SUMMARY
I have an LG TV connected to an AMD Radeon RX 5700 XT through HDMI. Whenever
the TV auto-powers off, and then I turn it on (with the remote), the UI freezes
and becomes completely unresponsive – the music is still playing, but anything
on graphical and input side is frozen. I can SSH to the system and see that
kwin_wayland is consuming 100% of the CPU, and is infinitely printing logs
about DRM objects (attached).

At first I thought it was bug 455814, however a) the patch (merge request 2602)
did not help, and b) my issue only got introduced in 5.25.2 (it works fine in
5.25.1).

I'm in the process of running a bisection, however it takes some time, as the
issue does not seem to reproduce if I manually turn off the TV, only if it
automatically turns off after a set time due to power saving (on TV's side, not
PC's).

In the meantime I attached two logs. In the log from 5.25.2 (TV turned on at
14:57:15) we can see that kwin_wayland gets stuck in a loop, until I manually
kill the process (at 15:05:15). On the other hand in 5.25.1 (TV turned on at
02:13:20) initially it looks similar, but then we get "Applying KScreen config
failed!", 7 seconds of pause, and then the screen is detected correctly and
system is functional.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.8
CPU: AMD Ryzen 3700X
GPU: AMD Radeon RX 5700 XT
Display: LG C1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to