You are not logged in.

#1 2022-03-07 06:03:24

NutSandwich69
Member
Registered: 2022-03-07
Posts: 4

Certain programs very slow to launch after update (Solved)

After I updated, certain programs (and only certain ones not everything) launch very slowly. Kate, virt-manager and shotwell (maybe others) all take about 25 seconds to launch, But after they launch, they seem to work just fine. Nothing noteworthy shows up in dmesg and strace shows that they all hang on the exact same thing:

poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}], 2, -1

Everything else, including flatpaks, still work just fine and I haven't gotten any SMART messages, so it seems like my SSD is still good.

Edit:
I just restored from a backup, and now everything launches as normal, so it's definitely not my SSD.

Here is a list of all the package updates available now: https://pastebin.com/n0XXb4fi

Yes, I know I should REALLY update more often...

Last edited by NutSandwich69 (2022-03-10 08:09:35)

Offline

#2 2022-03-07 07:27:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Certain programs very slow to launch after update (Solved)

25 seconds is a dbus timeout.
Restore the troublesome condition and post the output of

loginctl session-status

Online

#3 2022-03-07 19:25:36

NutSandwich69
Member
Registered: 2022-03-07
Posts: 4

Re: Certain programs very slow to launch after update (Solved)

Offline

#4 2022-03-08 07:23:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Certain programs very slow to launch after update (Solved)

The session looks fine. Do you run the awesome naughty plugin? Can you "notify-send foo bar"?

Online

#5 2022-03-09 04:12:44

NutSandwich69
Member
Registered: 2022-03-07
Posts: 4

Re: Certain programs very slow to launch after update (Solved)

I'm running the naughty plugin. notify-send works as it should. I also double checked to see if everything launches okay in cinnamon, and it does. It's just awesome.

Last edited by NutSandwich69 (2022-03-09 05:04:56)

Offline

#6 2022-03-09 06:37:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Certain programs very slow to launch after update (Solved)

You could "dbus-monitor" starting the laggy process to (hopefully) see what it tries to contact.

Online

#7 2022-03-09 22:14:21

NutSandwich69
Member
Registered: 2022-03-07
Posts: 4

Re: Certain programs very slow to launch after update (Solved)

Figured it out.
Turns out, xdg-desktop-portal-kde somehow broke. I don't use kde anymore, so I replaced it with xdg-desktop-portal-gtk (both satisfy all the dependencies) and now everything launches as it should.

Thanks for your help!

Last edited by NutSandwich69 (2022-03-10 02:15:15)

Offline

#8 2022-03-10 07:07:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Certain programs very slow to launch after update (Solved)

That's actually a common theme the other way round as well.
https://bbs.archlinux.org/viewtopic.php?id=263274
I guess the services limit themselves to particular desktop environments - isn't flatpak a blessing to all of us …

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB