You are not logged in.

#1 2023-08-07 21:25:20

xtarlit
Member
Registered: 2023-08-07
Posts: 8

[Solved] Firefox takes 5-10 minutes to launch

New Arch user here, running KDE Plasma with Wayland and a fully up to date system. Arch (and Firefox) are installed on an NVMe SSD.
Firefox takes a very long time to start, but I don't have the same issue with any other installed applications.
Starting Firefox from the terminal shows nothing until Firefox actually shows up, at which point it spams my console with this: https://pastebin.com/8pEG66x6

I don't have xdg-desktop-portal-gnome installed, which I saw in some other posts caused issues. My current Linux version is 6.4.8.arch1-1, and my current Firefox version is 116.0.2-1. I also tried running Firefox ESR, Nightly, and Beta and all of those browsers had the same issue. Could anyone please advise on fixing this issue?

Last edited by xtarlit (2023-08-08 19:35:00)

Offline

#2 2023-08-07 21:44:32

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [Solved] Firefox takes 5-10 minutes to launch

(firefox:4464): Gtk-WARNING **: 16:31:07.745: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

try re-installing 'shared-mime-info' and 'gdk-pixbuf2'

pacman -S shared-mime-info gdk-pixbuf2

Offline

#3 2023-08-07 21:50:58

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

jonno2002 wrote:

try re-installing 'shared-mime-info' and 'gdk-pixbuf2'

pacman -S shared-mime-info gdk-pixbuf2

Reinstalling those two packages didn't fix the issue unfortunately.

Offline

#4 2023-08-07 21:57:50

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [Solved] Firefox takes 5-10 minutes to launch

ok well are you using a custom icon theme ? try changing back to default and see what happens (adwaita)

Offline

#5 2023-08-07 22:01:15

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

jonno2002 wrote:

ok well are you using a custom icon theme ? try changing back to default and see what happens (adwaita)

Same issue on Adwaita and Breeze icon themes.

Offline

#6 2023-08-08 13:11:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,111

Re: [Solved] Firefox takes 5-10 minutes to launch

For some people this warning (which sometimes crashes apps) is caused by an incorrect setting of XDG_DATA_DIRS .

Output of

$ printenv XDG_DATA_DIRS

?

Last edited by Lone_Wolf (2023-08-08 13:12:16)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2023-08-08 14:20:34

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

Lone_Wolf wrote:

Output of

$ printenv XDG_DATA_DIRS

?

No output.

Offline

#8 2023-08-08 14:44:03

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

Re: [Solved] Firefox takes 5-10 minutes to launch

The FF output only lasts about a second and w/

shows nothing until Firefox actually shows up, at which point it spams my console

it's likely also not immediately relevant.
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also

loginctl session-status; echo  $DBUS_SESSION_BUS_ADDRESS

, though 5 minutes would be 12 dbus timeouts 3 systemd timeouts … or disk failure.

Offline

#9 2023-08-08 16:20:31

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

seth wrote:

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also

loginctl session-status; echo  $DBUS_SESSION_BUS_ADDRESS

, though 5 minutes would be 12 dbus timeouts 3 systemd timeouts … or disk failure.

journalctl command output: https://0x0.st/H_1N.txt
loginctl command output: https://pastebin.com/U4ZEreuC

Offline

#10 2023-08-08 18:32:40

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

Re: [Solved] Firefox takes 5-10 minutes to launch

https://wiki.archlinux.org/title/Firefox#Wayland ?
Otherwise, is plasma (or anything) on xorg affected as well?
Does it happen w/o the VPN running?

Offline

#11 2023-08-08 19:34:11

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

So, I think I've discovered the issue, Windscribe's VPN app seems to be related to this. I'll mark the post as solved and ask Windscribe's support what the cause might be. Launching without the VPN open is totally fine.

Offline

#12 2023-08-08 19:37:36

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

Re: [Solved] Firefox takes 5-10 minutes to launch

Are other browsers affected (eg. chromium or falkon)?
How about wget based speedtests, https://bbs.archlinux.org/viewtopic.php?pid=2073719 ?

Offline

#13 2023-08-09 02:06:28

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

seth wrote:

Are other browsers affected (eg. chromium or falkon)?
How about wget based speedtests, https://bbs.archlinux.org/viewtopic.php?pid=2073719 ?

I've tried Chromium, Thorium, Falkon, Konqueror, and Gnome Web and those have all worked fine for me.
Not sure what the last part means, though.

Offline

#14 2023-08-09 06:01:25

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

Re: [Solved] Firefox takes 5-10 minutes to launch

In case there was a general network slowness, but w/ the other browsers not showing any problems, this is unlikely.

Does https://wiki.archlinux.org/title/Firefo … shoot_Mode "help"?

Offline

#15 2023-08-10 15:52:52

xtarlit
Member
Registered: 2023-08-07
Posts: 8

Re: [Solved] Firefox takes 5-10 minutes to launch

The issue now seems to have fixed itself which is pretty odd, Firefox works perfectly fine now. Not quite sure why, but it does.

Offline

Board footer

Powered by FluxBB