You are not logged in.
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
<EDIT>
typo
</EDIT>
As always... We all need logs, please.
What's terminal outputting when Firefox fails?
$ firefoxLast 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
As I said, there are no logs at all with just this command.
Offline
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
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
When "firefox" silently fails, are there indications of a present FF process?
ps aux | grep firefox?
Does
firefox -safe-modeOffline
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 firefoxOffline
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
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
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
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
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 firefoxOffline