Skip to contentSkip to conversation

Nicolas Dechesne : mesa: upgrade 10.5.8 -> 10.6.3

oe-commits Martin Jansa 3 participants 3 messages Aug 18, 2015 – Aug 19, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · On Mon, Aug 10, 2015 at 07:41:22PM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 8c7803683bee780f0bc8913cc32653ff173329b7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8c7803683bee780f0bc8913cc32653ff173329b7
Author: Nicolas Dechesne <[email protected]>
Date:   Tue Aug  4 08:37:49 2015 +0100
Quoted 8 lines

mesa: upgrade 10.5.8 -> 10.6.3

* Removed openvg references in PACKAGECONFIG, FILES and PACKAGES since OpenVG support was removed in mesa 10.6
* Tested with X11 :
* xf86-video-freedreno on IFC6410 and DragonBoard 410c
* softpipe on DragonBoard 410c
* using meta-qualcomm BSP

Some configurations which were working with 10.5.8 are no longer available in 10.6.3, e.g.:

| checking for PTHREAD_PRIO_INHERIT... no
| checking for LIBDRM... yes
| checking for LIBUDEV... yes
| checking for GLPROTO... yes
| checking for DRI2PROTO... yes
| checking for XF86VIDMODE... yes
| checking for DRIGL... yes
| checking for EXPAT... yes
| checking for mincore... yes
| checking for elf_memory in -lelf... no
| checking for WAYLAND_SCANNER... no
| checking for wayland-scanner... /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/wayland-scanner
| checking for XCB_DRI2... yes
| checking for WAYLAND... yes
| configure: error: EGL platform 'fbdev' does not exist
| Configure failed. The contents of all config.log files follows to aid debugging
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runconf failed

I haven't tried to find out what's the replacement for this yet, but it's the reason why mesa is now failing in my bitbake world builds (fbdev is added in ./meta-luneui/recipes-graphics/mesa/mesa_%.bbappend)

Quoted 76 lines

---

 meta/recipes-graphics/mesa/{mesa-gl_10.5.8.bb => mesa-gl_10.6.3.bb} | 0
 meta/recipes-graphics/mesa/mesa.inc                                 | 6 ------
 meta/recipes-graphics/mesa/{mesa_10.5.8.bb => mesa_10.6.3.bb}       | 4 ++--
 3 files changed, 2 insertions(+), 8 deletions(-)
meta/recipes-graphics/mesa/mesa-gl_10.6.3.bb renamed from meta/recipes-graphics/mesa/mesa-gl_10.5.8.bb +0 -0
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_10.5.8.bb
rename to meta/recipes-graphics/mesa/mesa-gl_10.6.3.bb
meta/recipes-graphics/mesa/mesa.inc +0 -6
index 09e80e8..af7a2c4 100644
@@ -49,8 +49,6 @@ EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'x11', ',x11', '', d)}"
 EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}"
 PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
 
-PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg"
-
 GALLIUMDRIVERS = "swrast"
 GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'radeonsi,r600', '', d)}"
 PACKAGECONFIG[r600] = ""
@@ -84,7 +82,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
              libwayland-egl libwayland-egl-dev \
-             libopenvg libopenvg-dev \
              libxvmcsoftpipe libxvmcsoftpipe-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver \
@@ -167,7 +164,6 @@ FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
 FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
-FILES_libopenvg = "${libdir}/libOpenVG.so.*"
 FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
@@ -181,8 +177,6 @@ FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/p
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
 FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
-FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \
-                       ${includedir}/VG ${libdir}/pkgconfig/vg.pc"
 FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la"
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
                           ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
meta/recipes-graphics/mesa/mesa_10.6.3.bb renamed from meta/recipes-graphics/mesa/mesa_10.5.8.bb +2 -2
similarity index 78%
rename from meta/recipes-graphics/mesa/mesa_10.5.8.bb
rename to meta/recipes-graphics/mesa/mesa_10.6.3.bb
index 072cde9..8c55064 100644
@@ -2,8 +2,8 @@ require ${BPN}.inc
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "5332a3576c5e3a0c3947ee6668dd4157"
-SRC_URI[sha256sum] = "2866b855c5299a4aed066338c77ff6467c389b2c30ada7647be8758663da2b54"
+SRC_URI[md5sum] = "553e525d2f20ed48fca8f1ec3176fd83"
+SRC_URI[sha256sum] = "58592e07c350cd2e8969b73fa83048c657a39fe2f13f3b88f5e5818fe2e4676d"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
Signature · 5 lines
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 4 lines · Martin Jansa

I haven't tried to find out what's the replacement for this yet, but it's the reason why mesa is now failing in my bitbake world builds (fbdev is added in ./meta-luneui/recipes-graphics/mesa/mesa_%.bbappend)

I think what you were building wouldn't actually have done anything useful anyway, that configuration was removed by this commit:

commit 0d6e7620f35331be301ec3177c0d9236838a845b

Author: Emil Velikov <[email protected]>
Date:   Sat Mar 14 22:36:28 2015 +0000

egl/main: drop platform fbdev specific code

st/egl was the only one which had support for this platform.

Ross

#3 lore raw
Quoted 12 lines · Ross
Quoted 4 lines · Martin Jansa

I haven't tried to find out what's the replacement for this yet, but it's the reason why mesa is now failing in my bitbake world builds (fbdev is added in ./meta-luneui/recipes-graphics/mesa/mesa_%.bbappend)

I think what you were building wouldn't actually have done anything useful anyway, that configuration was removed by this commit:

commit 0d6e7620f35331be301ec3177c0d9236838a845b

Quoted 8 lines
Author: Emil Velikov <[email protected]>
Date:   Sat Mar 14 22:36:28 2015 +0000

egl/main: drop platform fbdev specific code

st/egl was the only one which had support for this platform.

Ross

The last version of Mesa where software rendering using EGL to fbdev works is 10.3.7 after reverting 91ff0d4c6510dc38f279c586ced17fba917873e7.

Regards,
Jonathan