View previous topic :: View next topic |
Author |
Message |
HuskyDog Tux's lil' helper
Joined: 20 Feb 2003 Posts: 81 Location: Wiltshire, UK
|
Posted: Wed Dec 11, 2024 10:14 pm Post subject: Plasma desktop crashes when monitor turned off |
|
|
Executive Summary: Raspberry Pi 5, Plasma icon panel and desktop wallpaper disappear when monitor is turned off.
I have a Raspberry Pi 5 with a single monitor connected via HDMI. The display and desktop have worked just fine for many months. I recently updated the Plasma desktop to 6.2.4. Since then I have run into a serious problem. I can login and operate all of the applications successfully until the monitor is switched off. When I switch it back on again, the icon panel at the bottom of the screen has disappeared and so has the wallpaper. Both are now black. The mouse pointer is still visible and any open applications continue to run properly.
Any of the following three actions count as "Switched off": Turning off the monitor via the power button, selecting a different monitor input port, allowing the computer to switch off the monitor to save power due to inactivity.
The effect is 100% reproduceable.
If I am logged out and looking at the SDDM login page, then switching off the monitor has no effect and I can login just fine afterwards.
Restarting the display-manager service re-sets the issue.
I have tried re-booting.
Any suggestions gratefully received! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9320
|
Posted: Wed Dec 11, 2024 11:32 pm Post subject: |
|
|
That's a nasty bug. Firing up krunner you can easily restart plasmashell though without losing your session. |
|
Back to top |
|
|
HuskyDog Tux's lil' helper
Joined: 20 Feb 2003 Posts: 81 Location: Wiltshire, UK
|
Posted: Thu Dec 12, 2024 12:29 am Post subject: |
|
|
Quote: | Firing up krunner you can easily restart plasmashell though without losing your session. |
I'm not sure that plasmashell is actually crashing. If I run "ps ax | grep plasma" before and after power cycling the monitor I get the same output both times. |
|
Back to top |
|
|
sokhapkin n00b
Joined: 13 Jan 2005 Posts: 53 Location: N Ft Myers, FL
|
Posted: Fri Dec 13, 2024 5:10 pm Post subject: Re: Plasma desktop crashes when monitor turned off |
|
|
HuskyDog wrote: | Executive Summary: Raspberry Pi 5, Plasma icon panel and desktop wallpaper disappear when monitor is turned off.
|
I'm getting the same (mis)behavior on Intel laptop after upgrade to Plasma 6.2. Both Wayland and X11. |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2300 Location: Adendorf, Germany
|
Posted: Sat Dec 14, 2024 9:05 am Post subject: |
|
|
HuskyDog wrote: | Quote: | Firing up krunner you can easily restart plasmashell though without losing your session. |
I'm not sure that plasmashell is actually crashing. If I run "ps ax | grep plasma" before and after power cycling the monitor I get the same output both times. | plasmashell might be still there but stuck.
Code: | plasmashell --replace | in krunner might fix that.
If it doesn't you at least learn what was not the problem.
Code: | kwin_x11 --replace # or kwin_wayland --replace | might also worth a try if plasmashell wasn't the culprit. _________________ Edited 220,176 times by Yamakuzure |
|
Back to top |
|
|
HuskyDog Tux's lil' helper
Joined: 20 Feb 2003 Posts: 81 Location: Wiltshire, UK
|
Posted: Sat Dec 14, 2024 9:45 pm Post subject: |
|
|
OK, running Code: | plasmashell --replace | seems to get the icon panel and wallpaper back again.
Interestingly, this might be allowing some error messages to appear. I ran the command in Konsole and got the following output:
Code: | plasmashell --replace
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property 'screenGeometry' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property 'plasmoid' of undefined
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Toolbox not loading, toolbox package is either invalid or disabled.
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
kameleon supported false
kameleon enabled true |
I then switched the monitor off and on again and the following additional lines appeared, as did the bug.
Code: | kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1 |
I stopped plasmashell with Ctrl-C and repeated the command and the icon bar was back again. Does this provide anyone with any more clues? |
|
Back to top |
|
|
|