Open russdill opened 1 year ago
This seems to be related to "render: remove wl_drm support from wlr_renderer":
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/e5b5592a95e3f12afc90cc9fcf5adc3664bf79a3
the imx viv egl library looks to be expecting a call to eglBindWaylandDisplayWL by the compositor, at which point it exposes the 'wl_viv' extension. The handler in the imx viv egl library for eglCreateWaylandBufferFromImageWL assumes this has happened and segfault if it has not.
Note that downgrading to wlroots 0.14.1 and sway 1.6.1 fixes the issue but also requires fixing a bug in wlroots 0.14.1 where it passes a context to eglCreateImageKHR instead of passing EGL_NO_CONTEXT as required by the API.
cog: 0.16.1 wpebackend-fdo: 1.14.0 wpewebkit: 2.38.2 sway: v1.7 wayland: 1.22 wayland-protocols: 1.25.imx
Looking through libEGL, it looks like it sets up a listener for wl_viv to set a proxy value that's later used in the call to wl_proxy_marshal_constructor in the stack-trace below. The listener never fires so proxy is NULL. The wpebackend-fdo EGL bind call is being made, so wl_viv is added to the list of wayland globals. I'm not sure if this is an issue of the callback needing some additional loops to wait for it to come in, or an ordering issue.