Registered Member
|
Hi,
I run Ubuntu 21.04 with KDE 5.22.5. Computer boots quite fast but when it's about user session it's very slow once I type my user password (about 1m30), while several months ago it was about 10s. I checked with command line "systemd-analyze" and here is the result:
When I run "systemd-analyze critical-chain", it returns:
But times written are far from what I experience each time I log into system. When I edited my /etc/systemd/system.conf and uncomment the following lines:
and write:
It seems that nothing changed.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Manager
|
Do you have enough free space on your home and / partition?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Yes, I still have 50 GB free on SSD /Home and more than 383 GB free on / partition
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Manager
|
You probably run something on startup that slows down the login. A few ideas that could cause this are an attempt to load remote files, a graphic driver that can't be loaded correctly, some third-party software that slows down the login, a problem with HDMI audio loading, etc.
Make a new user and check the difference in time, if there is none then the problem is not in your user space but probably in the graphic stack
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
The only thing I have it's 2 monitors for game development.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Registered Member
|
Ok so after analyzing logs I discovered 3 weird messages:
first one is about pulse audio and it's notified as error:
and the next one is about missing data miner (error):
i did a reset of tracker typing:
regarding pulseaudio, when I type: pactl list sinks | grep "Name:" I only have 1 sink:
But I'm sure that my slow issue (3 minutes from login to taskbar display) is due to my profile as I have a test profile and it starts (from login to taskbar display) in less than 11s. I installed driver NVidia delivered by ubuntu v470 instead of propiertary 460 and now my computer is faster by 1 minute, so I still have a 2 minutes time gap between login and taskbar display.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Manager
|
Is the test profile new or has it been used before? An entirely new user is the best way to check if the problem is in user space.
FWIW: lack of space on the / and /home partitions can also result in slow startups
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Test profile is new...I just created it this morning.
It is just a simple user profile created and to be able to log in. So just by log in into system it takes less than 11s while on my personal profile it takes 2-3min. As I wrote previously, on / partition there is almost 383Gb free and on /home partition (different HDD) there is more than 50 Gb free, so I do not think this is the issue, as it would also be present on different user profile. I'm not satisfied how KsystemLog app display issues (errors and warning) as filter is not working well and color are not respected.... Even if i reset data miner/tracker I still have error in log with it:
Just for fun I decided to upgrade to Kubuntu 21.10 and so far nothing has changed.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Registered Member
|
Today I decided to try to remove the tracker to check if it has some effect on that time desktop needs to display fully itself.
so I typed:
and I rebooted. So I checked several times by restarting computer and Ubuntu now needs 30-40 s to fully display KDE desktop. So for an unknow reason tracker slow my computer. Maybe it would be great to postpond the start of such service to 5min after login, as some GNOME app do not work without such service.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Registered Member
|
If you are on a KDE desktop, why would you be running a Gnome-specific file indexer, anyway?
Maybe turn of KDE's search indexer, and see if it helps? Multiple redundant indexing services might contribute to the slow desktop loading. Though of course you lose the search features in Dolphin. Maybe check what Tracker is set to index, maybe reducing the number of locations? Tracker is not designed to index directories of source code or video game data. If content like this appears in the locations it is configured to index then you might see unwanted high resource usage. In any case, configuring the startup for Gnome's tracker is unrelated to KDE, or Kubuntu.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
I did not install Gnome indexer, it seems that some Gnome app install it as part of them.
I already for 1 year now, do not have KDE search indexer activated. I checked and it is disabled still, so no problem from this side. Disable Tracker was 1 point of my issue.
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Registered Member
|
Today, I checked my logs after disabling autoFS and I noticed that some services take too much time to execute (from my point of view).
Here is a log extract:
I would like to understand why there is a so huge gap between 2 line of logs. Here the gap is 5s:
Here the gap is 9s:
Am I too much demanding or is it normal such gap ? I have stomach feeling that NetworkManager is not working so great under the latest update. thx
Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3 |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]