[Bug] Shell doesn't start - needs manual restart
Overview
With qt5-es2-wayland 5.15.2+kde+r44-1
the shell is not starting - black screen when the session is unlocked (power menu/ activity switcher/ external display selection work).
There is certain level of variation between different runs - in some cases, the shell won't start consistently but it's possible for false-positives with the shell starting as expected.
The behaviour can be observed with unstable
branch on Manjaro ARM and has been confirmed with Dev img Manjaro-ARM-plasma-mobile-dev-pinephone-20220123
(should affect other builds going forward)
Restarting the shell manually brings back the shell to working condition:
$ export $(cat /proc/$(pidof plasmashell)/environ | tr '\0' '\n')
$ plasmashell --replace
Disabling systemd boot also resolve the issue:
kwriteconfig5 --file startkderc --group General --key systemdBoot false
Other details
The issue has been observed mostly on the PinePhone (A64). However there is mention from @devinlin that the same behaviour has exhibited itself on the PinePhone Pro.
Strit has noted the following change to qt5-es2-wayland 5.15.2+kde+r44-1
: qt/qt/qtwayland!24 (merged)
Several logs between working and broken sessions:
- Working session:
-
journalctl -b
: working_session.log
-
- Broken session:
-
journalctl -b
: borked_session.log
-
With broken sessions:
-
ps -ef | grep username
: ps_grep_20220124_1331.log -
pacman -Qi kactivitymanagerd
: pacman_qi_kactivitymanagerd.log
Possible connection reported in KDE's matrix channel (courtesy to @bshah for pointing it out): https://app.element.io/#/room/!xdwRmYgjAuZSEhsheE:kde.org/$wHlMRafbZNKdeEE-ix3Se77MsZ0C4uMKxqdi8ora_o4?via=libera.chat&via=kde.org&via=matrix.org
There hasn't been observable change or improvement when downgrading from systemd 250.3-1
to systemd 250.2-2
.
Logs for changes to systemd
on Arch Linux ARM can be found here: https://archlinuxarm.org/packages/aarch64/systemd/log