Registered Member
|
Greetings - I did scour the board for this issue, but have not come up with anything that matches my situation (I reserve the right to have bad search-fu ).
Basically - I have a very nice laptop (Core2Duo T9300, 8GB RAM, Quadro FX 1600M) I run Fedora x86_64 on, and KDE has _always_ been my preferred window manager. Recently I did a Fedora 13 -> 14 preupgrade, and all seemed well. I replaced the harddrive with a larger one and in the process installed F14 fresh, and ever since, KDE is mind-numbingly slow; starting KDE takes 10-15 minutes. Even in GNOME, starting a KDE app takes several minutes. An strace for konsole shows (among other things) that:
When I look up file descriptor 3 for that PID, it turns out it's a symlink to a socket that doesn't exist. I am not sure yet whether this is relevant to my issue or not. CPU load (and HD activity) during the startup process is negligible. I gambled that it had to do with dbus (I have since learned that GNOME uses dbus as well) and started ,y system with init=/bin/systemd instead of init=/sbin/startup, but to no avail. If anyone has seen and resolved an issue like this, please help me get my KDE back Thank you in advance!
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Manager
|
you can look at this thread, similar problem but op never states if fixed, this specific post may help determine issue viewtopic.php?f=66&t=89804#p169590 states "You may wish to try switching to a virtual terminal and watching ~/.xsession-errors. It may be getting hung on a particular component for some reason ( perhaps the network state has changed the computer's hostname? )"
things to try - 4.6beta, 4.5.3, login as new user (or rename your kde4 dir), dl or run a live cd (Fedora 13, opensuse maybe) to see if it's a Fedora thing (as 14 is a preupgrade) ps nice laptop |
Registered Member
|
Thanks! I love this lump - it's huge (17" screen), but she's got it where it counts The main reason for the memory is that I'm doing a lot of VMware stuffs.
I did a few things in the thread you suggested, alas! .xsession-errors says nothing. Renaming .kde and .kderc makes no difference, other than losing settings. I want to make sure it's understood that it seems to apply to *all* KDE applications - konsole, amarok, kmahjongg - and worth mentioning is also that once the application is up and running, it seems to be fine. I _am_ *ahem* running a tainted nVidia kernel, but when I was running with nouveau I got the same result.
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Manager
|
you could try private messaging the original poster of the thread I suggested and ask if and how he resolved his problem, though he doesn't appear to be an active forum user he may reply
in a terminal session (alt+ctrl+f1, alt+ctrl+f2, etc) you can monitor disk usage with iotop and cpu usage with htop |
Registered Member
|
I don't have iotop/htop, but I might pull those down. What I did do was utilize nmon (_very_ handy tool, open source contribution by IBM, see http://nmon.sourceforge.net/pmwiki.php?n=Site.Download ) and see that neither disk, memory, cpu nor network is really reacting in any noticeable way when I start konsole, amarok etc. It's almost as though there's a sleep in there for any k* application - very odd indeed.
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Administrator
|
This could possibly be an issue with it being unable to reach D-Bus (which stores sockets in ~/.dbus) or KDEInit (uses sockets via symlinks in ~/.kde4/, actual sockets located at /tmp/ksocket-$USER)
Can you please verify that "dbus-daemon" and "kdeinit4" are both running under your current user after starting a KDE application?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I started konsole, but sockets (or symlinks) do not seem to be created in ~/.dbus; however there is a socket symlink in ~/.kde (there's not ~/.kde4 - I'm assuming that's a Fedora customization):
In the above example, <username> = <owner> and <group>, which are UID and GID 500, respectively.
They are indeed both running:
This is, as a point of clarification, the konsole application launched from within GNOME.
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Administrator
|
Note that Konsole itself won't create the socket(s) in ~/.dbus, it merely connects to them.
Just interested, does "qdbus" take a long time to run?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hy,
I seem to have the same problem. Another piece of information: When I start a KDE app, for example kile, with strace:
|
Registered Member
|
In fact, it doesn't:
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Administrator
|
Does this occur only with certain applications (Konsole, Dolphin) or with all applications (ie. KWrite is also affected). Also, have you tried attaching gdb once it has hung to try and backtrace where it has hung? You will need debugging symbols for that (probably for libdbus, qt and kdelibs at least)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
For me this occurs with every KDE app I tried (including kwrite). |
Administrator
|
Can you please try attaching gdb once it has hung and generating a full backtrace in this case?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I noticed something alarming when I tried it. By mistake I ran gdb as root (ouchie wa-wa) and lo and behold - kwrite, konsole and kbounce started up quickly and without fail. So - I may have lead y'all down the proverbial primrose path of complexity when in reality it's a simple permissions issue. WHAT exactly this permissions issue is, however, I cannot yet tell, so if there are any suggestions on what to check (since I'm not a developer, and CERTAINLY not as KDE savvy as you good folks are), please let me know.
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Registered Member
|
Additional information - once I start Kwrite as my non-root user, the /proc/<pid>/fd directory is rather ugly with MANY red symlinks, for example:
When I do the same as the root user, I get the same result, albeit a lot fewer of them - unsure if this is relevant or not.
--
A: Because it's counterintuitive to the way we read. Q: Why is top-posting bad? See http://www.gnu.org/philosophy/no-word-attachments.html |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]