Firefox keeps crashing, wayland with 4070 ti

Hey, I can't help but notice a lot of flickering and gui unresponsiveness when using firefox/gnome web on bazzite It crashes every 5 minutes with the error message: MozCrashReason: MOZ_CRASH(IPC FatalError in the parent process!) I'm writing this here because it happened to me just on bazzite, so I'm assuming it's distro related Installed firefox as flatpak (it also happened with the stock firefox that came with the distro) Any idea why that happens and how to fix it? I have a lead that it has to do with wayland and nvidia
17 Replies
HikariKnight
HikariKnight4mo ago
nvidia issue, fixed in firefox nightly, which cannot be installed as a flatpak. also stock firefox is the firefox flatpak solution atm is to use firefox nightly in a distrobox or just temporarily use a different browser until firefox puts the fix into firefox stable
fry
fry4mo ago
You can use Floorp as an alternatifve, it doesn't crash
LZ
LZOP4mo ago
Do you have more info about this issue in general? forums just keep blaming wayland and say use x11 without really a proper explanation as for why it's the case
HikariKnight
HikariKnight4mo ago
nvidia updated their driver, added more wayland support. their changes broke firefox on wayland only on nvidia proprietary driver firefox had to add workaround for nvidias messy change you know normal nvidia things on linux
LZ
LZOP4mo ago
I'm switching to AMD so fast as soon as they have proper CUDA support, this is what kept me with nvidia in the first place, blender :( Do you know if it's possible to make only firefox not use wayland in the meanwhile?
HikariKnight
HikariKnight4mo ago
amd will never get "proper" CUDA support since nvidia owns CUDA hopefully ZLUDA2 will help
LZ
LZOP4mo ago
I see, do you know how I could edit the desktop then so I can add the environment variable to disable wayland just on firefox?
HikariKnight
HikariKnight4mo ago
i dont know the one for firefox, only the one for Qt applications firefox isnt one you can also just look at flatseal and see if there is a toggle there
iMightBeSpyduck
iMightBeSpyduck4mo ago
MOZ_ENABLE_WAYLAND=0 you will need to set it as enviroment variable for firefox flatpak with flatseal or from KDE system settings
LZ
LZOP4mo ago
I've done it, it doesn't seem to update firefox, added the environment variable as you suggested, anything else after that? Nevermind, the fix was disabling wayland windowing system in flatseal, looks very blurry now but at least it doesn't crash...
Rin
Rin4mo ago
Gnome doesn't have fractional scaling for Xwayland apps yet, that's why it's blurry
pokemontrainerfire.
firefox keeps crashing in my nvidia PC is there a way to how to fix it
Kyle Gospo
Kyle Gospo4mo ago
disable wayland on it in flatseal until Nvidia or Firefox fix the problem or, use X11
pokemontrainerfire.
Like this?
No description
Kyle Gospo
Kyle Gospo4mo ago
enable fallback
pokemontrainerfire.
did it
LZ
LZOP3mo ago
you need to disable wayland windowing system and add to the variables at the bottom MOZ_ENABLE_WAYLAND=0 That fixed it for me @HikariKnight Just an update, firefox released 130 and it fixed this issue, so no need for this workaround anymore
Want results from more Discord servers?
Add your server