You are not logged in.

#1 2012-11-06 23:22:13

nathanb
Member
Registered: 2011-11-28
Posts: 103
Website

[solved] Excruciatingly slow KDE startup after upgrading to systemd

So I finally took the plunge and switched to using systemd.

After doing so, KDE takes (and I timed it) just under four minutes from typing in my password in kdm to displaying my desktop. Most of the delay seems to happen at the end of KDE initialization (the silly box that displays an icon for each thing it's doing gets all the way to the kde icon in about a minute, which is usual for my system since my homedir is nfs mounted).

I looked in Xorg.0.log, and I see a few big jumps in timestamps.

[    19.902] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:1028 (/dev/input/mouse0)
[    19.902] (II) No input driver specified, ignoring this device.
[    19.902] (II) This device may have been added with another device file.
[    19.902] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[    19.902] (II) No input driver specified, ignoring this device.
[    19.902] (II) This device may have been added with another device file.
[    21.669] (II) AIGLX: Suspending AIGLX clients for VT switch
[    21.669] (II) NOUVEAU(0): NVLeaveVT is called.
[   185.338] (II) AIGLX: Resuming AIGLX clients after VT switch
[   185.338] (II) NOUVEAU(0): NVEnterVT is called.

and

[   212.368] (II) NOUVEAU(0): Modeline "1400x1050"x0.0  156.00  1400 1504 1648 1896  1050 1053 1057 1099 -hsync +vsync (82.3 kHz e)
[   448.992] (II) NOUVEAU(0): EDID vendor "NEC", prod id 26310
[   448.992] (II) NOUVEAU(0): Using hsync ranges from config file
[   448.992] (II) NOUVEAU(0): Using vrefresh ranges from config file
[   448.992] (II) NOUVEAU(0): Printing DDC gathered Modelines:

No indication whether it's actually screwing around with the display driver all during that time or if it's waiting on something else in the background.

I do note that there are three services which systemctl lists as having failed:

polkit.service                                                            loaded failed failed        Authorization Manager
udisks.service                                                            loaded failed failed        UDisks
upower.service                                                            loaded failed failed        Daemon for power management

The only other weirdness after booting is that the background color for the kicker panel in KDE is different, which I think is due to the fact that it's not transparent anymore. Compositing is still enabled, though, and I still get all other desktop effects.

Last edited by nathanb (2012-11-07 15:05:02)

Offline

#2 2012-11-07 00:19:09

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: [solved] Excruciatingly slow KDE startup after upgrading to systemd

I've been struggling with this too. KDE is retardedly slow if polkit doesn't work, the u* daemons failing are a sign of that. Too bad it doesn't complain anything. See https://bbs.archlinux.org/viewtopic.php … 1#p1187271

But KDE seems a bit slow for me anyway. I have an SSD, booting takes like 5 secs past EFI and init, but KDE loads for like 10 for some reason. (Autologin, too)

Offline

#3 2012-11-07 00:31:46

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] Excruciatingly slow KDE startup after upgrading to systemd

Moving from Arch Discussion to Applications & Desktop Environments.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2012-11-07 15:04:46

nathanb
Member
Registered: 2011-11-28
Posts: 103
Website

Re: [solved] Excruciatingly slow KDE startup after upgrading to systemd

initbox, thank you so much for your help. After fixing the polkit problems KDE starts up at its usual speed.

Offline

Board footer

Powered by FluxBB