You are not logged in.

#1 2022-11-30 22:11:53

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

[SOLVED] Long plasmashell start times.

EDIT: Solution is huge amount of data in system clipboard, especially images. Thanks 0BADC0DE for solving it!


Hello.

I have recently notices a big slowdown in start times of plasmashell (KDE Plasma desktop) to around 10 seconds.
As I don't really know where to start here is console output of plasma shell when starting from terminal:

kf.plasma.quick: Applet preload policy set to 1                                                                       ✔ ╱  
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
libkcups: 3 "Brother_MFC-J6947DW"
libkcups: 0
libkcups: 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/workspace/calendar/MonthView.qml:381: TypeError: Cannot read property 'cellHeight' of null
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PrinterItem.qml:23:32: QML Action: Accessible must be attached to an Item

Most of the delay happens between line 'Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"' and 'libkcups: 3 "Brother_MFC-J6947DW"'.
So far I have tried disabling cups.path using systemctl and also removing my printer, resetting appearance settings to default, disabling composition but none of them made any difference.
If some more logs are needed please say so and I will provide them.
As a side note, no, disk is not bottleneck (nvme).

Thanks in advice!

Last edited by someReallyRandomName (2022-12-08 16:35:39)

Offline

#2 2022-11-30 22:56:01

seth
Member
Registered: 2012-09-03
Posts: 49,966

Re: [SOLVED] Long plasmashell start times.

Does it start faster when you remove https://archlinux.org/packages/extra/x8 … t-manager/ ?

Offline

#3 2022-12-01 10:02:14

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

After removing with `sudo pacman -Rs print-manger` and restarting I couldn't see any difference.

Offline

#4 2022-12-01 10:14:18

seth
Member
Registered: 2012-09-03
Posts: 49,966

Re: [SOLVED] Long plasmashell start times.

So it's not related to libkcups.
Possibly same as https://bbs.archlinux.org/viewtopic.php?id=281710

Offline

#5 2022-12-01 10:21:03

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

It's seems so.... so could it be upstream bug?

Offline

#6 2022-12-01 10:27:04

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: [SOLVED] Long plasmashell start times.

Are you on Xorg or Wayland?


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#7 2022-12-01 10:28:43

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

Xorg, but I have wayland installed alongside it.
I also have PipeWire installed.

Offline

#8 2022-12-01 10:31:15

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: [SOLVED] Long plasmashell start times.

someReallyRandomName wrote:

Xorg, but I have wayland installed alongside it.
I also have PipeWire installed.

I am the other KDEr with a similar problem.
But I am on Wayland.
I think it is more on Qt/KDE/Plasma than Xorg/Wayland. My issue is only with a panel requiring 5 to 10 seconds to show up. Just that, though.

Last edited by 0BADC0DE (2022-12-01 10:37:27)


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#9 2022-12-01 10:32:32

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

Also I want to note that this delay didn't appeared from nowhere, it seems that over time it was becoming longer and longer so maybe it tries to load some logs?

Offline

#10 2022-12-01 10:38:01

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: [SOLVED] Long plasmashell start times.

someReallyRandomName wrote:

Also I want to note that this delay didn't appeared from nowhere, it seems that over time it was becoming longer and longer so maybe it tries to load some logs?

I had the same impression...
Which display manager are you using?
I am using "aur/sddm-git 0.19.0.170.g3e48649-1" .

Last edited by 0BADC0DE (2022-12-01 10:39:20)


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#11 2022-12-01 10:42:58

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

Same, as I originally was wayland sddm package just crashed so I installed sddm-git and also forced it using config (/etc/sddm.conf.d/default.conf) to ALWAYS use x11 for it self.

Last edited by someReallyRandomName (2022-12-01 10:46:41)

Offline

#12 2022-12-04 16:47:08

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: [SOLVED] Long plasmashell start times.

Try to setup your clipboard manager to just 128 items.
If it doesn't fix, try then to clean up the clipboard history.


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#13 2022-12-08 16:32:00

someReallyRandomName
Member
Registered: 2022-09-25
Posts: 22

Re: [SOLVED] Long plasmashell start times.

Yes it worked!
Also sorry for late response, but email notification for this thread landed in my spam.

Offline

Board footer

Powered by FluxBB