You are not logged in.
So, I just got a snazzy new system with an SSD and a great processor and it loads the kernel and gets to awesome/openbox in about 4 or 5 seconds from hitting the power button. It's great. It's incredible in fact compared to my 6 year old Dell that I've been repeatedly fixing. Anyhow. The problem really is that my desktop of choice is KDE and that it takes KDE about 10-15 seconds to load from login to useability on first login. In fact, it almost seems like something is hanging.
I've done some snooping and created a profile using bootchart but I'm sort of lost on how to interpret it/where to go from here. It doesn't appear that any one thing is taking 10 seconds (hence the hang hypothesis) but I don't know how to investigate it further.
Here's said bootchart: http://i.imgur.com/vckls.png
I have a fairly minimal desktop (one bar, menu, wifi) at the moment so I don't think any of the widgets are causing the problem, I also read a bunch of posts in the KDE forums about specific issues but none seem to apply to me. Am I missing something, or do I have unrealistic expectations of KDE boot speeds?
Last edited by gobostone (2012-12-08 07:48:46)
Offline
Hi,
try to apply the hints here:
http://ubuntuforums.org/showthread.php?t=1889034
I have a pc with an old sata drive (5400 rpm) and I was able to improve the startup time a bit (now kde start in about 30 seconds), additionally I'm using prelinking too. However I think in your case you'll get fewer gains. I test every new kde release hoping that boot time improve ... kde 4.10 from kde-unstable has no improvement ![]()
Offline
Thanks for the reply Those tips are nice but I've definitely considered everything in there. I'm more so looking for tips to track down exactly what is taking up all the time on login. I'm sad to hear that you think 4.10 isn't any better.
Offline
delete /etc/xdg/autostart/pulseaudio.desktop should fix that
Offline
Hey Iam, I appreciate the reply. I saw that in one of the KDE threads but to no avail. It's not there. I have the following files in my xdg/autostart config area:
at-spi-dbus-bus.desktop
gtk-kde4.desktop
gsettings-data-convert.desktop
synaptiks_init_config.desktop
Offline
Offline
KDE startup has always been slow.
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
Nice contribution to the discussion there boast. I appreciate the link drakkan. I understand that it's slow but I'm hoping that I could get something a little more out of it, which process, or where optimizations could occur. Heck, I'm happy to look at code myself eventually if I could just get some direction where to start. Maybe I should have asked in the KDE boards.
Offline
I've casually looked in to this several times over the last few years, and the funny thing is that no one seems to know why kde login takes so long. I've seen threads where people have made serious attempts to analyze the problem, but they usually give up after a while. I think that KDE's infrastructure is just big and slow. I miss my old flux environment, but I've never had much luck running a more minimal environment with multiple users. If you don't have multiple users, and are willing to spend a little time setting things up, I think that more minimal environments are the way to go. They will make your already fast machine seem even faster. Fast hardware will never be a good substitute for efficient software.
Last edited by Convergence (2012-12-10 20:40:04)
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline
delete /etc/xdg/autostart/pulseaudio.desktop should fix that
+1.
That shaved 15-20 seconds off my boot time on two machines!
Offline
Since i start to use suspend to disk, i never worried about boot time anymore.
It went down from 90seconds to 10 (grub to firefox).
From the bug report:
We had several failed attempts to improve startup time. With the continuous requests for more features and more configurability, any optimization on existing code is canceled sooner or later with new code. You can improve startup time by removing some functionality or merging multiple modules into a single file (e.g. a complete basic desktop into a single executable, like other environments use). Not sure if this is the right direction, given that you can start once, and simply use suspend/standby for subsequent starts. Nevertheless, the obvious "Patches welcome" conclusion applies here, too.
Last edited by kokoko3k (2013-01-23 12:29:18)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
This has been happening to me as well. I don't have pulse installed, so didn't have a .desktop file to delete.
For me it logged in fast when I first installed everything, but at some point a delay was introduced and now it takes 30 secs for the ksplash screen to clear and load the desktop. If I rename my .kde4 directory and start with a fresh profile it loads up quickly. I'm using 4.9.5 in Arch, and I also have Slackware 14 setup on another partition, and I have 4.9.5 installed on that as well. With an identical setup as the Arch machine, Slackware logs in with no delay at all. Some afternoon when I have some more free time, I'm going to start Arch on a fresh config and slowly tweak it out until I can find where the delay happens.
Offline
KDE startup has always been slow.
For me I switched from KDE4 to XFCE4 because after much tweaking my boot time on SSD laptop improved greaty. To under 10 seconds! But then when I type password to login KDE takes another 8 to 10 seconds to login. That was super annoying. I tried many threads and although it improved its no where close to the 1 second flash XFCE4 takes to login.
I do prefer the KDE4 GUI and once they solve the login issue I might return.
Last edited by hydn (2013-01-23 20:48:47)
Linux Performance Blog: https://linuxblog.io/
Offline