You are not logged in.

#1 2022-10-26 14:54:35

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Firefox sometimes doesn't launch after update

Hello.
Recently (around a week ago) I have noticed that Firefox sometimes doesn't load. Like no logs in terminal, no errors, other applications work fine.
That's quite annoying - rebooting system 1-2 times to get browser working.
How could I find what's causing that? I'm using wayland compositor if that's useful.

Offline

#2 2022-10-26 15:02:18

d.ALT
Member
Registered: 2019-05-10
Posts: 954

Re: Firefox sometimes doesn't launch after update

<EDIT>
typo
</EDIT>


As always... We all need logs, please.

What's terminal outputting when Firefox fails?

$ firefox

Last edited by d.ALT (2022-10-26 15:03:00)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-10-26 15:21:43

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Re: Firefox sometimes doesn't launch after update

As I said, there are no logs at all with just this command.

Offline

#4 2022-10-26 15:41:33

d.ALT
Member
Registered: 2019-05-10
Posts: 954

Re: Firefox sometimes doesn't launch after update

Maybe some cache problems?

- Try: using the private switch will always start Firefox normally?

$ firefox -private

- Or clear Firefox's cache.



Maybe extensions problems?
- Launch Firefox with a new / empty Profile.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-10-26 16:39:39

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Re: Firefox sometimes doesn't launch after update

Running firefox -private didn't work, sadly (launched only once). Aswell neither clearing cache, deleting extensions and/or profiles didn't work for me. I'm afraid I can't even access profile manager.

Maybe I could start firefox in debug mode (or something similar)?

Offline

#6 2022-10-26 19:44:42

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

Re: Firefox sometimes doesn't launch after update

When "firefox" silently fails, are there indications of a present FF process?

ps aux | grep firefox

?

Does

firefox -safe-mode

work?
https://wiki.archlinux.org/title/Firefo … shoot_Mode

Offline

#7 2022-10-27 10:48:24

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Re: Firefox sometimes doesn't launch after update

Sorry if I'm not responding often, this seems to happen only when I don't touch my laptop for a while.

Troubleshooting mode doesn't change anything, firefox still doesn't start sometimes, though proccess shows up (output of ps aux | grep firefox):

luk         723  2.3  3.5 2514100 115172 pts/0  Sl+  13:39   0:02 /usr/lib/firefox/firefox -safe-mode
luk         726  0.2  2.2 433152 73224 pts/0    Sl+  13:39   0:00 /usr/lib/firefox/firefox -safe-mode
luk         736  0.0  1.6 450556 52044 pts/0    Sl+  13:39   0:00 /usr/lib/firefox/firefox -safe-mode
luk         819  0.0  0.0   6564  2500 pts/1    S+   13:40   0:00 grep --color=auto firefox

Offline

#8 2022-10-27 12:17:42

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

Re: Firefox sometimes doesn't launch after update

So FF /does/ start, the processes are also not dormant.
You probably just don't see any windows what brings us to

wayland compositor

1. *what* "wayland compositor" (gnome, plasma, sway, …)?
2. do you get the same behavior on an X11 session?

Offline

#9 2022-10-28 19:32:17

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Re: Firefox sometimes doesn't launch after update

I'm using Hyprland as my daily driver and sway for some other purposes. Both are affected.
And yes, when I again catched this bug, I've exited from wayland session, logged into i3wm (X11) and it launched fine.

Offline

#10 2022-10-28 19:38:22

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

Re: Firefox sometimes doesn't launch after update

You'll probably have to monitor the X11 situation a bit longer, but if it's the FF window showing up on wayland (as the process runs), are you running FF/wayland natively or through xwayland?
https://wiki.archlinux.org/title/Firefox#Wayland
And does it matter?

Offline

#11 2022-10-31 10:48:27

lukp0t
Member
Registered: 2022-07-31
Posts: 14

Re: Firefox sometimes doesn't launch after update

I'm pretty sure Hyprland sets this as default and starting sway with MOZ_ENABLE_WAYLAND=1 makes no difference. And yeah, I've used Xorg for a while, FF always starts without any issues.
Also I'm pretty sure *it didn't* happen before, like before I updated kernel to 6.0 and some other packages. Maybe I could get some logs to have any clue.

Offline

#12 2022-10-31 12:52:13

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

Re: Firefox sometimes doesn't launch after update

First and foremost inspect your pacman log around when the issue emerged to see what you updated.
I suspect the answer will be "firefox"?

I don't really think that this is a kernel issue.
However, if so it'll likely refer to the GPU driver being broken and with it your GL setup?

eglinfo | grep -i -B2 -A16 "EGL vendor"

Can you

MOZ_ENABLE_WAYLAND=0 firefox

Offline

Board footer

Powered by FluxBB