Bug 409514

Summary: DE freezes randomly
Product: [Plasma] plasmashell Reporter: Avamander <Avamander>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdelibs-bugs, nate, plasma-bugs
Priority: NOR    
Version: 5.15.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: gpu-manager.log

Description Avamander 2019-07-05 03:15:47 UTC
SUMMARY
The DE randomly freezes, but software keeps running with the frozen screen (it doesn't fully die).
Sometimes it helps to kill a kded5 thread and the DE starts responding again, sometimes `systemctl restart sddm` makes the PC usable again, sometimes even that doesn't work.

I have tested OpenGL2 and OpenGL3 compositor backends and both freeze randomly, testing xrender right now.

STEPS TO REPRODUCE
1. Use the DE normally
2. It freezes at random moments

OBSERVED RESULT
Freezes

EXPECTED RESULT
No freezes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Opened Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/kinit/+bug/1833880
Comment 1 Avamander 2019-07-05 03:16:47 UTC
The Ubuntu bug has a few logs attached already, if needed I can provide more logs.
Comment 2 Avamander 2019-07-06 01:36:31 UTC
The error also occurs when the backend is xrender. Though it seems that rapidly switching between the frozen DE and a TTY it starts to respond again sometimes.
Comment 3 Avamander 2019-07-07 12:23:34 UTC
Created attachment 121365 [details]
gpu-manager.log

I'm using a Radeon R7 260X (Identifies as Bonaire XTX [Radeon R7 260X/360])
Comment 4 Avamander 2019-07-08 23:22:53 UTC
Also reported on Freedesktop:
https://bugs.freedesktop.org/show_bug.cgi?id=111091
Comment 5 Avamander 2019-07-14 14:52:16 UTC
Interestingly enough, switching from xorg modesetting driver to xorg radeon driver tremendously reduced the amount the DE freezes. There are still a few infrequent and silent freezes but I have no clue how to debug those.
Comment 6 David Edmundson 2019-07-15 15:17:47 UTC
What specifically is frozen?

Do windows update? Does the mouse cursor move?
Comment 7 Bug Janitor Service 2019-07-30 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2019-08-14 04:33:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!