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

--- Comment #13 from Timothy B <yule2...@live.com> ---
Created attachment 153483
  --> https://bugs.kde.org/attachment.cgi?id=153483&action=edit
Journal log and stack trace at time of freeze on Nov. 2, 2022

I am also affected by this frustrating annoyance, and it happens at least once
per day. It usually occurs when I invoke the Alt-Tab switcher and switch to
Firefox, and sometimes the only warning I get was the Task Switcher OSD
suddenly appearing completely black.

The random screen freezes began to appear on my system when I upgraded
Frameworks from 5.98 to 5.99 last month, so I was able to reproduce it in both
Plasma 5.25 and 5.26. And as others here have said, killing kwin_x11 in a TTY
with SIGKILL made my desktop session usable again.

As another workaround, I made a Systemd user timer that periodically kills KWin
and restarts its service (in my case, plasma-kwin_x11.service) after every 6
hours or so. Initially, I set the timer interval to 12 hours, but the freezes
would still occur before those 12 hours have passed. For future KWin freeze
episodes before the timer runs out, I created a global shortcut that does the
same thing. It's set to Ctrl+Alt+Shift+K, and the command for that is currently
`nohup sh -c "systemctl --user kill --signal=KILL plasma-kwin_x11.service &&
systemctl --user start plasma-kwin_x11.service"`. While KWin restarting
automatically can be inconvenient, it is certainly better for me than having to
deal with the random freezes manually.

Before I found this bug ticket just recently, I reported all my observations in
bug #460594 because I once thought that Plasmashell was the cause, but in the
end, I narrowed down the offending component to KWin.  A couple of days ago, I
was able to generate a stack trace and coredump using `pkill -ILL kwin_x11`
during one of those random freeze episodes (see attachments). Since the
coredump is way too big to upload here, I made it available in the following
link:
https://drive.google.com/file/d/1tg25SXZi3O3li7LrI_LD7ZE-asbVsCmk/view?usp=sharing

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.2 (and also on 5.25.5)
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.5-1-MANJARO (64-bit) (and also with 5.15.75-1-MANJARO)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Window Decoration: Klassy (also occurs with the default Breeze theme)
Task Switcher: Thumbnail Grid (also occurs with other task switchers that don't
render thumbnails like Compact)
Mesa Version: 22.2.1
Firefox Version: 106.0.2 (also occurred with 105.0.3)

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

Reply via email to