Score:0

kwin becomes unresponsive, need to restart session

io flag

After upgrading Kubuntu from 18.04 LTS to 22.04 LTS, I'm experiencing occasional "freezing" of the desktop. All the windows lose their edges and I cannot navigate between them. After some time, the desktop stops responding altogether and I need to restart the laptop. This is very similar to the issue mentioned in this question: Desktop "freezing" on Kubuntu 22.04 LTS

David avatar
cn flag
Sorry that is not how this site works. It is strictly a question answer site, not a forum. You can ask a question where this would be the answer and use the answer your own question option in that question.
Artur Meinild avatar
vn flag
You can ask a question and then answer it yourself. Please do so: Edit your question, and add the solution as an answer. Thanks!
Score:0
io flag

It seems that I'm hitting this KDE Bug #457847 - kwin becomes unresponsive, need to restart session. It explains that the problem is caused by a bug in MESA 22.2 regression: kwin killed by X after updating Mesa (bisected).

As for now I've upgraded MESA to 23.1 using Oibaf's PPA.

Update 2023-04-18:

The upgraded drivers do solve my problem. I've been running my KDE for 5 days straight without the bug occurring.

David avatar
cn flag
You do not say if this works.
P.S. avatar
io flag
I wish I could somehow notify @Paul about this solution, though. He seems pretty upset about switching from KDE to Xfce in his question...
Aaron avatar
sr flag
Thanks for posting this. I've been running into something similar. I've run across many posts complaining that it started in February/March so I wonder if a package update was pushed out that broke it. (I'm also new to Kubuntu 22.04 so I can't say what things were like "before".) I'm trying MESA with Oibaf's PPA as you did to see if that helps. Seems odd because the stock MESA version in Ubuntu 22.04 is older than the one that supposedly introduced the bug (but I know they push out packages with backported changes sometimes). Has everything remained stable for you for the past couple of weeks?
P.S. avatar
io flag
Yes, @TruismsHounds, I've been running my laptop without problems for several days in a row since I've switched to the latest MESA drivers.
Aaron avatar
sr flag
Thank you. I have also not run into this issue since upgrading MESA. I started with the Oibaf repo as you suggested, but have since switched to just using the MESA package set from Ubuntu 23.04.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.