Bug 341762 - When utilizing the Breeze theme for SDDM, it takes ages for SDDM to startup.
Summary: When utilizing the Breeze theme for SDDM, it takes ages for SDDM to startup.
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
: 365710 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-10 21:26 UTC by Raymond Wooninck
Modified: 2019-12-06 15:32 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
journalctl -b output with Breeze theme active for SDDM (121.00 KB, text/plain)
2014-12-11 09:19 UTC, Raymond Wooninck
Details
journalctl -b output with Maldives theme active for SDDM (100.82 KB, text/plain)
2014-12-11 09:19 UTC, Raymond Wooninck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Wooninck 2014-12-10 21:26:25 UTC
Due to the very nice integration with the rest of the desktop, I am using the Breeze theme for SDDM (created by David Edmundson). It looks way better than the default theme of SDDM, but it has one very big disadvantage. When the Breeze theme is active, it takes about 1,5 minute for SDDM to show its login screen. (Measured with systemd-analyze blame). Using the default theme for SDDM (Maui), then it only takes a fraction of a second and systemd-analyze blame doesn't even show a line for it. 

The only difference that I notice is that is feels that it takes longer for plasma to startup when using the Maui theme, then with the Breeze theme. However these few seconds still doesn't justify the 1,5 minutes startup for SDDM. 

Reproducible: Always
Comment 1 David Edmundson 2014-12-10 22:46:30 UTC
wow. That's pretty extreme

A delay that big must be a DBus timeout (or rather 3 sequential DBus timeouts).

We end up querying solid for battery status which does go via an activated kded; so potentially that's where we block.

Can you:
 - confirm what version you are using.
 - tell me where you get your RPMs from
 - check the log files from SDDM (journalctl -u sddm)
Comment 2 Raymond Wooninck 2014-12-11 09:19:08 UTC
Created attachment 89915 [details]
journalctl -b output with Breeze theme active for SDDM
Comment 3 Raymond Wooninck 2014-12-11 09:19:54 UTC
Created attachment 89916 [details]
journalctl -b output with Maldives theme active for SDDM
Comment 4 Raymond Wooninck 2014-12-11 09:20:34 UTC
Hi David, 

The SDDM version that I am using is from git master and we are building it on openSUSE Build Service. I am part of the openSUSE KDE Community team and we are currently testing SDDM to see if we could make the same switch as Fedora from KDM to SDDM.  I am using it in connection with a Frameworks/Plasma-next desktop. 

SDDM on openSUSE is started through the generic display-manager service. There are indications that we should switch to using separate services for each display-manager, but this has not yet done, so you might see display-manager in the journal logs. 

Running systemd-analyze blame delivers (top x lines) the following output: 
    1min 30.078s display-manager.service
           560ms ModemManager.service
           536ms systemd-tmpfiles-setup.service
           500ms systemd-logind.service
           499ms firewalld.service
           447ms postfix.service
           429ms plymouth-read-write.service
           214ms mnt-windows.mount
           159ms NetworkManager.service
            67ms lvm2-activation-net.service
            58ms systemd-fsck@dev-disk-by\x2duuid-a15e9da3\x2d0009\x2d4847\x2d978d\x2d34b3de059089.service
            42ms alsa-restore.service
            40ms avahi-daemon.service

So I am not sure if the 1min 30secs is really the time required by SDDM or that it just indicates that a total boot time of 1 min is reached and that 30 secs is used for the display-manager. 

I have attached two journals (one with the maldives theme active and the other with the breeze theme). These are the full startup journals of the current session. I didn't filter them to prevent loosing information.
Comment 5 Kai Uwe Broulik 2014-12-18 15:48:19 UTC
I reverted the PowerDevil patch. Please try again with recent PowerDevil. Thanks!
Comment 6 Raymond Wooninck 2014-12-18 20:10:45 UTC
Hi Kai, 

I hope your didn't revert your patch because of this bug report.  I am running the latest version from git, but still the same issue. So the revert didn't bring any relief in the startup time of SDDM
Comment 7 EllisIsPfroh 2016-04-22 16:00:52 UTC
@ Raymond

Starting with Plasma 5.5.4 you can select not to have a start screen (with progress-bar) at all

System-Settings -> Desktop-Appearance -> Start-Screen (select)

Does this speed up your boot?  

<OT >There's nothing yet from kde-look.org <OT>
Comment 8 blaze 2016-09-21 10:31:41 UTC
Can confirm this for Plasma 5.7.x (K)Ubuntu 16.10 YY.
Comment 9 blaze 2016-09-25 09:48:21 UTC
I think that problem here is more global than just sddm plugin. Slow init can reproduced for a quite big number of Qt5 apps. Maybe linking against libicu causes this issue or opensource graphics drivers. Not sure. Needs further investigation.
Comment 10 Raymond Wooninck 2016-09-25 10:38:36 UTC
Actually I haven't seen this for quite some time. Also with the changes that Plasma 5.8 will bring to the SDDM theme, the issue no longer occurs with me.
Comment 11 blaze 2016-10-02 08:52:50 UTC
Maybe it was fixed with Qt5.7. I have Qt5.6.1.
Comment 12 Rik Mills 2016-10-02 08:58:35 UTC
I also cannot replicate this at all:

Plasma 5.7.2, and later 5.7.5
Qt 5.6.1
Ubuntu 16.10 (Yakkety)
Comment 13 Filip Fila 2019-12-06 09:31:23 UTC
Is this still relevant?
Comment 14 Nate Graham 2019-12-06 15:32:14 UTC
Since there have been changes relevant to this bug since it was filed, and folks can no longer reproduce it, let's close it until we get new reports. Thanks everyone!
Comment 15 Nate Graham 2019-12-06 15:32:35 UTC
*** Bug 365710 has been marked as a duplicate of this bug. ***