Skip to contentSkip to conversation

package/mesa3d: DRI drivers need either glx, egl or gbm

PATCH Applied Bernd Kuhls 4 participants 5 messages Jul 20, 2021 – Aug 7, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: DRI drivers need either glx, egl or gbm

Fixes build error:
../output-1/build/mesa3d-21.1.5/meson.build:520:4:
ERROR: Problem encountered: building dri drivers require at least one windowing system

OSMesa is not seen as a valid windowing system for DRI drivers anymore:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4

Fixes:
http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/

---
 package/mesa3d/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/mesa3d/Config.in +1 -2
index d1b3af2054..41c90c49af 100644
@@ -63,8 +63,7 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER
 	select BR2_PACKAGE_MESA3D_DRIVER
 	select BR2_PACKAGE_MESA3D_GBM if \
 		!BR2_PACKAGE_MESA3D_OPENGL_GLX && \
-		!BR2_PACKAGE_MESA3D_OPENGL_EGL && \
-		!BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
+		!BR2_PACKAGE_MESA3D_OPENGL_EGL
 	select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
 		(BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)
 
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/mesa3d: DRI drivers need either glx, egl or gbm

Hello Bernd,

Quoted 7 lines · On Tue, 20 Jul 2021 19:29:11 +0200 Bernd Kuhls <[email protected]> wrote:

Fixes build error:
../output-1/build/mesa3d-21.1.5/meson.build:520:4:
ERROR: Problem encountered: building dri drivers require at least one windowing system

OSMesa is not seen as a valid windowing system for DRI drivers anymore:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4

Quoted 7 lines

Fixes:
http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/

---
 package/mesa3d/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Thanks for the patch. I'm always a bit confused with all these mesa3d possibilities. How does this patch fit with what you did in commit 15a2f9b819806d38a7d8172a20f80130b1d60e63, where BR2_PACKAGE_MESA3D_OSMESA_CLASSIC was renamed BR2_PACKAGE_MESA3D_OSMESA_GALLIUM ?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): 20210720202545.74d835bd__29119.6025953226$1626805573$gmane$org@windsurf

#3 lore raw

PATCH 1/1 package/mesa3d: DRI drivers need either glx, egl or gbm

Am Tue, 20 Jul 2021 20:25:45 +0200 schrieb Thomas Petazzoni:

Quoted 5 lines

Thanks for the patch. I'm always a bit confused with all these mesa3d possibilities. How does this patch fit with what you did in commit 15a2f9b819806d38a7d8172a20f80130b1d60e63, where BR2_PACKAGE_MESA3D_OSMESA_CLASSIC was renamed BR2_PACKAGE_MESA3D_OSMESA_GALLIUM ?

Hi Thomas,

instead of renaming the option I should have removed that line in the first place.

Regards, Bernd

#4 lore raw
In reply to Bernd Kuhls
Quoted 11 lines · Bernd Kuhls

Fixes build error:
../output-1/build/mesa3d-21.1.5/meson.build:520:4:
ERROR: Problem encountered: building dri drivers require at least one windowing system

OSMesa is not seen as a valid windowing system for DRI drivers anymore:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4

Fixes:
http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/

Applied to master, thanks.

Regards,
Arnout

Quoted 10 lines
---
 package/mesa3d/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/mesa3d/Config.in +0 -0
index d1b3af2054..41c90c49af 100644

package/mesa3d/Config.in config BR2_PACKAGE_MESA3D_DRI_DRIVER · line 69

Quoted 9 lines
package/mesa3d/Config.in +1 -2
@@ -63,8 +63,7 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER
 	select BR2_PACKAGE_MESA3D_DRIVER
 	select BR2_PACKAGE_MESA3D_GBM if \
 		!BR2_PACKAGE_MESA3D_OPENGL_GLX && \
-		!BR2_PACKAGE_MESA3D_OPENGL_EGL && \
-		!BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
+		!BR2_PACKAGE_MESA3D_OPENGL_EGL
 	select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \
 		(BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4)
 

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot

#5 lore raw
In reply to Bernd Kuhls
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Fixes build error:
../output-1/build/mesa3d-21.1.5/meson.build:520:4:
ERROR: Problem encountered: building dri drivers require at least one windowing system

Quoted 7 lines

OSMesa is not seen as a valid windowing system for DRI drivers anymore:
https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4

Fixes:
http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/

Committed to 2021.05.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot