ti-sgx-ddk-um: update SRCREV to pick up Mesa-based EGL/GLES libraries
PATCH 1/1 ti-sgx-ddk-um: update SRCREV to pick up Mesa-based EGL/GLES libraries
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +5 -3
@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"
@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GL chown -R root:root ${D} }
@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so" +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins" ALLOW_EMPTY_${PN}-plugins = "1"
Signature · 1 line
2.17.1
Quoted 4 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Eric,
The new binaries are huge. The compressed package went from 900 KB to 8 MB in size and now both AM3 and AM4 won't fit into allocated rootfs size...
Quoted 46 lines
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +5
-3@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GL chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so" +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins" ALLOW_EMPTY_${PN}-plugins = "1"Signature · 7 lines
2.17.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 6 lines · Denys Dmytriyenko
Quoted 4 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Quoted 6 lines
Eric,
The new binaries are huge. The compressed package went from 900 KB to 8 MB in size and now both AM3 and AM4 won't fit into allocated rootfs size...
Denys:
The Mesa-based GLES/EGL is much bigger. The major increase is caused by the new file pvr_dri.so (28M) under usr/lib/dri. The LibEGL related libraries are also increased from sub-200K to 1.1 M and there is another library libglapi.so (900k).
Eric
Quoted 46 lines
Quoted 46 lines
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +5
-3@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GL chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so" +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins" ALLOW_EMPTY_${PN}-plugins = "1"Signature · 7 lines
2.17.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 24 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 7 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GL
Why remove this?
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb FILES_${PN} += "${includedir}/*" · line 64
Quoted 10 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so" +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"
The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin stuff, it can all be dropped.
Andrew
Quoted 3 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0ALLOW_EMPTY_${PN}-plugins = "1"
Quoted 26 lines · Andrew F. Davis
Quoted 25 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" -SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git"
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 6 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?
Eric
Quoted 22 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb FILES_${PN} += "${includedir}/*" · line 64
Quoted 10 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so" +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin stuff, it can all be dropped.
Andrew
Quoted 3 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0ALLOW_EMPTY_${PN}-plugins = "1"
Quoted 39 lines · Eric
Quoted 21 lines · Andrew F. Davis
Quoted 20 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++---1 file changed, 5 insertions(+), 3 deletions(-)recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI= "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"Quoted 16 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 51
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
Quoted 3 lines
There is another component provides GL header files.
Denys: how do we resolve this conflict?
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
Andrew
Quoted 33 lines
Eric
Quoted 28 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*"FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.soQuoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin stuff, it can all be dropped.
Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
Quoted 51 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick up Mesa-based EGL/GLES librariesQuoted 12 lines · Eric
Quoted 11 lines · Andrew F. Davis
Quoted 10 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 18 lines
Quoted 17 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 51
Quoted 12 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
Quoted 7 lines
Quoted 3 lines
There is another component provides GL header files.
Denys: how do we resolve this conflict?The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Quoted 36 lines
Quoted 25 lines
Quoted 25 lines
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*"FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.soQuoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin stuff, it can all be dropped.
Quoted 6 lines
Quoted 5 lines
Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 56 lines · Gowtham
Quoted 56 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick up Mesa-based EGL/GLES librariesQuoted 12 lines · Eric
Quoted 11 lines · Andrew F. Davis
Quoted 10 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI ="
git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 21 lines
Quoted 17 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 51
Quoted 12 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +4
-2-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?
Quoted 7 lines
Quoted 2 lines
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Andrew:
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
Eric
Quoted 36 lines
Quoted 36 lines
Quoted 25 lines
Quoted 25 lines
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-1chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so
Quoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin stuff, it can all be dropped.
Quoted 6 lines
Quoted 5 lines
Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 66 lines · Eric
Quoted 65 lines · Gowtham
Quoted 55 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8
+++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 19 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
Quoted 7 lines
Quoted 3 lines
There is another component provides GL header files.
Denys: how do we resolve this conflict?The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Quoted 8 lines
Quoted 2 lines
Gowtham
Andrew:
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Andrew
Quoted 42 lines
Eric
Quoted 37 lines
Quoted 37 lines
Quoted 32 lines
Quoted 31 lines
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*"FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.soQuoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin
stuff, it can all be dropped.Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
Signature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 72 lines · Andrew F. Davis
Quoted 71 lines · Eric
Quoted 60 lines · Gowtham
Quoted 60 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8
+++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 22 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?Quoted 7 lines
Quoted 2 lines
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Andrew:
Quoted 8 lines
Quoted 3 lines
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Previously DDK only provided headers in these dirs: EGL, GLES, GLES2, KHR, gbm.
And OpenCL required GL headers, hence there was a "hacky" package created specifically for that:
http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-ti/ocl/ocl-gl-headers_git.bb;hb=HEAD
If DDK now properly provides GL headers, the other package can be dropped.
But the question remains - should DDK actually provide GL headers, even though it doesn't provide full support for it?
Signature · 1 line
Denys
Quoted 43 lines
Quoted 38 lines
Quoted 37 lines
Quoted 37 lines
Quoted 32 lines
Quoted 31 lines
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*"FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.soQuoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin
stuff, it can all be dropped.Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
Signature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-tiSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 84 lines · Denys Dmytriyenko
Quoted 72 lines · Andrew F. Davis
Quoted 71 lines · Eric
Quoted 60 lines · Gowtham
Quoted 60 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8
+++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 22 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?Quoted 7 lines
Quoted 2 lines
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Andrew:
Quoted 8 lines
Quoted 3 lines
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Previously DDK only provided headers in these dirs: EGL, GLES, GLES2, KHR, gbm.
Quoted 9 lines
And OpenCL required GL headers, hence there was a "hacky" package created specifically for that:
http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-ti/ocl/ocl-gl-headers_git.bb;hb=HEADIf DDK now properly provides GL headers, the other package can be dropped.
But the question remains - should DDK actually provide GL headers, even though it doesn't provide full support for it?
The GL headers are the stock headers provided by Kronos that every GL implementation should provide, they often contain definitions for unsupported features (even the GLES folders have unsupported extension definitions). The exact set of usable features can be determined at runtime using various provided methods.
Basically it is up to the EGL layer to report back what the underlying implementation supports, it should not be based on the content/age of the headers at compile time. Without these headers valid/usable programs may not compile on our platform.
Andrew
Hi, guys:
Is there anything that we do regarding the large package size (1M to 8M)?
Best regards,
Eric
Quoted 93 lines · Denys Dmytriyenko
Quoted 72 lines · Andrew F. Davis
Quoted 71 lines · Eric
Quoted 60 lines · Gowtham
Quoted 60 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI ="
git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 22 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +4
-2-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?Quoted 7 lines
Quoted 2 lines
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Andrew:
Quoted 8 lines
Quoted 3 lines
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Previously DDK only provided headers in these dirs: EGL, GLES, GLES2, KHR, gbm.
And OpenCL required GL headers, hence there was a "hacky" package created specifically for that:
http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-ti/ocl/ocl-gl-headers_git.bb;hb=HEADIf DDK now properly provides GL headers, the other package can be dropped.
But the question remains - should DDK actually provide GL headers, even though it doesn't provide full support for it?
Quoted 3 lines · Eric
Hi, guys:
Is there anything that we do regarding the large package size (1M to 8M)?
All the standard libs in /usr/lib get stripped properly.
But there's a new /usr/lib/dri/pvr_dri.so that is 28 MB even stripped. Is it supposed to be this large?
Signature · 1 line
Denys
Quoted 99 lines
Best regards,
Eric
Quoted 93 lines · Denys Dmytriyenko
Quoted 72 lines · Andrew F. Davis
Quoted 71 lines · Eric
Quoted 60 lines · Gowtham
Quoted 60 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8
+++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 22 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
There is another component provides GL header files.
Denys: how do we resolve this conflict?Quoted 7 lines
Quoted 2 lines
The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Gowtham
Andrew:
Quoted 8 lines
Quoted 3 lines
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Previously DDK only provided headers in these dirs: EGL, GLES, GLES2, KHR, gbm.
And OpenCL required GL headers, hence there was a "hacky" package created specifically for that:
http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-ti/ocl/ocl-gl-headers_git.bb;hb=HEADIf DDK now properly provides GL headers, the other package can be dropped.
But the question remains - should DDK actually provide GL headers, even though it doesn't provide full support for it?
Hi, Andrew, Gowtham and Denys:
What is our conclusion (solution) for the package size increment?
Best regards,
Eric
Quoted 126 lines · Andrew F. Davis
Quoted 66 lines · Eric
Quoted 65 lines · Gowtham
Quoted 55 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>--- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" SRC_URI ="
git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 19 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +4
-2-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x"@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
Quoted 7 lines
Quoted 3 lines
There is another component provides GL header files.
Denys: how do we resolve this conflict?The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Quoted 8 lines
Quoted 2 lines
Gowtham
Andrew:
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Andrew
Quoted 42 lines
Eric
Quoted 37 lines
Quoted 37 lines
Quoted 32 lines
Quoted 31 lines
Quoted 11 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-1chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*" FILES_${PN} += "${sysconfdir}/*" PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so
Quoted 8 lines
${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin
stuff, it can all be dropped.Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
Signature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 4 lines · Eric
Hi, Andrew, Gowtham and Denys:
What is our conclusion (solution) for the package size increment?
As said, the Mesa part is a debug build (this is intentional, we really do want all the symbols and debug strings while enabling this new feature, or any issues will be much harder to solve). If we do this for another cycle then I can do a release build then. But the hopeful plan is to have Mesa built as its own recipe (mesa-pvr) which will mean this wont be a problem next time (2020lts).
Andrew
Quoted 133 lines
Best regards,
Eric
Quoted 127 lines · Andrew F. Davis
Quoted 66 lines · Eric
Quoted 65 lines · Gowtham
Quoted 55 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Davis, Andrew
Sent: Wednesday, October 30, 2019 8:36 AM
To: Ruei, Eric; Ruei, Eric; [email protected]
Subject: [EXTERNAL] Re: [meta-ti] [PATCH] ti-sgx-ddk-um: update SRCREV to pick
up Mesa-based EGL/GLES librariesQuoted 14 lines · Eric
Quoted 13 lines · Andrew F. Davis
Quoted 12 lines · Eric Ruei
This is the initial step toward Mesa-based EGL/GLES libraries which support all the required EGL 1.5 extensions. We plan to provide a Mesa-pvr recipe to build Mesa from source and SGX/DDK patches where ti-sgx-ddk-um shall provide the EGL/GLES plugins only at the next step.
Signed-off-by Eric Ruei <[email protected]>---
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8
+++++---1 file changed, 5 insertions(+), 3 deletions(-)Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0@@ -11,7 +11,7 @@ PR = "r34"BRANCH = "ti-img-sgx/thud/${PV}"
SRC_URI=
"git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
Quoted 19 lines
Quoted 18 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb S = "${WORKDIR}/git" · line 52
Quoted 13 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-1-SRCREV = "87d7e5c1e4db1bab048939c9719059d549c1e8dd" +SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x= "ti335x"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +3
-1@@ -47,7 +47,9 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + + rm -rf ${D}${includedir}/GLWhy remove this?
Quoted 7 lines
Quoted 3 lines
There is another component provides GL header files.
Denys: how do we resolve this conflict?The DSP OpenCL implementation? That package needs fixed, not this one, the OpenGL implementation (this driver) should provide the GL headers.
We don't support desktop GL, they shouldn't come from this package.
Quoted 8 lines
Quoted 2 lines
Gowtham
Andrew:
Do you agree? I can keep the line here tentatively until GL is removed from the package itself.
I still believe we should be shipping the GL headers in this package. But I won't object to removing the headers temporarily using this recipe until the conflicting ones can be removed from the OpenCL package.
Andrew
Quoted 43 lines
Eric
Quoted 38 lines
Quoted 38 lines
Quoted 27 lines
Quoted 27 lines
Quoted 12 lines
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +0
-0chown -R root:root ${D} }@@ -58,7 +60,7 @@ FILES_${PN} += "${includedir}/*"FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins" -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.soQuoted 8 lines
${libdir}/libpvrws_WAYLAND.so"
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so" RDEPENDS_${PN} += "${PN}-plugins"The newer binaries after the DDK commit "um: Attempt to load shared object with version extension automatically" do not need all this plugin
stuff, it can all be dropped.Quoted 6 lines
Quoted 5 lines
Andrew
Quoted 2 lines
ALLOW_EMPTY_${PN}-plugins = "1"
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti