|
Registered Member
|
When logging in to KDE from KDM, about half the time there is a really long pause, maybe 40 seconds, before the KDE menus or any of the taskbar operations work, and before the saved session state is restored. The other half of the logins, everything pops up and is fully operational more or less right away, within a few seconds.
This doesn't seem to depend on the saved session. Even if nothing has to be restored and the login is to an empty desktop, the same thing happens. It also isn't related to disk caching: I can login 10 times in a row and some are fast, some are slow. It happens even for newly created users. Unlike windows, this doesn't seem to be an intrinsic property of KDE, because some cases ARE fast. How can I figure out what's causing the delay, for the slow cases? It's a bit annoying! I've tried looking in .xsession-error but that always has so much **** in it that it's really hard to know what shouldn't be there. I wish that really was for errors, so you'd know anything in there was a problem. But on a new install, freshly made user, it's still loaded up with cr*p. Thanks... |
|
Administrator
|
Can you log through console while the login is running and see whether a process is hogging up the CPU? Is your setup using network-based partitions, such as /home on NFS or similar?
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
|
Registered Member
|
OK, just tried. During this period, there is no significant CPU activity on any core. The most usage is htop on VT6, taking 1-2%. All other cores are at 0%. /home is locally mounted and there should be no NSF mounts involved. In the process of trying your experiment, I did notice that if I switch from VT6 (text) back to VT7 (graphics), the KDE taskbar does not get repainted until the moment when I can interact with it again. The rest of the screen repaints, including the desktop widgets and the wallpaper, but the task bar does not. It's stuck waiting for something until it times out - I just can't figure out what, or why it doesn't do it every time! |
|
Administrator
|
What is the status of KDE applications in htop? Are they shown as S, R or D?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
Thanks bcooksley, and sorry it took me a few days. Looks like S and variants:
|
|
Administrator
|
As far as I can tell - this means that they are all sleeping - ie. not using the CPU as such, and they are not awaiting on IO.
The best way to track this I guess would be to enable all debug areas using "kdebugdialog" then tail the ~/.xsession-errors file - seeing which output comes out just prior and after it unfreezes.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
I have the same problem.
I'm using openSUSE 11.4 + Tumbleweed + KDF (4.7.1 of this writing). I *think* it's related to the network manager stuff. I will try an experiment to find out. Edit: the experiment was inconclusive, but I still think it's network management. [The experiment involved disabling "NetworkManager user settings Service" in Service Manager but, apparently, this does not work.] |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]