[Bug 256188] x11-toolkits/wlroots: libglvnd and X11=off trip an assert

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 May 2021 12:12:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256188

            Bug ID: 256188
           Summary: x11-toolkits/wlroots: libglvnd and X11=off trip an
                    assert
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org
 Attachment #225307 text/plain
         mime type:

Created attachment 225307
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225307&action=edit
a hack

make.conf with:

DEFAULT_VERSIONS+= gl=libglvnd,mesa-devel and stuff
OPTIONS_UNSET+= X11 XCB XLIB and stuff

Starting x11-wm/sway results in assert "wlr_egl_is_current" being tripped.
Removing said assert (patch) results in a working sway session with working
desktop GL (tested via glmark2 patched to load libOpenGL.so.0 instead of
libGL).

No idea if it is related to how things are with FreeBSD ports or an upstream
bug.
Note that starting wayfire without this patch works and results in default gray
desktop with a cursor.

Currently ENOTIME to dig into that assert, leaving the bug so it is searchable.

-- 
You are receiving this mail because:
You are the assignee for the bug.