public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support
@ 2026-02-18  6:31 James Hilliard
  2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James Hilliard @ 2026-02-18  6:31 UTC (permalink / raw)
  To: buildroot
  Cc: Adrian Perez de Castro, Bernd Kuhls, Romain Naour, James Hilliard

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.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/mesa3d/Config.in | 6 ++++++
 package/mesa3d/mesa3d.mk | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index e1faea95d5..8a7811b6a5 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -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
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 42693ce928..9c0e5d7256 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -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 += \
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash
  2026-02-18  6:31 [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support James Hilliard
@ 2026-02-18  6:31 ` James Hilliard
  2026-02-23 13:13   ` Adrian Perez de Castro
  2026-03-27 10:03   ` Thomas Perale via buildroot
  2026-02-23 13:12 ` [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support Adrian Perez de Castro
  2026-03-27 10:03 ` Thomas Perale via buildroot
  2 siblings, 2 replies; 7+ messages in thread
From: James Hilliard @ 2026-02-18  6:31 UTC (permalink / raw)
  To: buildroot
  Cc: Adrian Perez de Castro, Bernd Kuhls, Romain Naour, James Hilliard

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/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/wpebackend-fdo/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/wpebackend-fdo/Config.in b/package/wpebackend-fdo/Config.in
index 9b4dd28741..bd0ab5421e 100644
--- a/package/wpebackend-fdo/Config.in
+++ b/package/wpebackend-fdo/Config.in
@@ -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.
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support
  2026-02-18  6:31 [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support James Hilliard
  2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
@ 2026-02-23 13:12 ` Adrian Perez de Castro
  2026-03-27 10:03 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 7+ messages in thread
From: Adrian Perez de Castro @ 2026-02-23 13:12 UTC (permalink / raw)
  To: James Hilliard; +Cc: buildroot, Bernd Kuhls, Romain Naour, James Hilliard


[-- Attachment #1.1: Type: text/plain, Size: 1766 bytes --]

On Tue, 17 Feb 2026 23:31:22 -0700 James Hilliard <james.hilliard1@gmail.com> wrote:
> 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.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>

> ---
>  package/mesa3d/Config.in | 6 ++++++
>  package/mesa3d/mesa3d.mk | 3 +++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index e1faea95d5..8a7811b6a5 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -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
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index 42693ce928..9c0e5d7256 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -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 += \
> -- 
> 2.43.0
> 
> 

Cheers,
—Adrián

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash
  2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
@ 2026-02-23 13:13   ` Adrian Perez de Castro
  2026-03-17 22:04     ` Romain Naour via buildroot
  2026-03-27 10:03   ` Thomas Perale via buildroot
  1 sibling, 1 reply; 7+ messages in thread
From: Adrian Perez de Castro @ 2026-02-23 13:13 UTC (permalink / raw)
  To: James Hilliard; +Cc: buildroot, Bernd Kuhls, Romain Naour, James Hilliard


[-- Attachment #1.1: Type: text/plain, Size: 1389 bytes --]

On Tue, 17 Feb 2026 23:31:23 -0700 James Hilliard <james.hilliard1@gmail.com> wrote:
> 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/
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Acked-by: Adrian Perez de Castro <aperez@igalia.com>

> ---
>  package/wpebackend-fdo/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/wpebackend-fdo/Config.in b/package/wpebackend-fdo/Config.in
> index 9b4dd28741..bd0ab5421e 100644
> --- a/package/wpebackend-fdo/Config.in
> +++ b/package/wpebackend-fdo/Config.in
> @@ -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.
>  
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
> 

Cheers,
—Adrián

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash
  2026-02-23 13:13   ` Adrian Perez de Castro
@ 2026-03-17 22:04     ` Romain Naour via buildroot
  0 siblings, 0 replies; 7+ messages in thread
From: Romain Naour via buildroot @ 2026-03-17 22:04 UTC (permalink / raw)
  To: Adrian Perez de Castro, James Hilliard
  Cc: buildroot, Bernd Kuhls, Romain Naour

Hello James, Adrian, All,

Le 23/02/2026 à 14:13, Adrian Perez de Castro a écrit :
> On Tue, 17 Feb 2026 23:31:23 -0700 James Hilliard <james.hilliard1@gmail.com> wrote:
>> 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/
>>
>> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> 
> Acked-by: Adrian Perez de Castro <aperez@igalia.com>

Series applied to master, thanks.

Best regards,
Romain


> 
>> ---
>>  package/wpebackend-fdo/Config.in | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/package/wpebackend-fdo/Config.in b/package/wpebackend-fdo/Config.in
>> index 9b4dd28741..bd0ab5421e 100644
>> --- a/package/wpebackend-fdo/Config.in
>> +++ b/package/wpebackend-fdo/Config.in
>> @@ -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.
>>  
>> -- 
>> 2.43.0
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
>>
> 
> Cheers,
> —Adrián
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support
  2026-02-18  6:31 [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support James Hilliard
  2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
  2026-02-23 13:12 ` [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support Adrian Perez de Castro
@ 2026-03-27 10:03 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 7+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-27 10:03 UTC (permalink / raw)
  To: James Hilliard; +Cc: Thomas Perale, buildroot

In reply of:
> 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.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Applied to 2026.02.x. Thanks

> ---
>  package/mesa3d/Config.in | 6 ++++++
>  package/mesa3d/mesa3d.mk | 3 +++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index e1faea95d5..8a7811b6a5 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -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
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index 42693ce928..9c0e5d7256 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -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 += \
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash
  2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
  2026-02-23 13:13   ` Adrian Perez de Castro
@ 2026-03-27 10:03   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-27 10:03 UTC (permalink / raw)
  To: James Hilliard; +Cc: Thomas Perale, buildroot

In reply of:
> 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/
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Applied to 2026.02.x. Thanks

> ---
>  package/wpebackend-fdo/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/wpebackend-fdo/Config.in b/package/wpebackend-fdo/Config.in
> index 9b4dd28741..bd0ab5421e 100644
> --- a/package/wpebackend-fdo/Config.in
> +++ b/package/wpebackend-fdo/Config.in
> @@ -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.
>  
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-27 10:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18  6:31 [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support James Hilliard
2026-02-18  6:31 ` [Buildroot] [PATCH 2/2] package/wpebackend-fdo: fix EGL_NOT_INITIALIZED crash James Hilliard
2026-02-23 13:13   ` Adrian Perez de Castro
2026-03-17 22:04     ` Romain Naour via buildroot
2026-03-27 10:03   ` Thomas Perale via buildroot
2026-02-23 13:12 ` [Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support Adrian Perez de Castro
2026-03-27 10:03 ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox