Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829699 - gui-libs/egl-wayland-1.1.9 fails with webkit-gtk applications: wlExternalApiLock: Assertion `!"failed to lock pthread mutex"' failed. (was: mail-client/evolution-3.42.2 fails to launch under Wayland with nvidia-drivers)
Summary: gui-libs/egl-wayland-1.1.9 fails with webkit-gtk applications: wlExternalApiL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL: https://github.com/NVIDIA/egl-wayland...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 08:27 UTC by grixfosforito
Modified: 2021-12-21 06:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grixfosforito 2021-12-20 08:27:11 UTC
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
Comment 1 Ionen Wolkens gentoo-dev 2021-12-20 18:29:20 UTC
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).
Comment 2 Ionen Wolkens gentoo-dev 2021-12-21 00:19:24 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-21 00:59:48 UTC
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(+)
Comment 4 Ionen Wolkens gentoo-dev 2021-12-21 01:02:11 UTC
Thanks for report, was able to reproduce.

Please upgrade egl-wayland and it should hopefully work fine.
Comment 5 grixfosforito 2021-12-21 06:12:56 UTC
The upgrade to the new version of egl-wayland fixes the issue.

Thanks a lot for your help.