Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 6.1.4 shutdown hangs at plasma-fallback-session
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
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 151

PostPosted: Sun Sep 08, 2024 5:20 am    Post subject: Plasma 6.1.4 shutdown hangs at plasma-fallback-session Reply with quote

I have long had my system set to restore a manually saved session at startup.

With the upgrade to Plasma 6.1.4, this doesn't work. Shutdown and logout exit PlasmaShell and then it just hangs. All application windows remain. I have tried closing all the windows but this has no effect. What does work is to kill plasma-fallback-session-save. Shutdown/logout proceeds normally from there, though presumably skipping whatever plasma-fallback-session-save was doing.

I tried switching to "restore apps on last logout". That seemed to work once. But then I switched back to "When session was manually saved". It hung on plasma-fallback-session-save. On the next boot, I tried switching to "restore apps on last logout" and logging out. This time logout and shutdown did nothing. No plasma-fallback-session-save either. Switching again to "When session was manually saved" gave me the usual hung plasma-fallback-session-save.

Throughout all this, "switch user" works fine.

Any idea how to restore logout/shutdown function?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9118

PostPosted: Sun Sep 08, 2024 6:13 am    Post subject: Reply with quote

That's with X11 session handling, right? Just to be sure.

There's https://bugs.kde.org/show_bug.cgi?id=487912

Please try with this fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684
Use this link to get it: https://invent.kde.org/plasma/plasma-workspace/-/commit/5f844a4f26ba95d89b81e333d8a3aafc438679d0.patch
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9118

PostPosted: Mon Sep 09, 2024 8:38 pm    Post subject: Reply with quote

Please also try with a clean testuser profile. This has helped in the Gentoo bug.
Back to top
View user's profile Send private message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 151

PostPosted: Tue Sep 10, 2024 2:30 am    Post subject: Reply with quote

asturm wrote:
That's with X11 session handling, right? Just to be sure.

There's https://bugs.kde.org/show_bug.cgi?id=487912

Please try with this fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684
Use this link to get it: https://invent.kde.org/plasma/plasma-workspace/-/commit/5f844a4f26ba95d89b81e333d8a3aafc438679d0.patch


Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3370
Location: Canada

PostPosted: Tue Sep 10, 2024 4:03 pm    Post subject: Reply with quote

ese002 wrote:
asturm wrote:
That's with X11 session handling, right? Just to be sure.

There's https://bugs.kde.org/show_bug.cgi?id=487912

Please try with this fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684
Use this link to get it: https://invent.kde.org/plasma/plasma-workspace/-/commit/5f844a4f26ba95d89b81e333d8a3aafc438679d0.patch


Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from.



You need to recreate the Manifest

run

ebuild name-of-ebuild.ebuild manifest
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1865

PostPosted: Tue Sep 10, 2024 4:12 pm    Post subject: Reply with quote

You should put the patch in /etc/portage/patches for testing.
Back to top
View user's profile Send private message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 151

PostPosted: Tue Sep 10, 2024 11:48 pm    Post subject: Reply with quote

dmpogo wrote:
ese002 wrote:
asturm wrote:
That's with X11 session handling, right? Just to be sure.

There's https://bugs.kde.org/show_bug.cgi?id=487912

Please try with this fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4684
Use this link to get it: https://invent.kde.org/plasma/plasma-workspace/-/commit/5f844a4f26ba95d89b81e333d8a3aafc438679d0.patch


Yes, it is X11 session handling. How do I apply this patch? I'm not up on portage internals. I created a patch file in the right place but portage complains that my patch is not in the Manifest. I found *that* file but I don't what the line referencing the patch should look like. The manifest lines existing patches have a lot of extra data. I don't know what it is or where it comes from.



You need to recreate the Manifest

run

ebuild name-of-ebuild.ebuild manifest


I did that and re-emerged plasma-workspace. No change in behavior, even after a reboot. A clean test user does work properly, even running the same apps as the failing user.
Back to top
View user's profile Send private message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 151

PostPosted: Wed Sep 11, 2024 1:05 am    Post subject: Reply with quote

I have further found that if I switch first to "empty session" with a logout in between, I can switch from "last saved" to a working "on last logout". Switching from "last saved" to "last logout" causes the usual hang and the resulting "last logout" session also hangs at logout.
Back to top
View user's profile Send private message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 151

PostPosted: Wed Sep 11, 2024 4:56 am    Post subject: Reply with quote

Correction. A clean test user does not work. It only works for "last logout" and "empty session". "last saved" still hangs.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9118

PostPosted: Wed Sep 11, 2024 10:24 am    Post subject: Reply with quote

Thanks. It would be best to convey these findings to upstream, it really does not make sense for me to relay all user reports.

The next best thing would be to do as https://bugs.gentoo.org/938925#c1 which is not a fix, but a workaround (and yet another confirmation this was a problematic 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