You are not logged in.

#1 2022-04-14 11:45:03

raven2cz
Member
Registered: 2016-11-05
Posts: 7
Website

[SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

Hello, I have same problem as issue from yesterday  [SOLVED] Firefox slow first startup on Wayland.

But it is on xorg with awesomewm. All non-KDE apps + firefox have 30s timeout before starts. I'm using awesomewm. If I run KDE, it is working normally. This is caused yesterday after updates where were mainly new versions of KDE.

I checked all running services and compare it, but I don't find any services which can cause this problem. DBUS has some output as issue  [SOLVED] Firefox slow first startup on Wayland.

Can you provide me some guide how to find the problematic service or what was changed?

Thanks for help.

Last edited by raven2cz (2022-04-14 17:36:42)

Offline

#2 2022-04-14 12:36:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

Well the culprit of https://bbs.archlinux.org/viewtopic.php … 1#p2031281 was flatpak/portal and you want to verify that by removing it (that's a displayserver agnostic problem)

Offline

#3 2022-04-14 13:28:48

raven2cz
Member
Registered: 2016-11-05
Posts: 7
Website

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

I checked the system and I have :  xdg-desktop-portal and xdg-desktop-portal-kde.
If I tried remove xdg-dektop-*
I get
~ ❯ sudo pacman -Rns xdg-desktop-portal
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing xdg-desktop-portal breaks dependency 'xdg-desktop-portal' required by flatpak
:: removing xdg-desktop-portal breaks dependency 'xdg-desktop-portal' required by krfb

Which and how can I remove described xdg-desktop-portal* both?

Offline

#4 2022-04-14 13:37:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

Remove flatpak and krfb?
(Though the troublemaker is likely the implementation, ie. xdg-desktop-portal-kde)

Offline

#5 2022-04-14 13:55:18

raven2cz
Member
Registered: 2016-11-05
Posts: 7
Website

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

seth wrote:

Remove flatpak and krfb?
(Though the troublemaker is likely the implementation, ie. xdg-desktop-portal-kde)

Thanks, Seth. I removed xdg-desktop-portal-kde and xdg-desktop-portal too by pacman -Rdd 

It was help with many apps, firefox and non-KDE apps. Some KDE apps have 2-3min start up, like Spectacle KDE. It seems that there are a lot of bugs in last KDE release...
If you have idea how to solve KDE too, it will be super. I can start work now, thanks a lot!

Offline

#6 2022-04-14 14:15:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

More dbus timeouts? Ddi you try to run them from an interactive shell?
However, you should open another thread about this and remember to mark this one resolved by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#7 2022-04-14 15:27:27

raven2cz
Member
Registered: 2016-11-05
Posts: 7
Website

Re: [SOLVED] Firefox and all nonKDE apps slow startup 30s on Xorg Awesome

Thanks. Final solution is:

sudo pacman -Rdd xdg-desktop-portal-kde

But it is just workaround. The bug has to be reported to KDE and fix it. The module is in the dependencies for flatpak and Krfb.

Next KDE apps like Spectacle still have problems with dbus around 2-3mins and more. It is caused by new service injection of kglobalaccel.

There is necessary to ensure starts this service.

/usr/bin/kglobalaccel5

But again, this is not nice, because this service ensures keybindings from KDE environment and it has higher priority against your WM keybindings. This seems will be next KDE bug about usage of KDE apps outside of KDE DE. From history I know that these types of KDE bugs for outside WMs have very low priorities...

Thanks Seth. The issue with workarounds is solved.

Offline

Board footer

Powered by FluxBB