You are not logged in.

#1 2024-07-19 00:33:57

nalthien
Member
Registered: 2022-05-04
Posts: 6

Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Ran updates this evening and picked up:

  • linux 6.9.10.arch1-1

  • nvidia 555.58.02-4

  • egl-wayland 2:1.1.14-1

After a restart, firefox is crashing under Wayland with the following message:

[GFX1-]: Wayland protocol error: wp_linux_drm_syncobj_surface_v1#59: error 4: No Acquire point provided

This appears to be a regression as there were bugs filed back in May when the 555 drivers were in beta and things were resolved; but, it's come back up.

Workaround for now is to force Firefox to run on XWayland:

 $ MOZ_ENABLE_WAYLAND=0 firefox 

I'm not sure there's anything to be done on the Arch packaging side; but, it's the situation we're in for the moment.

Offline

#2 2024-07-19 01:33:35

Toad King
Member
Registered: 2019-09-29
Posts: 5

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Upstream issue: https://github.com/NVIDIA/egl-wayland/issues/117

If MOZ_ENABLE_WAYLAND=0 doesn't work downgrading back to egl-wayland 2:1.1.13-2 seems to fix it for me.

Offline

#3 2024-07-19 04:07:01

Holoduke
Member
Registered: 2009-10-08
Posts: 10

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Same here. At first I overlooked egl-wayland and only downgraded linux(-headers) and nvidia, which didn't help. Downgrading egl-wayland, too, eventually fixed it.

Offline

#4 2024-07-19 04:32:23

attishno1
Member
Registered: 2022-09-08
Posts: 31

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

I just experienced this issue as well. I will downgrade egl-wayland. Thank you Arch people for quickly solving such problems.

Offline

#5 2024-07-19 09:04:38

matafan
Member
Registered: 2013-11-29
Posts: 10

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Ran into this as well. Downgrading egl-wayland sounds like the best option and fixed the crashes for me.

Note that this is a Firefox issue that won't be fixed until 130: https://bugzilla.mozilla.org/show_bug.cgi?id=1898476

Offline

#6 2024-07-19 11:23:41

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,643

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Note that this is a Firefox issue

It also affects Thunderbird and Tor-browser for me.

Offline

#7 2024-07-19 14:57:26

nalthien
Member
Registered: 2022-05-04
Posts: 6

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

It looks like the Arch package maintainer backported the fixes that Mozilla has which don't fully resolve the issue. According to the bug report, the remaining root cause is in Mesa; so, that will need patches as well.

Offline

#8 2024-07-19 19:15:38

Toad King
Member
Registered: 2019-09-29
Posts: 5

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Offline

#9 2024-07-20 04:51:22

matafan
Member
Registered: 2013-11-29
Posts: 10

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Even with the backdrop in firefox 128.0-2, I keep getting crashes with egl-wayland 2:1.1.14-1. Although now the crashes are different: it's just the tab that crashes, not the whole browser. I'm also getting a different message in journald:

firefox[2013]: [Parent 2013, IPDL Background] WARNING: pipe error: Bad file descriptor: file /usr/src/debug/firefox/firefox-128.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:702

No issues whatsoever with egl-wayland 2:1.1.13-2. I swear, I'm never buying an nvidia GPU again. It's been a disaster with wayland.

Offline

#10 2024-07-20 18:08:15

gabriel9
Member
From: Berlin, DE
Registered: 2009-05-06
Posts: 91

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Same issue. And it is annoying.
DE: Gnome
DS: Wayland
GPU: Nvidia RTX3800


"The flesh knows it suffers even when the mind has forgotten."

Offline

#11 2024-07-21 05:59:18

lpga
Member
From: Italy
Registered: 2021-12-17
Posts: 5

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

I temporarily downgraded the mesa and egl-wayland packages...

extra/mesa -> 1:24.1.2-1
extra/egl-wayland -> 2:1.1.13-2

Offline

#12 2024-07-22 12:48:37

rbrinson
Member
Registered: 2019-07-12
Posts: 17

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

I have two machines running Arch Linux. One has a Nvidia GPU, but the other uses Intel integrated graphics. Both machines exhibited this problem. On the Nvidia computer, I downgraded both mesa and egl-wayland, as described above. On the computer with Intel integrated graphics, I only had mesa to downgrade. In both cases, the problem was resolved. So, mesa is most definitely the issue.

Offline

#13 2024-07-23 07:18:01

gabriel9
Member
From: Berlin, DE
Registered: 2009-05-06
Posts: 91

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Upgrading egl-wayland (2:1.1.14-1 -> 3:1.1.13-1) solved the issue.
Firefox is stable and not crashing.


"The flesh knows it suffers even when the mind has forgotten."

Offline

#14 2024-07-23 09:59:24

matafan
Member
Registered: 2013-11-29
Posts: 10

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

gabriel9 wrote:

Upgrading egl-wayland (2:1.1.14-1 -> 3:1.1.13-1) solved the issue.
Firefox is stable and not crashing.

The "3:" version is simply reverting to the 1.1.13 version: https://gitlab.archlinux.org/archlinux/ … 96d7ef94c9

Offline

#15 2024-08-10 08:27:28

kode54
Member
Registered: 2013-10-21
Posts: 21

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

Weird. I just rolled a 6.11-rc2 kernel based on the linux-cachyos-rc PKGBUILD, patches and scripts, but otherwise I'm using Arch repos and packages for everything, except for AUR packages.

Seems there's an issue with Firefox 129.0-1 and possibly egl-wayland, as I saw some mesa egl queue related messages happening after a pause. It's causing my labwc compositor to hang for a second or two on every task switch to or from Firefox.

Basically, I ran Firefox with WAYLAND_DEBUG=1 to figure out what was happening, and produced this log:

https://gist.github.com/kode54/90cbfdbf … 2c94055636

This is not on nvidia, but mentions egl in the log, so I thought it was related in some way. AMD Radeon RX 6700 XT using radeonsi, with labwc session running with the default egl renderer. The hangs don't happen as readily with the Vulkan renderer.

Offline

#16 2024-08-13 13:22:53

Ochi
Member
Registered: 2010-04-06
Posts: 52

Re: Firefox crashing with nvidia, linux, egl-wayland updates on Jul 18

If anyone is testing egl-wayland 1.1.15, does specifying the newly introduced environment variable "__NV_DISABLE_EXPLICIT_SYNC=1" [1] change anything for you? Don't know if this is even relevant when not on a NVIDIA GPU though.

[1] https://github.com/NVIDIA/egl-wayland/r … tag/1.1.15

Offline

Board footer

Powered by FluxBB