Launching mail-client/evolution-3.42.2 under Wayland with nvidia-drivers fail with error: evolution: ../egl-wayland-1.1.9/src/wayland-thread.c:87: wlExternalApiLock: Assertion `!"failed to lock pthread mutex"' failed. Aborted (core dumped) It launches fine when using: __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json evolution
This may or may not be an application-specific issue, but note using GBM (over EGLStream) with new 495.xx drivers is pretty experimental and, assuming you're using it, latest mutter-41.2 now defaults to using GBM over EGLStream when using 495. If want stability I'd suggest to use stable nvidia-drivers-470 for now (they will also pull egl-wayland-1.1.7).
Upon closer look, seen egl-wayland has a commit related to this which is not included in egl-wayland-1.1.9. I'll give it some testing to confirm and may release a snapshot to include this other small fixes.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe028ed1d4b432c20e1fd806174fca0b7a559ab commit 1fe028ed1d4b432c20e1fd806174fca0b7a559ab Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-12-21 00:41:37 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-12-21 00:58:48 +0000 gui-libs/egl-wayland: add 1.1.9_p20211123 for webkit-gtk consumers Closes: https://bugs.gentoo.org/829699 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> gui-libs/egl-wayland/Manifest | 1 + .../egl-wayland/egl-wayland-1.1.9_p20211123.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+)
Thanks for report, was able to reproduce. Please upgrade egl-wayland and it should hopefully work fine.
The upgrade to the new version of egl-wayland fixes the issue. Thanks a lot for your help.