Skip to contentSkip to conversation

package/mesa3d: add EGL_WL_bind_wayland_display support

PATCH Applied James Hilliard 3 participants 7 messages Feb 18 – Mar 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/mesa3d: add EGL_WL_bind_wayland_display support

This feature was made optional in mesa3d 25.2.0 as it is deprecated, however some packages still require it so lets add a new config option that those packages can select until they no longer require this feature.

---
 package/mesa3d/Config.in | 6 ++++++
 package/mesa3d/mesa3d.mk | 3 +++
 2 files changed, 9 insertions(+)
package/mesa3d/Config.in +6 -0
index e1faea95d5..8a7811b6a5 100644
@@ -50,6 +50,12 @@ comment "llvm support needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 
+config BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY
+	bool "Legacy Wayland EGL_WL_bind_wayland_display support"
+	depends on BR2_PACKAGE_WAYLAND
+	help
+	  Legacy Wayland EGL_WL_bind_wayland_display support.
+
 menuconfig BR2_PACKAGE_MESA3D_OPENCL
 	bool "OpenCL support"
 	depends on BR2_PACKAGE_MESA3D_LLVM
package/mesa3d/mesa3d.mk +3 -0
index 42693ce928..9c0e5d7256 100644
@@ -209,6 +209,9 @@ endif
 ifeq ($(BR2_PACKAGE_WAYLAND),y)
 MESA3D_DEPENDENCIES += wayland wayland-protocols
 MESA3D_PLATFORMS += wayland
+ifeq ($(BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY),y)
+MESA3D_CONF_OPTS += -Dlegacy-wayland=bind-wayland-display
+endif
 endif
 
 MESA3D_CONF_OPTS += \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash

Commit 4cd4b2e1e6e8816555db38771d18daad46df3a6c updated mesa3d past version 25.2.0 which deprecated the legacy wayland EGL_WL_bind_wayland_display interface, as wpebackend-fdo currently still relies on this functionality ensure that we enable EGL_WL_bind_wayland_display in mesa3d.

Fixes:
- https://lore.kernel.org/all/CADvTj4pYf0uymrkZUuWgahWK=pm5CgTJL5U+gwbwKExK1so5jA@mail.gmail.com/

---
 package/wpebackend-fdo/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/wpebackend-fdo/Config.in +1 -0
index 9b4dd28741..bd0ab5421e 100644
@@ -14,6 +14,7 @@ config BR2_PACKAGE_WPEBACKEND_FDO
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBWPE
 	select BR2_PACKAGE_WAYLAND
+	select BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY if BR2_PACKAGE_MESA3D
 	help
 	  WPEBackend interface using freedesktop.org API.
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Acked-by on v1 2/2
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash

Quoted 10 lines · On Tue, 17 Feb 2026 23:31:23 -0700 James Hilliard <[email protected]>…

Commit 4cd4b2e1e6e8816555db38771d18daad46df3a6c updated mesa3d past version 25.2.0 which deprecated the legacy wayland EGL_WL_bind_wayland_display interface, as wpebackend-fdo currently still relies on this functionality ensure that we enable EGL_WL_bind_wayland_display in mesa3d.

Fixes:
- https://lore.kernel.org/all/CADvTj4pYf0uymrkZUuWgahWK=pm5CgTJL5U+gwbwKExK1so5jA@mail.gmail.com/

Quoted 24 lines
---
 package/wpebackend-fdo/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/wpebackend-fdo/Config.in +1 -0
index 9b4dd28741..bd0ab5421e 100644
@@ -14,6 +14,7 @@ config BR2_PACKAGE_WPEBACKEND_FDO
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBWPE
 	select BR2_PACKAGE_WAYLAND
+	select BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY if BR2_PACKAGE_MESA3D
 	help
 	  WPEBackend interface using freedesktop.org API.
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Cheers,
—Adrián

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash

Hello James, Adrian, All,

Le 23/02/2026 à 14:13, Adrian Perez de Castro a écrit :

Quoted 7 lines · On Tue, 17 Feb 2026 23:31:23 -0700 James Hilliard <[email protected]>…
Quoted 6 lines

Commit 4cd4b2e1e6e8816555db38771d18daad46df3a6c updated mesa3d past version 25.2.0 which deprecated the legacy wayland EGL_WL_bind_wayland_display interface, as wpebackend-fdo currently still relies on this functionality ensure that we enable EGL_WL_bind_wayland_display in mesa3d.

Quoted 6 lines
Quoted 4 lines

Fixes:
- https://lore.kernel.org/all/CADvTj4pYf0uymrkZUuWgahWK=pm5CgTJL5U+gwbwKExK1so5jA@mail.gmail.com/

Series applied to master, thanks.

Best regards,
Romain

Quoted 30 lines
Quoted 25 lines
---
 package/wpebackend-fdo/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/wpebackend-fdo/Config.in +1 -0
index 9b4dd28741..bd0ab5421e 100644
@@ -14,6 +14,7 @@ config BR2_PACKAGE_WPEBACKEND_FDO
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBWPE
 	select BR2_PACKAGE_WAYLAND
+	select BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY if BR2_PACKAGE_MESA3D
 	help
 	  WPEBackend interface using freedesktop.org API.
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Cheers,
—Adrián

Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash

In reply to James Hilliard

In reply of:

Quoted 10 lines

Commit 4cd4b2e1e6e8816555db38771d18daad46df3a6c updated mesa3d past version 25.2.0 which deprecated the legacy wayland EGL_WL_bind_wayland_display interface, as wpebackend-fdo currently still relies on this functionality ensure that we enable EGL_WL_bind_wayland_display in mesa3d.

Fixes:
- https://lore.kernel.org/all/CADvTj4pYf0uymrkZUuWgahWK=pm5CgTJL5U+gwbwKExK1so5jA@mail.gmail.com/

Applied to 2026.02.x. Thanks

Quoted 23 lines
---
 package/wpebackend-fdo/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/wpebackend-fdo/Config.in +1 -0
index 9b4dd28741..bd0ab5421e 100644
@@ -14,6 +14,7 @@ config BR2_PACKAGE_WPEBACKEND_FDO
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBWPE
 	select BR2_PACKAGE_WAYLAND
+	select BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY if BR2_PACKAGE_MESA3D
 	help
 	  WPEBackend interface using freedesktop.org API.
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Reviewed-by on v1 1/2
#5 lore raw
In reply to James Hilliard
Quoted 6 lines · On Tue, 17 Feb 2026 23:31:22 -0700 James Hilliard <[email protected]>…

This feature was made optional in mesa3d 25.2.0 as it is deprecated, however some packages still require it so lets add a new config option that those packages can select until they no longer require this feature.

Quoted 40 lines
---
 package/mesa3d/Config.in | 6 ++++++
 package/mesa3d/mesa3d.mk | 3 +++
 2 files changed, 9 insertions(+)
package/mesa3d/Config.in +6 -0
index e1faea95d5..8a7811b6a5 100644
@@ -50,6 +50,12 @@ comment "llvm support needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 
+config BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY
+	bool "Legacy Wayland EGL_WL_bind_wayland_display support"
+	depends on BR2_PACKAGE_WAYLAND
+	help
+	  Legacy Wayland EGL_WL_bind_wayland_display support.
+
 menuconfig BR2_PACKAGE_MESA3D_OPENCL
 	bool "OpenCL support"
 	depends on BR2_PACKAGE_MESA3D_LLVM
package/mesa3d/mesa3d.mk +3 -0
index 42693ce928..9c0e5d7256 100644
@@ -209,6 +209,9 @@ endif
 ifeq ($(BR2_PACKAGE_WAYLAND),y)
 MESA3D_DEPENDENCIES += wayland wayland-protocols
 MESA3D_PLATFORMS += wayland
+ifeq ($(BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY),y)
+MESA3D_CONF_OPTS += -Dlegacy-wayland=bind-wayland-display
+endif
 endif
 
 MESA3D_CONF_OPTS += \
Signature · 1 line
2.43.0

Cheers,
—Adrián

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw
In reply to James Hilliard

In reply of:

Quoted 6 lines

This feature was made optional in mesa3d 25.2.0 as it is deprecated, however some packages still require it so lets add a new config option that those packages can select until they no longer require this feature.

Applied to 2026.02.x. Thanks

Quoted 43 lines
---
 package/mesa3d/Config.in | 6 ++++++
 package/mesa3d/mesa3d.mk | 3 +++
 2 files changed, 9 insertions(+)
package/mesa3d/Config.in +6 -0
index e1faea95d5..8a7811b6a5 100644
@@ -50,6 +50,12 @@ comment "llvm support needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 
+config BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY
+	bool "Legacy Wayland EGL_WL_bind_wayland_display support"
+	depends on BR2_PACKAGE_WAYLAND
+	help
+	  Legacy Wayland EGL_WL_bind_wayland_display support.
+
 menuconfig BR2_PACKAGE_MESA3D_OPENCL
 	bool "OpenCL support"
 	depends on BR2_PACKAGE_MESA3D_LLVM
package/mesa3d/mesa3d.mk +3 -0
index 42693ce928..9c0e5d7256 100644
@@ -209,6 +209,9 @@ endif
 ifeq ($(BR2_PACKAGE_WAYLAND),y)
 MESA3D_DEPENDENCIES += wayland wayland-protocols
 MESA3D_PLATFORMS += wayland
+ifeq ($(BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY),y)
+MESA3D_CONF_OPTS += -Dlegacy-wayland=bind-wayland-display
+endif
 endif
 
 MESA3D_CONF_OPTS += \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot