[Bug 287599] www/qt6-webengine: QtWebEngine apps fails to start/immediately crashes on Wayland

[email protected]
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287599

--- Comment #13 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=cd8a2d391eb83ac123c0e22bd27ba8c77064f3a3

commit cd8a2d391eb83ac123c0e22bd27ba8c77064f3a3
Author:     Baptiste Daroussin <[email protected]>
AuthorDate: 2026-04-08 11:36:11 +0000
Commit:     Baptiste Daroussin <[email protected]>
CommitDate: 2026-04-08 11:55:47 +0000

    www/qt6-webengine: fix running under wayland

    When starting, chromium calls GpuFence::Wait() which was not implemented
    on FreeBSD, on linux is calls sync_wait which does not exist on FreeBSD.

    Hopefully drm sync fence fds do support polling and it seems to do the
    trick.

    While here tell chromium we don't have sync_fence_info() so it does not
    try to go further at the risk of reaching another NOTREACH() which would
    trigger a crash

    PR:     287599

 .../Makefile                                       |  0
 .../distinfo                                       |  0
 .../files/patch-CMakeModules_CompilerFlags.cmake   |  0
 .../files/patch-src_main.cpp                       |  0
 .../files/patch-src_player_CodecsComponent.cpp     |  0
 .../files/patch-src_system_SystemComponent.cpp     |  0
 .../files/patch-src_system_SystemComponent.h       |  0
 .../pkg-descr                                      |  0
 .../pkg-plist                                      |  0
 ...rc_3rdparty_chromium_ui_gfx_gpu__fence.cc (new) | 40 ++++++++++++++++++++++
 10 files changed, 40 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.