All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
@ 2015-03-19 21:29 Denys Dmytriyenko
  2015-03-19 22:36 ` Denys Dmytriyenko
  0 siblings, 1 reply; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-19 21:29 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
index b1cacac..bd141a8 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
@@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 PACKAGECONFIG = "faad wayland"
 
+DEPENDS += "libdrm libdce"
+
 SRC_URI_append = " \
         file://0001-Added-GstDRMBufferPool-support.patch \
         file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
@@ -9,4 +11,4 @@ SRC_URI_append = " \
         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
         file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
-- 
2.2.0



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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-19 21:29 [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink Denys Dmytriyenko
@ 2015-03-19 22:36 ` Denys Dmytriyenko
  2015-03-20 10:56   ` Stiffler, Jacob
  2015-03-20 13:17   ` Stiffler, Jacob
  0 siblings, 2 replies; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-19 22:36 UTC (permalink / raw)
  To: meta-arago

Karthik,

I had a question - I see that KMSsink in plugins-bad checks for drm and dce 
headers. I was trying to set the dependency accordingly, but it would break 
non dce platforms. Can you please elaborate on that a bit? Thanks.

-- 
Denys


On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> index b1cacac..bd141a8 100644
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
>  PACKAGECONFIG = "faad wayland"
>  
> +DEPENDS += "libdrm libdce"
> +
>  SRC_URI_append = " \
>          file://0001-Added-GstDRMBufferPool-support.patch \
>          file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
> @@ -9,4 +11,4 @@ SRC_URI_append = " \
>          file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>          file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>  
> -PR_append = "-arago0"
> +PR_append = "-arago1"
> -- 
> 2.2.0
> 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-19 22:36 ` Denys Dmytriyenko
@ 2015-03-20 10:56   ` Stiffler, Jacob
  2015-03-20 13:17   ` Stiffler, Jacob
  1 sibling, 0 replies; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 10:56 UTC (permalink / raw)
  To: Dmytriyenko, Denys, meta-arago

It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.

However, I got a build failure for am335x-evm due to the missing libdrm dependency:

In file included from gstdrmbufferpool.c:42:0:
gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory
compilation terminated.
make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
make: *** [all] Error 2
ERROR: oe_runmake failed

- Jake

-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, March 19, 2015 6:37 PM
To: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Karthik,

I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.

--
Denys


On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> index b1cacac..bd141a8 100644
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
>  PACKAGECONFIG = "faad wayland"
>  
> +DEPENDS += "libdrm libdce"
> +
>  SRC_URI_append = " \
>          file://0001-Added-GstDRMBufferPool-support.patch \
>          file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
> @@ -9,4 +11,4 @@ SRC_URI_append = " \
>          file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>          file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>  
> -PR_append = "-arago0"
> +PR_append = "-arago1"
> -- 
> 2.2.0
> 
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-19 22:36 ` Denys Dmytriyenko
  2015-03-20 10:56   ` Stiffler, Jacob
@ 2015-03-20 13:17   ` Stiffler, Jacob
  2015-03-20 13:33     ` Cooper Jr., Franklin
  1 sibling, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 13:17 UTC (permalink / raw)
  To: Dmytriyenko, Denys, meta-arago

I tried the matrix h264 decode demo on am437x with gstreamer 1.0. 

To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:

    gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0


 Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?

Thanks,
Jake 


-----Original Message-----
From: Stiffler, Jacob 
Sent: Friday, March 20, 2015 6:56 AM
To: Dmytriyenko, Denys; meta-arago@arago-project.org
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.

However, I got a build failure for am335x-evm due to the missing libdrm dependency:

In file included from gstdrmbufferpool.c:42:0:
gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
make: *** [all] Error 2
ERROR: oe_runmake failed

- Jake

-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, March 19, 2015 6:37 PM
To: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Karthik,

I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.

--
Denys


On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git 
> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> bad_1.2.3.bbappend 
> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> bad_1.2.3.bbappend
> index b1cacac..bd141a8 100644
> --- 
> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> bad_1.2.3.bbappend
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
> +++ ins-bad_1.2.3.bbappend
> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
>  PACKAGECONFIG = "faad wayland"
>  
> +DEPENDS += "libdrm libdce"
> +
>  SRC_URI_append = " \
>          file://0001-Added-GstDRMBufferPool-support.patch \
>          file://0002-Modified-waylandsink-to-accept-NV12-format.patch 
> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>          file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>          file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>  
> -PR_append = "-arago0"
> +PR_append = "-arago1"
> --
> 2.2.0
> 
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 13:17   ` Stiffler, Jacob
@ 2015-03-20 13:33     ` Cooper Jr., Franklin
  2015-03-20 13:42       ` Stiffler, Jacob
  0 siblings, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-20 13:33 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago




> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
> 
> I tried the matrix h264 decode demo on am437x with gstreamer 1.0. 
> 
> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> 
>    gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> 
> 
> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> 
> Thanks,
> Jake 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob 
> Sent: Friday, March 20, 2015 6:56 AM
> To: Dmytriyenko, Denys; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> 
> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> 
> In file included from gstdrmbufferpool.c:42:0:
> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> 
> - Jake
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> Sent: Thursday, March 19, 2015 6:37 PM
> To: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> Karthik,
> 
> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> 
> --
> Denys
> 
> 
>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>> From: Denys Dmytriyenko <denys@ti.com>
>> 
>> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>> ---
>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>> 
>> diff --git 
>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend 
>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend
>> index b1cacac..bd141a8 100644
>> --- 
>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend
>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
>> +++ ins-bad_1.2.3.bbappend
>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> 
>> PACKAGECONFIG = "faad wayland"
>> 
>> +DEPENDS += "libdrm libdce"
>> +
>> SRC_URI_append = " \
>>         file://0001-Added-GstDRMBufferPool-support.patch \
>>         file://0002-Modified-waylandsink-to-accept-NV12-format.patch 
>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>>         file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>> 
>> -PR_append = "-arago0"
>> +PR_append = "-arago1"
>> --
>> 2.2.0
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 13:33     ` Cooper Jr., Franklin
@ 2015-03-20 13:42       ` Stiffler, Jacob
  2015-03-20 13:58         ` Cooper Jr., Franklin
  0 siblings, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 13:42 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago

I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.

-----Original Message-----
From: Cooper Jr., Franklin 
Sent: Friday, March 20, 2015 9:34 AM
To: Stiffler, Jacob
Cc: Dmytriyenko, Denys; meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink




> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
> 
> I tried the matrix h264 decode demo on am437x with gstreamer 1.0. 
> 
> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> 
>    gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> 
> 
> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> 
> Thanks,
> Jake 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob 
> Sent: Friday, March 20, 2015 6:56 AM
> To: Dmytriyenko, Denys; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> 
> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> 
> In file included from gstdrmbufferpool.c:42:0:
> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> 
> - Jake
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> Sent: Thursday, March 19, 2015 6:37 PM
> To: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> Karthik,
> 
> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> 
> --
> Denys
> 
> 
>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>> From: Denys Dmytriyenko <denys@ti.com>
>> 
>> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>> ---
>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>> 
>> diff --git 
>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend 
>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend
>> index b1cacac..bd141a8 100644
>> --- 
>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>> bad_1.2.3.bbappend
>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
>> +++ ins-bad_1.2.3.bbappend
>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> 
>> PACKAGECONFIG = "faad wayland"
>> 
>> +DEPENDS += "libdrm libdce"
>> +
>> SRC_URI_append = " \
>>         file://0001-Added-GstDRMBufferPool-support.patch \
>>         file://0002-Modified-waylandsink-to-accept-NV12-format.patch 
>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>>         file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>> 
>> -PR_append = "-arago0"
>> +PR_append = "-arago1"
>> --
>> 2.2.0
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 13:42       ` Stiffler, Jacob
@ 2015-03-20 13:58         ` Cooper Jr., Franklin
  2015-03-20 18:17           ` Chengalvala, Vivek
  0 siblings, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-20 13:58 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago

Well that's not good.

> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
> 
> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> 
> -----Original Message-----
> From: Cooper Jr., Franklin 
> Sent: Friday, March 20, 2015 9:34 AM
> To: Stiffler, Jacob
> Cc: Dmytriyenko, Denys; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> 
> 
> 
>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
>> 
>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0. 
>> 
>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>> 
>>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>> 
>> 
>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>> 
>> Thanks,
>> Jake 
>> 
>> 
>> -----Original Message-----
>> From: Stiffler, Jacob 
>> Sent: Friday, March 20, 2015 6:56 AM
>> To: Dmytriyenko, Denys; meta-arago@arago-project.org
>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>> 
>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>> 
>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>> 
>> In file included from gstdrmbufferpool.c:42:0:
>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>> make: *** [all] Error 2
>> ERROR: oe_runmake failed
>> 
>> - Jake
>> 
>> -----Original Message-----
>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
>> Sent: Thursday, March 19, 2015 6:37 PM
>> To: meta-arago@arago-project.org
>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>> 
>> Karthik,
>> 
>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>> 
>> --
>> Denys
>> 
>> 
>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>> From: Denys Dmytriyenko <denys@ti.com>
>>> 
>>> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>>> ---
>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>> 
>>> diff --git 
>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>>> bad_1.2.3.bbappend 
>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>>> bad_1.2.3.bbappend
>>> index b1cacac..bd141a8 100644
>>> --- 
>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
>>> bad_1.2.3.bbappend
>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
>>> +++ ins-bad_1.2.3.bbappend
>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>> 
>>> PACKAGECONFIG = "faad wayland"
>>> 
>>> +DEPENDS += "libdrm libdce"
>>> +
>>> SRC_URI_append = " \
>>>        file://0001-Added-GstDRMBufferPool-support.patch \
>>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch 
>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>>> 
>>> -PR_append = "-arago0"
>>> +PR_append = "-arago1"
>>> --
>>> 2.2.0
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 13:58         ` Cooper Jr., Franklin
@ 2015-03-20 18:17           ` Chengalvala, Vivek
  2015-03-20 18:23             ` Denys Dmytriyenko
  2015-03-23 14:19             ` Chengalvala, Vivek
  0 siblings, 2 replies; 33+ messages in thread
From: Chengalvala, Vivek @ 2015-03-20 18:17 UTC (permalink / raw)
  To: Cooper Jr., Franklin, Stiffler, Jacob
  Cc: meta-arago, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 8184 bytes --]

Karthik, Anand, Denys,



Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:

1.       Broken build for AM3. Not sure how AM4 build succeeds.

2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)

3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder

4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"



All the above issues are not present with gst-0.10.
Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.



In addition to above,

5.       kmssink is missing from AM57x file system.



We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.

There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.



Thanks,

Vivek





-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
Sent: Friday, March 20, 2015 9:58 AM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink



Well that's not good.



> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>

> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.

>

> -----Original Message-----

> From: Cooper Jr., Franklin

> Sent: Friday, March 20, 2015 9:34 AM

> To: Stiffler, Jacob

> Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>

>

>

>

>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>>

>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.

>>

>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:

>>

>>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0

>>

>>

>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?

> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.

>>

>> Thanks,

>> Jake

>>

>>

>> -----Original Message-----

>> From: Stiffler, Jacob

>> Sent: Friday, March 20, 2015 6:56 AM

>> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.

>>

>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:

>>

>> In file included from gstdrmbufferpool.c:42:0:

>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.

>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1

>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'

>> make[3]: *** [all-recursive] Error 1

>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'

>> make[2]: *** [all-recursive] Error 1

>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'

>> make[1]: *** [all-recursive] Error 1

>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'

>> make: *** [all] Error 2

>> ERROR: oe_runmake failed

>>

>> - Jake

>>

>> -----Original Message-----

>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys

>> Sent: Thursday, March 19, 2015 6:37 PM

>> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> Karthik,

>>

>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.

>>

>> --

>> Denys

>>

>>

>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:

>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>>

>>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>> ---

>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-

>>> 1 file changed, 3 insertions(+), 1 deletion(-)

>>>

>>> diff --git

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> index b1cacac..bd141a8 100644

>>> ---

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug

>>> +++ ins-bad_1.2.3.bbappend

>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

>>>

>>> PACKAGECONFIG = "faad wayland"

>>>

>>> +DEPENDS += "libdrm libdce"

>>> +

>>> SRC_URI_append = " \

>>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \

>>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>

>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \

>>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \

>>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"

>>>

>>> -PR_append = "-arago0"

>>> +PR_append = "-arago1"

>>> --

>>> 2.2.0

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________

meta-arago mailing list

meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 26693 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:17           ` Chengalvala, Vivek
@ 2015-03-20 18:23             ` Denys Dmytriyenko
  2015-03-20 18:27               ` Stiffler, Jacob
  2015-03-23 14:19             ` Chengalvala, Vivek
  1 sibling, 1 reply; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-20 18:23 UTC (permalink / raw)
  To: Chengalvala, Vivek
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

AM3 builds fine here...


On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> Karthik, Anand, Denys,
> 
> 
> 
> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> 
> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> 
> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> 
> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> 
> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> 
> 
> 
> All the above issues are not present with gst-0.10.
> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> 
> 
> 
> In addition to above,
> 
> 5.       kmssink is missing from AM57x file system.
> 
> 
> 
> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> 
> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> 
> 
> 
> Thanks,
> 
> Vivek
> 
> 
> 
> 
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Friday, March 20, 2015 9:58 AM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> 
> 
> Well that's not good.
> 
> 
> 
> > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> 
> >
> 
> > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> 
> >
> 
> > -----Original Message-----
> 
> > From: Cooper Jr., Franklin
> 
> > Sent: Friday, March 20, 2015 9:34 AM
> 
> > To: Stiffler, Jacob
> 
> > Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> 
> >>
> 
> >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> 
> >>
> 
> >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> 
> >>
> 
> >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> 
> >>
> 
> >>
> 
> >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> 
> > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> 
> >>
> 
> >> Thanks,
> 
> >> Jake
> 
> >>
> 
> >>
> 
> >> -----Original Message-----
> 
> >> From: Stiffler, Jacob
> 
> >> Sent: Friday, March 20, 2015 6:56 AM
> 
> >> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >>
> 
> >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> 
> >>
> 
> >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> 
> >>
> 
> >> In file included from gstdrmbufferpool.c:42:0:
> 
> >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> 
> >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> 
> >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> 
> >> make[3]: *** [all-recursive] Error 1
> 
> >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> 
> >> make[2]: *** [all-recursive] Error 1
> 
> >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> 
> >> make[1]: *** [all-recursive] Error 1
> 
> >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> 
> >> make: *** [all] Error 2
> 
> >> ERROR: oe_runmake failed
> 
> >>
> 
> >> - Jake
> 
> >>
> 
> >> -----Original Message-----
> 
> >> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> 
> >> Sent: Thursday, March 19, 2015 6:37 PM
> 
> >> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >>
> 
> >> Karthik,
> 
> >>
> 
> >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> 
> >>
> 
> >> --
> 
> >> Denys
> 
> >>
> 
> >>
> 
> >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> 
> >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> 
> >>>
> 
> >>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> 
> >>> ---
> 
> >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> 
> >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> 
> >>>
> 
> >>> diff --git
> 
> >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> index b1cacac..bd141a8 100644
> 
> >>> ---
> 
> >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
> 
> >>> +++ ins-bad_1.2.3.bbappend
> 
> >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> 
> >>>
> 
> >>> PACKAGECONFIG = "faad wayland"
> 
> >>>
> 
> >>> +DEPENDS += "libdrm libdce"
> 
> >>> +
> 
> >>> SRC_URI_append = " \
> 
> >>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \
> 
> >>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> 
> >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> 
> >>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> 
> >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> 
> >>>
> 
> >>> -PR_append = "-arago0"
> 
> >>> +PR_append = "-arago1"
> 
> >>> --
> 
> >>> 2.2.0
> 
> >> _______________________________________________
> 
> >> meta-arago mailing list
> 
> >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> >> _______________________________________________
> 
> >> meta-arago mailing list
> 
> >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> _______________________________________________
> 
> meta-arago mailing list
> 
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:23             ` Denys Dmytriyenko
@ 2015-03-20 18:27               ` Stiffler, Jacob
  2015-03-20 18:36                 ` Denys Dmytriyenko
  0 siblings, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 18:27 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Chengalvala, Vivek
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c gstdrmbufferpool.c  -fPIC -DPIC -o .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
In file included from gstdrmbufferpool.c:42:0:
gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory
compilation terminated.
make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
make: *** [all] Error 2
ERROR: oe_runmake failed

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, March 20, 2015 2:23 PM
To: Chengalvala, Vivek
Cc: Cooper Jr., Franklin; Stiffler, Jacob; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

AM3 builds fine here...


On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> Karthik, Anand, Denys,
> 
> 
> 
> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> 
> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> 
> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> 
> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> 
> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> 
> 
> 
> All the above issues are not present with gst-0.10.
> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> 
> 
> 
> In addition to above,
> 
> 5.       kmssink is missing from AM57x file system.
> 
> 
> 
> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> 
> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> 
> 
> 
> Thanks,
> 
> Vivek
> 
> 
> 
> 
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Friday, March 20, 2015 9:58 AM
> To: Stiffler, Jacob
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> 
> 
> Well that's not good.
> 
> 
> 
> > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> 
> >
> 
> > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> 
> >
> 
> > -----Original Message-----
> 
> > From: Cooper Jr., Franklin
> 
> > Sent: Friday, March 20, 2015 9:34 AM
> 
> > To: Stiffler, Jacob
> 
> > Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> 
> >>
> 
> >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> 
> >>
> 
> >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> 
> >>
> 
> >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> 
> >>
> 
> >>
> 
> >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> 
> > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> 
> >>
> 
> >> Thanks,
> 
> >> Jake
> 
> >>
> 
> >>
> 
> >> -----Original Message-----
> 
> >> From: Stiffler, Jacob
> 
> >> Sent: Friday, March 20, 2015 6:56 AM
> 
> >> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >>
> 
> >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> 
> >>
> 
> >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> 
> >>
> 
> >> In file included from gstdrmbufferpool.c:42:0:
> 
> >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> 
> >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> 
> >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> 
> >> make[3]: *** [all-recursive] Error 1
> 
> >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> 
> >> make[2]: *** [all-recursive] Error 1
> 
> >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> 
> >> make[1]: *** [all-recursive] Error 1
> 
> >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> 
> >> make: *** [all] Error 2
> 
> >> ERROR: oe_runmake failed
> 
> >>
> 
> >> - Jake
> 
> >>
> 
> >> -----Original Message-----
> 
> >> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> 
> >> Sent: Thursday, March 19, 2015 6:37 PM
> 
> >> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> >>
> 
> >> Karthik,
> 
> >>
> 
> >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> 
> >>
> 
> >> --
> 
> >> Denys
> 
> >>
> 
> >>
> 
> >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> 
> >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> 
> >>>
> 
> >>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> 
> >>> ---
> 
> >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> 
> >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> 
> >>>
> 
> >>> diff --git
> 
> >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> index b1cacac..bd141a8 100644
> 
> >>> ---
> 
> >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> 
> >>> bad_1.2.3.bbappend
> 
> >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
> 
> >>> +++ ins-bad_1.2.3.bbappend
> 
> >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> 
> >>>
> 
> >>> PACKAGECONFIG = "faad wayland"
> 
> >>>
> 
> >>> +DEPENDS += "libdrm libdce"
> 
> >>> +
> 
> >>> SRC_URI_append = " \
> 
> >>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \
> 
> >>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> 
> >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> 
> >>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> 
> >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> 
> >>>
> 
> >>> -PR_append = "-arago0"
> 
> >>> +PR_append = "-arago1"
> 
> >>> --
> 
> >>> 2.2.0
> 
> >> _______________________________________________
> 
> >> meta-arago mailing list
> 
> >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> >> _______________________________________________
> 
> >> meta-arago mailing list
> 
> >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> _______________________________________________
> 
> meta-arago mailing list
> 
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:27               ` Stiffler, Jacob
@ 2015-03-20 18:36                 ` Denys Dmytriyenko
  2015-03-20 18:38                   ` Stiffler, Jacob
  2015-03-20 18:43                   ` Stiffler, Jacob
  0 siblings, 2 replies; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-20 18:36 UTC (permalink / raw)
  To: Stiffler, Jacob
  Cc: meta-arago, Balagopalakrishnan, Anand, Cooper Jr., Franklin

Jake,

libdrm should not be pulled for am3 builds - that was the question for this 
patch, which should not be applied... Do you have it in your tree?


On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c gstdrmbufferpool.c  -fPIC -DPIC -o .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> In file included from gstdrmbufferpool.c:42:0:
> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory
> compilation terminated.
> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Friday, March 20, 2015 2:23 PM
> To: Chengalvala, Vivek
> Cc: Cooper Jr., Franklin; Stiffler, Jacob; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> AM3 builds fine here...
> 
> 
> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > Karthik, Anand, Denys,
> > 
> > 
> > 
> > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > 
> > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > 
> > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > 
> > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > 
> > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > 
> > 
> > 
> > All the above issues are not present with gst-0.10.
> > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > 
> > 
> > 
> > In addition to above,
> > 
> > 5.       kmssink is missing from AM57x file system.
> > 
> > 
> > 
> > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > 
> > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > 
> > 
> > 
> > Thanks,
> > 
> > Vivek
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> > Sent: Friday, March 20, 2015 9:58 AM
> > To: Stiffler, Jacob
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > 
> > 
> > Well that's not good.
> > 
> > 
> > 
> > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >
> > 
> > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > 
> > >
> > 
> > > -----Original Message-----
> > 
> > > From: Cooper Jr., Franklin
> > 
> > > Sent: Friday, March 20, 2015 9:34 AM
> > 
> > > To: Stiffler, Jacob
> > 
> > > Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >>
> > 
> > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > 
> > >>
> > 
> > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > 
> > >>
> > 
> > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > 
> > >>
> > 
> > >>
> > 
> > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > 
> > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > 
> > >>
> > 
> > >> Thanks,
> > 
> > >> Jake
> > 
> > >>
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: Stiffler, Jacob
> > 
> > >> Sent: Friday, March 20, 2015 6:56 AM
> > 
> > >> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > 
> > >>
> > 
> > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > 
> > >>
> > 
> > >> In file included from gstdrmbufferpool.c:42:0:
> > 
> > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > 
> > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > 
> > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > 
> > >> make[3]: *** [all-recursive] Error 1
> > 
> > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > 
> > >> make[2]: *** [all-recursive] Error 1
> > 
> > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > 
> > >> make[1]: *** [all-recursive] Error 1
> > 
> > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > 
> > >> make: *** [all] Error 2
> > 
> > >> ERROR: oe_runmake failed
> > 
> > >>
> > 
> > >> - Jake
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> > 
> > >> Sent: Thursday, March 19, 2015 6:37 PM
> > 
> > >> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> Karthik,
> > 
> > >>
> > 
> > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > 
> > >>
> > 
> > >> --
> > 
> > >> Denys
> > 
> > >>
> > 
> > >>
> > 
> > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > 
> > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>>
> > 
> > >>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>> ---
> > 
> > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > 
> > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > >>>
> > 
> > >>> diff --git
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> index b1cacac..bd141a8 100644
> > 
> > >>> ---
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
> > 
> > >>> +++ ins-bad_1.2.3.bbappend
> > 
> > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > 
> > >>>
> > 
> > >>> PACKAGECONFIG = "faad wayland"
> > 
> > >>>
> > 
> > >>> +DEPENDS += "libdrm libdce"
> > 
> > >>> +
> > 
> > >>> SRC_URI_append = " \
> > 
> > >>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \
> > 
> > >>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > 
> > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > 
> > >>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > 
> > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > 
> > >>>
> > 
> > >>> -PR_append = "-arago0"
> > 
> > >>> +PR_append = "-arago1"
> > 
> > >>> --
> > 
> > >>> 2.2.0
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > _______________________________________________
> > 
> > meta-arago mailing list
> > 
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:36                 ` Denys Dmytriyenko
@ 2015-03-20 18:38                   ` Stiffler, Jacob
  2015-03-20 18:43                   ` Stiffler, Jacob
  1 sibling, 0 replies; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 18:38 UTC (permalink / raw)
  To: Dmytriyenko, Denys
  Cc: meta-arago, Balagopalakrishnan, Anand, Cooper Jr., Franklin

No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.


-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, March 20, 2015 2:37 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Jake,

libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?


On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -pthread -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c gstdrmbufferpool.c  -fPIC -DPIC -o .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> In file included from gstdrmbufferpool.c:42:0:
> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory
> compilation terminated.
> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> 
> -----Original Message-----
> From: Dmytriyenko, Denys 
> Sent: Friday, March 20, 2015 2:23 PM
> To: Chengalvala, Vivek
> Cc: Cooper Jr., Franklin; Stiffler, Jacob; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> AM3 builds fine here...
> 
> 
> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > Karthik, Anand, Denys,
> > 
> > 
> > 
> > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > 
> > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > 
> > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > 
> > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > 
> > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > 
> > 
> > 
> > All the above issues are not present with gst-0.10.
> > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > 
> > 
> > 
> > In addition to above,
> > 
> > 5.       kmssink is missing from AM57x file system.
> > 
> > 
> > 
> > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > 
> > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > 
> > 
> > 
> > Thanks,
> > 
> > Vivek
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> > Sent: Friday, March 20, 2015 9:58 AM
> > To: Stiffler, Jacob
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > 
> > 
> > Well that's not good.
> > 
> > 
> > 
> > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >
> > 
> > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > 
> > >
> > 
> > > -----Original Message-----
> > 
> > > From: Cooper Jr., Franklin
> > 
> > > Sent: Friday, March 20, 2015 9:34 AM
> > 
> > > To: Stiffler, Jacob
> > 
> > > Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >>
> > 
> > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > 
> > >>
> > 
> > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > 
> > >>
> > 
> > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > 
> > >>
> > 
> > >>
> > 
> > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > 
> > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > 
> > >>
> > 
> > >> Thanks,
> > 
> > >> Jake
> > 
> > >>
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: Stiffler, Jacob
> > 
> > >> Sent: Friday, March 20, 2015 6:56 AM
> > 
> > >> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > 
> > >>
> > 
> > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > 
> > >>
> > 
> > >> In file included from gstdrmbufferpool.c:42:0:
> > 
> > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > 
> > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > 
> > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > 
> > >> make[3]: *** [all-recursive] Error 1
> > 
> > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > 
> > >> make[2]: *** [all-recursive] Error 1
> > 
> > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > 
> > >> make[1]: *** [all-recursive] Error 1
> > 
> > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > 
> > >> make: *** [all] Error 2
> > 
> > >> ERROR: oe_runmake failed
> > 
> > >>
> > 
> > >> - Jake
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> > 
> > >> Sent: Thursday, March 19, 2015 6:37 PM
> > 
> > >> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> Karthik,
> > 
> > >>
> > 
> > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > 
> > >>
> > 
> > >> --
> > 
> > >> Denys
> > 
> > >>
> > 
> > >>
> > 
> > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > 
> > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>>
> > 
> > >>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>> ---
> > 
> > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > 
> > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > >>>
> > 
> > >>> diff --git
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> index b1cacac..bd141a8 100644
> > 
> > >>> ---
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug
> > 
> > >>> +++ ins-bad_1.2.3.bbappend
> > 
> > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > 
> > >>>
> > 
> > >>> PACKAGECONFIG = "faad wayland"
> > 
> > >>>
> > 
> > >>> +DEPENDS += "libdrm libdce"
> > 
> > >>> +
> > 
> > >>> SRC_URI_append = " \
> > 
> > >>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \
> > 
> > >>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > 
> > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > 
> > >>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > 
> > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > 
> > >>>
> > 
> > >>> -PR_append = "-arago0"
> > 
> > >>> +PR_append = "-arago1"
> > 
> > >>> --
> > 
> > >>> 2.2.0
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > _______________________________________________
> > 
> > meta-arago mailing list
> > 
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:36                 ` Denys Dmytriyenko
  2015-03-20 18:38                   ` Stiffler, Jacob
@ 2015-03-20 18:43                   ` Stiffler, Jacob
  2015-03-20 18:49                     ` Cooper Jr., Franklin
  2015-03-20 21:01                     ` Denys Dmytriyenko
  1 sibling, 2 replies; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 18:43 UTC (permalink / raw)
  To: Dmytriyenko, Denys
  Cc: meta-arago, Balagopalakrishnan, Anand, Cooper Jr., Franklin

Sorry, I just double checked the filesystems:

jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm2.postinst
jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ cd ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs/
jake@mcsdk-hpc-test:~ /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list



-----Original Message-----
From: Stiffler, Jacob 
Sent: Friday, March 20, 2015 2:39 PM
To: Dmytriyenko, Denys
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.


-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 2:37 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Jake,

libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?


On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon 
> -mtune=cortex-a8 
> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-ext
> ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -DHAVE_CONFIG_H 
> -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include 
> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include 
> -DGST_USE_UNSTABLE_API -pthread 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/
> glib-2.0 
> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include 
> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> -Wredundant-decls -Wwrite-strings -Wformat-security 
> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> -Wno-multichar -Wnested-externs 
> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include 
> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> gstdrmbufferpool.c  -fPIC -DPIC -o 
> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> In file included from gstdrmbufferpool.c:42:0:
> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> directory compilation terminated.
> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:23 PM
> To: Chengalvala, Vivek
> Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
> 
> AM3 builds fine here...
> 
> 
> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > Karthik, Anand, Denys,
> > 
> > 
> > 
> > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > 
> > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > 
> > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > 
> > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > 
> > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > 
> > 
> > 
> > All the above issues are not present with gst-0.10.
> > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > 
> > 
> > 
> > In addition to above,
> > 
> > 5.       kmssink is missing from AM57x file system.
> > 
> > 
> > 
> > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > 
> > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > 
> > 
> > 
> > Thanks,
> > 
> > Vivek
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org 
> > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> > Jr., Franklin
> > Sent: Friday, March 20, 2015 9:58 AM
> > To: Stiffler, Jacob
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > DEPENDS on libdrm and libdce due to KMSsink
> > 
> > 
> > 
> > Well that's not good.
> > 
> > 
> > 
> > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >
> > 
> > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > 
> > >
> > 
> > > -----Original Message-----
> > 
> > > From: Cooper Jr., Franklin
> > 
> > > Sent: Friday, March 20, 2015 9:34 AM
> > 
> > > To: Stiffler, Jacob
> > 
> > > Cc: Dmytriyenko, Denys; 
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > 
> > >>
> > 
> > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > 
> > >>
> > 
> > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > 
> > >>
> > 
> > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! 
> > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > 
> > >>
> > 
> > >>
> > 
> > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > 
> > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > 
> > >>
> > 
> > >> Thanks,
> > 
> > >> Jake
> > 
> > >>
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: Stiffler, Jacob
> > 
> > >> Sent: Friday, March 20, 2015 6:56 AM
> > 
> > >> To: Dmytriyenko, Denys; 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > >> DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > 
> > >>
> > 
> > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > 
> > >>
> > 
> > >> In file included from gstdrmbufferpool.c:42:0:
> > 
> > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > 
> > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > 
> > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > 
> > >> make[3]: *** [all-recursive] Error 1
> > 
> > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > 
> > >> make[2]: *** [all-recursive] Error 1
> > 
> > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > 
> > >> make[1]: *** [all-recursive] Error 1
> > 
> > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > 
> > >> make: *** [all] Error 2
> > 
> > >> ERROR: oe_runmake failed
> > 
> > >>
> > 
> > >> - Jake
> > 
> > >>
> > 
> > >> -----Original Message-----
> > 
> > >> From: 
> > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@ar
> > >> ago-project.org> [mailto:meta-arago-bounces@arago-project.org] On 
> > >> Behalf Of Dmytriyenko, Denys
> > 
> > >> Sent: Thursday, March 19, 2015 6:37 PM
> > 
> > >> To: 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > >> DEPENDS on libdrm and libdce due to KMSsink
> > 
> > >>
> > 
> > >> Karthik,
> > 
> > >>
> > 
> > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > 
> > >>
> > 
> > >> --
> > 
> > >> Denys
> > 
> > >>
> > 
> > >>
> > 
> > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > 
> > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>>
> > 
> > >>> Signed-off-by: Denys Dmytriyenko 
> > >>> <denys@ti.com<mailto:denys@ti.com>>
> > 
> > >>> ---
> > 
> > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > 
> > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > >>>
> > 
> > >>> diff --git
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > >>> ugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > >>> ugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> index b1cacac..bd141a8 100644
> > 
> > >>> ---
> > 
> > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > >>> ugins-
> > 
> > >>> bad_1.2.3.bbappend
> > 
> > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > >>> +++ 0-plug
> > 
> > >>> +++ ins-bad_1.2.3.bbappend
> > 
> > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > 
> > >>>
> > 
> > >>> PACKAGECONFIG = "faad wayland"
> > 
> > >>>
> > 
> > >>> +DEPENDS += "libdrm libdce"
> > 
> > >>> +
> > 
> > >>> SRC_URI_append = " \
> > 
> > >>>        
> > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-
> > >>> Added-GstDRMBufferPool-support.patch> \
> > 
> > >>>        
> > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<fil
> > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > 
> > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > 
> > >>>        
> > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file://
> > >>> /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > 
> > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > 
> > >>>
> > 
> > >>> -PR_append = "-arago0"
> > 
> > >>> +PR_append = "-arago1"
> > 
> > >>> --
> > 
> > >>> 2.2.0
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > >> _______________________________________________
> > 
> > >> meta-arago mailing list
> > 
> > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > _______________________________________________
> > 
> > meta-arago mailing list
> > 
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > 
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:43                   ` Stiffler, Jacob
@ 2015-03-20 18:49                     ` Cooper Jr., Franklin
  2015-03-20 18:52                       ` Denys Dmytriyenko
  2015-03-20 21:01                     ` Denys Dmytriyenko
  1 sibling, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-20 18:49 UTC (permalink / raw)
  To: Stiffler, Jacob, Dmytriyenko, Denys; +Cc: meta-arago, Balagopalakrishnan, Anand

I would think that AM335x shouldn't need omap-drm since it doesn't have a DSS. Maybe some of the patches being applied should be limited to machines with DSS (am437x, x15, dra7, etc). I'm assuming standard gstreamer 1.0 wouldn't have these failures.

> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 1:44 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> on libdrm and libdce due to KMSsink
> 
> Sorry, I just double checked the filesystems:
> 
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-
> linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find
> ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-
> 01.00.00.00/filesystem/tisdk-rootfs$ cd ../../../ti-processor-sdk-linux-
> am437x-evm-01.00.00.00/filesystem/tisdk-rootfs/
> jake@mcsdk-hpc-test:~ /ti-processor-sdk-linux-am437x-evm-
> 01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
> 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> on libdrm and libdce due to KMSsink
> 
> No it is not in the tree, hence the header is not found. It succeeds on am4
> since it is pulled in by one of the packagegroups.
> 
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> on libdrm and libdce due to KMSsink
> 
> Jake,
> 
> libdrm should not be pulled for am3 builds - that was the question for this
> patch, which should not be applied... Do you have it in your tree?
> 
> 
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-
> ext
> > ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -
> DHAVE_CONFIG_H
> > -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> li
> > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> li
> > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -
> DG_DISABLE_CAST_CHECKS
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > -Wredundant-decls -Wwrite-strings -Wformat-security
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > -Wno-multichar -Wnested-externs
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > gstdrmbufferpool.c  -fPIC -DPIC -o
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > DEPENDS on libdrm and libdce due to KMSsink
> >
> > AM3 builds fine here...
> >
> >
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > >
> > >
> > >
> > > Upgrade to GST 1.0 (using commit
> b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the
> following problems:
> > >
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > >
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if
> it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c)
> ffmpeg_color_space --> videoconvert)
> > >
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g.,
> avdec_h264) instead of ducati decoder
> > >
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-
> launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec !
> fakesink"
> > >
> > >
> > >
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release
> 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > >
> > >
> > >
> > > In addition to above,
> > >
> > > 5.       kmssink is missing from AM57x file system.
> > >
> > >
> > >
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and
> due to above failures, we are forced to freeze @ commit
> #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further
> changes on meta-arago.
> > >
> > > There is another release targeted for next week and we'd like to be get
> back to the latest of meta-arago as soon as possible. Appreciate your help in
> addressing the above issues.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vivek
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > >
> > >
> > > Well that's not good.
> > >
> > >
> > >
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> stiffler@ti.com>> wrote:
> > >
> > > >
> > >
> > > > I ran the demo while running "top". It appears that CPU is near 100%.
> However, this demo was working fine with gstreamer 0.10.
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: Cooper Jr., Franklin
> > >
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > >
> > > > To: Stiffler, Jacob
> > >
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-
> project.org>
> > >
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> stiffler@ti.com>> wrote:
> > >
> > > >>
> > >
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > >
> > > >>
> > >
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new
> pipelines. The new command is the following:
> > >
> > > >>
> > >
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> Once this was done, I was able to run the demo, but the framerate is
> extremely slow. Is this the correct command? Or is this behavior expected?
> > >
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then
> that is expected.
> > >
> > > >>
> > >
> > > >> Thanks,
> > >
> > > >> Jake
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From: Stiffler, Jacob
> > >
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > >
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> project.org>
> > >
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> It appears I got lucky with a successful am437x-evm build. The package
> libdrm was installed and libdce was not.
> > >
> > > >>
> > >
> > > >> However, I got a build failure for am335x-evm due to the missing
> libdrm dependency:
> > >
> > > >>
> > >
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > >
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> directory compilation terminated.
> > >
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > >
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs/gst/drm'
> > >
> > > >> make[3]: *** [all-recursive] Error 1
> > >
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs/gst'
> > >
> > > >> make[2]: *** [all-recursive] Error 1
> > >
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3/gst-libs'
> > >
> > > >> make[1]: *** [all-recursive] Error 1
> > >
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> plugins-bad-1.2.3'
> > >
> > > >> make: *** [all] Error 2
> > >
> > > >> ERROR: oe_runmake failed
> > >
> > > >>
> > >
> > > >> - Jake
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From:
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-
> bounces@ar
> > > >> ago-project.org> [mailto:meta-arago-bounces@arago-project.org] On
> > > >> Behalf Of Dmytriyenko, Denys
> > >
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > >
> > > >> To:
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> project.org>
> > >
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> Karthik,
> > >
> > > >>
> > >
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and
> dce headers. I was trying to set the dependency accordingly, but it would
> break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > >
> > > >>
> > >
> > > >> --
> > >
> > > >> Denys
> > >
> > > >>
> > >
> > > >>
> > >
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko
> wrote:
> > >
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>>
> > >
> > > >>> Signed-off-by: Denys Dmytriyenko
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>> ---
> > >
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4
> +++-
> > >
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > >>>
> > >
> > > >>> diff --git
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> index b1cacac..bd141a8 100644
> > >
> > > >>> ---
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> +++ b/meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > >
> > > >>> +++ ins-bad_1.2.3.bbappend
> > >
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend :=
> "${THISDIR}/${PN}:"
> > >
> > > >>>
> > >
> > > >>> PACKAGECONFIG = "faad wayland"
> > >
> > > >>>
> > >
> > > >>> +DEPENDS += "libdrm libdce"
> > >
> > > >>> +
> > >
> > > >>> SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-
> > > >>> Added-GstDRMBufferPool-support.patch> \
> > >
> > > >>>
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<fil
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > >
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file://
> > > >>> /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > >
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-
> ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-
> ranks.patch>"
> > >
> > > >>>
> > >
> > > >>> -PR_append = "-arago0"
> > >
> > > >>> +PR_append = "-arago1"
> > >
> > > >>> --
> > >
> > > >>> 2.2.0
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> project.org>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> project.org>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > _______________________________________________
> > >
> > > meta-arago mailing list
> > >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:49                     ` Cooper Jr., Franklin
@ 2015-03-20 18:52                       ` Denys Dmytriyenko
  2015-03-20 18:54                         ` Stiffler, Jacob
  0 siblings, 1 reply; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-20 18:52 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago, Balagopalakrishnan, Anand

Correct. Hence the patch at the beginning of this thread is not correct! 
Please make sure it's not applied. W/o it all my nightlies were built 
successfully.


On Fri, Mar 20, 2015 at 02:49:28PM -0400, Cooper Jr., Franklin wrote:
> I would think that AM335x shouldn't need omap-drm since it doesn't have a 
> DSS. Maybe some of the patches being applied should be limited to machines 
> with DSS (am437x, x15, dra7, etc). I'm assuming standard gstreamer 1.0 
> wouldn't have these failures.
> 
> > -----Original Message-----
> > From: Stiffler, Jacob
> > Sent: Friday, March 20, 2015 1:44 PM
> > To: Dmytriyenko, Denys
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > Sorry, I just double checked the filesystems:
> > 
> > jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-
> > linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find
> > ./var/lib/opkg/info/ -name '*drm*'
> > ./var/lib/opkg/info/libdrm-tests.control
> > ./var/lib/opkg/info/libdrm-tests.list
> > ./var/lib/opkg/info/libdrm2.list
> > ./var/lib/opkg/info/libdrm2.control
> > ./var/lib/opkg/info/libdrm2.postinst
> > jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-
> > 01.00.00.00/filesystem/tisdk-rootfs$ cd ../../../ti-processor-sdk-linux-
> > am437x-evm-01.00.00.00/filesystem/tisdk-rootfs/
> > jake@mcsdk-hpc-test:~ /ti-processor-sdk-linux-am437x-evm-
> > 01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> > ./var/lib/opkg/info/libdrm-tests.control
> > ./var/lib/opkg/info/libdrm-omap1.postinst
> > ./var/lib/opkg/info/libdrm-tests.list
> > ./var/lib/opkg/info/libdrm2.list
> > ./var/lib/opkg/info/libdrm2.control
> > ./var/lib/opkg/info/libdrm-omap1.control
> > ./var/lib/opkg/info/libdrm2.postinst
> > ./var/lib/opkg/info/libdrm-omap1.list
> > 
> > 
> > 
> > -----Original Message-----
> > From: Stiffler, Jacob
> > Sent: Friday, March 20, 2015 2:39 PM
> > To: Dmytriyenko, Denys
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > No it is not in the tree, hence the header is not found. It succeeds on am4
> > since it is pulled in by one of the packagegroups.
> > 
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:37 PM
> > To: Stiffler, Jacob
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > Jake,
> > 
> > libdrm should not be pulled for am3 builds - that was the question for this
> > patch, which should not be applied... Do you have it in your tree?
> > 
> > 
> > On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > > -mtune=cortex-a8
> > > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-
> > ext
> > > ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -
> > DHAVE_CONFIG_H
> > > -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > > -DGST_USE_UNSTABLE_API -pthread
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/
> > > glib-2.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -
> > DG_DISABLE_CAST_CHECKS
> > > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > > -Wredundant-decls -Wwrite-strings -Wformat-security
> > > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > > -Wno-multichar -Wnested-externs
> > > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > > gstdrmbufferpool.c  -fPIC -DPIC -o
> > > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > > In file included from gstdrmbufferpool.c:42:0:
> > > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > > directory compilation terminated.
> > > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst/drm'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3'
> > > make: *** [all] Error 2
> > > ERROR: oe_runmake failed
> > >
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Friday, March 20, 2015 2:23 PM
> > > To: Chengalvala, Vivek
> > > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > AM3 builds fine here...
> > >
> > >
> > > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > > Karthik, Anand, Denys,
> > > >
> > > >
> > > >
> > > > Upgrade to GST 1.0 (using commit
> > b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the
> > following problems:
> > > >
> > > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > > >
> > > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if
> > it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c)
> > ffmpeg_color_space --> videoconvert)
> > > >
> > > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g.,
> > avdec_h264) instead of ducati decoder
> > > >
> > > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-
> > launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec !
> > fakesink"
> > > >
> > > >
> > > >
> > > > All the above issues are not present with gst-0.10.
> > > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release
> > 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > > >
> > > >
> > > >
> > > > In addition to above,
> > > >
> > > > 5.       kmssink is missing from AM57x file system.
> > > >
> > > >
> > > >
> > > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and
> > due to above failures, we are forced to freeze @ commit
> > #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further
> > changes on meta-arago.
> > > >
> > > > There is another release targeted for next week and we'd like to be get
> > back to the latest of meta-arago as soon as possible. Appreciate your help in
> > addressing the above issues.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Vivek
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: meta-arago-bounces@arago-project.org
> > > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > > Jr., Franklin
> > > > Sent: Friday, March 20, 2015 9:58 AM
> > > > To: Stiffler, Jacob
> > > > Cc: meta-arago@arago-project.org
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > >
> > > >
> > > > Well that's not good.
> > > >
> > > >
> > > >
> > > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> > stiffler@ti.com>> wrote:
> > > >
> > > > >
> > > >
> > > > > I ran the demo while running "top". It appears that CPU is near 100%.
> > However, this demo was working fine with gstreamer 0.10.
> > > >
> > > > >
> > > >
> > > > > -----Original Message-----
> > > >
> > > > > From: Cooper Jr., Franklin
> > > >
> > > > > Sent: Friday, March 20, 2015 9:34 AM
> > > >
> > > > > To: Stiffler, Jacob
> > > >
> > > > > Cc: Dmytriyenko, Denys;
> > > > > meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > > DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> > stiffler@ti.com>> wrote:
> > > >
> > > > >>
> > > >
> > > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > > >
> > > > >>
> > > >
> > > > >> To get it to work, I had to modify runH264Dec.sh to use the new
> > pipelines. The new command is the following:
> > > >
> > > > >>
> > > >
> > > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >> Once this was done, I was able to run the demo, but the framerate is
> > extremely slow. Is this the correct command? Or is this behavior expected?
> > > >
> > > > > If slow as in stuttering and choppy then no. If cpu utilization is high then
> > that is expected.
> > > >
> > > > >>
> > > >
> > > > >> Thanks,
> > > >
> > > > >> Jake
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >> -----Original Message-----
> > > >
> > > > >> From: Stiffler, Jacob
> > > >
> > > > >> Sent: Friday, March 20, 2015 6:56 AM
> > > >
> > > > >> To: Dmytriyenko, Denys;
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >>
> > > >
> > > > >> It appears I got lucky with a successful am437x-evm build. The package
> > libdrm was installed and libdce was not.
> > > >
> > > > >>
> > > >
> > > > >> However, I got a build failure for am335x-evm due to the missing
> > libdrm dependency:
> > > >
> > > > >>
> > > >
> > > > >> In file included from gstdrmbufferpool.c:42:0:
> > > >
> > > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > > >
> > > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > >
> > > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst/drm'
> > > >
> > > > >> make[3]: *** [all-recursive] Error 1
> > > >
> > > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst'
> > > >
> > > > >> make[2]: *** [all-recursive] Error 1
> > > >
> > > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs'
> > > >
> > > > >> make[1]: *** [all-recursive] Error 1
> > > >
> > > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3'
> > > >
> > > > >> make: *** [all] Error 2
> > > >
> > > > >> ERROR: oe_runmake failed
> > > >
> > > > >>
> > > >
> > > > >> - Jake
> > > >
> > > > >>
> > > >
> > > > >> -----Original Message-----
> > > >
> > > > >> From:
> > > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-
> > bounces@ar
> > > > >> ago-project.org> [mailto:meta-arago-bounces@arago-project.org] On
> > > > >> Behalf Of Dmytriyenko, Denys
> > > >
> > > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > > >
> > > > >> To:
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >>
> > > >
> > > > >> Karthik,
> > > >
> > > > >>
> > > >
> > > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and
> > dce headers. I was trying to set the dependency accordingly, but it would
> > break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > > >
> > > > >>
> > > >
> > > > >> --
> > > >
> > > > >> Denys
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko
> > wrote:
> > > >
> > > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > >
> > > > >>>
> > > >
> > > > >>> Signed-off-by: Denys Dmytriyenko
> > > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > > >
> > > > >>> ---
> > > >
> > > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4
> > +++-
> > > >
> > > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > > >
> > > > >>>
> > > >
> > > > >>> diff --git
> > > >
> > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> index b1cacac..bd141a8 100644
> > > >
> > > > >>> ---
> > > >
> > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> +++ b/meta-arago-extras/recipes-
> > multimedia/gstreamer/gstreamer1.
> > > > >>> +++ 0-plug
> > > >
> > > > >>> +++ ins-bad_1.2.3.bbappend
> > > >
> > > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend :=
> > "${THISDIR}/${PN}:"
> > > >
> > > > >>>
> > > >
> > > > >>> PACKAGECONFIG = "faad wayland"
> > > >
> > > > >>>
> > > >
> > > > >>> +DEPENDS += "libdrm libdce"
> > > >
> > > > >>> +
> > > >
> > > > >>> SRC_URI_append = " \
> > > >
> > > > >>>
> > > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-
> > > > >>> Added-GstDRMBufferPool-support.patch> \
> > > >
> > > > >>>
> > > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<fil
> > > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > > >
> > > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > > >
> > > > >>>
> > > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file://
> > > > >>> /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > > >
> > > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-
> > ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-
> > ranks.patch>"
> > > >
> > > > >>>
> > > >
> > > > >>> -PR_append = "-arago0"
> > > >
> > > > >>> +PR_append = "-arago1"
> > > >
> > > > >>> --
> > > >
> > > > >>> 2.2.0
> > > >
> > > > >> _______________________________________________
> > > >
> > > > >> meta-arago mailing list
> > > >
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > >
> > > > >> _______________________________________________
> > > >
> > > > >> meta-arago mailing list
> > > >
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > >
> > > > _______________________________________________
> > > >
> > > > meta-arago mailing list
> > > >
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > >
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:52                       ` Denys Dmytriyenko
@ 2015-03-20 18:54                         ` Stiffler, Jacob
  0 siblings, 0 replies; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-20 18:54 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Cooper Jr., Franklin
  Cc: meta-arago, Balagopalakrishnan, Anand

The error occurred from the commit that reverted this patch:

git;//arago-project.org/git/meta-arago.git	b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd	master	ref=HEAD,layers=meta-arago-distro



-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, March 20, 2015 2:53 PM
To: Cooper Jr., Franklin
Cc: Stiffler, Jacob; Chengalvala, Vivek; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Correct. Hence the patch at the beginning of this thread is not correct! 
Please make sure it's not applied. W/o it all my nightlies were built successfully.


On Fri, Mar 20, 2015 at 02:49:28PM -0400, Cooper Jr., Franklin wrote:
> I would think that AM335x shouldn't need omap-drm since it doesn't have a 
> DSS. Maybe some of the patches being applied should be limited to machines 
> with DSS (am437x, x15, dra7, etc). I'm assuming standard gstreamer 1.0 
> wouldn't have these failures.
> 
> > -----Original Message-----
> > From: Stiffler, Jacob
> > Sent: Friday, March 20, 2015 1:44 PM
> > To: Dmytriyenko, Denys
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > Sorry, I just double checked the filesystems:
> > 
> > jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-
> > linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find
> > ./var/lib/opkg/info/ -name '*drm*'
> > ./var/lib/opkg/info/libdrm-tests.control
> > ./var/lib/opkg/info/libdrm-tests.list
> > ./var/lib/opkg/info/libdrm2.list
> > ./var/lib/opkg/info/libdrm2.control
> > ./var/lib/opkg/info/libdrm2.postinst
> > jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-
> > 01.00.00.00/filesystem/tisdk-rootfs$ cd ../../../ti-processor-sdk-linux-
> > am437x-evm-01.00.00.00/filesystem/tisdk-rootfs/
> > jake@mcsdk-hpc-test:~ /ti-processor-sdk-linux-am437x-evm-
> > 01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> > ./var/lib/opkg/info/libdrm-tests.control
> > ./var/lib/opkg/info/libdrm-omap1.postinst
> > ./var/lib/opkg/info/libdrm-tests.list
> > ./var/lib/opkg/info/libdrm2.list
> > ./var/lib/opkg/info/libdrm2.control
> > ./var/lib/opkg/info/libdrm-omap1.control
> > ./var/lib/opkg/info/libdrm2.postinst
> > ./var/lib/opkg/info/libdrm-omap1.list
> > 
> > 
> > 
> > -----Original Message-----
> > From: Stiffler, Jacob
> > Sent: Friday, March 20, 2015 2:39 PM
> > To: Dmytriyenko, Denys
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > No it is not in the tree, hence the header is not found. It succeeds on am4
> > since it is pulled in by one of the packagegroups.
> > 
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:37 PM
> > To: Stiffler, Jacob
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org;
> > Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS
> > on libdrm and libdce due to KMSsink
> > 
> > Jake,
> > 
> > libdrm should not be pulled for am3 builds - that was the question for this
> > patch, which should not be applied... Do you have it in your tree?
> > 
> > 
> > On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > > -mtune=cortex-a8
> > > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-
> > ext
> > > ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -
> > DHAVE_CONFIG_H
> > > -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > > -DGST_USE_UNSTABLE_API -pthread
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/
> > > glib-2.0
> > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -
> > DG_DISABLE_CAST_CHECKS
> > > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > > -Wredundant-decls -Wwrite-strings -Wformat-security
> > > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > > -Wno-multichar -Wnested-externs
> > > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > > gstdrmbufferpool.c  -fPIC -DPIC -o
> > > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > > In file included from gstdrmbufferpool.c:42:0:
> > > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > > directory compilation terminated.
> > > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst/drm'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3'
> > > make: *** [all] Error 2
> > > ERROR: oe_runmake failed
> > >
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Friday, March 20, 2015 2:23 PM
> > > To: Chengalvala, Vivek
> > > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > AM3 builds fine here...
> > >
> > >
> > > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > > Karthik, Anand, Denys,
> > > >
> > > >
> > > >
> > > > Upgrade to GST 1.0 (using commit
> > b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the
> > following problems:
> > > >
> > > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > > >
> > > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if
> > it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c)
> > ffmpeg_color_space --> videoconvert)
> > > >
> > > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g.,
> > avdec_h264) instead of ducati decoder
> > > >
> > > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-
> > launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec !
> > fakesink"
> > > >
> > > >
> > > >
> > > > All the above issues are not present with gst-0.10.
> > > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release
> > 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > > >
> > > >
> > > >
> > > > In addition to above,
> > > >
> > > > 5.       kmssink is missing from AM57x file system.
> > > >
> > > >
> > > >
> > > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and
> > due to above failures, we are forced to freeze @ commit
> > #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further
> > changes on meta-arago.
> > > >
> > > > There is another release targeted for next week and we'd like to be get
> > back to the latest of meta-arago as soon as possible. Appreciate your help in
> > addressing the above issues.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Vivek
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: meta-arago-bounces@arago-project.org
> > > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > > Jr., Franklin
> > > > Sent: Friday, March 20, 2015 9:58 AM
> > > > To: Stiffler, Jacob
> > > > Cc: meta-arago@arago-project.org
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > >
> > > >
> > > > Well that's not good.
> > > >
> > > >
> > > >
> > > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> > stiffler@ti.com>> wrote:
> > > >
> > > > >
> > > >
> > > > > I ran the demo while running "top". It appears that CPU is near 100%.
> > However, this demo was working fine with gstreamer 0.10.
> > > >
> > > > >
> > > >
> > > > > -----Original Message-----
> > > >
> > > > > From: Cooper Jr., Franklin
> > > >
> > > > > Sent: Friday, March 20, 2015 9:34 AM
> > > >
> > > > > To: Stiffler, Jacob
> > > >
> > > > > Cc: Dmytriyenko, Denys;
> > > > > meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > > DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-
> > stiffler@ti.com>> wrote:
> > > >
> > > > >>
> > > >
> > > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > > >
> > > > >>
> > > >
> > > > >> To get it to work, I had to modify runH264Dec.sh to use the new
> > pipelines. The new command is the following:
> > > >
> > > > >>
> > > >
> > > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >> Once this was done, I was able to run the demo, but the framerate is
> > extremely slow. Is this the correct command? Or is this behavior expected?
> > > >
> > > > > If slow as in stuttering and choppy then no. If cpu utilization is high then
> > that is expected.
> > > >
> > > > >>
> > > >
> > > > >> Thanks,
> > > >
> > > > >> Jake
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >> -----Original Message-----
> > > >
> > > > >> From: Stiffler, Jacob
> > > >
> > > > >> Sent: Friday, March 20, 2015 6:56 AM
> > > >
> > > > >> To: Dmytriyenko, Denys;
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >>
> > > >
> > > > >> It appears I got lucky with a successful am437x-evm build. The package
> > libdrm was installed and libdce was not.
> > > >
> > > > >>
> > > >
> > > > >> However, I got a build failure for am335x-evm due to the missing
> > libdrm dependency:
> > > >
> > > > >>
> > > >
> > > > >> In file included from gstdrmbufferpool.c:42:0:
> > > >
> > > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > > >
> > > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > >
> > > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst/drm'
> > > >
> > > > >> make[3]: *** [all-recursive] Error 1
> > > >
> > > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs/gst'
> > > >
> > > > >> make[2]: *** [all-recursive] Error 1
> > > >
> > > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3/gst-libs'
> > > >
> > > > >> make[1]: *** [all-recursive] Error 1
> > > >
> > > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-
> > CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-
> > neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-
> > plugins-bad-1.2.3'
> > > >
> > > > >> make: *** [all] Error 2
> > > >
> > > > >> ERROR: oe_runmake failed
> > > >
> > > > >>
> > > >
> > > > >> - Jake
> > > >
> > > > >>
> > > >
> > > > >> -----Original Message-----
> > > >
> > > > >> From:
> > > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-
> > bounces@ar
> > > > >> ago-project.org> [mailto:meta-arago-bounces@arago-project.org] On
> > > > >> Behalf Of Dmytriyenko, Denys
> > > >
> > > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > > >
> > > > >> To:
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > >
> > > > >>
> > > >
> > > > >> Karthik,
> > > >
> > > > >>
> > > >
> > > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and
> > dce headers. I was trying to set the dependency accordingly, but it would
> > break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > > >
> > > > >>
> > > >
> > > > >> --
> > > >
> > > > >> Denys
> > > >
> > > > >>
> > > >
> > > > >>
> > > >
> > > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko
> > wrote:
> > > >
> > > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > >
> > > > >>>
> > > >
> > > > >>> Signed-off-by: Denys Dmytriyenko
> > > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > > >
> > > > >>> ---
> > > >
> > > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4
> > +++-
> > > >
> > > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > > >
> > > > >>>
> > > >
> > > > >>> diff --git
> > > >
> > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> index b1cacac..bd141a8 100644
> > > >
> > > > >>> ---
> > > >
> > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > pl
> > > > >>> ugins-
> > > >
> > > > >>> bad_1.2.3.bbappend
> > > >
> > > > >>> +++ b/meta-arago-extras/recipes-
> > multimedia/gstreamer/gstreamer1.
> > > > >>> +++ 0-plug
> > > >
> > > > >>> +++ ins-bad_1.2.3.bbappend
> > > >
> > > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend :=
> > "${THISDIR}/${PN}:"
> > > >
> > > > >>>
> > > >
> > > > >>> PACKAGECONFIG = "faad wayland"
> > > >
> > > > >>>
> > > >
> > > > >>> +DEPENDS += "libdrm libdce"
> > > >
> > > > >>> +
> > > >
> > > > >>> SRC_URI_append = " \
> > > >
> > > > >>>
> > > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-
> > > > >>> Added-GstDRMBufferPool-support.patch> \
> > > >
> > > > >>>
> > > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<fil
> > > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > > >
> > > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > > >
> > > > >>>
> > > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file://
> > > > >>> /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > > >
> > > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-
> > ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-
> > ranks.patch>"
> > > >
> > > > >>>
> > > >
> > > > >>> -PR_append = "-arago0"
> > > >
> > > > >>> +PR_append = "-arago1"
> > > >
> > > > >>> --
> > > >
> > > > >>> 2.2.0
> > > >
> > > > >> _______________________________________________
> > > >
> > > > >> meta-arago mailing list
> > > >
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > >
> > > > >> _______________________________________________
> > > >
> > > > >> meta-arago mailing list
> > > >
> > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-
> > project.org>
> > > >
> > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > >
> > > > _______________________________________________
> > > >
> > > > meta-arago mailing list
> > > >
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > >
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:43                   ` Stiffler, Jacob
  2015-03-20 18:49                     ` Cooper Jr., Franklin
@ 2015-03-20 21:01                     ` Denys Dmytriyenko
  2015-03-23 11:05                       ` Stiffler, Jacob
  1 sibling, 1 reply; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-20 21:01 UTC (permalink / raw)
  To: Stiffler, Jacob
  Cc: meta-arago, Balagopalakrishnan, Anand, Cooper Jr., Franklin

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
> 
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ cd ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs/
> jake@mcsdk-hpc-test:~ /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
> 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob 
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
> 
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> Jake,
> 
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
> 
> 
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon 
> > -mtune=cortex-a8 
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-ext
> > ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 -DHAVE_CONFIG_H 
> > -I. -I../../.. -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include 
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include 
> > -DGST_USE_UNSTABLE_API -pthread 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/
> > glib-2.0 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-li
> > naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include 
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> > -Wredundant-decls -Wwrite-strings -Wformat-security 
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> > -Wno-multichar -Wnested-externs 
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include 
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> > gstdrmbufferpool.c  -fPIC -DPIC -o 
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > DEPENDS on libdrm and libdce due to KMSsink
> > 
> > AM3 builds fine here...
> > 
> > 
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > > 
> > > 
> > > 
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > > 
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > > 
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > > 
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > > 
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > > 
> > > 
> > > 
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > > 
> > > 
> > > 
> > > In addition to above,
> > > 
> > > 5.       kmssink is missing from AM57x file system.
> > > 
> > > 
> > > 
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > > 
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > Vivek
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org 
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > 
> > > 
> > > Well that's not good.
> > > 
> > > 
> > > 
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >
> > > 
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > > 
> > > >
> > > 
> > > > -----Original Message-----
> > > 
> > > > From: Cooper Jr., Franklin
> > > 
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > > 
> > > > To: Stiffler, Jacob
> > > 
> > > > Cc: Dmytriyenko, Denys; 
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >>
> > > 
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > > 
> > > >>
> > > 
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > > 
> > > >>
> > > 
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! 
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > > 
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > > 
> > > >>
> > > 
> > > >> Thanks,
> > > 
> > > >> Jake
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: Stiffler, Jacob
> > > 
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > > 
> > > >> To: Dmytriyenko, Denys; 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > > 
> > > >>
> > > 
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > > 
> > > >>
> > > 
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > > 
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > > 
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > 
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > > 
> > > >> make[3]: *** [all-recursive] Error 1
> > > 
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > > 
> > > >> make[2]: *** [all-recursive] Error 1
> > > 
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > > 
> > > >> make[1]: *** [all-recursive] Error 1
> > > 
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > > 
> > > >> make: *** [all] Error 2
> > > 
> > > >> ERROR: oe_runmake failed
> > > 
> > > >>
> > > 
> > > >> - Jake
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: 
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@ar
> > > >> ago-project.org> [mailto:meta-arago-bounces@arago-project.org] On 
> > > >> Behalf Of Dmytriyenko, Denys
> > > 
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > > 
> > > >> To: 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> Karthik,
> > > 
> > > >>
> > > 
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > > 
> > > >>
> > > 
> > > >> --
> > > 
> > > >> Denys
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > > 
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>>
> > > 
> > > >>> Signed-off-by: Denys Dmytriyenko 
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>> ---
> > > 
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > > 
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > > 
> > > >>>
> > > 
> > > >>> diff --git
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> index b1cacac..bd141a8 100644
> > > 
> > > >>> ---
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > > 
> > > >>> +++ ins-bad_1.2.3.bbappend
> > > 
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > > 
> > > >>>
> > > 
> > > >>> PACKAGECONFIG = "faad wayland"
> > > 
> > > >>>
> > > 
> > > >>> +DEPENDS += "libdrm libdce"
> > > 
> > > >>> +
> > > 
> > > >>> SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-
> > > >>> Added-GstDRMBufferPool-support.patch> \
> > > 
> > > >>>        
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<fil
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > > 
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file://
> > > >>> /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > > 
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > > 
> > > >>>
> > > 
> > > >>> -PR_append = "-arago0"
> > > 
> > > >>> +PR_append = "-arago1"
> > > 
> > > >>> --
> > > 
> > > >>> 2.2.0
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > _______________________________________________
> > > 
> > > meta-arago mailing list
> > > 
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 21:01                     ` Denys Dmytriyenko
@ 2015-03-23 11:05                       ` Stiffler, Jacob
  2015-03-24 14:57                         ` Stiffler, Jacob
  0 siblings, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-23 11:05 UTC (permalink / raw)
  To: Dmytriyenko, Denys
  Cc: meta-arago, Balagopalakrishnan, Anand, Cooper Jr., Franklin

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
> 
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
> lesystem/tisdk-rootfs$ cd 
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~ 
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
> 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
> 
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
> 
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
> 
> Jake,
> 
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
> 
> 
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
> > -DHAVE_CONFIG_H -I. -I../../.. 
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread 
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> > -Wredundant-decls -Wwrite-strings -Wformat-security 
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> > -Wno-multichar -Wnested-externs 
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> > gstdrmbufferpool.c  -fPIC -DPIC -o 
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > DEPENDS on libdrm and libdce due to KMSsink
> > 
> > AM3 builds fine here...
> > 
> > 
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > > 
> > > 
> > > 
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > > 
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > > 
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > > 
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > > 
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > > 
> > > 
> > > 
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > > 
> > > 
> > > 
> > > In addition to above,
> > > 
> > > 5.       kmssink is missing from AM57x file system.
> > > 
> > > 
> > > 
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > > 
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > Vivek
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > 
> > > 
> > > Well that's not good.
> > > 
> > > 
> > > 
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >
> > > 
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > > 
> > > >
> > > 
> > > > -----Original Message-----
> > > 
> > > > From: Cooper Jr., Franklin
> > > 
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > > 
> > > > To: Stiffler, Jacob
> > > 
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
> > > > >
> > > 
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >>
> > > 
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > > 
> > > >>
> > > 
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > > 
> > > >>
> > > 
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! 
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > > 
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > > 
> > > >>
> > > 
> > > >> Thanks,
> > > 
> > > >> Jake
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: Stiffler, Jacob
> > > 
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > > 
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > > 
> > > >>
> > > 
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > > 
> > > >>
> > > 
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > > 
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > > 
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > 
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > > 
> > > >> make[3]: *** [all-recursive] Error 1
> > > 
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > > 
> > > >> make[2]: *** [all-recursive] Error 1
> > > 
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > > 
> > > >> make[1]: *** [all-recursive] Error 1
> > > 
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > > 
> > > >> make: *** [all] Error 2
> > > 
> > > >> ERROR: oe_runmake failed
> > > 
> > > >>
> > > 
> > > >> - Jake
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: 
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
> > > >> ar ago-project.org> 
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
> > > >> Dmytriyenko, Denys
> > > 
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > > 
> > > >> To: 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> Karthik,
> > > 
> > > >>
> > > 
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > > 
> > > >>
> > > 
> > > >> --
> > > 
> > > >> Denys
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > > 
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>>
> > > 
> > > >>> Signed-off-by: Denys Dmytriyenko 
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>> ---
> > > 
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > > 
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > > 
> > > >>>
> > > 
> > > >>> diff --git
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> index b1cacac..bd141a8 100644
> > > 
> > > >>> ---
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > > 
> > > >>> +++ ins-bad_1.2.3.bbappend
> > > 
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > > 
> > > >>>
> > > 
> > > >>> PACKAGECONFIG = "faad wayland"
> > > 
> > > >>>
> > > 
> > > >>> +DEPENDS += "libdrm libdce"
> > > 
> > > >>> +
> > > 
> > > >>> SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > > 
> > > >>>        
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
> > > >>> il 
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > > 
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > > 
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > > 
> > > >>>
> > > 
> > > >>> -PR_append = "-arago0"
> > > 
> > > >>> +PR_append = "-arago1"
> > > 
> > > >>> --
> > > 
> > > >>> 2.2.0
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > _______________________________________________
> > > 
> > > meta-arago mailing list
> > > 
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-20 18:17           ` Chengalvala, Vivek
  2015-03-20 18:23             ` Denys Dmytriyenko
@ 2015-03-23 14:19             ` Chengalvala, Vivek
       [not found]               ` <05CF4794C98B244ABDC620C10903762272FB537E@DBDE04.ent.ti.com>
  1 sibling, 1 reply; 33+ messages in thread
From: Chengalvala, Vivek @ 2015-03-23 14:19 UTC (permalink / raw)
  To: Cooper Jr., Franklin, Stiffler, Jacob
  Cc: meta-arago, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 8793 bytes --]

Karthik, Anand,

Any updates on this? We're checking regarding #2 on AM57x using ARM codecs and will post our observations..

Thanks,
Vivek


From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Chengalvala, Vivek
Sent: Friday, March 20, 2015 2:17 PM
To: Cooper Jr., Franklin; Stiffler, Jacob
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink


Karthik, Anand, Denys,



Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:

1.       Broken build for AM3. Not sure how AM4 build succeeds.

2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)

3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder

4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"



All the above issues are not present with gst-0.10.
Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.



In addition to above,

5.       kmssink is missing from AM57x file system.



We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.

There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.



Thanks,

Vivek





-----Original Message-----
From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
Sent: Friday, March 20, 2015 9:58 AM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink



Well that's not good.



> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>

> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.

>

> -----Original Message-----

> From: Cooper Jr., Franklin

> Sent: Friday, March 20, 2015 9:34 AM

> To: Stiffler, Jacob

> Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>

>

>

>

>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>>

>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.

>>

>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:

>>

>>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0

>>

>>

>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?

> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.

>>

>> Thanks,

>> Jake

>>

>>

>> -----Original Message-----

>> From: Stiffler, Jacob

>> Sent: Friday, March 20, 2015 6:56 AM

>> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.

>>

>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:

>>

>> In file included from gstdrmbufferpool.c:42:0:

>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.

>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1

>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'

>> make[3]: *** [all-recursive] Error 1

>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'

>> make[2]: *** [all-recursive] Error 1

>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'

>> make[1]: *** [all-recursive] Error 1

>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'

>> make: *** [all] Error 2

>> ERROR: oe_runmake failed

>>

>> - Jake

>>

>> -----Original Message-----

>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys

>> Sent: Thursday, March 19, 2015 6:37 PM

>> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> Karthik,

>>

>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.

>>

>> --

>> Denys

>>

>>

>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:

>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>>

>>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>> ---

>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-

>>> 1 file changed, 3 insertions(+), 1 deletion(-)

>>>

>>> diff --git

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> index b1cacac..bd141a8 100644

>>> ---

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug

>>> +++ ins-bad_1.2.3.bbappend

>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

>>>

>>> PACKAGECONFIG = "faad wayland"

>>>

>>> +DEPENDS += "libdrm libdce"

>>> +

>>> SRC_URI_append = " \

>>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \

>>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>

>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \

>>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \

>>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"

>>>

>>> -PR_append = "-arago0"

>>> +PR_append = "-arago1"

>>> --

>>> 2.2.0

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________

meta-arago mailing list

meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 23652 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
       [not found]               ` <05CF4794C98B244ABDC620C10903762272FB537E@DBDE04.ent.ti.com>
@ 2015-03-24  0:09                 ` Chengalvala, Vivek
  0 siblings, 0 replies; 33+ messages in thread
From: Chengalvala, Vivek @ 2015-03-24  0:09 UTC (permalink / raw)
  To: Balagopalakrishnan, Anand, Cooper Jr., Franklin, Stiffler, Jacob
  Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 11415 bytes --]


#2:
The root-cause is that the videoconvert plugin (converting  I420 -> BGRA) has significantly lower performance in GST 1.2.3. This apparently is fixed in newer version of GST (1.3.1).
Here is a bugzilla report on the problem: https://bugzilla.gnome.org/show_bug.cgi?id=721701 and commits showing where the fixes are: http://code.metager.de/source/history/freedesktop/gstreamer/gst/plugins-base/gst/videoconvert/

In summary, decode-display demos aren't real-time/usable on AM3, AM4 with this GST upgrade.  So, for the short-term, I'm thinking that we should stay with gst-0.10 for AM3, AM4 and upgrade GST only for AM5. In the mid-longer term, we should either back port this fixes to 1.2.3 or have a plan to migrate to a newer version of GST (and the newer version would bring in HEVC plugins as well).

#1:
If we revert AM3, AM4 to gst-0.10, then we should no longer see the build issues..

#3, #5:
These issues appear due to incomplete/missing up-streaming of recipes. We will have a call to sort this out.

#4:
As we were missing kmssink in the filesystem, we were just trying to play to a fakesink (just to make sure accelerated decode works fine) and that was showing problem. This is an issue with GLSDK as well. Only playbin seems to work with GLSDK and not the basic pipeline as described in the problem report below. We can file an OMAPS IR for this and it can be lower priority if issue #3 is resolved..


Vivek


From: Balagopalakrishnan, Anand
Sent: Monday, March 23, 2015 10:50 AM
To: Chengalvala, Vivek; Cooper Jr., Franklin; Stiffler, Jacob
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Vivek,

GST 1.x is a major upgrade from GST 0.10. There are design changes involved especially from a buffer management perspective.

The list below doesn't give a clear picture. Can you add the issues to a table and mark the the owner, debug history and next actions. For example, I am assuming issues #3, 5 will be owned by you. Issues #1,2 - not sure who will look at these.

Can you let me know what is pipeline #4 trying to achieve?

Regards,
Anand
________________________________
From: Chengalvala, Vivek
Sent: Monday, March 23, 2015 7:49 PM
To: Cooper Jr., Franklin; Stiffler, Jacob
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
Karthik, Anand,

Any updates on this? We're checking regarding #2 on AM57x using ARM codecs and will post our observations..

Thanks,
Vivek


From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Chengalvala, Vivek
Sent: Friday, March 20, 2015 2:17 PM
To: Cooper Jr., Franklin; Stiffler, Jacob
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink


Karthik, Anand, Denys,



Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:

1.       Broken build for AM3. Not sure how AM4 build succeeds.

2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)

3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder

4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"



All the above issues are not present with gst-0.10.
Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.



In addition to above,

5.       kmssink is missing from AM57x file system.



We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.

There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.



Thanks,

Vivek





-----Original Message-----
From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
Sent: Friday, March 20, 2015 9:58 AM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink



Well that's not good.



> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>

> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.

>

> -----Original Message-----

> From: Cooper Jr., Franklin

> Sent: Friday, March 20, 2015 9:34 AM

> To: Stiffler, Jacob

> Cc: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>

>

>

>

>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:

>>

>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.

>>

>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:

>>

>>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0

>>

>>

>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?

> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.

>>

>> Thanks,

>> Jake

>>

>>

>> -----Original Message-----

>> From: Stiffler, Jacob

>> Sent: Friday, March 20, 2015 6:56 AM

>> To: Dmytriyenko, Denys; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.

>>

>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:

>>

>> In file included from gstdrmbufferpool.c:42:0:

>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.

>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1

>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'

>> make[3]: *** [all-recursive] Error 1

>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'

>> make[2]: *** [all-recursive] Error 1

>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'

>> make[1]: *** [all-recursive] Error 1

>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'

>> make: *** [all] Error 2

>> ERROR: oe_runmake failed

>>

>> - Jake

>>

>> -----Original Message-----

>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys

>> Sent: Thursday, March 19, 2015 6:37 PM

>> To: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

>>

>> Karthik,

>>

>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.

>>

>> --

>> Denys

>>

>>

>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:

>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>>

>>> Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>

>>> ---

>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-

>>> 1 file changed, 3 insertions(+), 1 deletion(-)

>>>

>>> diff --git

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> index b1cacac..bd141a8 100644

>>> ---

>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-

>>> bad_1.2.3.bbappend

>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plug

>>> +++ ins-bad_1.2.3.bbappend

>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

>>>

>>> PACKAGECONFIG = "faad wayland"

>>>

>>> +DEPENDS += "libdrm libdce"

>>> +

>>> SRC_URI_append = " \

>>>        file://0001-Added-GstDRMBufferPool-support.patch<file:///\\0001-Added-GstDRMBufferPool-support.patch> \

>>>        file://0002-Modified-waylandsink-to-accept-NV12-format.patch<file:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>

>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \

>>>        file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:///\\0004-waylandsink-Removed-dependency-on-dri2.patch> \

>>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"

>>>

>>> -PR_append = "-arago0"

>>> +PR_append = "-arago1"

>>> --

>>> 2.2.0

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

>> _______________________________________________

>> meta-arago mailing list

>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________

meta-arago mailing list

meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 34145 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-23 11:05                       ` Stiffler, Jacob
@ 2015-03-24 14:57                         ` Stiffler, Jacob
       [not found]                           ` <05CF4794C98B244ABDC620C10903762272FB5D53@DBDE04.ent.ti.com>
  0 siblings, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-24 14:57 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Balagopalakrishnan, Anand
  Cc: meta-arago, Cooper Jr., Franklin

Anand,

Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?



Denys,

By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue. 

However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...


- Jake



-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 7:05 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
> 
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
> lesystem/tisdk-rootfs$ cd
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
> 
> 
> 
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
> 
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
> 
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
> 
> Jake,
> 
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
> 
> 
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
> > -DHAVE_CONFIG_H -I. -I../../..
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> > -Wredundant-decls -Wwrite-strings -Wformat-security 
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> > -Wno-multichar -Wnested-externs 
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> > gstdrmbufferpool.c  -fPIC -DPIC -o 
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > DEPENDS on libdrm and libdce due to KMSsink
> > 
> > AM3 builds fine here...
> > 
> > 
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > > 
> > > 
> > > 
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > > 
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > > 
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > > 
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > > 
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > > 
> > > 
> > > 
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > > 
> > > 
> > > 
> > > In addition to above,
> > > 
> > > 5.       kmssink is missing from AM57x file system.
> > > 
> > > 
> > > 
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > > 
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > Vivek
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > 
> > > 
> > > Well that's not good.
> > > 
> > > 
> > > 
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >
> > > 
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > > 
> > > >
> > > 
> > > > -----Original Message-----
> > > 
> > > > From: Cooper Jr., Franklin
> > > 
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > > 
> > > > To: Stiffler, Jacob
> > > 
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
> > > > >
> > > 
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >
> > > 
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > > 
> > > >>
> > > 
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > > 
> > > >>
> > > 
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > > 
> > > >>
> > > 
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse ! 
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > > 
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > > 
> > > >>
> > > 
> > > >> Thanks,
> > > 
> > > >> Jake
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: Stiffler, Jacob
> > > 
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > > 
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > > 
> > > >>
> > > 
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > > 
> > > >>
> > > 
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > > 
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > > 
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > > 
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > > 
> > > >> make[3]: *** [all-recursive] Error 1
> > > 
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > > 
> > > >> make[2]: *** [all-recursive] Error 1
> > > 
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > > 
> > > >> make[1]: *** [all-recursive] Error 1
> > > 
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > > 
> > > >> make: *** [all] Error 2
> > > 
> > > >> ERROR: oe_runmake failed
> > > 
> > > >>
> > > 
> > > >> - Jake
> > > 
> > > >>
> > > 
> > > >> -----Original Message-----
> > > 
> > > >> From: 
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
> > > >> ar ago-project.org>
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
> > > >> Dmytriyenko, Denys
> > > 
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > > 
> > > >> To: 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > > 
> > > >>
> > > 
> > > >> Karthik,
> > > 
> > > >>
> > > 
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > > 
> > > >>
> > > 
> > > >> --
> > > 
> > > >> Denys
> > > 
> > > >>
> > > 
> > > >>
> > > 
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > > 
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>>
> > > 
> > > >>> Signed-off-by: Denys Dmytriyenko 
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > > 
> > > >>> ---
> > > 
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > > 
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > > 
> > > >>>
> > > 
> > > >>> diff --git
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> index b1cacac..bd141a8 100644
> > > 
> > > >>> ---
> > > 
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > > 
> > > >>> bad_1.2.3.bbappend
> > > 
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > > 
> > > >>> +++ ins-bad_1.2.3.bbappend
> > > 
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > > 
> > > >>>
> > > 
> > > >>> PACKAGECONFIG = "faad wayland"
> > > 
> > > >>>
> > > 
> > > >>> +DEPENDS += "libdrm libdce"
> > > 
> > > >>> +
> > > 
> > > >>> SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > > 
> > > >>>        
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
> > > >>> il
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > > 
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > > 
> > > >>>        
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > > 
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > > 
> > > >>>
> > > 
> > > >>> -PR_append = "-arago0"
> > > 
> > > >>> +PR_append = "-arago1"
> > > 
> > > >>> --
> > > 
> > > >>> 2.2.0
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > >> _______________________________________________
> > > 
> > > >> meta-arago mailing list
> > > 
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > > 
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > 
> > > _______________________________________________
> > > 
> > > meta-arago mailing list
> > > 
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > 
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > 
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
       [not found]                           ` <05CF4794C98B244ABDC620C10903762272FB5D53@DBDE04.ent.ti.com>
@ 2015-03-24 18:23                             ` Stiffler, Jacob
  2015-03-24 18:47                               ` Cooper Jr., Franklin
  0 siblings, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-24 18:23 UTC (permalink / raw)
  To: Balagopalakrishnan, Anand, Dmytriyenko, Denys, R, Karthik
  Cc: meta-arago, Cooper Jr., Franklin

Karthik,

Is this libdrm_omap an unconditional dependency for all platforms?

Thanks,
Jake 

-----Original Message-----
From: Balagopalakrishnan, Anand 
Sent: Tuesday, March 24, 2015 12:53 PM
To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

+Karthik

Jake,

We definitely have a dependency on DRM/DCE for J6/AM5. 

Karthik can add more.

Regards,
Anand
________________________________________
From: Stiffler, Jacob
Sent: Tuesday, March 24, 2015 8:27 PM
To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Anand,

Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?



Denys,

By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.

However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...


- Jake



-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 7:05 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
>
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
> lesystem/tisdk-rootfs$ cd
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
>
>
>
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
>
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> DEPENDS on libdrm and libdce due to KMSsink
>
> Jake,
>
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>
>
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
> > -DHAVE_CONFIG_H -I. -I../../..
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> > -Wredundant-decls -Wwrite-strings -Wformat-security 
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> > -Wno-multichar -Wnested-externs 
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> > gstdrmbufferpool.c  -fPIC -DPIC -o 
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > DEPENDS on libdrm and libdce due to KMSsink
> >
> > AM3 builds fine here...
> >
> >
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > >
> > >
> > >
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > >
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > >
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > >
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > >
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > >
> > >
> > >
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > >
> > >
> > >
> > > In addition to above,
> > >
> > > 5.       kmssink is missing from AM57x file system.
> > >
> > >
> > >
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > >
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vivek
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > >
> > >
> > > Well that's not good.
> > >
> > >
> > >
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > >
> > > >
> > >
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: Cooper Jr., Franklin
> > >
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > >
> > > > To: Stiffler, Jacob
> > >
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
> > > > >
> > >
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > >
> > > >>
> > >
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > >
> > > >>
> > >
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > >
> > > >>
> > >
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > >
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > >
> > > >>
> > >
> > > >> Thanks,
> > >
> > > >> Jake
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From: Stiffler, Jacob
> > >
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > >
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > >
> > > >>
> > >
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > >
> > > >>
> > >
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > >
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > >
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > >
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > >
> > > >> make[3]: *** [all-recursive] Error 1
> > >
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > >
> > > >> make[2]: *** [all-recursive] Error 1
> > >
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > >
> > > >> make[1]: *** [all-recursive] Error 1
> > >
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > >
> > > >> make: *** [all] Error 2
> > >
> > > >> ERROR: oe_runmake failed
> > >
> > > >>
> > >
> > > >> - Jake
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From:
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
> > > >> ar ago-project.org>
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
> > > >> Dmytriyenko, Denys
> > >
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > >
> > > >> To:
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> Karthik,
> > >
> > > >>
> > >
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > >
> > > >>
> > >
> > > >> --
> > >
> > > >> Denys
> > >
> > > >>
> > >
> > > >>
> > >
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > >
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>>
> > >
> > > >>> Signed-off-by: Denys Dmytriyenko 
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>> ---
> > >
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > >
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > >>>
> > >
> > > >>> diff --git
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> index b1cacac..bd141a8 100644
> > >
> > > >>> ---
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > >
> > > >>> +++ ins-bad_1.2.3.bbappend
> > >
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > >
> > > >>>
> > >
> > > >>> PACKAGECONFIG = "faad wayland"
> > >
> > > >>>
> > >
> > > >>> +DEPENDS += "libdrm libdce"
> > >
> > > >>> +
> > >
> > > >>> SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > >
> > > >>>
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
> > > >>> il
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > >
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > >
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > >
> > > >>>
> > >
> > > >>> -PR_append = "-arago0"
> > >
> > > >>> +PR_append = "-arago1"
> > >
> > > >>> --
> > >
> > > >>> 2.2.0
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > _______________________________________________
> > >
> > > meta-arago mailing list
> > >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 18:23                             ` Stiffler, Jacob
@ 2015-03-24 18:47                               ` Cooper Jr., Franklin
  2015-03-24 18:53                                 ` Denys Dmytriyenko
  0 siblings, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-24 18:47 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

I would re iterate that omap dss is only meant for devices with dss. Which doesn't include am335x

So these patches should only be applied to devices with the dss. So I'm not sure why a simple patch that will do this isn't being done instead of trying to figure out why these builds are failing


> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
> 
> Karthik,
> 
> Is this libdrm_omap an unconditional dependency for all platforms?
> 
> Thanks,
> Jake 
> 
> -----Original Message-----
> From: Balagopalakrishnan, Anand 
> Sent: Tuesday, March 24, 2015 12:53 PM
> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> +Karthik
> 
> Jake,
> 
> We definitely have a dependency on DRM/DCE for J6/AM5. 
> 
> Karthik can add more.
> 
> Regards,
> Anand
> ________________________________________
> From: Stiffler, Jacob
> Sent: Tuesday, March 24, 2015 8:27 PM
> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> Anand,
> 
> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
> 
> 
> 
> Denys,
> 
> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
> 
> However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...
> 
> 
> - Jake
> 
> 
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> Sent: Monday, March 23, 2015 7:05 AM
> To: Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> Denys,
> 
> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
> 
> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
> 
> 
> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
> 
> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
> 
> 
> - Jake
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 5:01 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> 
> have you tried bitbake libdrm -c cleansstate?
> 
>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>> Sorry, I just double checked the filesystems:
>> 
>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>> ./var/lib/opkg/info/libdrm-tests.control
>> ./var/lib/opkg/info/libdrm-tests.list
>> ./var/lib/opkg/info/libdrm2.list
>> ./var/lib/opkg/info/libdrm2.control
>> ./var/lib/opkg/info/libdrm2.postinst
>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>> lesystem/tisdk-rootfs$ cd
>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>> k-rootfs/ jake@mcsdk-hpc-test:~
>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>> ./var/lib/opkg/info/libdrm-tests.control
>> ./var/lib/opkg/info/libdrm-omap1.postinst
>> ./var/lib/opkg/info/libdrm-tests.list
>> ./var/lib/opkg/info/libdrm2.list
>> ./var/lib/opkg/info/libdrm2.control
>> ./var/lib/opkg/info/libdrm-omap1.control
>> ./var/lib/opkg/info/libdrm2.postinst
>> ./var/lib/opkg/info/libdrm-omap1.list
>> 
>> 
>> 
>> -----Original Message-----
>> From: Stiffler, Jacob
>> Sent: Friday, March 20, 2015 2:39 PM
>> To: Dmytriyenko, Denys
>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>> DEPENDS on libdrm and libdce due to KMSsink
>> 
>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>> 
>> 
>> -----Original Message-----
>> From: Dmytriyenko, Denys
>> Sent: Friday, March 20, 2015 2:37 PM
>> To: Stiffler, Jacob
>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>> DEPENDS on libdrm and libdce due to KMSsink
>> 
>> Jake,
>> 
>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>> 
>> 
>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>> -mtune=cortex-a8
>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
>>> -DHAVE_CONFIG_H -I. -I../../..
>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>> li
>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>> li
>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>> -DGST_USE_UNSTABLE_API -pthread
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>> li
>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>> e/
>>> glib-2.0
>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
>>> -Wredundant-decls -Wwrite-strings -Wformat-security 
>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
>>> -Wno-multichar -Wnested-externs 
>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
>>> gstdrmbufferpool.c  -fPIC -DPIC -o 
>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>> In file included from gstdrmbufferpool.c:42:0:
>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
>>> directory compilation terminated.
>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>> make: *** [all] Error 2
>>> ERROR: oe_runmake failed
>>> 
>>> -----Original Message-----
>>> From: Dmytriyenko, Denys
>>> Sent: Friday, March 20, 2015 2:23 PM
>>> To: Chengalvala, Vivek
>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>> DEPENDS on libdrm and libdce due to KMSsink
>>> 
>>> AM3 builds fine here...
>>> 
>>> 
>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>> Karthik, Anand, Denys,
>>>> 
>>>> 
>>>> 
>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>> 
>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>> 
>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>> 
>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>> 
>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>> 
>>>> 
>>>> 
>>>> All the above issues are not present with gst-0.10.
>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>> 
>>>> 
>>>> 
>>>> In addition to above,
>>>> 
>>>> 5.       kmssink is missing from AM57x file system.
>>>> 
>>>> 
>>>> 
>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>> 
>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>> 
>>>> 
>>>> 
>>>> Thanks,
>>>> 
>>>> Vivek
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: meta-arago-bounces@arago-project.org
>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
>>>> Jr., Franklin
>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>> To: Stiffler, Jacob
>>>> Cc: meta-arago@arago-project.org
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> 
>>>> 
>>>> Well that's not good.
>>>> 
>>>> 
>>>> 
>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>> 
>>>> 
>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>> 
>>>> 
>>>>> -----Original Message-----
>>>> 
>>>>> From: Cooper Jr., Franklin
>>>> 
>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>> 
>>>>> To: Stiffler, Jacob
>>>> 
>>>>> Cc: Dmytriyenko, Denys;
>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
>>>> 
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>> 
>>>> 
>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>> 
>>>> 
>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>> 
>>>> 
>>>>>>  gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>> 
>>>> 
>>>> 
>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>> 
>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>> 
>>>> 
>>>>>> Thanks,
>>>> 
>>>>>> Jake
>>>> 
>>>> 
>>>> 
>>>>>> -----Original Message-----
>>>> 
>>>>>> From: Stiffler, Jacob
>>>> 
>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>> 
>>>>>> To: Dmytriyenko, Denys;
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>> g>
>>>> 
>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> 
>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>> 
>>>> 
>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>> 
>>>> 
>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>> 
>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>> 
>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>> 
>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>> 
>>>>>> make[3]: *** [all-recursive] Error 1
>>>> 
>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>> 
>>>>>> make[2]: *** [all-recursive] Error 1
>>>> 
>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>> 
>>>>>> make[1]: *** [all-recursive] Error 1
>>>> 
>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>> 
>>>>>> make: *** [all] Error 2
>>>> 
>>>>>> ERROR: oe_runmake failed
>>>> 
>>>> 
>>>>>> - Jake
>>>> 
>>>> 
>>>>>> -----Original Message-----
>>>> 
>>>>>> From:
>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
>>>>>> ar ago-project.org>
>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
>>>>>> Dmytriyenko, Denys
>>>> 
>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>> 
>>>>>> To:
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>> g>
>>>> 
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> 
>>>>>> Karthik,
>>>> 
>>>> 
>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>> 
>>>> 
>>>>>> --
>>>> 
>>>>>> Denys
>>>> 
>>>> 
>>>> 
>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>> 
>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
>>>> 
>>>> 
>>>>>>> Signed-off-by: Denys Dmytriyenko 
>>>>>>> <denys@ti.com<mailto:denys@ti.com>>
>>>> 
>>>>>>> ---
>>>> 
>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>> 
>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>> 
>>>> 
>>>>>>> diff --git
>>>> 
>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>> pl
>>>>>>> ugins-
>>>> 
>>>>>>> bad_1.2.3.bbappend
>>>> 
>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>> pl
>>>>>>> ugins-
>>>> 
>>>>>>> bad_1.2.3.bbappend
>>>> 
>>>>>>> index b1cacac..bd141a8 100644
>>>> 
>>>>>>> ---
>>>> 
>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>> pl
>>>>>>> ugins-
>>>> 
>>>>>>> bad_1.2.3.bbappend
>>>> 
>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>> +++ 0-plug
>>>> 
>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>> 
>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>> 
>>>> 
>>>>>>> PACKAGECONFIG = "faad wayland"
>>>> 
>>>> 
>>>>>>> +DEPENDS += "libdrm libdce"
>>>> 
>>>>>>> +
>>>> 
>>>>>>> SRC_URI_append = " \
>>>> 
>>>>>>> 
>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>> 
>>>>>>> 
>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>>>>>>> il
>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>> 
>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>> 
>>>>>>> 
>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>> 
>>>>>>>       file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>>>> 
>>>> 
>>>>>>> -PR_append = "-arago0"
>>>> 
>>>>>>> +PR_append = "-arago1"
>>>> 
>>>>>>> --
>>>> 
>>>>>>> 2.2.0
>>>> 
>>>>>> _______________________________________________
>>>> 
>>>>>> meta-arago mailing list
>>>> 
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>> g>
>>>> 
>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> 
>>>>>> _______________________________________________
>>>> 
>>>>>> meta-arago mailing list
>>>> 
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>> g>
>>>> 
>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> 
>>>> _______________________________________________
>>>> 
>>>> meta-arago mailing list
>>>> 
>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>> 
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>> 
>>>> _______________________________________________
>>>> meta-arago mailing list
>>>> meta-arago@arago-project.org
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 18:47                               ` Cooper Jr., Franklin
@ 2015-03-24 18:53                                 ` Denys Dmytriyenko
  2015-03-24 19:00                                   ` Cooper Jr., Franklin
  0 siblings, 1 reply; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-24 18:53 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

Could you be more specific - which patches are you talking about?

On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
> I would re iterate that omap dss is only meant for devices with dss. Which 
> doesn't include am335x
> 
> So these patches should only be applied to devices with the dss. So I'm not 
> sure why a simple patch that will do this isn't being done instead of trying 
> to figure out why these builds are failing
> 
> 
> > On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
> > 
> > Karthik,
> > 
> > Is this libdrm_omap an unconditional dependency for all platforms?
> > 
> > Thanks,
> > Jake 
> > 
> > -----Original Message-----
> > From: Balagopalakrishnan, Anand 
> > Sent: Tuesday, March 24, 2015 12:53 PM
> > To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
> > Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > +Karthik
> > 
> > Jake,
> > 
> > We definitely have a dependency on DRM/DCE for J6/AM5. 
> > 
> > Karthik can add more.
> > 
> > Regards,
> > Anand
> > ________________________________________
> > From: Stiffler, Jacob
> > Sent: Tuesday, March 24, 2015 8:27 PM
> > To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
> > Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
> > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > Anand,
> > 
> > Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
> > 
> > 
> > 
> > Denys,
> > 
> > By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
> > 
> > However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...
> > 
> > 
> > - Jake
> > 
> > 
> > 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> > Sent: Monday, March 23, 2015 7:05 AM
> > To: Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > Denys,
> > 
> > These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
> > 
> > One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
> > 
> > 
> > I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
> > 
> > jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
> > ./var/lib/opkg/info/libdrm-tests.control
> > ./var/lib/opkg/info/libdrm-omap1.postinst
> > ./var/lib/opkg/info/libdrm-tests.list
> > ./var/lib/opkg/info/libdrm2.list
> > ./var/lib/opkg/info/libdrm2.control
> > ./var/lib/opkg/info/libdrm-omap1.control
> > ./var/lib/opkg/info/libdrm2.postinst
> > ./var/lib/opkg/info/libdrm-omap1.list
> > 
> > 
> > - Jake
> > 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 5:01 PM
> > To: Stiffler, Jacob
> > Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
> > 
> > have you tried bitbake libdrm -c cleansstate?
> > 
> >> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> >> Sorry, I just double checked the filesystems:
> >> 
> >> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> >> ./var/lib/opkg/info/libdrm-tests.control
> >> ./var/lib/opkg/info/libdrm-tests.list
> >> ./var/lib/opkg/info/libdrm2.list
> >> ./var/lib/opkg/info/libdrm2.control
> >> ./var/lib/opkg/info/libdrm2.postinst
> >> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
> >> lesystem/tisdk-rootfs$ cd
> >> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> >> k-rootfs/ jake@mcsdk-hpc-test:~
> >> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> >> ./var/lib/opkg/info/libdrm-tests.control
> >> ./var/lib/opkg/info/libdrm-omap1.postinst
> >> ./var/lib/opkg/info/libdrm-tests.list
> >> ./var/lib/opkg/info/libdrm2.list
> >> ./var/lib/opkg/info/libdrm2.control
> >> ./var/lib/opkg/info/libdrm-omap1.control
> >> ./var/lib/opkg/info/libdrm2.postinst
> >> ./var/lib/opkg/info/libdrm-omap1.list
> >> 
> >> 
> >> 
> >> -----Original Message-----
> >> From: Stiffler, Jacob
> >> Sent: Friday, March 20, 2015 2:39 PM
> >> To: Dmytriyenko, Denys
> >> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> >> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >> DEPENDS on libdrm and libdce due to KMSsink
> >> 
> >> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
> >> 
> >> 
> >> -----Original Message-----
> >> From: Dmytriyenko, Denys
> >> Sent: Friday, March 20, 2015 2:37 PM
> >> To: Stiffler, Jacob
> >> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
> >> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >> DEPENDS on libdrm and libdce due to KMSsink
> >> 
> >> Jake,
> >> 
> >> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
> >> 
> >> 
> >>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> >>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
> >>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> >>> -mtune=cortex-a8
> >>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> >>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
> >>> -DHAVE_CONFIG_H -I. -I../../..
> >>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> >>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> >>> li
> >>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> >>> li
> >>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> >>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> >>> -DGST_USE_UNSTABLE_API -pthread
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> >>> li
> >>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> >>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> >>> e/
> >>> glib-2.0
> >>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> >>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> >>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
> >>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
> >>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
> >>> -Wredundant-decls -Wwrite-strings -Wformat-security 
> >>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
> >>> -Wno-multichar -Wnested-externs 
> >>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> >>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
> >>> gstdrmbufferpool.c  -fPIC -DPIC -o 
> >>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> >>> In file included from gstdrmbufferpool.c:42:0:
> >>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
> >>> directory compilation terminated.
> >>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> >>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> >>> make[3]: *** [all-recursive] Error 1
> >>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> >>> make[2]: *** [all-recursive] Error 1
> >>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> >>> make: *** [all] Error 2
> >>> ERROR: oe_runmake failed
> >>> 
> >>> -----Original Message-----
> >>> From: Dmytriyenko, Denys
> >>> Sent: Friday, March 20, 2015 2:23 PM
> >>> To: Chengalvala, Vivek
> >>> Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
> >>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> >>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >>> DEPENDS on libdrm and libdce due to KMSsink
> >>> 
> >>> AM3 builds fine here...
> >>> 
> >>> 
> >>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> >>>> Karthik, Anand, Denys,
> >>>> 
> >>>> 
> >>>> 
> >>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> >>>> 
> >>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> >>>> 
> >>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> >>>> 
> >>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> >>>> 
> >>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> >>>> 
> >>>> 
> >>>> 
> >>>> All the above issues are not present with gst-0.10.
> >>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> >>>> 
> >>>> 
> >>>> 
> >>>> In addition to above,
> >>>> 
> >>>> 5.       kmssink is missing from AM57x file system.
> >>>> 
> >>>> 
> >>>> 
> >>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> >>>> 
> >>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> >>>> 
> >>>> 
> >>>> 
> >>>> Thanks,
> >>>> 
> >>>> Vivek
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>> -----Original Message-----
> >>>> From: meta-arago-bounces@arago-project.org
> >>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
> >>>> Jr., Franklin
> >>>> Sent: Friday, March 20, 2015 9:58 AM
> >>>> To: Stiffler, Jacob
> >>>> Cc: meta-arago@arago-project.org
> >>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >>>> DEPENDS on libdrm and libdce due to KMSsink
> >>>> 
> >>>> 
> >>>> 
> >>>> Well that's not good.
> >>>> 
> >>>> 
> >>>> 
> >>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> >>>>> 
> >>>> 
> >>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> >>>> 
> >>>> 
> >>>>> -----Original Message-----
> >>>> 
> >>>>> From: Cooper Jr., Franklin
> >>>> 
> >>>>> Sent: Friday, March 20, 2015 9:34 AM
> >>>> 
> >>>>> To: Stiffler, Jacob
> >>>> 
> >>>>> Cc: Dmytriyenko, Denys;
> >>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
> >>>> 
> >>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >>>>> DEPENDS on libdrm and libdce due to KMSsink
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> >>>> 
> >>>> 
> >>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> >>>> 
> >>>> 
> >>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> >>>> 
> >>>> 
> >>>>>>  gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> >>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> >>>> 
> >>>> 
> >>>> 
> >>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> >>>> 
> >>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> >>>> 
> >>>> 
> >>>>>> Thanks,
> >>>> 
> >>>>>> Jake
> >>>> 
> >>>> 
> >>>> 
> >>>>>> -----Original Message-----
> >>>> 
> >>>>>> From: Stiffler, Jacob
> >>>> 
> >>>>>> Sent: Friday, March 20, 2015 6:56 AM
> >>>> 
> >>>>>> To: Dmytriyenko, Denys;
> >>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> >>>>>> g>
> >>>> 
> >>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >>>>>> DEPENDS on libdrm and libdce due to KMSsink
> >>>> 
> >>>> 
> >>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> >>>> 
> >>>> 
> >>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> >>>> 
> >>>> 
> >>>>>> In file included from gstdrmbufferpool.c:42:0:
> >>>> 
> >>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> >>>> 
> >>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> >>>> 
> >>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> >>>> 
> >>>>>> make[3]: *** [all-recursive] Error 1
> >>>> 
> >>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> >>>> 
> >>>>>> make[2]: *** [all-recursive] Error 1
> >>>> 
> >>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> >>>> 
> >>>>>> make[1]: *** [all-recursive] Error 1
> >>>> 
> >>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> >>>> 
> >>>>>> make: *** [all] Error 2
> >>>> 
> >>>>>> ERROR: oe_runmake failed
> >>>> 
> >>>> 
> >>>>>> - Jake
> >>>> 
> >>>> 
> >>>>>> -----Original Message-----
> >>>> 
> >>>>>> From:
> >>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
> >>>>>> ar ago-project.org>
> >>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
> >>>>>> Dmytriyenko, Denys
> >>>> 
> >>>>>> Sent: Thursday, March 19, 2015 6:37 PM
> >>>> 
> >>>>>> To:
> >>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> >>>>>> g>
> >>>> 
> >>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
> >>>>>> DEPENDS on libdrm and libdce due to KMSsink
> >>>> 
> >>>> 
> >>>>>> Karthik,
> >>>> 
> >>>> 
> >>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> >>>> 
> >>>> 
> >>>>>> --
> >>>> 
> >>>>>> Denys
> >>>> 
> >>>> 
> >>>> 
> >>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> >>>> 
> >>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> >>>> 
> >>>> 
> >>>>>>> Signed-off-by: Denys Dmytriyenko 
> >>>>>>> <denys@ti.com<mailto:denys@ti.com>>
> >>>> 
> >>>>>>> ---
> >>>> 
> >>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> >>>> 
> >>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
> >>>> 
> >>>> 
> >>>>>>> diff --git
> >>>> 
> >>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> >>>>>>> pl
> >>>>>>> ugins-
> >>>> 
> >>>>>>> bad_1.2.3.bbappend
> >>>> 
> >>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> >>>>>>> pl
> >>>>>>> ugins-
> >>>> 
> >>>>>>> bad_1.2.3.bbappend
> >>>> 
> >>>>>>> index b1cacac..bd141a8 100644
> >>>> 
> >>>>>>> ---
> >>>> 
> >>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> >>>>>>> pl
> >>>>>>> ugins-
> >>>> 
> >>>>>>> bad_1.2.3.bbappend
> >>>> 
> >>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> >>>>>>> +++ 0-plug
> >>>> 
> >>>>>>> +++ ins-bad_1.2.3.bbappend
> >>>> 
> >>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >>>> 
> >>>> 
> >>>>>>> PACKAGECONFIG = "faad wayland"
> >>>> 
> >>>> 
> >>>>>>> +DEPENDS += "libdrm libdce"
> >>>> 
> >>>>>>> +
> >>>> 
> >>>>>>> SRC_URI_append = " \
> >>>> 
> >>>>>>> 
> >>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
> >>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
> >>>> 
> >>>>>>> 
> >>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
> >>>>>>> il
> >>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> >>>> 
> >>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> >>>> 
> >>>>>>> 
> >>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
> >>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> >>>> 
> >>>>>>>       file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> >>>> 
> >>>> 
> >>>>>>> -PR_append = "-arago0"
> >>>> 
> >>>>>>> +PR_append = "-arago1"
> >>>> 
> >>>>>>> --
> >>>> 
> >>>>>>> 2.2.0
> >>>> 
> >>>>>> _______________________________________________
> >>>> 
> >>>>>> meta-arago mailing list
> >>>> 
> >>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> >>>>>> g>
> >>>> 
> >>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >>>> 
> >>>>>> _______________________________________________
> >>>> 
> >>>>>> meta-arago mailing list
> >>>> 
> >>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> >>>>>> g>
> >>>> 
> >>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >>>> 
> >>>> _______________________________________________
> >>>> 
> >>>> meta-arago mailing list
> >>>> 
> >>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> >>>> 
> >>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >>> 
> >>>> _______________________________________________
> >>>> meta-arago mailing list
> >>>> meta-arago@arago-project.org
> >>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 18:53                                 ` Denys Dmytriyenko
@ 2015-03-24 19:00                                   ` Cooper Jr., Franklin
  2015-03-24 19:08                                     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-24 19:00 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

Unless I'm missing something all the patches applied locally to gst 1.0 bad.

http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend;h=b1cacac6f5d700a5a40318ea8eb73e707578916b;hb=refs/heads/master#l6




> On Mar 24, 2015, at 1:53 PM, Dmytriyenko, Denys <denys@ti.com> wrote:
> 
> Could you be more specific - which patches are you talking about?
> 
>> On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
>> I would re iterate that omap dss is only meant for devices with dss. Which 
>> doesn't include am335x
>> 
>> So these patches should only be applied to devices with the dss. So I'm not 
>> sure why a simple patch that will do this isn't being done instead of trying 
>> to figure out why these builds are failing
>> 
>> 
>>> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
>>> 
>>> Karthik,
>>> 
>>> Is this libdrm_omap an unconditional dependency for all platforms?
>>> 
>>> Thanks,
>>> Jake 
>>> 
>>> -----Original Message-----
>>> From: Balagopalakrishnan, Anand 
>>> Sent: Tuesday, March 24, 2015 12:53 PM
>>> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>> 
>>> +Karthik
>>> 
>>> Jake,
>>> 
>>> We definitely have a dependency on DRM/DCE for J6/AM5. 
>>> 
>>> Karthik can add more.
>>> 
>>> Regards,
>>> Anand
>>> ________________________________________
>>> From: Stiffler, Jacob
>>> Sent: Tuesday, March 24, 2015 8:27 PM
>>> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>> 
>>> Anand,
>>> 
>>> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
>>> 
>>> 
>>> 
>>> Denys,
>>> 
>>> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
>>> 
>>> However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...
>>> 
>>> 
>>> - Jake
>>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>>> Sent: Monday, March 23, 2015 7:05 AM
>>> To: Dmytriyenko, Denys
>>> Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>> 
>>> Denys,
>>> 
>>> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
>>> 
>>> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
>>> 
>>> 
>>> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
>>> 
>>> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
>>> ./var/lib/opkg/info/libdrm-tests.control
>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>> ./var/lib/opkg/info/libdrm-tests.list
>>> ./var/lib/opkg/info/libdrm2.list
>>> ./var/lib/opkg/info/libdrm2.control
>>> ./var/lib/opkg/info/libdrm-omap1.control
>>> ./var/lib/opkg/info/libdrm2.postinst
>>> ./var/lib/opkg/info/libdrm-omap1.list
>>> 
>>> 
>>> - Jake
>>> 
>>> -----Original Message-----
>>> From: Dmytriyenko, Denys
>>> Sent: Friday, March 20, 2015 5:01 PM
>>> To: Stiffler, Jacob
>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>> 
>>> have you tried bitbake libdrm -c cleansstate?
>>> 
>>>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>>>> Sorry, I just double checked the filesystems:
>>>> 
>>>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>>>> lesystem/tisdk-rootfs$ cd
>>>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>>>> k-rootfs/ jake@mcsdk-hpc-test:~
>>>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: Stiffler, Jacob
>>>> Sent: Friday, March 20, 2015 2:39 PM
>>>> To: Dmytriyenko, Denys
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Friday, March 20, 2015 2:37 PM
>>>> To: Stiffler, Jacob
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> Jake,
>>>> 
>>>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>>>> 
>>>> 
>>>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
>>>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>>>> -mtune=cortex-a8
>>>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
>>>>> -DHAVE_CONFIG_H -I. -I../../..
>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>> li
>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>> li
>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>> -DGST_USE_UNSTABLE_API -pthread
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>> li
>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>>>> e/
>>>>> glib-2.0
>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
>>>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
>>>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
>>>>> -Wredundant-decls -Wwrite-strings -Wformat-security 
>>>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
>>>>> -Wno-multichar -Wnested-externs 
>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
>>>>> gstdrmbufferpool.c  -fPIC -DPIC -o 
>>>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
>>>>> directory compilation terminated.
>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>> make[3]: *** [all-recursive] Error 1
>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>> make: *** [all] Error 2
>>>>> ERROR: oe_runmake failed
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Dmytriyenko, Denys
>>>>> Sent: Friday, March 20, 2015 2:23 PM
>>>>> To: Chengalvala, Vivek
>>>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>> 
>>>>> AM3 builds fine here...
>>>>> 
>>>>> 
>>>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>>>> Karthik, Anand, Denys,
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>>>> 
>>>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>>>> 
>>>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>>>> 
>>>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>>>> 
>>>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> All the above issues are not present with gst-0.10.
>>>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> In addition to above,
>>>>>> 
>>>>>> 5.       kmssink is missing from AM57x file system.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>>>> 
>>>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Vivek
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: meta-arago-bounces@arago-project.org
>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
>>>>>> Jr., Franklin
>>>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>>>> To: Stiffler, Jacob
>>>>>> Cc: meta-arago@arago-project.org
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Well that's not good.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>> 
>>>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>>>> 
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>> 
>>>>>>> From: Cooper Jr., Franklin
>>>>>> 
>>>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>>>> 
>>>>>>> To: Stiffler, Jacob
>>>>>> 
>>>>>>> Cc: Dmytriyenko, Denys;
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
>>>>>> 
>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>> 
>>>>>> 
>>>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>>>> 
>>>>>> 
>>>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>>>> 
>>>>>> 
>>>>>>>> gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>>>> 
>>>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>>>> 
>>>>>> 
>>>>>>>> Thanks,
>>>>>> 
>>>>>>>> Jake
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>> 
>>>>>>>> From: Stiffler, Jacob
>>>>>> 
>>>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>>>> 
>>>>>>>> To: Dmytriyenko, Denys;
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>> g>
>>>>>> 
>>>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>> 
>>>>>> 
>>>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>>>> 
>>>>>> 
>>>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>>>> 
>>>>>> 
>>>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>> 
>>>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>>>> 
>>>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>> 
>>>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>> 
>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> 
>>>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>> 
>>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> 
>>>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>> 
>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> 
>>>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>> 
>>>>>>>> make: *** [all] Error 2
>>>>>> 
>>>>>>>> ERROR: oe_runmake failed
>>>>>> 
>>>>>> 
>>>>>>>> - Jake
>>>>>> 
>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>> 
>>>>>>>> From:
>>>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
>>>>>>>> ar ago-project.org>
>>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
>>>>>>>> Dmytriyenko, Denys
>>>>>> 
>>>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>>>> 
>>>>>>>> To:
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>> g>
>>>>>> 
>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>> 
>>>>>> 
>>>>>>>> Karthik,
>>>>>> 
>>>>>> 
>>>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>>>> 
>>>>>> 
>>>>>>>> --
>>>>>> 
>>>>>>>> Denys
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>>>> 
>>>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
>>>>>> 
>>>>>> 
>>>>>>>>> Signed-off-by: Denys Dmytriyenko 
>>>>>>>>> <denys@ti.com<mailto:denys@ti.com>>
>>>>>> 
>>>>>>>>> ---
>>>>>> 
>>>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>>>> 
>>>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>>>> 
>>>>>> 
>>>>>>>>> diff --git
>>>>>> 
>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>> pl
>>>>>>>>> ugins-
>>>>>> 
>>>>>>>>> bad_1.2.3.bbappend
>>>>>> 
>>>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>> pl
>>>>>>>>> ugins-
>>>>>> 
>>>>>>>>> bad_1.2.3.bbappend
>>>>>> 
>>>>>>>>> index b1cacac..bd141a8 100644
>>>>>> 
>>>>>>>>> ---
>>>>>> 
>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>> pl
>>>>>>>>> ugins-
>>>>>> 
>>>>>>>>> bad_1.2.3.bbappend
>>>>>> 
>>>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>>>> +++ 0-plug
>>>>>> 
>>>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>>>> 
>>>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>>>> 
>>>>>> 
>>>>>>>>> PACKAGECONFIG = "faad wayland"
>>>>>> 
>>>>>> 
>>>>>>>>> +DEPENDS += "libdrm libdce"
>>>>>> 
>>>>>>>>> +
>>>>>> 
>>>>>>>>> SRC_URI_append = " \
>>>>>> 
>>>>>>>>> 
>>>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>>>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>>>> 
>>>>>>>>> 
>>>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>>>>>>>>> il
>>>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>>>> 
>>>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>>>> 
>>>>>>>>> 
>>>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>>>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>>>> 
>>>>>>>>>      file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>>>>>> 
>>>>>> 
>>>>>>>>> -PR_append = "-arago0"
>>>>>> 
>>>>>>>>> +PR_append = "-arago1"
>>>>>> 
>>>>>>>>> --
>>>>>> 
>>>>>>>>> 2.2.0
>>>>>> 
>>>>>>>> _______________________________________________
>>>>>> 
>>>>>>>> meta-arago mailing list
>>>>>> 
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>> g>
>>>>>> 
>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>> 
>>>>>>>> _______________________________________________
>>>>>> 
>>>>>>>> meta-arago mailing list
>>>>>> 
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>> g>
>>>>>> 
>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 
>>>>>> meta-arago mailing list
>>>>>> 
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>> 
>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>> 
>>>>>> _______________________________________________
>>>>>> meta-arago mailing list
>>>>>> meta-arago@arago-project.org
>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>> _______________________________________________
>>> meta-arago mailing list
>>> meta-arago@arago-project.org
>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 19:00                                   ` Cooper Jr., Franklin
@ 2015-03-24 19:08                                     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-24 19:08 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

The buffer pool patch even has a comment that talks about in the future remove the dependency on libdrm_omap.

It is interesting that from looking at the configure related patches a lot of these new features or changes are related to kms which is only enabled when libdrm_omap is found.






> On Mar 24, 2015, at 2:00 PM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
> 
> Unless I'm missing something all the patches applied locally to gst 1.0 bad.
> 
> http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend;h=b1cacac6f5d700a5a40318ea8eb73e707578916b;hb=refs/heads/master#l6
> 
> 
> 
> 
>> On Mar 24, 2015, at 1:53 PM, Dmytriyenko, Denys <denys@ti.com> wrote:
>> 
>> Could you be more specific - which patches are you talking about?
>> 
>>> On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
>>> I would re iterate that omap dss is only meant for devices with dss. Which 
>>> doesn't include am335x
>>> 
>>> So these patches should only be applied to devices with the dss. So I'm not 
>>> sure why a simple patch that will do this isn't being done instead of trying 
>>> to figure out why these builds are failing
>>> 
>>> 
>>>> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
>>>> 
>>>> Karthik,
>>>> 
>>>> Is this libdrm_omap an unconditional dependency for all platforms?
>>>> 
>>>> Thanks,
>>>> Jake 
>>>> 
>>>> -----Original Message-----
>>>> From: Balagopalakrishnan, Anand 
>>>> Sent: Tuesday, March 24, 2015 12:53 PM
>>>> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
>>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> +Karthik
>>>> 
>>>> Jake,
>>>> 
>>>> We definitely have a dependency on DRM/DCE for J6/AM5. 
>>>> 
>>>> Karthik can add more.
>>>> 
>>>> Regards,
>>>> Anand
>>>> ________________________________________
>>>> From: Stiffler, Jacob
>>>> Sent: Tuesday, March 24, 2015 8:27 PM
>>>> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
>>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> Anand,
>>>> 
>>>> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
>>>> 
>>>> 
>>>> 
>>>> Denys,
>>>> 
>>>> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
>>>> 
>>>> However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...
>>>> 
>>>> 
>>>> - Jake
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>>>> Sent: Monday, March 23, 2015 7:05 AM
>>>> To: Dmytriyenko, Denys
>>>> Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> Denys,
>>>> 
>>>> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
>>>> 
>>>> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
>>>> 
>>>> 
>>>> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
>>>> 
>>>> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>> 
>>>> 
>>>> - Jake
>>>> 
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Friday, March 20, 2015 5:01 PM
>>>> To: Stiffler, Jacob
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>> 
>>>> have you tried bitbake libdrm -c cleansstate?
>>>> 
>>>>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>>>>> Sorry, I just double checked the filesystems:
>>>>> 
>>>>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>>>>> lesystem/tisdk-rootfs$ cd
>>>>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>>>>> k-rootfs/ jake@mcsdk-hpc-test:~
>>>>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>> 
>>>>> 
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Stiffler, Jacob
>>>>> Sent: Friday, March 20, 2015 2:39 PM
>>>>> To: Dmytriyenko, Denys
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>> 
>>>>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>>>>> 
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Dmytriyenko, Denys
>>>>> Sent: Friday, March 20, 2015 2:37 PM
>>>>> To: Stiffler, Jacob
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; 
>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>> 
>>>>> Jake,
>>>>> 
>>>>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>>>>> 
>>>>> 
>>>>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>>>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc 
>>>>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>>>>> -mtune=cortex-a8
>>>>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>>>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99 
>>>>>> -DHAVE_CONFIG_H -I. -I../../..
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>>>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>>>>> e/
>>>>>> glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS 
>>>>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla 
>>>>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes 
>>>>>> -Wredundant-decls -Wwrite-strings -Wformat-security 
>>>>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
>>>>>> -Wno-multichar -Wnested-externs 
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c 
>>>>>> gstdrmbufferpool.c  -fPIC -DPIC -o 
>>>>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or 
>>>>>> directory compilation terminated.
>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>> make: *** [all] Error 2
>>>>>> ERROR: oe_runmake failed
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Dmytriyenko, Denys
>>>>>> Sent: Friday, March 20, 2015 2:23 PM
>>>>>> To: Chengalvala, Vivek
>>>>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob; 
>>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>> 
>>>>>> AM3 builds fine here...
>>>>>> 
>>>>>> 
>>>>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>>>>> Karthik, Anand, Denys,
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>>>>> 
>>>>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>>>>> 
>>>>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>>>>> 
>>>>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>>>>> 
>>>>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> All the above issues are not present with gst-0.10.
>>>>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> In addition to above,
>>>>>>> 
>>>>>>> 5.       kmssink is missing from AM57x file system.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>>>>> 
>>>>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> 
>>>>>>> Vivek
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: meta-arago-bounces@arago-project.org
>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper 
>>>>>>> Jr., Franklin
>>>>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>>>>> To: Stiffler, Jacob
>>>>>>> Cc: meta-arago@arago-project.org
>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Well that's not good.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>>>> 
>>>>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>>>>> 
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>> 
>>>>>>>> From: Cooper Jr., Franklin
>>>>>>> 
>>>>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>>>>> 
>>>>>>>> To: Stiffler, Jacob
>>>>>>> 
>>>>>>>> Cc: Dmytriyenko, Denys;
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
>>>>>>> 
>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>>> 
>>>>>>> 
>>>>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>>>>> 
>>>>>>> 
>>>>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>>>>> 
>>>>>>> 
>>>>>>>>> gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>>>>> 
>>>>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>>>>> 
>>>>>>> 
>>>>>>>>> Thanks,
>>>>>>> 
>>>>>>>>> Jake
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>>> -----Original Message-----
>>>>>>> 
>>>>>>>>> From: Stiffler, Jacob
>>>>>>> 
>>>>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>>>>> 
>>>>>>>>> To: Dmytriyenko, Denys;
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>> 
>>>>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>> 
>>>>>>> 
>>>>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>>>>> 
>>>>>>> 
>>>>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>>>>> 
>>>>>>> 
>>>>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>>> 
>>>>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>>>>> 
>>>>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>>> 
>>>>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>>> 
>>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>>> 
>>>>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>>> 
>>>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>>> 
>>>>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>>> 
>>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>> 
>>>>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>>> 
>>>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>>>> ERROR: oe_runmake failed
>>>>>>> 
>>>>>>> 
>>>>>>>>> - Jake
>>>>>>> 
>>>>>>> 
>>>>>>>>> -----Original Message-----
>>>>>>> 
>>>>>>>>> From:
>>>>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
>>>>>>>>> ar ago-project.org>
>>>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of 
>>>>>>>>> Dmytriyenko, Denys
>>>>>>> 
>>>>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>>>>> 
>>>>>>>>> To:
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>> 
>>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add 
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>> 
>>>>>>> 
>>>>>>>>> Karthik,
>>>>>>> 
>>>>>>> 
>>>>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>>>>> 
>>>>>>> 
>>>>>>>>> --
>>>>>>> 
>>>>>>>>> Denys
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>>>>> 
>>>>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
>>>>>>> 
>>>>>>> 
>>>>>>>>>> Signed-off-by: Denys Dmytriyenko 
>>>>>>>>>> <denys@ti.com<mailto:denys@ti.com>>
>>>>>>> 
>>>>>>>>>> ---
>>>>>>> 
>>>>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>>>>> 
>>>>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>>>>> 
>>>>>>> 
>>>>>>>>>> diff --git
>>>>>>> 
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>> 
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>> 
>>>>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>> 
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>> 
>>>>>>>>>> index b1cacac..bd141a8 100644
>>>>>>> 
>>>>>>>>>> ---
>>>>>>> 
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>> 
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>> 
>>>>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>>>>> +++ 0-plug
>>>>>>> 
>>>>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>>>>> 
>>>>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>>>>> 
>>>>>>> 
>>>>>>>>>> PACKAGECONFIG = "faad wayland"
>>>>>>> 
>>>>>>> 
>>>>>>>>>> +DEPENDS += "libdrm libdce"
>>>>>>> 
>>>>>>>>>> +
>>>>>>> 
>>>>>>>>>> SRC_URI_append = " \
>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>>>>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>>>>>>>>>> il
>>>>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>>>>> 
>>>>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>>>>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>>>>> 
>>>>>>>>>>     file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>>>>>>> 
>>>>>>> 
>>>>>>>>>> -PR_append = "-arago0"
>>>>>>> 
>>>>>>>>>> +PR_append = "-arago1"
>>>>>>> 
>>>>>>>>>> --
>>>>>>> 
>>>>>>>>>> 2.2.0
>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>> 
>>>>>>>>> meta-arago mailing list
>>>>>>> 
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>> 
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>> 
>>>>>>>>> meta-arago mailing list
>>>>>>> 
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>> 
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> 
>>>>>>> meta-arago mailing list
>>>>>>> 
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>> 
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> meta-arago mailing list
>>>>>>> meta-arago@arago-project.org
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> _______________________________________________
>>>> meta-arago mailing list
>>>> meta-arago@arago-project.org
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 19:33 ` Cooper Jr., Franklin
@ 2015-03-26 13:19   ` R, Karthik
  0 siblings, 0 replies; 33+ messages in thread
From: R, Karthik @ 2015-03-26 13:19 UTC (permalink / raw)
  To: Cooper Jr., Franklin, Dmytriyenko, Denys
  Cc: meta-arago, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 24594 bytes --]

Atleast for resolving the problem on the am57xx, I think we need to make a small change in the ipumm-fw recipe to add a RDEPENDS on libdce.
Additionally another patch for GST plugin Ducati has also been pushed. I have asked Vivek's team to verify this on AM57xx.

Please review both these patches, it may address the issues on all the platforms.


meta-ti: http://dflvsu0004.dal.design.ti.com/patch/13146/

meta-arago: http://dflvsu0004.dal.design.ti.com/patch/13147/

Regards
Karthik

From: Cooper Jr., Franklin
Sent: Wednesday, March 25, 2015 1:03 AM
To: Dmytriyenko, Denys
Cc: R, Karthik; Balagopalakrishnan, Anand; meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Yeah I didn't get ur point until I looked at it more  :)

Jake ur search for libdrm-omap from wat I see is only from looking at the fs.

You really need to check the OE am335x build sysroot to see if traces of libdrm_omap is there which will cause configure to enable kms.

It is a bit weird for configure to detect libdrm_omap but then fail when using it to build.


On Mar 24, 2015, at 2:17 PM, Dmytriyenko, Denys <denys@ti.com<mailto:denys@ti.com>> wrote:

That was my point - configure script is supposed to figure the dependency out.

--
Denys
On Mar 24, 2015 12:08, "Cooper Jr., Franklin" <fcooper@ti.com<mailto:fcooper@ti.com>> wrote:
The buffer pool patch even has a comment that talks about in the future remove the dependency on libdrm_omap.

It is interesting that from looking at the configure related patches a lot of these new features or changes are related to kms which is only enabled when libdrm_omap is found.






> On Mar 24, 2015, at 2:00 PM, Cooper Jr., Franklin <fcooper@ti.com<mailto:fcooper@ti.com>> wrote:
>
> Unless I'm missing something all the patches applied locally to gst 1.0 bad.
>
> http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend;h=b1cacac6f5d700a5a40318ea8eb73e707578916b;hb=refs/heads/master#l6
>
>
>
>
>> On Mar 24, 2015, at 1:53 PM, Dmytriyenko, Denys <denys@ti.com<mailto:denys@ti.com>> wrote:
>>
>> Could you be more specific - which patches are you talking about?
>>
>>> On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
>>> I would re iterate that omap dss is only meant for devices with dss. Which
>>> doesn't include am335x
>>>
>>> So these patches should only be applied to devices with the dss. So I'm not
>>> sure why a simple patch that will do this isn't being done instead of trying
>>> to figure out why these builds are failing
>>>
>>>
>>>> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>
>>>> Karthik,
>>>>
>>>> Is this libdrm_omap an unconditional dependency for all platforms?
>>>>
>>>> Thanks,
>>>> Jake
>>>>
>>>> -----Original Message-----
>>>> From: Balagopalakrishnan, Anand
>>>> Sent: Tuesday, March 24, 2015 12:53 PM
>>>> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> +Karthik
>>>>
>>>> Jake,
>>>>
>>>> We definitely have a dependency on DRM/DCE for J6/AM5.
>>>>
>>>> Karthik can add more.
>>>>
>>>> Regards,
>>>> Anand
>>>> ________________________________________
>>>> From: Stiffler, Jacob
>>>> Sent: Tuesday, March 24, 2015 8:27 PM
>>>> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Anand,
>>>>
>>>> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
>>>>
>>>>
>>>>
>>>> Denys,
>>>>
>>>> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
>>>>
>>>> However, in doing a clean build, you may run into issues with gitorious.org<http://gitorious.org> over https. This requires some certificates in the native sysroot which may not be there...
>>>>
>>>>
>>>> - Jake
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>>>> Sent: Monday, March 23, 2015 7:05 AM
>>>> To: Dmytriyenko, Denys
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand; Cooper Jr., Franklin
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Denys,
>>>>
>>>> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
>>>>
>>>> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
>>>>
>>>>
>>>> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
>>>>
>>>> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>
>>>>
>>>> - Jake
>>>>
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Friday, March 20, 2015 5:01 PM
>>>> To: Stiffler, Jacob
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> have you tried bitbake libdrm -c cleansstate?
>>>>
>>>>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>>>>> Sorry, I just double checked the filesystems:
>>>>>
>>>>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$<mailto:jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$> find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi<mailto:jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi>
>>>>> lesystem/tisdk-rootfs$ cd
>>>>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>>>>> k-rootfs/ jake@mcsdk-hpc-test:~
>>>>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Stiffler, Jacob
>>>>> Sent: Friday, March 20, 2015 2:39 PM
>>>>> To: Dmytriyenko, Denys
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Dmytriyenko, Denys
>>>>> Sent: Friday, March 20, 2015 2:37 PM
>>>>> To: Stiffler, Jacob
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> Jake,
>>>>>
>>>>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>>>>>
>>>>>
>>>>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>>>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
>>>>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>>>>> -mtune=cortex-a8
>>>>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>>>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
>>>>>> -DHAVE_CONFIG_H -I. -I../../..
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>>>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>>>>> e/
>>>>>> glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
>>>>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
>>>>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
>>>>>> -Wredundant-decls -Wwrite-strings -Wformat-security
>>>>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
>>>>>> -Wno-multichar -Wnested-externs
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
>>>>>> gstdrmbufferpool.c  -fPIC -DPIC -o
>>>>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
>>>>>> directory compilation terminated.
>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>> make: *** [all] Error 2
>>>>>> ERROR: oe_runmake failed
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Dmytriyenko, Denys
>>>>>> Sent: Friday, March 20, 2015 2:23 PM
>>>>>> To: Chengalvala, Vivek
>>>>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob;
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>
>>>>>> AM3 builds fine here...
>>>>>>
>>>>>>
>>>>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>>>>> Karthik, Anand, Denys,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>>>>>
>>>>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>>>>>
>>>>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>>>>>
>>>>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>>>>>
>>>>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> All the above issues are not present with gst-0.10.
>>>>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> In addition to above,
>>>>>>>
>>>>>>> 5.       kmssink is missing from AM57x file system.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>>>>>
>>>>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Vivek
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org>
>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
>>>>>>> Jr., Franklin
>>>>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>>>>> To: Stiffler, Jacob
>>>>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Well that's not good.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com><mailto:j-stiffler@ti.com>> wrote:
>>>>>>>>
>>>>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>> From: Cooper Jr., Franklin
>>>>>>>
>>>>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>>>>>
>>>>>>>> To: Stiffler, Jacob
>>>>>>>
>>>>>>>> Cc: Dmytriyenko, Denys;
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.org
>>>>>>>
>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com><mailto:j-stiffler@ti.com>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>>>>>
>>>>>>>
>>>>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>>>>>
>>>>>>>
>>>>>>>>> gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>>>>>
>>>>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>>>>>
>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>
>>>>>>>>> Jake
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From: Stiffler, Jacob
>>>>>>>
>>>>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>>>>>
>>>>>>>>> To: Dmytriyenko, Denys;
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>>>>>
>>>>>>>
>>>>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>>>>>
>>>>>>>
>>>>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>>>
>>>>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>>>>>
>>>>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>>>
>>>>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>>>
>>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>>>
>>>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>>>
>>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>>>
>>>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>>>> ERROR: oe_runmake failed
>>>>>>>
>>>>>>>
>>>>>>>>> - Jake
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From:
>>>>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org><mailto:meta-arago-bounces@
>>>>>>>>> ar ago-project.org<http://ago-project.org>>
>>>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
>>>>>>>>> Dmytriyenko, Denys
>>>>>>>
>>>>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>>>>>
>>>>>>>>> To:
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> Karthik,
>>>>>>>
>>>>>>>
>>>>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>>>>>
>>>>>>>
>>>>>>>>> --
>>>>>>>
>>>>>>>>> Denys
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>>>>>
>>>>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com><mailto:denys@ti.com>>
>>>>>>>
>>>>>>>
>>>>>>>>>> Signed-off-by: Denys Dmytriyenko
>>>>>>>>>> <denys@ti.com<mailto:denys@ti.com><mailto:denys@ti.com>>
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>>>>>
>>>>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>>>>>
>>>>>>>
>>>>>>>>>> diff --git
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> index b1cacac..bd141a8 100644
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>>>>> +++ 0-plug
>>>>>>>
>>>>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>>>>>
>>>>>>>
>>>>>>>>>> PACKAGECONFIG = "faad wayland"
>>>>>>>
>>>>>>>
>>>>>>>>>> +DEPENDS += "libdrm libdce"
>>>>>>>
>>>>>>>>>> +
>>>>>>>
>>>>>>>>>> SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000<%20%20>
>>>>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f<%20%20>
>>>>>>>>>> il
>>>>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>>>>>
>>>>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:<%20%20>
>>>>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>>>>>
>>>>>>>>>>     file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<%20%20>>"
>>>>>>>
>>>>>>>
>>>>>>>>>> -PR_append = "-arago0"
>>>>>>>
>>>>>>>>>> +PR_append = "-arago1"
>>>>>>>
>>>>>>>>>> --
>>>>>>>
>>>>>>>>>> 2.2.0
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>>
>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.org>
>>>>>>>
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>
>>>>>>> _______________________________________________
>>>>>>> meta-arago mailing list
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> _______________________________________________
>>>> meta-arago mailing list
>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 44383 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 18:22 ` Stiffler, Jacob
@ 2015-03-24 20:50   ` Denys Dmytriyenko
  0 siblings, 0 replies; 33+ messages in thread
From: Denys Dmytriyenko @ 2015-03-24 20:50 UTC (permalink / raw)
  To: Stiffler, Jacob
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

Jake,

I did a clean build for am335x-evm and it still works here.


On Tue, Mar 24, 2015 at 02:22:35PM -0400, Stiffler, Jacob wrote:
>    I just ran a clean build, without any local patches, and using the core
>    brand, and I hit the same error. Please try this in a clean build.
> 
>     
> 
>     
> 
>    -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security
>    -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
>    -Wno-multichar -Wnested-externs
>    -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector
>    -O2 -pipe -g -feliminate-unused-debug-types -c gstdrmbufferpool.c  -fPIC
>    -DPIC -o .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> 
>    | In file included from gstdrmbufferpool.c:42:0:
> 
>    | gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
>    directory
> 
>    | compilation terminated.
> 
>    | make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> 
>    | make[4]: Leaving directory
>    `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> 
>    | make[3]: *** [all-recursive] Error 1
> 
>    | make[3]: Leaving directory
>    `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> 
>    | make[2]: *** [all-recursive] Error 1
> 
>    | make[2]: Leaving directory
>    `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> 
>    | make[1]: *** [all-recursive] Error 1
> 
>    | make[1]: Leaving directory
>    `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> 
>    | make: *** [all] Error 2
> 
>    | ERROR: oe_runmake failed
> 
>    | WARNING:
>    /media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/temp/run.do_compile.1593:1
>    exit 1 from
> 
>    |   exit 1
> 
>    | ERROR: Function failed: do_compile (log file is located at
>    /media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/temp/log.do_compile.1593)
> 
>    ERROR: Task 4004
>    (/media/hdd-1TB/jake/git/oe-layersetup_core/sources/oe-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bb,
>    do_compile) failed with exit code '1'
> 
>     
> 
>    From: Stiffler, Jacob
>    Sent: Tuesday, March 24, 2015 12:08 PM
>    To: Dmytriyenko, Denys
>    Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr.,
>    Franklin
>    Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on
>    libdrm and libdce due to KMSsink
> 
>     
> 
>    I checked and I do not see anything extra. I'll double check with clean
>    layers.
> 
>     
> 
>    As for the http issue, I see the following error:
> 
>     
> 
>    WARNING: Failed to fetch URL
>    git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master,
>    attempting MIRRORS if available
> 
>    ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
> 
>    Cloning into bare repository
>    '/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/downloads/git2/gitorious.org.matrix-gui-v2.matrix-gui-v2-apps.git'...
> 
>    fatal: unable to access
>    'https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git/': error
>    setting certificate verify locations:
> 
>      CAfile:
>    /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/i686-linux/etc/ssl/certs/ca-certificates.crt
> 
>      CApath: none
> 
>     
> 
>    ERROR: Function failed: Fetcher failure for URL:
>    'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master'.
>    Unable to fetch URL from any source.
> 
>    ERROR: Logfile of failure stored in:
>    /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/all-oe-linux/matrix-gui-apps-images/2.0-r29.0/temp/log.do_fetch.1777
> 
>    ERROR: Task 2263
>    (/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb,
>    do_fetch) failed with exit code '1'
> 
>     
> 
>     
> 
>    From: Dmytriyenko, Denys
>    Sent: Tuesday, March 24, 2015 11:59 AM
>    To: Stiffler, Jacob
>    Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr.,
>    Franklin
>    Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on
>    libdrm and libdce due to KMSsink
> 
>     
> 
>    Jake,
> 
>    I can definitely do a clean build, but I'm not sure how would it pick up
>    DRM dependency, if it's already there and was there when it was built the
>    first time...
> 
>    As of https gitorious certificates - I don't believe we have any https
>    SRC_URI as we converted them all to http...
> 
>    Are you sure you don't have anything extra in your tree?
> 
>    --
>    Denys
> 
>    On Mar 24, 2015 07:57, "Stiffler, Jacob" <j-stiffler@ti.com> wrote:
> 
>    Anand,
> 
>    Does gstreamer1.0-plugins-bad have an unconditional dependency on
>    libdrm_omap?
> 
>    Denys,
> 
>    By looking at the nightly coresdk build emails, it appears that you have
>    not run a clean build in some time. If you run a clean build, you should
>    be able to recreate this issue.
> 
>    However, in doing a clean build, you may run into issues with
>    gitorious.org over https. This requires some certificates in the native
>    sysroot which may not be there...
> 
>    - Jake
> 
>    -----Original Message-----
>    From: meta-arago-bounces@arago-project.org
>    [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>    Sent: Monday, March 23, 2015 7:05 AM
>    To: Dmytriyenko, Denys
>    Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr.,
>    Franklin
>    Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on
>    libdrm and libdce due to KMSsink
> 
>    Denys,
> 
>    These errors occur on clean VMs. It seems that you are getting lucky in
>    your nightlies such that libdrm is not built before you build gst-plugins.
> 
>    One reason libdrm is being pulled into the filesystem, is because
>    libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
> 
>    I just checked the coresdk golden tisdk-rootfs image. This does indeed
>    include libdrm:
> 
>    jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$
>    find ./var/lib/opkg/info/ -name 'libdrm*'
>    ./var/lib/opkg/info/libdrm-tests.control
>    ./var/lib/opkg/info/libdrm-omap1.postinst
>    ./var/lib/opkg/info/libdrm-tests.list
>    ./var/lib/opkg/info/libdrm2.list
>    ./var/lib/opkg/info/libdrm2.control
>    ./var/lib/opkg/info/libdrm-omap1.control
>    ./var/lib/opkg/info/libdrm2.postinst
>    ./var/lib/opkg/info/libdrm-omap1.list
> 
>    - Jake
> 
>    -----Original Message-----
>    From: Dmytriyenko, Denys
>    Sent: Friday, March 20, 2015 5:01 PM
>    To: Stiffler, Jacob
>    Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>    meta-arago@arago-project.org; Balagopalakrishnan, Anand
>    Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on
>    libdrm and libdce due to KMSsink
> 
>    have you tried bitbake libdrm -c cleansstate?
> 
>    On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>    > Sorry, I just double checked the filesystems:
>    >
>    >
>    jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$
>    find ./var/lib/opkg/info/ -name '*drm*'
>    > ./var/lib/opkg/info/libdrm-tests.control
>    > ./var/lib/opkg/info/libdrm-tests.list
>    > ./var/lib/opkg/info/libdrm2.list
>    > ./var/lib/opkg/info/libdrm2.control
>    > ./var/lib/opkg/info/libdrm2.postinst
>    > jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>    > lesystem/tisdk-rootfs$ cd
>    > ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>    > k-rootfs/ jake@mcsdk-hpc-test:~
>    > /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$
>    find ./var/lib/opkg/info/ -name '*drm*'
>    > ./var/lib/opkg/info/libdrm-tests.control
>    > ./var/lib/opkg/info/libdrm-omap1.postinst
>    > ./var/lib/opkg/info/libdrm-tests.list
>    > ./var/lib/opkg/info/libdrm2.list
>    > ./var/lib/opkg/info/libdrm2.control
>    > ./var/lib/opkg/info/libdrm-omap1.control
>    > ./var/lib/opkg/info/libdrm2.postinst
>    > ./var/lib/opkg/info/libdrm-omap1.list
>    >
>    >
>    >
>    > -----Original Message-----
>    > From: Stiffler, Jacob
>    > Sent: Friday, March 20, 2015 2:39 PM
>    > To: Dmytriyenko, Denys
>    > Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>    > meta-arago@arago-project.org; Balagopalakrishnan, Anand
>    > Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > DEPENDS on libdrm and libdce due to KMSsink
>    >
>    > No it is not in the tree, hence the header is not found. It succeeds on
>    am4 since it is pulled in by one of the packagegroups.
>    >
>    >
>    > -----Original Message-----
>    > From: Dmytriyenko, Denys
>    > Sent: Friday, March 20, 2015 2:37 PM
>    > To: Stiffler, Jacob
>    > Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>    > meta-arago@arago-project.org; Balagopalakrishnan, Anand
>    > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > DEPENDS on libdrm and libdce due to KMSsink
>    >
>    > Jake,
>    >
>    > libdrm should not be pulled for am3 builds - that was the question for
>    this patch, which should not be applied... Do you have it in your tree?
>    >
>    >
>    > On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>    > > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
>    > > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>    > > -mtune=cortex-a8
>    > > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>    > > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
>    > > -DHAVE_CONFIG_H -I. -I../../..
>    > > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>    > > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>    > > li
>    > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>    > > li
>    > > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>    > > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>    > > -DGST_USE_UNSTABLE_API -pthread
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>    > > li
>    > > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>    > > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>    > > e/
>    > > glib-2.0
>    > > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>    > > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>    > > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
>    > > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
>    > > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
>    > > -Wredundant-decls -Wwrite-strings -Wformat-security
>    > > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
>    > > -Wno-multichar -Wnested-externs
>    > > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>    > > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
>    > > gstdrmbufferpool.c  -fPIC -DPIC -o
>    > > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>    > > In file included from gstdrmbufferpool.c:42:0:
>    > > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
>    > > directory compilation terminated.
>    > > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>    > > make[4]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>    > > make[3]: *** [all-recursive] Error 1
>    > > make[3]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>    > > make[2]: *** [all-recursive] Error 1
>    > > make[2]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>    > > make[1]: *** [all-recursive] Error 1
>    > > make[1]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>    > > make: *** [all] Error 2
>    > > ERROR: oe_runmake failed
>    > >
>    > > -----Original Message-----
>    > > From: Dmytriyenko, Denys
>    > > Sent: Friday, March 20, 2015 2:23 PM
>    > > To: Chengalvala, Vivek
>    > > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
>    > > meta-arago@arago-project.org; Balagopalakrishnan, Anand
>    > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > > DEPENDS on libdrm and libdce due to KMSsink
>    > >
>    > > AM3 builds fine here...
>    > >
>    > >
>    > > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>    > > > Karthik, Anand, Denys,
>    > > >
>    > > >
>    > > >
>    > > > Upgrade to GST 1.0 (using commit
>    b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the
>    following problems:
>    > > >
>    > > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>    > > >
>    > > > 2.       AM4x: Performance drop with ARM only decode of H264 (not
>    sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or
>    c) ffmpeg_color_space --> videoconvert)
>    > > >
>    > > > 3.       AM57x: playbin pipeline internally triggers arm video
>    decoder (e.g., avdec_h264) instead of ducati decoder
>    > > >
>    > > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g.,
>    "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse !
>    ducatih264dec ! fakesink"
>    > > >
>    > > >
>    > > >
>    > > > All the above issues are not present with gst-0.10.
>    > > > Please note that Issue #3 is not observed on Vayu with GLSDK EA
>    release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release
>    7.0.0.4.
>    > > >
>    > > >
>    > > >
>    > > > In addition to above,
>    > > >
>    > > > 5.       kmssink is missing from AM57x file system.
>    > > >
>    > > >
>    > > >
>    > > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due
>    to above failures, we are forced to freeze @ commit
>    #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further
>    changes on meta-arago.
>    > > >
>    > > > There is another release targeted for next week and we'd like to be
>    get back to the latest of meta-arago as soon as possible. Appreciate your
>    help in addressing the above issues.
>    > > >
>    > > >
>    > > >
>    > > > Thanks,
>    > > >
>    > > > Vivek
>    > > >
>    > > >
>    > > >
>    > > >
>    > > >
>    > > > -----Original Message-----
>    > > > From: meta-arago-bounces@arago-project.org
>    > > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
>    > > > Jr., Franklin
>    > > > Sent: Friday, March 20, 2015 9:58 AM
>    > > > To: Stiffler, Jacob
>    > > > Cc: meta-arago@arago-project.org
>    > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > > > DEPENDS on libdrm and libdce due to KMSsink
>    > > >
>    > > >
>    > > >
>    > > > Well that's not good.
>    > > >
>    > > >
>    > > >
>    > > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob
>    <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>    > > >
>    > > > >
>    > > >
>    > > > > I ran the demo while running "top". It appears that CPU is near
>    100%. However, this demo was working fine with gstreamer 0.10.
>    > > >
>    > > > >
>    > > >
>    > > > > -----Original Message-----
>    > > >
>    > > > > From: Cooper Jr., Franklin
>    > > >
>    > > > > Sent: Friday, March 20, 2015 9:34 AM
>    > > >
>    > > > > To: Stiffler, Jacob
>    > > >
>    > > > > Cc: Dmytriyenko, Denys;
>    > > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
>    > > > > >
>    > > >
>    > > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > > > > DEPENDS on libdrm and libdce due to KMSsink
>    > > >
>    > > > >
>    > > >
>    > > > >
>    > > >
>    > > > >
>    > > >
>    > > > >
>    > > >
>    > > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob
>    <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>    > > >
>    > > > >>
>    > > >
>    > > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>    > > >
>    > > > >>
>    > > >
>    > > > >> To get it to work, I had to modify runH264Dec.sh to use the new
>    pipelines. The new command is the following:
>    > > >
>    > > > >>
>    > > >
>    > > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>    > > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>    > > >
>    > > > >>
>    > > >
>    > > > >>
>    > > >
>    > > > >> Once this was done, I was able to run the demo, but the framerate
>    is extremely slow. Is this the correct command? Or is this behavior
>    expected?
>    > > >
>    > > > > If slow as in stuttering and choppy then no. If cpu utilization is
>    high then that is expected.
>    > > >
>    > > > >>
>    > > >
>    > > > >> Thanks,
>    > > >
>    > > > >> Jake
>    > > >
>    > > > >>
>    > > >
>    > > > >>
>    > > >
>    > > > >> -----Original Message-----
>    > > >
>    > > > >> From: Stiffler, Jacob
>    > > >
>    > > > >> Sent: Friday, March 20, 2015 6:56 AM
>    > > >
>    > > > >> To: Dmytriyenko, Denys;
>    > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>    > > > >> g>
>    > > >
>    > > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > > > >> DEPENDS on libdrm and libdce due to KMSsink
>    > > >
>    > > > >>
>    > > >
>    > > > >> It appears I got lucky with a successful am437x-evm build. The
>    package libdrm was installed and libdce was not.
>    > > >
>    > > > >>
>    > > >
>    > > > >> However, I got a build failure for am335x-evm due to the missing
>    libdrm dependency:
>    > > >
>    > > > >>
>    > > >
>    > > > >> In file included from gstdrmbufferpool.c:42:0:
>    > > >
>    > > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file
>    or directory compilation terminated.
>    > > >
>    > > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>    > > >
>    > > > >> make[4]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>    > > >
>    > > > >> make[3]: *** [all-recursive] Error 1
>    > > >
>    > > > >> make[3]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>    > > >
>    > > > >> make[2]: *** [all-recursive] Error 1
>    > > >
>    > > > >> make[2]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>    > > >
>    > > > >> make[1]: *** [all-recursive] Error 1
>    > > >
>    > > > >> make[1]: Leaving directory
>    `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>    > > >
>    > > > >> make: *** [all] Error 2
>    > > >
>    > > > >> ERROR: oe_runmake failed
>    > > >
>    > > > >>
>    > > >
>    > > > >> - Jake
>    > > >
>    > > > >>
>    > > >
>    > > > >> -----Original Message-----
>    > > >
>    > > > >> From:
>    > > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
>    > > > >> ar ago-project.org>
>    > > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
>    > > > >> Dmytriyenko, Denys
>    > > >
>    > > > >> Sent: Thursday, March 19, 2015 6:37 PM
>    > > >
>    > > > >> To:
>    > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>    > > > >> g>
>    > > >
>    > > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>    > > > >> DEPENDS on libdrm and libdce due to KMSsink
>    > > >
>    > > > >>
>    > > >
>    > > > >> Karthik,
>    > > >
>    > > > >>
>    > > >
>    > > > >> I had a question - I see that KMSsink in plugins-bad checks for
>    drm and dce headers. I was trying to set the dependency accordingly, but
>    it would break non dce platforms. Can you please elaborate on that a bit?
>    Thanks.
>    > > >
>    > > > >>
>    > > >
>    > > > >> --
>    > > >
>    > > > >> Denys
>    > > >
>    > > > >>
>    > > >
>    > > > >>
>    > > >
>    > > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko
>    wrote:
>    > > >
>    > > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
>    > > >
>    > > > >>>
>    > > >
>    > > > >>> Signed-off-by: Denys Dmytriyenko
>    > > > >>> <denys@ti.com<mailto:denys@ti.com>>
>    > > >
>    > > > >>> ---
>    > > >
>    > > > >>>
>    .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4
>    +++-
>    > > >
>    > > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
>    > > >
>    > > > >>>
>    > > >
>    > > > >>> diff --git
>    > > >
>    > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>    > > > >>> pl
>    > > > >>> ugins-
>    > > >
>    > > > >>> bad_1.2.3.bbappend
>    > > >
>    > > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>    > > > >>> pl
>    > > > >>> ugins-
>    > > >
>    > > > >>> bad_1.2.3.bbappend
>    > > >
>    > > > >>> index b1cacac..bd141a8 100644
>    > > >
>    > > > >>> ---
>    > > >
>    > > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>    > > > >>> pl
>    > > > >>> ugins-
>    > > >
>    > > > >>> bad_1.2.3.bbappend
>    > > >
>    > > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>    > > > >>> +++ 0-plug
>    > > >
>    > > > >>> +++ ins-bad_1.2.3.bbappend
>    > > >
>    > > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>    > > >
>    > > > >>>
>    > > >
>    > > > >>> PACKAGECONFIG = "faad wayland"
>    > > >
>    > > > >>>
>    > > >
>    > > > >>> +DEPENDS += "libdrm libdce"
>    > > >
>    > > > >>> +
>    > > >
>    > > > >>> SRC_URI_append = " \
>    > > >
>    > > > >>>       
>    > > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>    > > > >>> 1- Added-GstDRMBufferPool-support.patch> \
>    > > >
>    > > > >>>       
>    > > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>    > > > >>> il
>    > > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>    > > >
>    > > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>    > > >
>    > > > >>>       
>    > > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>    > > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>    > > >
>    > > > >>>       
>    file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>    > > >
>    > > > >>>
>    > > >
>    > > > >>> -PR_append = "-arago0"
>    > > >
>    > > > >>> +PR_append = "-arago1"
>    > > >
>    > > > >>> --
>    > > >
>    > > > >>> 2.2.0
>    > > >
>    > > > >> _______________________________________________
>    > > >
>    > > > >> meta-arago mailing list
>    > > >
>    > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>    > > > >> g>
>    > > >
>    > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>    > > >
>    > > > >> _______________________________________________
>    > > >
>    > > > >> meta-arago mailing list
>    > > >
>    > > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>    > > > >> g>
>    > > >
>    > > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>    > > >
>    > > > _______________________________________________
>    > > >
>    > > > meta-arago mailing list
>    > > >
>    > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>    > > >
>    > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>    > >
>    > > > _______________________________________________
>    > > > meta-arago mailing list
>    > > > meta-arago@arago-project.org
>    > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>    > >
>    _______________________________________________
>    meta-arago mailing list
>    meta-arago@arago-project.org
>    http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 19:17 Dmytriyenko, Denys
@ 2015-03-24 19:33 ` Cooper Jr., Franklin
  2015-03-26 13:19   ` R, Karthik
  0 siblings, 1 reply; 33+ messages in thread
From: Cooper Jr., Franklin @ 2015-03-24 19:33 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 23579 bytes --]

Yeah I didn't get ur point until I looked at it more  :)

Jake ur search for libdrm-omap from wat I see is only from looking at the fs.

You really need to check the OE am335x build sysroot to see if traces of libdrm_omap is there which will cause configure to enable kms.

It is a bit weird for configure to detect libdrm_omap but then fail when using it to build.


On Mar 24, 2015, at 2:17 PM, Dmytriyenko, Denys <denys@ti.com<mailto:denys@ti.com>> wrote:


That was my point - configure script is supposed to figure the dependency out.

--
Denys

On Mar 24, 2015 12:08, "Cooper Jr., Franklin" <fcooper@ti.com<mailto:fcooper@ti.com>> wrote:
The buffer pool patch even has a comment that talks about in the future remove the dependency on libdrm_omap.

It is interesting that from looking at the configure related patches a lot of these new features or changes are related to kms which is only enabled when libdrm_omap is found.






> On Mar 24, 2015, at 2:00 PM, Cooper Jr., Franklin <fcooper@ti.com<mailto:fcooper@ti.com>> wrote:
>
> Unless I'm missing something all the patches applied locally to gst 1.0 bad.
>
> http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend;h=b1cacac6f5d700a5a40318ea8eb73e707578916b;hb=refs/heads/master#l6
>
>
>
>
>> On Mar 24, 2015, at 1:53 PM, Dmytriyenko, Denys <denys@ti.com<mailto:denys@ti.com>> wrote:
>>
>> Could you be more specific - which patches are you talking about?
>>
>>> On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
>>> I would re iterate that omap dss is only meant for devices with dss. Which
>>> doesn't include am335x
>>>
>>> So these patches should only be applied to devices with the dss. So I'm not
>>> sure why a simple patch that will do this isn't being done instead of trying
>>> to figure out why these builds are failing
>>>
>>>
>>>> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>
>>>> Karthik,
>>>>
>>>> Is this libdrm_omap an unconditional dependency for all platforms?
>>>>
>>>> Thanks,
>>>> Jake
>>>>
>>>> -----Original Message-----
>>>> From: Balagopalakrishnan, Anand
>>>> Sent: Tuesday, March 24, 2015 12:53 PM
>>>> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> +Karthik
>>>>
>>>> Jake,
>>>>
>>>> We definitely have a dependency on DRM/DCE for J6/AM5.
>>>>
>>>> Karthik can add more.
>>>>
>>>> Regards,
>>>> Anand
>>>> ________________________________________
>>>> From: Stiffler, Jacob
>>>> Sent: Tuesday, March 24, 2015 8:27 PM
>>>> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Anand,
>>>>
>>>> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
>>>>
>>>>
>>>>
>>>> Denys,
>>>>
>>>> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
>>>>
>>>> However, in doing a clean build, you may run into issues with gitorious.org<http://gitorious.org> over https. This requires some certificates in the native sysroot which may not be there...
>>>>
>>>>
>>>> - Jake
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>>>> Sent: Monday, March 23, 2015 7:05 AM
>>>> To: Dmytriyenko, Denys
>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand; Cooper Jr., Franklin
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Denys,
>>>>
>>>> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
>>>>
>>>> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
>>>>
>>>>
>>>> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
>>>>
>>>> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>
>>>>
>>>> - Jake
>>>>
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Friday, March 20, 2015 5:01 PM
>>>> To: Stiffler, Jacob
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> have you tried bitbake libdrm -c cleansstate?
>>>>
>>>>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>>>>> Sorry, I just double checked the filesystems:
>>>>>
>>>>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>>>>> lesystem/tisdk-rootfs$ cd
>>>>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>>>>> k-rootfs/ jake@mcsdk-hpc-test:~
>>>>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Stiffler, Jacob
>>>>> Sent: Friday, March 20, 2015 2:39 PM
>>>>> To: Dmytriyenko, Denys
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Dmytriyenko, Denys
>>>>> Sent: Friday, March 20, 2015 2:37 PM
>>>>> To: Stiffler, Jacob
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> Jake,
>>>>>
>>>>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>>>>>
>>>>>
>>>>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>>>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
>>>>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>>>>> -mtune=cortex-a8
>>>>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>>>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
>>>>>> -DHAVE_CONFIG_H -I. -I../../..
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>>>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>>>>> e/
>>>>>> glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
>>>>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
>>>>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
>>>>>> -Wredundant-decls -Wwrite-strings -Wformat-security
>>>>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
>>>>>> -Wno-multichar -Wnested-externs
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
>>>>>> gstdrmbufferpool.c  -fPIC -DPIC -o
>>>>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
>>>>>> directory compilation terminated.
>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>> make: *** [all] Error 2
>>>>>> ERROR: oe_runmake failed
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Dmytriyenko, Denys
>>>>>> Sent: Friday, March 20, 2015 2:23 PM
>>>>>> To: Chengalvala, Vivek
>>>>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob;
>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>
>>>>>> AM3 builds fine here...
>>>>>>
>>>>>>
>>>>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>>>>> Karthik, Anand, Denys,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>>>>>
>>>>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>>>>>
>>>>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>>>>>
>>>>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>>>>>
>>>>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> All the above issues are not present with gst-0.10.
>>>>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> In addition to above,
>>>>>>>
>>>>>>> 5.       kmssink is missing from AM57x file system.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>>>>>
>>>>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Vivek
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org>
>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
>>>>>>> Jr., Franklin
>>>>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>>>>> To: Stiffler, Jacob
>>>>>>> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Well that's not good.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com><mailto:j-stiffler@ti.com>> wrote:
>>>>>>>>
>>>>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>> From: Cooper Jr., Franklin
>>>>>>>
>>>>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>>>>>
>>>>>>>> To: Stiffler, Jacob
>>>>>>>
>>>>>>>> Cc: Dmytriyenko, Denys;
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.org
>>>>>>>
>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com><mailto:j-stiffler@ti.com>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>>>>>
>>>>>>>
>>>>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>>>>>
>>>>>>>
>>>>>>>>> gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>>>>>
>>>>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>>>>>
>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>
>>>>>>>>> Jake
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From: Stiffler, Jacob
>>>>>>>
>>>>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>>>>>
>>>>>>>>> To: Dmytriyenko, Denys;
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>>>>>
>>>>>>>
>>>>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>>>>>
>>>>>>>
>>>>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>>>
>>>>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>>>>>
>>>>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>>>
>>>>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>>>
>>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>>>
>>>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>>>
>>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>>>
>>>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>>>> ERROR: oe_runmake failed
>>>>>>>
>>>>>>>
>>>>>>>>> - Jake
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From:
>>>>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org><mailto:meta-arago-bounces@
>>>>>>>>> ar ago-project.org<http://ago-project.org>>
>>>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
>>>>>>>>> Dmytriyenko, Denys
>>>>>>>
>>>>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>>>>>
>>>>>>>>> To:
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> Karthik,
>>>>>>>
>>>>>>>
>>>>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>>>>>
>>>>>>>
>>>>>>>>> --
>>>>>>>
>>>>>>>>> Denys
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>>>>>
>>>>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com><mailto:denys@ti.com>>
>>>>>>>
>>>>>>>
>>>>>>>>>> Signed-off-by: Denys Dmytriyenko
>>>>>>>>>> <denys@ti.com<mailto:denys@ti.com><mailto:denys@ti.com>>
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>>>>>
>>>>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>>>>>
>>>>>>>
>>>>>>>>>> diff --git
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> index b1cacac..bd141a8 100644
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>>>>> +++ 0-plug
>>>>>>>
>>>>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>>>>>
>>>>>>>
>>>>>>>>>> PACKAGECONFIG = "faad wayland"
>>>>>>>
>>>>>>>
>>>>>>>>>> +DEPENDS += "libdrm libdce"
>>>>>>>
>>>>>>>>>> +
>>>>>>>
>>>>>>>>>> SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>>>>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>>>>>>>>>> il
>>>>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>>>>>
>>>>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>>>>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>>>>>
>>>>>>>>>>     file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>>>>>>>
>>>>>>>
>>>>>>>>>> -PR_append = "-arago0"
>>>>>>>
>>>>>>>>>> +PR_append = "-arago1"
>>>>>>>
>>>>>>>>>> --
>>>>>>>
>>>>>>>>>> 2.2.0
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>>
>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org><mailto:meta-arago@arago-project.org>
>>>>>>>
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>
>>>>>>> _______________________________________________
>>>>>>> meta-arago mailing list
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> _______________________________________________
>>>> meta-arago mailing list
>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 39118 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
@ 2015-03-24 19:17 Dmytriyenko, Denys
  2015-03-24 19:33 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 33+ messages in thread
From: Dmytriyenko, Denys @ 2015-03-24 19:17 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago, R, Karthik, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 22109 bytes --]

That was my point - configure script is supposed to figure the dependency out.

--
Denys

On Mar 24, 2015 12:08, "Cooper Jr., Franklin" <fcooper@ti.com> wrote:
The buffer pool patch even has a comment that talks about in the future remove the dependency on libdrm_omap.

It is interesting that from looking at the configure related patches a lot of these new features or changes are related to kms which is only enabled when libdrm_omap is found.






> On Mar 24, 2015, at 2:00 PM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
>
> Unless I'm missing something all the patches applied locally to gst 1.0 bad.
>
> http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend;h=b1cacac6f5d700a5a40318ea8eb73e707578916b;hb=refs/heads/master#l6
>
>
>
>
>> On Mar 24, 2015, at 1:53 PM, Dmytriyenko, Denys <denys@ti.com> wrote:
>>
>> Could you be more specific - which patches are you talking about?
>>
>>> On Tue, Mar 24, 2015 at 02:47:22PM -0400, Cooper Jr., Franklin wrote:
>>> I would re iterate that omap dss is only meant for devices with dss. Which
>>> doesn't include am335x
>>>
>>> So these patches should only be applied to devices with the dss. So I'm not
>>> sure why a simple patch that will do this isn't being done instead of trying
>>> to figure out why these builds are failing
>>>
>>>
>>>> On Mar 24, 2015, at 1:23 PM, Stiffler, Jacob <j-stiffler@ti.com> wrote:
>>>>
>>>> Karthik,
>>>>
>>>> Is this libdrm_omap an unconditional dependency for all platforms?
>>>>
>>>> Thanks,
>>>> Jake
>>>>
>>>> -----Original Message-----
>>>> From: Balagopalakrishnan, Anand
>>>> Sent: Tuesday, March 24, 2015 12:53 PM
>>>> To: Stiffler, Jacob; Dmytriyenko, Denys; R, Karthik
>>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> +Karthik
>>>>
>>>> Jake,
>>>>
>>>> We definitely have a dependency on DRM/DCE for J6/AM5.
>>>>
>>>> Karthik can add more.
>>>>
>>>> Regards,
>>>> Anand
>>>> ________________________________________
>>>> From: Stiffler, Jacob
>>>> Sent: Tuesday, March 24, 2015 8:27 PM
>>>> To: Dmytriyenko, Denys; Balagopalakrishnan, Anand
>>>> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Anand,
>>>>
>>>> Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?
>>>>
>>>>
>>>>
>>>> Denys,
>>>>
>>>> By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.
>>>>
>>>> However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...
>>>>
>>>>
>>>> - Jake
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>>>> Sent: Monday, March 23, 2015 7:05 AM
>>>> To: Dmytriyenko, Denys
>>>> Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> Denys,
>>>>
>>>> These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.
>>>>
>>>> One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.
>>>>
>>>>
>>>> I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:
>>>>
>>>> jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>> ./var/lib/opkg/info/libdrm2.list
>>>> ./var/lib/opkg/info/libdrm2.control
>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>
>>>>
>>>> - Jake
>>>>
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Friday, March 20, 2015 5:01 PM
>>>> To: Stiffler, Jacob
>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
>>>>
>>>> have you tried bitbake libdrm -c cleansstate?
>>>>
>>>>> On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
>>>>> Sorry, I just double checked the filesystems:
>>>>>
>>>>> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
>>>>> lesystem/tisdk-rootfs$ cd
>>>>> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
>>>>> k-rootfs/ jake@mcsdk-hpc-test:~
>>>>> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
>>>>> ./var/lib/opkg/info/libdrm-tests.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.postinst
>>>>> ./var/lib/opkg/info/libdrm-tests.list
>>>>> ./var/lib/opkg/info/libdrm2.list
>>>>> ./var/lib/opkg/info/libdrm2.control
>>>>> ./var/lib/opkg/info/libdrm-omap1.control
>>>>> ./var/lib/opkg/info/libdrm2.postinst
>>>>> ./var/lib/opkg/info/libdrm-omap1.list
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Stiffler, Jacob
>>>>> Sent: Friday, March 20, 2015 2:39 PM
>>>>> To: Dmytriyenko, Denys
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Dmytriyenko, Denys
>>>>> Sent: Friday, March 20, 2015 2:37 PM
>>>>> To: Stiffler, Jacob
>>>>> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>
>>>>> Jake,
>>>>>
>>>>> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>>>>>
>>>>>
>>>>>> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
>>>>>> arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
>>>>>> -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
>>>>>> -mtune=cortex-a8
>>>>>> --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
>>>>>> xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
>>>>>> -DHAVE_CONFIG_H -I. -I../../..
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -pthread
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li
>>>>>> naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
>>>>>> 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
>>>>>> e/
>>>>>> glib-2.0
>>>>>> -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
>>>>>> li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
>>>>>> -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
>>>>>> -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
>>>>>> -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
>>>>>> -Wredundant-decls -Wwrite-strings -Wformat-security
>>>>>> -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
>>>>>> -Wno-multichar -Wnested-externs
>>>>>> -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
>>>>>> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
>>>>>> gstdrmbufferpool.c  -fPIC -DPIC -o
>>>>>> .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
>>>>>> directory compilation terminated.
>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>> make: *** [all] Error 2
>>>>>> ERROR: oe_runmake failed
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Dmytriyenko, Denys
>>>>>> Sent: Friday, March 20, 2015 2:23 PM
>>>>>> To: Chengalvala, Vivek
>>>>>> Cc: Cooper Jr., Franklin; Stiffler, Jacob;
>>>>>> meta-arago@arago-project.org; Balagopalakrishnan, Anand
>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>
>>>>>> AM3 builds fine here...
>>>>>>
>>>>>>
>>>>>>> On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
>>>>>>> Karthik, Anand, Denys,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
>>>>>>>
>>>>>>> 1.       Broken build for AM3. Not sure how AM4 build succeeds.
>>>>>>>
>>>>>>> 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
>>>>>>>
>>>>>>> 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
>>>>>>>
>>>>>>> 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> All the above issues are not present with gst-0.10.
>>>>>>> Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> In addition to above,
>>>>>>>
>>>>>>> 5.       kmssink is missing from AM57x file system.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
>>>>>>>
>>>>>>> There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Vivek
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: meta-arago-bounces@arago-project.org
>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
>>>>>>> Jr., Franklin
>>>>>>> Sent: Friday, March 20, 2015 9:58 AM
>>>>>>> To: Stiffler, Jacob
>>>>>>> Cc: meta-arago@arago-project.org
>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Well that's not good.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>>>>
>>>>>>>> I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>> From: Cooper Jr., Franklin
>>>>>>>
>>>>>>>> Sent: Friday, March 20, 2015 9:34 AM
>>>>>>>
>>>>>>>> To: Stiffler, Jacob
>>>>>>>
>>>>>>>> Cc: Dmytriyenko, Denys;
>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
>>>>>>>
>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>>> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
>>>>>>>
>>>>>>>
>>>>>>>>> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
>>>>>>>
>>>>>>>
>>>>>>>>> gst-launch-1.0 -v filesrc location=$filename ! h264parse !
>>>>>>>>> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
>>>>>>>
>>>>>>>> If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
>>>>>>>
>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>
>>>>>>>>> Jake
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From: Stiffler, Jacob
>>>>>>>
>>>>>>>>> Sent: Friday, March 20, 2015 6:56 AM
>>>>>>>
>>>>>>>>> To: Dmytriyenko, Denys;
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
>>>>>>>
>>>>>>>
>>>>>>>>> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
>>>>>>>
>>>>>>>
>>>>>>>>> In file included from gstdrmbufferpool.c:42:0:
>>>>>>>
>>>>>>>>> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
>>>>>>>
>>>>>>>>> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
>>>>>>>
>>>>>>>>> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
>>>>>>>
>>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
>>>>>>>
>>>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
>>>>>>>
>>>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>>> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
>>>>>>>
>>>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>>>> ERROR: oe_runmake failed
>>>>>>>
>>>>>>>
>>>>>>>>> - Jake
>>>>>>>
>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>
>>>>>>>>> From:
>>>>>>>>> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
>>>>>>>>> ar ago-project.org>
>>>>>>>>> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
>>>>>>>>> Dmytriyenko, Denys
>>>>>>>
>>>>>>>>> Sent: Thursday, March 19, 2015 6:37 PM
>>>>>>>
>>>>>>>>> To:
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
>>>>>>>>> DEPENDS on libdrm and libdce due to KMSsink
>>>>>>>
>>>>>>>
>>>>>>>>> Karthik,
>>>>>>>
>>>>>>>
>>>>>>>>> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
>>>>>>>
>>>>>>>
>>>>>>>>> --
>>>>>>>
>>>>>>>>> Denys
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
>>>>>>>
>>>>>>>>>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
>>>>>>>
>>>>>>>
>>>>>>>>>> Signed-off-by: Denys Dmytriyenko
>>>>>>>>>> <denys@ti.com<mailto:denys@ti.com>>
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
>>>>>>>
>>>>>>>>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>>>>>
>>>>>>>
>>>>>>>>>> diff --git
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> index b1cacac..bd141a8 100644
>>>>>>>
>>>>>>>>>> ---
>>>>>>>
>>>>>>>>>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
>>>>>>>>>> pl
>>>>>>>>>> ugins-
>>>>>>>
>>>>>>>>>> bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
>>>>>>>>>> +++ 0-plug
>>>>>>>
>>>>>>>>>> +++ ins-bad_1.2.3.bbappend
>>>>>>>
>>>>>>>>>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>>>>>
>>>>>>>
>>>>>>>>>> PACKAGECONFIG = "faad wayland"
>>>>>>>
>>>>>>>
>>>>>>>>>> +DEPENDS += "libdrm libdce"
>>>>>>>
>>>>>>>>>> +
>>>>>>>
>>>>>>>>>> SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
>>>>>>>>>> 1- Added-GstDRMBufferPool-support.patch> \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
>>>>>>>>>> il
>>>>>>>>>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
>>>>>>>
>>>>>>>>>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
>>>>>>>>>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
>>>>>>>
>>>>>>>>>>     file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
>>>>>>>
>>>>>>>
>>>>>>>>>> -PR_append = "-arago0"
>>>>>>>
>>>>>>>>>> +PR_append = "-arago1"
>>>>>>>
>>>>>>>>>> --
>>>>>>>
>>>>>>>>>> 2.2.0
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>
>>>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
>>>>>>>>> g>
>>>>>>>
>>>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>>
>>>>>>> meta-arago mailing list
>>>>>>>
>>>>>>> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>>>>>>>
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>>>>
>>>>>>> _______________________________________________
>>>>>>> meta-arago mailing list
>>>>>>> meta-arago@arago-project.org
>>>>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>>>> _______________________________________________
>>>> meta-arago mailing list
>>>> meta-arago@arago-project.org
>>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 36583 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 15:58 Dmytriyenko, Denys
  2015-03-24 16:07 ` Stiffler, Jacob
@ 2015-03-24 18:22 ` Stiffler, Jacob
  2015-03-24 20:50   ` Denys Dmytriyenko
  1 sibling, 1 reply; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-24 18:22 UTC (permalink / raw)
  To: Dmytriyenko, Denys
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 25007 bytes --]

I just ran a clean build, without any local patches, and using the core brand, and I hit the same error. Please try this in a clean build.


-Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c gstdrmbufferpool.c  -fPIC -DPIC -o .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
| In file included from gstdrmbufferpool.c:42:0:
| gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory
| compilation terminated.
| make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
| make[4]: Leaving directory `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/temp/run.do_compile.1593:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /media/hdd-1TB/jake/git/oe-layersetup_core/build/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/temp/log.do_compile.1593)
ERROR: Task 4004 (/media/hdd-1TB/jake/git/oe-layersetup_core/sources/oe-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bb, do_compile) failed with exit code '1'

From: Stiffler, Jacob
Sent: Tuesday, March 24, 2015 12:08 PM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

I checked and I do not see anything extra. I’ll double check with clean layers.

As for the http issue, I see the following error:

WARNING: Failed to fetch URL git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/downloads/git2/gitorious.org.matrix-gui-v2.matrix-gui-v2-apps.git'...
fatal: unable to access 'https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git/': error setting certificate verify locations:
  CAfile: /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/i686-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none

ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/all-oe-linux/matrix-gui-apps-images/2.0-r29.0/temp/log.do_fetch.1777
ERROR: Task 2263 (/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch) failed with exit code '1'


From: Dmytriyenko, Denys
Sent: Tuesday, March 24, 2015 11:59 AM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink


Jake,

I can definitely do a clean build, but I'm not sure how would it pick up DRM dependency, if it's already there and was there when it was built the first time...

As of https gitorious certificates - I don't believe we have any https SRC_URI as we converted them all to http...

Are you sure you don't have anything extra in your tree?

--
Denys
On Mar 24, 2015 07:57, "Stiffler, Jacob" <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
Anand,

Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?



Denys,

By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.

However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...


- Jake



-----Original Message-----
From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 7:05 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
>
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$<mailto:jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$> find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi<mailto:jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi>
> lesystem/tisdk-rootfs$ cd
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
>
>
>
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> Jake,
>
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>
>
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
> > -DHAVE_CONFIG_H -I. -I../../..
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > -Wredundant-decls -Wwrite-strings -Wformat-security
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > -Wno-multichar -Wnested-externs
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > gstdrmbufferpool.c  -fPIC -DPIC -o
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > DEPENDS on libdrm and libdce due to KMSsink
> >
> > AM3 builds fine here...
> >
> >
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > >
> > >
> > >
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > >
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > >
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > >
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > >
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > >
> > >
> > >
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > >
> > >
> > >
> > > In addition to above,
> > >
> > > 5.       kmssink is missing from AM57x file system.
> > >
> > >
> > >
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > >
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vivek
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org>
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > >
> > >
> > > Well that's not good.
> > >
> > >
> > >
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com<mailto:j-stiffler@ti.com%3cmailto:j-stiffler@ti.com>>> wrote:
> > >
> > > >
> > >
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: Cooper Jr., Franklin
> > >
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > >
> > > > To: Stiffler, Jacob
> > >
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.org>
> > > > >
> > >
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com<mailto:j-stiffler@ti.com%3cmailto:j-stiffler@ti.com>>> wrote:
> > >
> > > >>
> > >
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > >
> > > >>
> > >
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > >
> > > >>
> > >
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > >
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > >
> > > >>
> > >
> > > >> Thanks,
> > >
> > > >> Jake
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From: Stiffler, Jacob
> > >
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > >
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > >
> > > >>
> > >
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > >
> > > >>
> > >
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > >
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > >
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > >
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > >
> > > >> make[3]: *** [all-recursive] Error 1
> > >
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > >
> > > >> make[2]: *** [all-recursive] Error 1
> > >
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > >
> > > >> make[1]: *** [all-recursive] Error 1
> > >
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > >
> > > >> make: *** [all] Error 2
> > >
> > > >> ERROR: oe_runmake failed
> > >
> > > >>
> > >
> > > >> - Jake
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From:
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@<mailto:meta-arago-bounces@arago-project.org%3cmailto:meta-arago-bounces@>
> > > >> ar ago-project.org>
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
> > > >> Dmytriyenko, Denys
> > >
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > >
> > > >> To:
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> Karthik,
> > >
> > > >>
> > >
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > >
> > > >>
> > >
> > > >> --
> > >
> > > >> Denys
> > >
> > > >>
> > >
> > > >>
> > >
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > >
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com<mailto:denys@ti.com%3cmailto:denys@ti.com>>>
> > >
> > > >>>
> > >
> > > >>> Signed-off-by: Denys Dmytriyenko
> > > >>> <denys@ti.com<mailto:denys@ti.com<mailto:denys@ti.com%3cmailto:denys@ti.com>>>
> > >
> > > >>> ---
> > >
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > >
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > >>>
> > >
> > > >>> diff --git
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> index b1cacac..bd141a8 100644
> > >
> > > >>> ---
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > >
> > > >>> +++ ins-bad_1.2.3.bbappend
> > >
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > >
> > > >>>
> > >
> > > >>> PACKAGECONFIG = "faad wayland"
> > >
> > > >>>
> > >
> > > >>> +DEPENDS += "libdrm libdce"
> > >
> > > >>> +
> > >
> > > >>> SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000<%20%20>
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > >
> > > >>>
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f<%20%20>
> > > >>> il
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > >
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:<%20%20>
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > >
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<%20%20>>"
> > >
> > > >>>
> > >
> > > >>> -PR_append = "-arago0"
> > >
> > > >>> +PR_append = "-arago1"
> > >
> > > >>> --
> > >
> > > >>> 2.2.0
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > _______________________________________________
> > >
> > > meta-arago mailing list
> > >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.org>>
> > >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 41285 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
  2015-03-24 15:58 Dmytriyenko, Denys
@ 2015-03-24 16:07 ` Stiffler, Jacob
  2015-03-24 18:22 ` Stiffler, Jacob
  1 sibling, 0 replies; 33+ messages in thread
From: Stiffler, Jacob @ 2015-03-24 16:07 UTC (permalink / raw)
  To: Dmytriyenko, Denys
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 22183 bytes --]

I checked and I do not see anything extra. I’ll double check with clean layers.

As for the http issue, I see the following error:

WARNING: Failed to fetch URL git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/downloads/git2/gitorious.org.matrix-gui-v2.matrix-gui-v2-apps.git'...
fatal: unable to access 'https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git/': error setting certificate verify locations:
  CAfile: /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/i686-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none

ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/all-oe-linux/matrix-gui-apps-images/2.0-r29.0/temp/log.do_fetch.1777
ERROR: Task 2263 (/home/mahesh/git/yocto_daisy_mcsdk-hpc/mcsdk-hpc/builds/git_repos/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch) failed with exit code '1'


From: Dmytriyenko, Denys
Sent: Tuesday, March 24, 2015 11:59 AM
To: Stiffler, Jacob
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink


Jake,

I can definitely do a clean build, but I'm not sure how would it pick up DRM dependency, if it's already there and was there when it was built the first time...

As of https gitorious certificates - I don't believe we have any https SRC_URI as we converted them all to http...

Are you sure you don't have anything extra in your tree?

--
Denys
On Mar 24, 2015 07:57, "Stiffler, Jacob" <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
Anand,

Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?



Denys,

By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.

However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...


- Jake



-----Original Message-----
From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 7:05 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
>
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$<mailto:jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$> find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi<mailto:jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi>
> lesystem/tisdk-rootfs$ cd
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
>
>
>
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> Jake,
>
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>
>
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
> > -DHAVE_CONFIG_H -I. -I../../..
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > -Wredundant-decls -Wwrite-strings -Wformat-security
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > -Wno-multichar -Wnested-externs
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > gstdrmbufferpool.c  -fPIC -DPIC -o
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > DEPENDS on libdrm and libdce due to KMSsink
> >
> > AM3 builds fine here...
> >
> >
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > >
> > >
> > >
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > >
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > >
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > >
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > >
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > >
> > >
> > >
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > >
> > >
> > >
> > > In addition to above,
> > >
> > > 5.       kmssink is missing from AM57x file system.
> > >
> > >
> > >
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > >
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vivek
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@arago-project.org>
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > >
> > >
> > > Well that's not good.
> > >
> > >
> > >
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com<mailto:j-stiffler@ti.com%3cmailto:j-stiffler@ti.com>>> wrote:
> > >
> > > >
> > >
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: Cooper Jr., Franklin
> > >
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > >
> > > > To: Stiffler, Jacob
> > >
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.org>
> > > > >
> > >
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com<mailto:j-stiffler@ti.com%3cmailto:j-stiffler@ti.com>>> wrote:
> > >
> > > >>
> > >
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > >
> > > >>
> > >
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > >
> > > >>
> > >
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > >
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > >
> > > >>
> > >
> > > >> Thanks,
> > >
> > > >> Jake
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From: Stiffler, Jacob
> > >
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > >
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > >
> > > >>
> > >
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > >
> > > >>
> > >
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > >
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > >
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > >
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > >
> > > >> make[3]: *** [all-recursive] Error 1
> > >
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > >
> > > >> make[2]: *** [all-recursive] Error 1
> > >
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > >
> > > >> make[1]: *** [all-recursive] Error 1
> > >
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > >
> > > >> make: *** [all] Error 2
> > >
> > > >> ERROR: oe_runmake failed
> > >
> > > >>
> > >
> > > >> - Jake
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From:
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@<mailto:meta-arago-bounces@arago-project.org%3cmailto:meta-arago-bounces@>
> > > >> ar ago-project.org>
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
> > > >> Dmytriyenko, Denys
> > >
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > >
> > > >> To:
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> Karthik,
> > >
> > > >>
> > >
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > >
> > > >>
> > >
> > > >> --
> > >
> > > >> Denys
> > >
> > > >>
> > >
> > > >>
> > >
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > >
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com<mailto:denys@ti.com%3cmailto:denys@ti.com>>>
> > >
> > > >>>
> > >
> > > >>> Signed-off-by: Denys Dmytriyenko
> > > >>> <denys@ti.com<mailto:denys@ti.com<mailto:denys@ti.com%3cmailto:denys@ti.com>>>
> > >
> > > >>> ---
> > >
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > >
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > >>>
> > >
> > > >>> diff --git
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> index b1cacac..bd141a8 100644
> > >
> > > >>> ---
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > >
> > > >>> +++ ins-bad_1.2.3.bbappend
> > >
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > >
> > > >>>
> > >
> > > >>> PACKAGECONFIG = "faad wayland"
> > >
> > > >>>
> > >
> > > >>> +DEPENDS += "libdrm libdce"
> > >
> > > >>> +
> > >
> > > >>> SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000<%20%20>
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > >
> > > >>>
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f<%20%20>
> > > >>> il
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > >
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:<%20%20>
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > >
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<%20%20>>"
> > >
> > > >>>
> > >
> > > >>> -PR_append = "-arago0"
> > >
> > > >>> +PR_append = "-arago1"
> > >
> > > >>> --
> > >
> > > >>> 2.2.0
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.or>
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > _______________________________________________
> > >
> > > meta-arago mailing list
> > >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org<mailto:meta-arago@arago-project.org%3cmailto:meta-arago@arago-project.org>>
> > >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 34756 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink
@ 2015-03-24 15:58 Dmytriyenko, Denys
  2015-03-24 16:07 ` Stiffler, Jacob
  2015-03-24 18:22 ` Stiffler, Jacob
  0 siblings, 2 replies; 33+ messages in thread
From: Dmytriyenko, Denys @ 2015-03-24 15:58 UTC (permalink / raw)
  To: Stiffler, Jacob
  Cc: meta-arago, Cooper Jr., Franklin, Balagopalakrishnan, Anand

[-- Attachment #1: Type: text/plain, Size: 19021 bytes --]

Jake,

I can definitely do a clean build, but I'm not sure how would it pick up DRM dependency, if it's already there and was there when it was built the first time...

As of https gitorious certificates - I don't believe we have any https SRC_URI as we converted them all to http...

Are you sure you don't have anything extra in your tree?

--
Denys

On Mar 24, 2015 07:57, "Stiffler, Jacob" <j-stiffler@ti.com> wrote:
Anand,

Does gstreamer1.0-plugins-bad have an unconditional dependency on libdrm_omap?



Denys,

By looking at the nightly coresdk build emails, it appears that you have not run a clean build in some time. If you run a clean build, you should be able to recreate this issue.

However, in doing a clean build, you may run into issues with gitorious.org over https. This requires some certificates in the native sysroot which may not be there...


- Jake



-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 7:05 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org; Balagopalakrishnan, Anand; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

Denys,

These errors occur on clean VMs. It seems that you are getting lucky in your nightlies such that libdrm is not built before you build gst-plugins.

One reason libdrm is being pulled into the filesystem, is because libdrm-tests is pulled into "packagegroup-arago-test" for all machines.


I just checked the coresdk golden tisdk-rootfs image. This does indeed include libdrm:

jake@mcsdk-hpc-test:~/proc-sdk_nightlies/coresdk/tisdk-rootfs-image-am335x-evm-20150322020246$ find ./var/lib/opkg/info/ -name 'libdrm*'
./var/lib/opkg/info/libdrm-tests.control
./var/lib/opkg/info/libdrm-omap1.postinst
./var/lib/opkg/info/libdrm-tests.list
./var/lib/opkg/info/libdrm2.list
./var/lib/opkg/info/libdrm2.control
./var/lib/opkg/info/libdrm-omap1.control
./var/lib/opkg/info/libdrm2.postinst
./var/lib/opkg/info/libdrm-omap1.list


- Jake

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, March 20, 2015 5:01 PM
To: Stiffler, Jacob
Cc: Chengalvala, Vivek; Cooper Jr., Franklin; meta-arago@arago-project.org; Balagopalakrishnan, Anand
Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink

have you tried bitbake libdrm -c cleansstate?

On Fri, Mar 20, 2015 at 02:43:37PM -0400, Stiffler, Jacob wrote:
> Sorry, I just double checked the filesystems:
>
> jake@mcsdk-hpc-test:~/proc-sdk_rc-builds/01.00.00.00/ti-processor-sdk-linux-am335x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm2.postinst
> jake@mcsdk-hpc-test:~/ti-processor-sdk-linux-am335x-evm-01.00.00.00/fi
> lesystem/tisdk-rootfs$ cd
> ../../../ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisd
> k-rootfs/ jake@mcsdk-hpc-test:~
> /ti-processor-sdk-linux-am437x-evm-01.00.00.00/filesystem/tisdk-rootfs$ find ./var/lib/opkg/info/ -name '*drm*'
> ./var/lib/opkg/info/libdrm-tests.control
> ./var/lib/opkg/info/libdrm-omap1.postinst
> ./var/lib/opkg/info/libdrm-tests.list
> ./var/lib/opkg/info/libdrm2.list
> ./var/lib/opkg/info/libdrm2.control
> ./var/lib/opkg/info/libdrm-omap1.control
> ./var/lib/opkg/info/libdrm2.postinst
> ./var/lib/opkg/info/libdrm-omap1.list
>
>
>
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Friday, March 20, 2015 2:39 PM
> To: Dmytriyenko, Denys
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> No it is not in the tree, hence the header is not found. It succeeds on am4 since it is pulled in by one of the packagegroups.
>
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, March 20, 2015 2:37 PM
> To: Stiffler, Jacob
> Cc: Chengalvala, Vivek; Cooper Jr., Franklin;
> meta-arago@arago-project.org; Balagopalakrishnan, Anand
> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> DEPENDS on libdrm and libdce due to KMSsink
>
> Jake,
>
> libdrm should not be pulled for am3 builds - that was the question for this patch, which should not be applied... Do you have it in your tree?
>
>
> On Fri, Mar 20, 2015 at 02:27:17PM -0400, Stiffler, Jacob wrote:
> > arm-oe-linux-gnueabi-libtool: compile:  arm-linux-gnueabihf-gcc
> > -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> > -mtune=cortex-a8
> > --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-e
> > xt ernal-linaro-toolchain/sysroots/am335x-evm -std=gnu99
> > -DHAVE_CONFIG_H -I. -I../../..
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -pthread
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li
> > naro-toolchain/sysroots/am335x-evm/usr/include/gstreamer-1.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_
> > 1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/includ
> > e/
> > glib-2.0
> > -I/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-
> > li naro-toolchain/sysroots/am335x-evm/usr/lib/glib-2.0/include
> > -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
> > -DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla
> > -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes
> > -Wredundant-decls -Wwrite-strings -Wformat-security
> > -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress
> > -Wno-multichar -Wnested-externs
> > -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -c
> > gstdrmbufferpool.c  -fPIC -DPIC -o
> > .libs/libgstdrm_1.0_la-gstdrmbufferpool.o
> > In file included from gstdrmbufferpool.c:42:0:
> > gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or
> > directory compilation terminated.
> > make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Friday, March 20, 2015 2:23 PM
> > To: Chengalvala, Vivek
> > Cc: Cooper Jr., Franklin; Stiffler, Jacob;
> > meta-arago@arago-project.org; Balagopalakrishnan, Anand
> > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > DEPENDS on libdrm and libdce due to KMSsink
> >
> > AM3 builds fine here...
> >
> >
> > On Fri, Mar 20, 2015 at 06:17:18PM +0000, Chengalvala, Vivek wrote:
> > > Karthik, Anand, Denys,
> > >
> > >
> > >
> > > Upgrade to GST 1.0 (using commit b5747ce8caa13e4528e2d3055fa81cc9ca7b48fd on meta-arago) is causing the following problems:
> > >
> > > 1.       Broken build for AM3. Not sure how AM4 build succeeds.
> > >
> > > 2.       AM4x: Performance drop with ARM only decode of H264 (not sure if it is due to a) base GST upgrade b) ffmpeg_dec --> avdec_h264 or c) ffmpeg_color_space --> videoconvert)
> > >
> > > 3.       AM57x: playbin pipeline internally triggers arm video decoder (e.g., avdec_h264) instead of ducati decoder
> > >
> > > 4.       AM57x: cannot run pipeline with video parse + decode, e.g., "gst-launch-1.0 filesrc location=HistoryOfTI-480p.264 ! h264parse ! ducatih264dec ! fakesink"
> > >
> > >
> > >
> > > All the above issues are not present with gst-0.10.
> > > Please note that Issue #3 is not observed on Vayu with GLSDK EA release 7.0.0.4. Issue #4 is also happening on Vayu with GLSDK EA release 7.0.0.4.
> > >
> > >
> > >
> > > In addition to above,
> > >
> > > 5.       kmssink is missing from AM57x file system.
> > >
> > >
> > >
> > > We wanted to do an SDF today for PROCESSOR-SDK on AM3, AM4 and due to above failures, we are forced to freeze @ commit #5c2f4eea32afda6e68681470be664eb5a46fd984, and not pick up any further changes on meta-arago.
> > >
> > > There is another release targeted for next week and we'd like to be get back to the latest of meta-arago as soon as possible. Appreciate your help in addressing the above issues.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vivek
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org
> > > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Cooper
> > > Jr., Franklin
> > > Sent: Friday, March 20, 2015 9:58 AM
> > > To: Stiffler, Jacob
> > > Cc: meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > >
> > >
> > > Well that's not good.
> > >
> > >
> > >
> > > > On Mar 20, 2015, at 8:42 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > >
> > > >
> > >
> > > > I ran the demo while running "top". It appears that CPU is near 100%. However, this demo was working fine with gstreamer 0.10.
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: Cooper Jr., Franklin
> > >
> > > > Sent: Friday, March 20, 2015 9:34 AM
> > >
> > > > To: Stiffler, Jacob
> > >
> > > > Cc: Dmytriyenko, Denys;
> > > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org
> > > > >
> > >
> > > > Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > > DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >> On Mar 20, 2015, at 8:17 AM, Stiffler, Jacob <j-stiffler@ti.com<mailto:j-stiffler@ti.com>> wrote:
> > >
> > > >>
> > >
> > > >> I tried the matrix h264 decode demo on am437x with gstreamer 1.0.
> > >
> > > >>
> > >
> > > >> To get it to work, I had to modify runH264Dec.sh to use the new pipelines. The new command is the following:
> > >
> > > >>
> > >
> > > >>   gst-launch-1.0 -v filesrc location=$filename ! h264parse !
> > > >> avdec_h264 ! videoconvert ! fbdevsink device=/dev/fb0
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> Once this was done, I was able to run the demo, but the framerate is extremely slow. Is this the correct command? Or is this behavior expected?
> > >
> > > > If slow as in stuttering and choppy then no. If cpu utilization is high then that is expected.
> > >
> > > >>
> > >
> > > >> Thanks,
> > >
> > > >> Jake
> > >
> > > >>
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From: Stiffler, Jacob
> > >
> > > >> Sent: Friday, March 20, 2015 6:56 AM
> > >
> > > >> To: Dmytriyenko, Denys;
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> Subject: RE: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> It appears I got lucky with a successful am437x-evm build. The package libdrm was installed and libdce was not.
> > >
> > > >>
> > >
> > > >> However, I got a build failure for am335x-evm due to the missing libdrm dependency:
> > >
> > > >>
> > >
> > > >> In file included from gstdrmbufferpool.c:42:0:
> > >
> > > >> gstdrmbufferpool.h:42:22: fatal error: omap_drm.h: No such file or directory compilation terminated.
> > >
> > > >> make[4]: *** [libgstdrm_1.0_la-gstdrmbufferpool.lo] Error 1
> > >
> > > >> make[4]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst/drm'
> > >
> > > >> make[3]: *** [all-recursive] Error 1
> > >
> > > >> make[3]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs/gst'
> > >
> > > >> make[2]: *** [all-recursive] Error 1
> > >
> > > >> make[2]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3/gst-libs'
> > >
> > > >> make[1]: *** [all-recursive] Error 1
> > >
> > > >> make[1]: Leaving directory `/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago0/gst-plugins-bad-1.2.3'
> > >
> > > >> make: *** [all] Error 2
> > >
> > > >> ERROR: oe_runmake failed
> > >
> > > >>
> > >
> > > >> - Jake
> > >
> > > >>
> > >
> > > >> -----Original Message-----
> > >
> > > >> From:
> > > >> meta-arago-bounces@arago-project.org<mailto:meta-arago-bounces@
> > > >> ar ago-project.org>
> > > >> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of
> > > >> Dmytriyenko, Denys
> > >
> > > >> Sent: Thursday, March 19, 2015 6:37 PM
> > >
> > > >> To:
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> Subject: Re: [meta-arago] [PATCH] gstreamer1.0-plugins-bad: add
> > > >> DEPENDS on libdrm and libdce due to KMSsink
> > >
> > > >>
> > >
> > > >> Karthik,
> > >
> > > >>
> > >
> > > >> I had a question - I see that KMSsink in plugins-bad checks for drm and dce headers. I was trying to set the dependency accordingly, but it would break non dce platforms. Can you please elaborate on that a bit? Thanks.
> > >
> > > >>
> > >
> > > >> --
> > >
> > > >> Denys
> > >
> > > >>
> > >
> > > >>
> > >
> > > >>> On Thu, Mar 19, 2015 at 05:29:38PM -0400, Denys Dmytriyenko wrote:
> > >
> > > >>> From: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>>
> > >
> > > >>> Signed-off-by: Denys Dmytriyenko
> > > >>> <denys@ti.com<mailto:denys@ti.com>>
> > >
> > > >>> ---
> > >
> > > >>> .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend                 | 4 +++-
> > >
> > > >>> 1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > >>>
> > >
> > > >>> diff --git
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> index b1cacac..bd141a8 100644
> > >
> > > >>> ---
> > >
> > > >>> a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-
> > > >>> pl
> > > >>> ugins-
> > >
> > > >>> bad_1.2.3.bbappend
> > >
> > > >>> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.
> > > >>> +++ 0-plug
> > >
> > > >>> +++ ins-bad_1.2.3.bbappend
> > >
> > > >>> @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > >
> > > >>>
> > >
> > > >>> PACKAGECONFIG = "faad wayland"
> > >
> > > >>>
> > >
> > > >>> +DEPENDS += "libdrm libdce"
> > >
> > > >>> +
> > >
> > > >>> SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0001-Added-GstDRMBufferPool-support.patch<file:///\\000
> > > >>> 1- Added-GstDRMBufferPool-support.patch> \
> > >
> > > >>>
> > > >>> file://0002-Modified-waylandsink-to-accept-NV12-format.patch<f
> > > >>> il
> > > >>> e:///\\0002-Modified-waylandsink-to-accept-NV12-format.patch>
> > >
> > > >>> \ @@ -9,4 +11,4 @@ SRC_URI_append = " \
> > >
> > > >>>
> > > >>> file://0004-waylandsink-Removed-dependency-on-dri2.patch<file:
> > > >>> // /\\0004-waylandsink-Removed-dependency-on-dri2.patch> \
> > >
> > > >>>        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch<file:///\\0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch>"
> > >
> > > >>>
> > >
> > > >>> -PR_append = "-arago0"
> > >
> > > >>> +PR_append = "-arago1"
> > >
> > > >>> --
> > >
> > > >>> 2.2.0
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > >> _______________________________________________
> > >
> > > >> meta-arago mailing list
> > >
> > > >> meta-arago@arago-project.org<mailto:meta-arago@arago-project.or
> > > >> g>
> > >
> > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > >
> > > _______________________________________________
> > >
> > > meta-arago mailing list
> > >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 27454 bytes --]

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

end of thread, other threads:[~2015-03-26 13:19 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19 21:29 [PATCH] gstreamer1.0-plugins-bad: add DEPENDS on libdrm and libdce due to KMSsink Denys Dmytriyenko
2015-03-19 22:36 ` Denys Dmytriyenko
2015-03-20 10:56   ` Stiffler, Jacob
2015-03-20 13:17   ` Stiffler, Jacob
2015-03-20 13:33     ` Cooper Jr., Franklin
2015-03-20 13:42       ` Stiffler, Jacob
2015-03-20 13:58         ` Cooper Jr., Franklin
2015-03-20 18:17           ` Chengalvala, Vivek
2015-03-20 18:23             ` Denys Dmytriyenko
2015-03-20 18:27               ` Stiffler, Jacob
2015-03-20 18:36                 ` Denys Dmytriyenko
2015-03-20 18:38                   ` Stiffler, Jacob
2015-03-20 18:43                   ` Stiffler, Jacob
2015-03-20 18:49                     ` Cooper Jr., Franklin
2015-03-20 18:52                       ` Denys Dmytriyenko
2015-03-20 18:54                         ` Stiffler, Jacob
2015-03-20 21:01                     ` Denys Dmytriyenko
2015-03-23 11:05                       ` Stiffler, Jacob
2015-03-24 14:57                         ` Stiffler, Jacob
     [not found]                           ` <05CF4794C98B244ABDC620C10903762272FB5D53@DBDE04.ent.ti.com>
2015-03-24 18:23                             ` Stiffler, Jacob
2015-03-24 18:47                               ` Cooper Jr., Franklin
2015-03-24 18:53                                 ` Denys Dmytriyenko
2015-03-24 19:00                                   ` Cooper Jr., Franklin
2015-03-24 19:08                                     ` Cooper Jr., Franklin
2015-03-23 14:19             ` Chengalvala, Vivek
     [not found]               ` <05CF4794C98B244ABDC620C10903762272FB537E@DBDE04.ent.ti.com>
2015-03-24  0:09                 ` Chengalvala, Vivek
2015-03-24 15:58 Dmytriyenko, Denys
2015-03-24 16:07 ` Stiffler, Jacob
2015-03-24 18:22 ` Stiffler, Jacob
2015-03-24 20:50   ` Denys Dmytriyenko
2015-03-24 19:17 Dmytriyenko, Denys
2015-03-24 19:33 ` Cooper Jr., Franklin
2015-03-26 13:19   ` R, Karthik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.