[meta-freescale] imxvpudec crash with 3.14.28 and gstreamer1.0

Carlos Rafael Giani dv at pseudoterminal.org
Mon Dec 21 11:04:05 PST 2015


Can you try out the example program I attached? Just run it like this:

GST_DEBUG=2,*imx*:5 ./loop-videos -i 5000 -v "imxipuvideotransform ! 
imxeglvivsink" /home/root/B01_Baseline1.0_1280_720.MP4

This will run the mp4 video for 5 seconds and then start again. Note 
that you have to build it with the -std=c++11 compiler flag.


On 2015-12-21 16:18, Vikas Patil wrote:
> Hi Carlos,
>
> I have checked with following pipeline playing it via application for
> 5 second and restating playing (in loop), however still see the memory
> failure issues. Could you please give some inputs? Also allocation and
> deallocation from VPU kernel driver seems ok. Attached here the logs
> with eglvivsink.
>
> Also tried with updated version and new front end for vpu and observer
> the same behavior.
>
> i.e.
> https://github.com/Freescale/gstreamer-imx/commits/master
> (sha:813756a0cb70d7aa609c3d35427179e75ca10013)
>
> https://github.com/Freescale/libimxvpuapi/commit/dba696e9775444eb1ff4ddbf2799a8a47a505527
> (with memory leak fix)
>
> gst-launch-1.0 -m filesrc
> location=/home/root/B01_Baseline1.0_1280_720.MP4 ! qtdemux ! h264parse
> ! imxvpudec ! imxipuvideotransform ! imxeglvivsink (gets memory
> allocation failure in between 6th to 9th loop)
> gst-launch-1.0 filesrc
> location=/home/root/B01_Baseline1.0_1280_720.MP4 ! qtdemux ! h264parse
> ! imxvpudec ! imxipuvideotransform ! imxg2dvideosink (gets memory
> allocation failure on 62nd loop iteration)
>
>
> Thanks & Regards,
> Vikas
>
> On Wed, Nov 18, 2015 at 10:28 PM, Carlos Rafael Giani
> <dv at pseudoterminal.org> wrote:
>> This actually looks more like a problem in imx-vpu or in the VPU driver's
>> DMA memory pool. DMA buffer allocation fails.
>> Perhaps this affects other allocators as well. Try these pipelines:
>>
>> GST_DEBUG=2,*imx*:5 gst-launch-1.0 videotestsrc ! imxg2dvideosink
>> GST_DEBUG=2,*imx*:5 gst-launch-1.0 videotestsrc ! imxipuvideosink
>>
>> If they fail, post logs.
>>
>>
>> On 11/18/2015 04:00 PM, Vikas Patil wrote:
>>> I changed the setup now. so don't have log with latest master.
>>> Attaching log which was missing.
>>>
>>> Regards,
>>> Vikash
>>>
> >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-videos.cpp
Type: text/x-c++src
Size: 10066 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20151221/bc3bdb08/attachment.cpp>


More information about the meta-freescale mailing list