Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Plasma shell freezes at radnom time
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sat Dec 24, 2022 9:18 pm    Post subject: KDE Plasma shell freezes at radnom time Reply with quote

Hi, after updating to KDE 5.25. I started to notice my session hangs on random times and only fix is to kill the shell and re-start it again. I'm unsure how to solve it.

I use kernel: 6.1.1
amdgpu-pro driver: 20.40.1147286
Kde: 5.25.5


Feel free to request logs as I really do not know what to post.
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sun Dec 25, 2022 8:36 pm    Post subject: Reply with quote

Same problem here. If the compositor is enabled, everything runs slowly. I get app (konsole/firefox/thunderbird/mpv) hangs and screen corruption which correct itself sometimes but sometimes, I have to alt+shift+F12 to disable and enable the compositor. Restarting the plasma shell also works around the issue.

It has turned into so much pain that I have disabled the compositor for good.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Dec 25, 2022 8:42 pm    Post subject: Reply with quote

Try a different mesa version.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Dec 25, 2022 9:18 pm    Post subject: Reply with quote

devsk wrote:
Same problem here. If the compositor is enabled, everything runs slowly. I get app (konsole/firefox/thunderbird/mpv) hangs and screen corruption which correct itself sometimes but sometimes, I have to alt+shift+F12 to disable and enable the compositor. Restarting the plasma shell also works around the issue.

It has turned into so much pain that I have disabled the compositor for good.


I will test your method and let you know. Hopefully it works.
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Dec 25, 2022 9:24 pm    Post subject: Reply with quote

asturm wrote:
Try a different mesa version.


Um, any suggested version? latest one or latest stable one
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Mon Dec 26, 2022 7:18 am    Post subject: Reply with quote

I am getting KDE instabilities as well since some of recent updates. Freezes look like kwin crash - all decorations disappear, nothing can be moved, etc. I can still control/close windows if they have a menu's visible. Happened few times both on my laptop with Intel graphics and desktop with proprietary Nvidia drivers.

kwin-5.25.5, mesa-22.2.3, qt-5.15.7
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Mon Dec 26, 2022 11:31 am    Post subject: Reply with quote

Try a different mesa version.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Mon Dec 26, 2022 4:42 pm    Post subject: Reply with quote

esmailelbob wrote:
devsk wrote:
Same problem here. If the compositor is enabled, everything runs slowly. I get app (konsole/firefox/thunderbird/mpv) hangs and screen corruption which correct itself sometimes but sometimes, I have to alt+shift+F12 to disable and enable the compositor. Restarting the plasma shell also works around the issue.

It has turned into so much pain that I have disabled the compositor for good.


I will test your method and let you know. Hopefully it works.


It did not work with me :(, I had to bring the menu (alt + space) and `killall plasmashell and kstart plasmashell` to fix it.
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Mon Dec 26, 2022 4:44 pm    Post subject: Reply with quote

esmailelbob wrote:
asturm wrote:
Try a different mesa version.


Um, any suggested version? latest one or latest stable one


I installed media-libs/mesa-22.3.1 and now it's test time!
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Jan 05, 2023 12:05 pm    Post subject: Reply with quote

Any updates here?

Also this just came in over at #plasma as a mesa fix for random freezes: https://gitlab.freedesktop.org/mesa/mesa/-/commit/b111e8aa4940e8b155f38b5ef238c295ded8a6b4
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Thu Jan 05, 2023 1:03 pm    Post subject: Reply with quote

asturm wrote:
Any updates here?

Also this just came in over at #plasma as a mesa fix for random freezes: https://gitlab.freedesktop.org/mesa/mesa/-/commit/b111e8aa4940e8b155f38b5ef238c295ded8a6b4


I'm testing and while freezing did not stop but it decreased for sure in past week it froze like once instead of almost daily. so solved?
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Jan 05, 2023 1:14 pm    Post subject: Reply with quote

KDE Plasma does not freeze at all, so I would not consider it solved. You could try the mesa patch.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Thu Jan 05, 2023 2:23 pm    Post subject: Reply with quote

asturm wrote:
KDE Plasma does not freeze at all, so I would not consider it solved. You could try the mesa patch.


and how to apply it? :oops:
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Fri Jan 06, 2023 8:58 am    Post subject: Reply with quote

asturm wrote:
Any updates here?

Also this just came in over at #plasma as a mesa fix for random freezes: https://gitlab.freedesktop.org/mesa/mesa/-/commit/b111e8aa4940e8b155f38b5ef238c295ded8a6b4
Has someone tracked the crashes down to this patch fixing it? How do we know that's a fix for the crashes we see (without actually applying it and running it)? The change itself is not very descriptive about what conditions trigger it.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Fri Jan 06, 2023 12:49 pm    Post subject: Reply with quote

No, that would be your task since you have your system freeze. I can't tell you more than I already did about it.

@esmailelbob: You can use Portage's user patch mechanism: https://wiki.gentoo.org/wiki//etc/portage/patches

For that purpose you can download a raw version of the patch (for media-libs/mesa) suffixing the link with '.patch': https://gitlab.freedesktop.org/mesa/mesa/-/commit/b111e8aa4940e8b155f38b5ef238c295ded8a6b4.patch

This is perhaps also related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Fri Jan 13, 2023 12:14 am    Post subject: Reply with quote

Just released mesa-22.3.3 contains that fix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum