You are not logged in.

#1 2013-01-15 10:30:32

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

KDE4 slow login process.

My KDE-4 login process is fairly slow. It takes about a minute or so on a Core i3-2350M CPU @ 2.30GHz with 4 Gbyte of RAM. I face this problem for quite some time now but I wasn't able to solve it.

The biggest amount of time is taken by the "Big K" icon. Does any one knows what gets loaded during that time?

I have tried to disable Strigi, Nepomuk, Desktop effects, Composition and other services.

I face the same problem with another pc (Pentium4 CPU @ 3.20GHz with 2 Gbytes RAM and nVidia gpu).

http://www.youtube.com/watch?v=pxKWJfkV7cQ

How can I debug it? Monitor the process?

Monitoring .xsession-errors I can locate a 24 secs "gap".

12:12:30        kwin(2491) KWin::ShaderManager::initShaders: Ortho Shader is valid
12:12:30        kwin(2491) KWin::ShaderManager::initShaders: Generic Shader is valid
12:12:30        kwin(2491) KWin::ShaderManager::initShaders: Color Shader is valid
12:12:30        kwin(2491) KWin::SceneOpenGL::SceneOpenGL: DB: true , Direct: true
12:12:31        kwin(2491) KWin::currentRefreshRate: Vertical Refresh rate  60 Hz
12:12:31        kwin(2491) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_desktopgrid"
12:12:31        kwin(2491) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_presentwindows"
12:12:31        kwin(2491) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_logout"
12:12:31        kwin(2491) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_minimizeanimation"
12:12:33        QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
12:12:33        QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
12:12:33        QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
12:12:33        QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
12:12:34        QDBusObjectPath: invalid path ""
12:12:34        QDBusObjectPath: invalid path ""
12:12:35        QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.6'
12:12:35        kded(2418)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
12:12:35        Object::connect: No such signal QDBusAbstractInterface::StateChanged(uint)
12:12:59        Object::connect: No such signal QDBusAbstractInterface::ActiveChanged(bool)

12:12:59        QGraphicsLinearLayout::insertItem: cannot insert null item
12:12:59        QGraphicsLinearLayout::insertItem: cannot insert null item
12:13:03        Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
12:13:03        krunner(2597)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
12:13:03        krunner(2597)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
12:13:03        "/usr/bin/kdeinit4(2597)" Soprano: "Could not connect to server at /tmp/ksocket-firewalker/nepomuk-socket (No such file or directory)"
12:13:03        "/usr/bin/kdeinit4(2597)" Soprano: "Could not connect to server at /tmp/ksocket-firewalker/nepomuk-socket (No such file or directory)"
12:13:03        "/usr/bin/kdeinit4(2597)" Soprano: "Could not connect to server at /tmp/ksocket-firewalker/nepomuk-socket (No such file or directory)"
12:13:03        "/usr/bin/kdeinit4(2597)" Soprano: "Could not connect to server at /tmp/ksocket-firewalker/nepomuk-socket (No such file or directory)"

Sometimes between the gap is a kded(2451)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: message.

System fully updated.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2013-01-16 04:59:30

Beelzebud
Member
From: Illinois, U.S.
Registered: 2010-07-16
Posts: 154

Re: KDE4 slow login process.

I've also been having this same issue.   If i logout and log back in from KDM, it loads nice and fast, but when I cold boot or restart, it does what you're describing.  When I get more time I'm going to try it with a new config, and see if that makes it load properly, but the thought of tweaking everything again makes me push it off.  I have no idea how to determine what is causing the hang.

Last edited by Beelzebud (2013-01-16 23:23:45)

Offline

#3 2013-01-17 23:01:37

Loopback
Member
Registered: 2012-07-07
Posts: 2

Re: KDE4 slow login process.

I wasn't satisfied with KDE login speed also. I solved the problem by installing e4rat. It takes some time to preload the files but after that, KDE login process is  much faster. When e4rat is run for the first time, it collects data for a default of 120 secs, so your desktop will be "ready to use" sooner.
For details, see: https://wiki.archlinux.org/index.php/E4rat

Offline

#4 2013-01-18 03:16:20

Beelzebud
Member
From: Illinois, U.S.
Registered: 2010-07-16
Posts: 154

Re: KDE4 slow login process.

If I rename my ~/.kde4 directory and restart, it loads completely fast with the default config.   I suppose I'll try setting everything back up again, restarting as I go, to try and figure out which setting/tweak made it begin loading so slow.   If that fails, I'll give E4rat a try.

Offline

#5 2013-01-23 20:54:45

omeringen
Member
Registered: 2012-05-28
Posts: 116

Re: KDE4 slow login process.

Hi,
I am having same issue. I can't remember when it started but it was fine before. Any of you tried KDE 4.10 unstable ?
Same question here : How can i debug ?

Offline

#6 2013-01-23 20:58:07

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: KDE4 slow login process.

Beelzebud wrote:

I suppose I'll try setting everything back up again, restarting as I go, to try and figure out which setting/tweak made it begin loading so slow.

And the KDE login will be slow in notime. I did that once. I'd really like to know, what's the real showstopper here.

Offline

#7 2013-01-23 21:19:33

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: KDE4 slow login process.

Same issue here. KDE 4.10 doesn't make any much of difference...

Offline

#8 2013-01-24 07:54:07

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

Re: KDE4 slow login process.

Creating an new user or deleting .kde4 doesn't help for me. It was the first thing I tried.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB