[gentoo-user] KDE programs starts slowly
Hi, everyone Yesterday I reinstalled gentoo, because I'd made the filesystem dirty (always used sudo, and installed programs not in portage randomly...) and I want a new, clean system. I install new kde (3.5.0), but there is a problem: While other programs - firefox, gftp, bittorrent - runs fine, all of my programs using some kdelib or - if I'm right -, DCOP starts slowly, and after starting cannot run fine. For example: KDE starts up slower than in the previous installation. Then I pick konqueror, it takes 2-3 secs. to start. Then I close, and re-exec it. 2-3 secs again (where is the cache?). BUT: KHTML starts to render the page, it hangs for 2 seconds, then begin to load. hmmm... Clicking refresh causes the same. Running KDE apps writes to the konzole I started from: Qt: Locales not supported on X server. In my opinion, it doesn't affect, because in the previous installation it was the same. Now let's show how I emerged KDE: /etc/make.conf -- USE=artswrappersuid bash-completion cdparanoia cdr dvd dvdr dvdread ffmpeg font-server icq java mmx mplayer msn nptl nsplugin nvidia pdf real reiserfs samba sse sse2 tidy timidity vidix win32codecs xine xvid -gnome -gstreamer -gtk -gtk2 -nls -oss -pam -xmms KDE's version: kde-base/kdebase-3.5.0-r1 hdparm -tT /dev/hdb says (it's configured properly): Timing cached reads: 824 MB in 2.00 seconds = 411.97 MB/sec Timing buffered disk reads: 156 MB in 3.04 seconds = 51.34 MB/sec And, what can be the source of problems, the file attributes in /tmp/.ICE-Unix: ls -alR /tmp (not the whole output): rwxrwxrwt 9 root root 392 Jan 29 11:26 . drwxr-xr-x 20 root root 464 Jan 28 22:39 .. srw-rw 1 kmarc audio 0 Jan 29 11:26 alsa-dmix-12654-1138530397-665053 srw-rw 1 kmarc audio 0 Jan 29 11:26 alsa-dmix-12654-1138530397-676842 drwxrwxrwt 2 root root 112 Jan 29 10:52 .ICE-unix drwx-- 2 kmarc users 152 Jan 29 11:25 kde-kmarc drwx-- 2 root root 72 Jan 29 10:49 kde-root drwx-- 3 kmarc users 544 Jan 29 11:25 ksocket-kmarc drwx-- 2 root root 80 Jan 29 10:49 ksocket-root drwx-- 2 kmarc users 48 Jan 29 11:20 mc-kmarc -r--r--r-- 1 root users 11 Jan 29 10:52 .X0-lock drwxrwxrwt 2 root root 72 Jan 29 10:52 .X11-unix /tmp/.ICE-unix: total 0 drwxrwxrwt 2 root root 112 Jan 29 10:52 . drwxrwxrwt 9 root root 392 Jan 29 11:26 .. srwx-- 1 kmarc users 0 Jan 29 10:52 12659 srwx-- 1 kmarc users 0 Jan 29 10:52 dcop12643-1138528357 /tmp/kde-kmarc: total 1181 drwx-- 2 kmarc users 152 Jan 29 11:25 . drwxrwxrwt 9 root root 392 Jan 29 11:26 .. -rw--- 1 kmarc users 1203071 Jan 29 11:25 kmailYGfwjc.tmp -rw--- 1 kmarc users 200 Jan 29 10:56 konqueror-crash-DMKQib.log lrwxrwxrwx 1 kmarc users 31 Jan 29 10:53 ksycoca - /var/tmp/kdecache-kmarc/ksycoca So, how can I solve it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE programs starts slowly
On Sunday 29 January 2006 11:29, Korondi Márk wrote: programs using some kdelib or - if I'm right -, DCOP starts slowly, and after starting cannot run fine. For example: KDE starts up slower than in the previous installation. usually this is a not correctly set up /etc/hostname Then I pick konqueror, it takes 2-3 secs. to start. Then I close, and re-exec it. 2-3 secs again (where is the cache?). BUT: KHTML starts to render the page, it hangs for 2 seconds, then begin to load. hmmm... Clicking refresh causes the same. Running KDE apps writes to the konzole I started from: Qt: Locales not supported on X server. In my opinion, it doesn't affect, because in the previous installation it was the same. well, I do not get this warning and KDE is very fast. Now let's show how I emerged KDE: /etc/make.conf -- USE=artswrappersuid bash-completion cdparanoia cdr dvd dvdr dvdread ffmpeg font-server icq java mmx mplayer msn nptl nsplugin nvidia pdf real reiserfs samba sse sse2 tidy timidity vidix win32codecs xine xvid -gnome -gstreamer -gtk -gtk2 -nls -oss -pam -xmms why -nls? So, how can I solve it? kill kdm and rm all the ICE, ksycoca and .dcop .X11-blabla stuff? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE programs starts slowly
Thank you for the promptly answer, usually this is a not correctly set up /etc/hostname hmmm... during the install the gentoo-hanbook doesn't say me to set it up. I write my hostname in it, restart kde, but it didn't solve my problem. well, I do not get this warning and KDE is very fast. why -nls? :-) I always get these messages, because I'm Hungarian and use linux's with locale settings, such LANG=en_US.ISO-8859-2 LC_ALL=en_US.ISO-8859-2. Otherwise on frugalware we also get this message. KDE _was_ very fast on this computer, too, so it's not a problem why -nls? why nls? (I use it on English) kill kdm and rm all the ICE, ksycoca and .dcop .X11-blabla stuff? I don't use kdm. Probably it's the problem? ;-) After rm -R /tmp/* the problem isn't solved... :-( -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE programs starts slowly
On Sunday 29 January 2006 13:46, Korondi Márk wrote: kill kdm and rm all the ICE, ksycoca and .dcop .X11-blabla stuff? I don't use kdm. Probably it's the problem? ;-) After rm -R /tmp/* the problem isn't solved... :-( remove those files from user directory; maybe .xsession-errors has some interesting info; my experience with slow KDE has been when /etc/fonts/ contents missconfigured and also i would check is DMA enabled m -- Linux 2.6.15-ck2 AMD Athlon(tm) 64 Processor 3200+ 14:09:38 up 10:42, 5 users, load average: 1.04, 1.08, 1.11 pgp6xlFNkEiQU.pgp Description: PGP signature
Re: [gentoo-user] KDE programs starts slowly
On Sunday 29 January 2006 13:14, Martins Steinbergs wrote: remove those files from user directory; I removed, even I tried with a new user, the problem is the same maybe .xsession-errors has some interesting info; Yes, it's interesting, but no .xsession-errors exists. Previous gentoo had it. my experience with slow KDE has been when /etc/fonts/ contents could be? KDE set it's font configuration from xorg.conf, doesn't? ... also i would check is DMA enabled linfinite kmarc # hdparm /dev/hdb /dev/hdb: multcount= 16 (on) IO_support = 3 (32-bit w/sync) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 64 (on) geometry = 16383/255/63, sectors = 120060444672, start = 0 So, sorry if I'd asked badly, but I think you misunderstand me... :-$ Programs that don't use KDE (gftp, firefox, bittorrent, gtk-demo) run up fast, and fast, even also openoffice.org. I think, there is a problem with the dcop interface, the communication between some KDE apps. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE programs starts slowly
U, please, look at this: I touched .xsession-errors. Then run up KDE. .xsession-errors says (ungrep the QT-locale-blabla line): [EMAIL PROTECTED] ~ $ grep -v 'Qt: Locales not supported on X server' .xsession-errors xset: bad font path element (#158), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax startkde: Starting up... kbuildsycoca running... kdecore (KLibLoader): WARNING: KLibrary: /usr/kde/3.5/lib/kde3/kcm_kdnssd.so: undefined symbol: init_kdnssd QFont::setPointSize: Point size = 0 (-3) QImage::smoothScale: Image is a null image Uh oh.. can't write data.. QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range QDateTime::fromString: Parameter out of range kwin: X_SetInputFocus(0x1a5): BadMatch (invalid parameter attributes) MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 QGArray::find: Index 0 out of range MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0 kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: PKCS7_content_free kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7:
Re: [gentoo-user] KDE programs starts slowly
On 29 January 2006 13:46, Korondi Márk wrote: kill kdm and rm all the ICE, ksycoca and .dcop .X11-blabla stuff? I don't use kdm. Probably it's the problem? ;-) It could be because kdm tries to load as much of KDE as possible while it is waiting for a user to log in. Honestly, I doubt this is your problem. Unfortunately I don't know what causes the slowness on your system. Mine is blazingly fast. Konqueror start-up is less than 1 second. I do a prelink after bigger updates. Uwe -- Unix is sexy: who | grep -i blonde | date cd ~; unzip; touch; strip; finger mount; gasp; yes; uptime; umount sleep -- gentoo-user@gentoo.org mailing list