Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE sometimes is buggy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Thu Mar 29, 2012 8:18 am    Post subject: KDE sometimes is buggy Reply with quote

during some log ons, i notice a few odd things that i can't find a cause.

they all happen or do not happen at once.

- some applications take a LONG time to run (e.g. konsole, Dolphin)
- those same applications starts way faster via the command line (if i have a konsole open, executing dolphin will open it fast, clicking the UI icon will take a couple minutes)
- those applications show the starting feedback (bouncing icon, task manager loading icon) for around one minute, then nothing for another minute (or more) and they open
- applications never affected that i noticed: firefox, okular. those open ok.
- a few session items do not load. such as Klipper, volume icon.
- keyboard dedicated volume keys do not work
- brightness keys do work

log off/log on solves most of it.

seems to (may be my imagination) happen more frequently when i log on whioe using the battery instead of the AC
and most of the time (this for sure) on the first login right after boot up.


any idea what may be happening? dmesg has nothing useful.

my two last kdm session logs shows
Code:
kdmgreet(2856)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Symbol map for key <RALT> redefined
>                   Using last definition for conflicting fields
> Error:            Meta_L added to symbol map for multiple modifiers
>                   Using Mod4, ignoring Mod1.
> Error:            Key <META> added to map for multiple modifiers
>                   Using Mod4, ignoring Mod1.
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Server terminated successfully (0). Closing log file.
klauncher(13553) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(13547)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server"

kdmgreet(13547)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Symbol map for key <RALT> redefined
>                   Using last definition for conflicting fields
> Error:            Meta_L added to symbol map for multiple modifiers
>                   Using Mod4, ignoring Mod1.
> Error:            Key <META> added to map for multiple modifiers
>                   Using Mod4, ignoring Mod1.
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server


didn't find any other log with K in the name :) i'm not really used to kde.

Code:
#  equery list \* | grep kde
kde-base/activitymanager-4.7.4
kde-base/attica-4.7.4
kde-base/dolphin-4.7.4
kde-base/drkonqi-4.7.4
kde-base/freespacenotifier-4.7.4
kde-base/kactivities-4.7.4
kde-base/katepart-4.7.4
kde-base/kcheckpass-4.7.4
kde-base/kcminit-4.7.4
kde-base/kcmshell-4.7.4
kde-base/kcontrol-4.7.4
kde-base/kde-env-4.7.4
kde-base/kde-wallpapers-4.7.4
kde-base/kdebase-cursors-4.7.4
kde-base/kdebase-data-4.7.4
kde-base/kdebase-desktoptheme-4.7.4
kde-base/kdebase-kioslaves-4.7.4
kde-base/kdebase-menu-4.7.4
kde-base/kdebase-menu-icons-4.7.4
kde-base/kdebase-meta-4.7.4
kde-base/kdebase-pam-7
kde-base/kdebase-runtime-meta-4.7.4
kde-base/kdebase-startkde-4.7.4
kde-base/kdebugdialog-4.7.4
kde-base/kdelibs-4.7.4
kde-base/kdepasswd-4.7.4
kde-base/kdepimlibs-4.7.4-r1
kde-base/kdesu-4.7.4
kde-base/kdialog-4.7.4
kde-base/kdm-4.7.4
kde-base/kdnssd-4.7.4
kde-base/kdontchangethehostname-4.7.4
kde-base/keditbookmarks-4.7.4
kde-base/keditfiletype-4.7.4
kde-base/kephal-4.7.4
kde-base/kfile-4.7.4
kde-base/kfind-4.7.4
kde-base/kfmclient-4.7.4
kde-base/kglobalaccel-4.7.4
kde-base/khelpcenter-4.7.4
kde-base/khotkeys-4.7.4
kde-base/kiconfinder-4.7.4
kde-base/kinfocenter-4.7.4
kde-base/kioclient-4.7.4
kde-base/klipper-4.7.4
kde-base/kmenuedit-4.7.4
kde-base/kmimetypefinder-4.7.4
kde-base/kmix-4.7.4
kde-base/knetattach-4.7.4
kde-base/knewstuff-4.7.4
kde-base/knotify-4.7.4
kde-base/konq-plugins-4.7.4
kde-base/konqueror-4.7.4
kde-base/konsole-4.7.4-r1
kde-base/kpasswdserver-4.7.4
kde-base/kquitapp-4.7.4
kde-base/kreadconfig-4.7.4
kde-base/krunner-4.7.4
kde-base/kscreensaver-4.7.4
kde-base/ksmserver-4.7.4
kde-base/ksnapshot-4.7.4
kde-base/ksplash-4.7.4
kde-base/kstart-4.7.4
kde-base/kstartupconfig-4.7.4
kde-base/kstyles-4.7.4
kde-base/ksysguard-4.7.4
kde-base/ksystraycmd-4.7.4
kde-base/ktimezoned-4.7.4
kde-base/ktraderclient-4.7.4
kde-base/kuiserver-4.7.4
kde-base/kurifilter-plugins-4.7.4
kde-base/kwallet-4.7.4
kde-base/kwalletd-4.7.4
kde-base/kwin-4.7.4
kde-base/kwrite-4.7.4
kde-base/kwrited-4.7.4
kde-base/libkipi-4.7.4
kde-base/libkonq-4.7.4
kde-base/libkworkspace-4.7.4-r1
kde-base/liboxygenstyle-4.7.4
kde-base/libplasmaclock-4.7.4
kde-base/libplasmagenericshell-4.7.4
kde-base/libtaskmanager-4.7.4
kde-base/nepomuk-4.7.4
kde-base/nsplugins-4.7.4
kde-base/okular-4.7.4
kde-base/oxygen-icons-4.7.4
kde-base/phonon-kde-4.7.4
kde-base/plasma-apps-4.7.4
kde-base/plasma-runtime-4.7.4
kde-base/plasma-workspace-4.7.4
kde-base/powerdevil-4.7.4
kde-base/pykde4-4.7.4
kde-base/qguiplatformplugin_kde-4.7.4
kde-base/renamedlg-plugins-4.7.4
kde-base/solid-4.7.4
kde-base/solid-runtime-4.7.4
kde-base/svgpart-4.7.4
kde-base/system-config-printer-kde-4.7.4
kde-base/systemsettings-4.7.4
kde-misc/kcm-gtk-config-1.7
kde-misc/polkit-kde-kcmodules-0.98_pre20101127
kde-misc/wicd-client-kde-0.2.2
sys-auth/polkit-kde-agent-0.99.0
Back to top
View user's profile Send private message
gcb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 81

PostPosted: Tue Apr 03, 2012 5:45 am    Post subject: Reply with quote

any ideas?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2630

PostPosted: Tue Apr 03, 2012 6:13 am    Post subject: Reply with quote

If you are not running hardened, use prelink
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10310
Location: Córdoba (Spain)

PostPosted: Tue Apr 03, 2012 11:15 am    Post subject: Reply with quote

The benefits of prelink are -in any case- argueable, but the important thing is that it's a tool which purpose is "optimization", and "optimization" is not the "solution" for any problem, but rather an ornamental and accessory thing you can pursue once your system is working properly.

gcb, can you, please, try a newly created user just to discard config issues?

I'd also check if the nepomuk and all that social desktop and desktop search stuff is disabled (I am not sure where to direct you at since I've never compiled support for that myself, but I know it's configurable somewhere). I am not sure if this could be your problem, but I know it sometimes causes high cpu usages and stuff like that for no good reason while indexing.

Because of that, I also ask you to be vigilant about cpu usage, be sure to use a program that can monitor all your cpus if you have a multicore system. top or htop should do. They have options to order the output by cpu usage, so use that and look what happens and who's at the top of the list. If you see something abnormal report it back.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
radio_flyer
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273
Location: Northern California

PostPosted: Wed Apr 04, 2012 8:29 pm    Post subject: Reply with quote

No ideas for you, just sympathy. I consider your subject title KDE sometimes is buggy to be more a statement of fact than a question. About once in every 10-20 or so logins I end up with a KDE start menu that opens in some random corner of the display, konsole windows that won't show, and a lot of the same strangeness you see. It's almost invariably related to kwin crashing or some KDE inter-process communication system failing to start.

I have kdm configured to always restart X, and logging out and logging back in always fixes things. This is on an AC-powered desktop with no battery at all (except for the CMOS one). It's difficult to debug unless you re-compile KDE with debug info and then catch the intermittent startup failures, which are often race conditions. Furthermore, since I'm running stable KDE, odds are the KDE devs have already resolved the issue and the fixes just haven't hit stable yet. You've discovered the best solution I've found: log out and back in again, and wait for the next release, where those bugs are fixed and exciting new ones are added.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2630

PostPosted: Thu Apr 05, 2012 2:05 am    Post subject: Reply with quote

i92guboj wrote:
I'd also check if the nepomuk and all that social desktop and desktop search stuff is disabled (I am not sure where to direct you at since I've never compiled support for that myself, but I know it's configurable somewhere). I am not sure if this could be your problem, but I know it sometimes causes high cpu usages and stuff like that for no good reason while indexing.


I forgot about those. Getting rid of those those breathes new life into kde. It is controlled using the semantic-desktop flag. You do have to kind of fight with portage to get rid of it though.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
radio_flyer
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273
Location: Northern California

PostPosted: Thu Apr 05, 2012 3:37 pm    Post subject: Reply with quote

I gave up trying to get rid of semantic desktop / nepomuk because it's tentacles are everywhere in KDE. Instead, I configured it to just index my wallpaper subdirectory containing a few dozen images that rarely change. Images seem to be one of the few things it can index consistently without crashing. That keeps nepomuk and its minions happy, and limits its annoying behavior to a few seconds at KDE startup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum