All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: meta-freescale@yoctoproject.org
Subject: Re: imxvpudec crash with 3.14.28 and gstreamer1.0
Date: Tue, 29 Dec 2015 13:31:36 +0100	[thread overview]
Message-ID: <56827D28.7010702@pseudoterminal.org> (raw)
In-Reply-To: <56793F40.7090407@pseudoterminal.org>

Writing this to the mailing list for sake of completeness: this turned 
out to be a memory leak in the GPU driver, imx-gpu-viv 5.0.11.p4.4. 
Upgrading to 5.0.11.p4.5 fixed the issue.



On 2015-12-22 13:17, Carlos Rafael Giani wrote:
> This is strange. For me, it looped over 160 times before I stopped it. 
> I'll compare your config to that of the boundarydevices kernel. (Also 
> note that this kernel might have patches that yours doesn't.)
>
> Try to repeatedly print out the contents of /proc/buddyinfo, 
> especially the DMA row. I did, and the bins stayed relatively stable. 
> If these bins rapidly decrease for you, then we might be looking at a 
> kernel issue, or a problem with imx-vpu.
>
> On 12/22/2015 12:16 PM, Vikas Patil wrote:
>> Hi Carlos,
>>
>> Yes. After reconfiguration saw memory allocation failure after 35th 
>> loop.
>>
>> Attached here the complete log with allocation failure after 53rd time
>> with master branch of plug-in and libimxvpuapi and CMA configs I
>> mentioned.
>>
>> Regards,
>> Vikash
>>
>>
>>
>> On Tue, Dec 22, 2015 at 4:11 PM, Carlos Rafael Giani
>> <dv@pseudoterminal.org> wrote:
>>> You mean, "before the CMA reconfiguration, the loop-video test 
>>> failed in the
>>> 5th loop, but after reconfiguration, it still runs after the 37th 
>>> loop"?
>>>
>>>
>>> On 2015-12-22 11:19, Vikas Patil wrote:
>>>> Hi Carlos,
>>>>
>>>> I could run the video and see the output on dislay after commenting
>>>> libgstimxaudio.so but only one loop. Attached here the log.
>>>>
>>>> Also after enabling following kernel configs I could run the videotest
>>>> player application which I have till 37th loop before it was failing
>>>> in 5th loop itself.
>>>>
>>>> CONFIG_DMA_CMA=y
>>>> #
>>>> # Default contiguous memory area size:
>>>> #
>>>> CONFIG_CMA_SIZE_MBYTES=256
>>>> CONFIG_CMA_SIZE_SEL_MBYTES=y
>>>> # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
>>>> # CONFIG_CMA_SIZE_SEL_MIN is not set
>>>> # CONFIG_CMA_SIZE_SEL_MAX is not set
>>>> CONFIG_CMA_ALIGNMENT=8
>>>> CONFIG_CMA_AREAS=7
>>>>
>>>> Regards,
>>>> Vikas
>>>>
>>>> On Tue, Dec 22, 2015 at 3:18 PM, Carlos Rafael Giani
>>>> <dv@pseudoterminal.org> wrote:
>>>>> This is a different error, however. It seems to be caused by an AAC
>>>>> decoding
>>>>> issue. Try removing the libgstimxaudio.so file from /usr/lib/ on your
>>>>> device. Note that you will need another AAC decoder then. 
>>>>> gst-libav can
>>>>> decode AAC. So can the libgstfaad plugin (part of gst-plugins-bad).
>>>>>
>>>>> Would it also be possible for you to give me a copy of this
>>>>> B01_Baseline1.0_1280_720.MP4 file?
>>>>>
>>>>>
>>>>> On 2015-12-22 10:39, Vikas Patil wrote:
>>>>>> Hi Carlos,
>>>>>>
>>>>>> Still I could not play. Attached here the log.
>>>>>>
>>>>>> Regards,
>>>>>> Vikas
>>>>>>
>>>>>> On Tue, Dec 22, 2015 at 12:34 AM, Carlos Rafael Giani
>>>>>> <dv@pseudoterminal.org> wrote:
>>>>>>> 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.
>> >
>



  reply	other threads:[~2015-12-29 12:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 14:41 imxvpudec crash with 3.14.28 and gstreamer1.0 Vikas Patil
2015-11-17 14:55 ` Carlos Rafael Giani
2015-11-17 16:55   ` Vikas Patil
2015-11-17 16:57     ` Carlos Rafael Giani
2015-11-17 17:53       ` Vikas Patil
2015-11-18 12:15         ` Vikas Patil
2015-11-18 13:10           ` Carlos Rafael Giani
2015-11-18 15:00             ` Vikas Patil
2015-11-18 16:58               ` Carlos Rafael Giani
     [not found]                 ` <CA+kt3u25h3bfjBRO4GHgn79N-CJmShmZY_Lg5WhWjzoBw09oBw@mail.gmail.com>
2015-12-21 19:04                   ` Carlos Rafael Giani
2015-12-22  6:22                     ` Vikas Patil
2015-12-22  9:39                     ` Vikas Patil
2015-12-22  9:48                       ` Carlos Rafael Giani
2015-12-22 10:19                         ` Vikas Patil
2015-12-22 10:41                           ` Carlos Rafael Giani
     [not found]                             ` <CA+kt3u1Bo3VtdKj0DQDjU6T5-esOtX3xKGnEt-Q4M3Z4MVPV_g@mail.gmail.com>
2015-12-22 12:17                               ` Carlos Rafael Giani
2015-12-29 12:31                                 ` Carlos Rafael Giani [this message]
2015-11-18 13:08     ` Carlos Rafael Giani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56827D28.7010702@pseudoterminal.org \
    --to=dv@pseudoterminal.org \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.