[meta-freescale] [PATCH] imx-gpu-viv: Fix build break for missing gl headers
For x11 graphics and Wayland graphics with XWayland support, a build break is possible due to missing headers. This is because imx-gpu-viv does not provide everything it needs to for virtual/libgl and depends on mesa to fill in what is missing. Adding a dependency on mesa fixes the build break. Signed-off-by: Tom Hochstein--- recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc index e5aacf3..9c98132 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc @@ -9,11 +9,16 @@ LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11; DEPENDS += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ '', d), d)} \ libpng \ " +# imx-gpu-viv does not provide everything it needs to for virtual/libgl +# on x11 backend or on Wayland backend with XWayland support. +# We depend on mesa to fill in what is missing. +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}" + EXTRA_PROVIDES = "" EXTRA_PROVIDES_imxgpu3d = " virtual/libgl virtual/libgles1 virtual/libgles2" PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg virtual/libg2d ${EXTRA_PROVIDES}" -- 1.9.1 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 2/2] xf86-video-imxfb-vivante: cleanup
The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963 with the make file in ${S} which is actually named Makefile, thus there is no need to override base.do_compile or pass the directory and name of the make file in EXTRA_OEMAKE. Signed-off-by: Max Krummenacher--- recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc index 8bac151..e284fbc 100644 --- a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc @@ -19,7 +19,7 @@ INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi" INITSCRIPT_NAME = "rc.autohdmi" INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." -EXTRA_OEMAKE += "-C ${S} -f Makefile prefix=${D}/usr \ +EXTRA_OEMAKE += "prefix=${D}/usr \ sysroot=${STAGING_DIR_TARGET} \ LFLAGS="${LDFLAGS}" \ BUSID_HAS_NUMBER=1 \ @@ -42,13 +42,6 @@ do_configure_prepend () { ${S}EXA/src/makefile.linux } -# FIXME: This is need as Freescale didn't use standard Makefile filename -#thus oe_runmame thinks nothing is need to be done, use ln to -#workaround it. -base_do_compile () { -oe_runmake || die "make failed" -} - do_install_append () { install -d ${D}${includedir} cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} -- 2.6.6 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH v2 1/2] xorg-driver: remove the local copies of xorg-driver-*.inc
recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy in openembedded-core. xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi- to RDEPENDS. (and constructs DEPENDS differently but with the same effect) xf86-video-fbdev must now provide the full relative path for its include file. fixes: WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue: Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] and likely but not tested fixes the same warning for xf86-video-fbdev used for PPC devices. Signed-off-by: Max Krummenacher--- .../xorg-driver/xf86-video-fbdev_0.4.2.bb | 2 +- .../xorg-driver/xorg-driver-common.inc | 40 -- recipes-graphics/xorg-driver/xorg-driver-video.inc | 4 --- 3 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 recipes-graphics/xorg-driver/xorg-driver-common.inc delete mode 100644 recipes-graphics/xorg-driver/xorg-driver-video.inc diff --git a/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb b/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb index 038c421..996a9c7 100644 --- a/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb +++ b/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb @@ -1,4 +1,4 @@ -require xorg-driver-video.inc +require recipes-graphics/xorg-driver/xorg-driver-video.inc LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" DESCRIPTION = "X.Org X server -- fbdev display driver" diff --git a/recipes-graphics/xorg-driver/xorg-driver-common.inc b/recipes-graphics/xorg-driver/xorg-driver-common.inc deleted file mode 100644 index c0f4a15..000 --- a/recipes-graphics/xorg-driver/xorg-driver-common.inc +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "X driver" -HOMEPAGE = "http://www.x.org; -SECTION = "x11/drivers" -LICENSE = "MIT-X" -INC_PR = "r15" - -DEPENDS = "randrproto virtual/xserver-xf86 xproto" - -SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" - -S = "${WORKDIR}/${BPN}-${PV}" - -FILES_${PN} += " ${libdir}/xorg/modules" -FILES_${PN}-dbg += "${libdir}/xorg/modules/*/.debug" - -inherit autotools pkgconfig - -TARGET_CPPFLAGS += "-I${STAGING_DIR_HOST}/usr/include/xorg" - -# Another sucky behavor from Xorg configure scripts. -# They use AC_CHECK_FILE to check for DRI headers. Yuck! -# Of course this will blow up when cross compiling. - -do_configure_prepend() { - incdir=${layout_includedir}/xorg - for f in dri.h sarea.h dristruct.h exa.h damage.h xf86Module.h; do - path="$incdir/$f" - if [ -f "${STAGING_DIR_HOST}/$path" ]; then - p=`echo "$path" | sed 'y%*+%pp%;s%[^_[:alnum:]]%_%g'` - eval "export ac_cv_file_$p=yes" - fi - done -} - -# FIXME: We don't want to include the libtool archives (*.la) from modules -# directory, as they serve no useful purpose. Upstream should fix Makefile.am -do_install_append() { - find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- -} - diff --git a/recipes-graphics/xorg-driver/xorg-driver-video.inc b/recipes-graphics/xorg-driver/xorg-driver-video.inc deleted file mode 100644 index bce8c9a..000 --- a/recipes-graphics/xorg-driver/xorg-driver-video.inc +++ /dev/null @@ -1,4 +0,0 @@ -include xorg-driver-common.inc - -DEPENDS = "randrproto renderproto videoproto xextproto fontsproto xproto" - -- 2.6.6 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 1/2] xf86-video-imxfb-vivante: silence xorg-abi- warning
Am Montag, den 06.03.2017, 10:23 -0300 schrieb Otavio Salvador: > On Sat, Feb 25, 2017 at 1:43 PM, Max Krummenacher> wrote: > > xf86-video-imxfb-vivante is built against the X-Server's sources, thus there > > is no need to check if the correct ABI is used between driver and server. > > > > This inhibits: > > WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue: > > Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so) > > but no xorg-abi- dependencies [xorg-driver-abi] > > > > Signed-off-by: Max Krummenacher > > Wrong. We should add the dependencies. It is specially important to > support package feeds. Ok. I found the culprit. Will send a V2 shortly. Max -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Morty Yocto Release wayland sink issue
Adding Carlos, Regards Sanjeev Sharma On Tue, Feb 28, 2017 at 11:21 AM, sanjeev sharma < sanjeevsharmae...@gmail.com> wrote: > Hi, > > On Morty Yocto Release, we unable to play/decode H264 video on nitrogen6x > using gsteamer pipeline for wayland sink. This only happens with wayland > sink. > > Gstreamer Pipeline: > > # gst-launch-1.0 filesrc location=/XXX_1280x480.h264 ! h264parse ! imxvpudec > ! imxipuvideotransform ! waylandsink > > Error Observed. > > > gst-launch-1.0: ../imxvpuapi/imxvpuapi_vpulib.c:2349: > imx_vpu_dec_mark_framebuffer_as_displayed: Assertion `framebuffer != NULL' > failed. > *Aborted (core dumped)* > > On other hand, it works fine with imxipuvideosink. > > gst-launch-1.0 filesrc > location=/usr/share/early-data/xse_splash_1280x480.h264 ! h264parse ! > imxvpudec ! imxipuvideotransform ! imxipuvideosik > > I know there is recently* Libimxvpuapi library* has been introduced in this > release which may creating this issue. > > Any pointer would be appreciated. > > Regards > > Sanjeev Sharma > > -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] Morty Yocto Release wayland sink issue
Hi, On Morty Yocto Release, we unable to play/decode H264 video on nitrogen6x using gsteamer pipeline for wayland sink. This only happens with wayland sink. Gstreamer Pipeline: # gst-launch-1.0 filesrc location=/XXX_1280x480.h264 ! h264parse ! imxvpudec ! imxipuvideotransform ! waylandsink Error Observed. gst-launch-1.0: ../imxvpuapi/imxvpuapi_vpulib.c:2349: imx_vpu_dec_mark_framebuffer_as_displayed: Assertion `framebuffer != NULL' failed. *Aborted (core dumped)* On other hand, it works fine with imxipuvideosink. gst-launch-1.0 filesrc location=/usr/share/early-data/xse_splash_1280x480.h264 ! h264parse ! imxvpudec ! imxipuvideotransform ! imxipuvideosik I know there is recently* Libimxvpuapi library* has been introduced in this release which may creating this issue. Any pointer would be appreciated. Regards Sanjeev Sharma -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH 1/2] xf86-video-imxfb-vivante: silence xorg-abi- warning
On Sat, Feb 25, 2017 at 1:43 PM, Max Krummenacherwrote: > xf86-video-imxfb-vivante is built against the X-Server's sources, thus there > is no need to check if the correct ABI is used between driver and server. > > This inhibits: > WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue: > Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so) > but no xorg-abi- dependencies [xorg-driver-abi] > > Signed-off-by: Max Krummenacher Wrong. We should add the dependencies. It is specially important to support package feeds. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale