antlarr added a comment.
I tested this patch but it didn't work at detecting the freeze. Fortunately, after debugging kwin for a bit I worked on this and made a version that detects the freezes correctly. I think I cannot add commits here, so I created a new phab at https://phabricator.kde.org/D3132 with this commit and the changes I made. I hope that's ok. REPOSITORY rKWIN KWin BRANCH opengl-freeze-protection-5.8 REVISION DETAIL https://phabricator.kde.org/D3127 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, davidedmundson, #plasma Cc: antlarr, davidedmundson, plasma-devel, kwin, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas