All of lore.kernel.org
 help / color / mirror / Atom feed
* imxvpudec crash with 3.14.28 and gstreamer1.0
@ 2015-11-17 14:41 Vikas Patil
  2015-11-17 14:55 ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-11-17 14:41 UTC (permalink / raw)
  To: meta-freescale, Carlos Rafael Giani

Hi,

I am using following video pipeline and it works for random (1 or 2 or
3 maximum) times and crashes sometime 2nd time sometime 3rd time in
imxvpudec

gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink

Linux 3.14.28
gstreamer-1.4.5
gstreamer1.0-plugins-imx 0.11.1
libfslvpuwrap 1.0.46

See below the kernel log and gst log. Anyone faced the same issue? Any
pointers/suggestions would be very helpful?

Thanks & Regards,
Vikash



root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
interleaved }
0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
interleaved }
0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
64, 2147483647 ], height=(int)[ 64, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
progressive, interleaved } into video/x-raw, width=(int)[ 64,
2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
}
0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
64, 2147483647 ], height=(int)[ 64, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
progressive, interleaved } into video/x-raw, width=(int)[ 64,
2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
}
Setting pipeline to PAUSED ...
0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
Wayland EGL platform initialized, using EGL 1.4
0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
initializing physical memory allocator
0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
device.c:61:gst_imx_ipu_open: IPU device opened
0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
initialized IPU allocator
0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
initializing blitter base
0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
256 bytes of physical memory at address 0x10a5c000
0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
[INFO]  Product Info: i.MX6Q/D/S
0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
initializing physical memory allocator
0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
to allocate 2 sub blocks for decoding
0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
block 0  type: virtual  size: 5672
0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
of heap memory at virt addr 0xe1b000
0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
block 1  type: physical  size: 5236744
0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
5236744
[ERR]   mem allocation failed!
0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
could not allocate memory block with 5236744 bytes
0:00:00.657818000   359   0xd25e00 WARN            videodecoder
gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
error: Failed to start decoder
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
Could not initialize supporting library.
Additional debug info:
gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
gst_video_decoder_change_state ():
/GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
Failed to start decoder
Setting pipeline to NULL ...
0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
stopping renderer
0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
not running - nothing to stop
0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
destroying EGL platform
0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
physical memory at address 0x10a5c000
0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
shutting down IPU allocator
0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
shutting down physical memory allocator
0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
device.c:82:gst_imx_ipu_close: IPU device closed
Freeing pipeline ...



root@linux123:~# dmesg -c
[  109.517131] gst-launch-1.0: page allocation failure: order:11, mode:0xd1
[  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
[  109.531468] Backtrace:
[  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
(show_stack+0x20/0x24)
[  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
[  109.548140] [<80012078>] (show_stack) from [<804458a0>]
(dump_stack+0x70/0x8c)
[  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
(warn_alloc_failed+0xe8/0x10c)
[  109.563696]  r4:00000001 r3:60010013
[  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
(__alloc_pages_nodemask+0x804/0x894)
[  109.576756]  r3:8de43d9e r2:00000000
[  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000 r4:000000d1
[  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
(__dma_alloc_buffer.isra.17+0x3c/0xf8)
[  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
r6:8de43e3c r5:004ff000
[  109.606105]  r4:0000000b
[  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
[<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
[  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
[  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
[<800193e4>] (__dma_alloc+0x24c/0x2d4)
[  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
r4:00000000 r3:8de43e3c
[  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
(arm_dma_alloc+0x94/0xa0)
[  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
r6:004ff000 r5:8de3c10c
[  109.659116]  r4:00000647
[  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
(vpu_alloc_dma_buffer+0x50/0x88)
[  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
r5:8de3c108 r4:00000000
[  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
(vpu_ioctl+0xec/0x880)
[  109.686944]  r5:7ee14570 r4:7ee14570
[  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
(do_vfs_ioctl+0x498/0x590)
[  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8 r4:7ee14570
[  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
(SyS_ioctl+0x44/0x6c)
[  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
r6:8d1386c0 r5:8d1386c1
[  109.721498]  r4:7ee14570
[  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
(ret_fast_syscall+0x0/0x30)
[  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
r4:7ee14570 r3:766fba9c
[  109.740058] Mem-info:
[  109.742655] DMA per-cpu:
[  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
[  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
[  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
[  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
[  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
[  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
[  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
[  109.755154]  free_cma:0
[  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
active_anon:44652kB inactive_anon:944kB active_file:12008kB
inactive_file:81692kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[  109.829243] lowmem_reserve[]: 0 0 0
[  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
(UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
0*32768kB = 40244kB
[  109.852730] 23917 total pagecache pages
[  109.856663] 0 pages in swap cache
[  109.860013] Swap cache stats: add 0, delete 0, find 0/0
[  109.865305] Free swap  = 0kB
[  109.868192] Total swap = 0kB
[  109.876717] 65536 pages of RAM
[  109.879786] 10426 free pages
[  109.882740] 3671 reserved pages
[  109.885898] 2271 slab pages
[  109.888720] 286701 pages shared
[  109.891910] 0 pages swap cached
[  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
[  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!


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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  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
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-11-17 14:55 UTC (permalink / raw)
  To: Vikas Patil, meta-freescale

Hi, first, please provide logs without word wrap, it is harder to read 
otherwise.
Second, can you try the latest git master of gstreamer-imx? Read its 
readme, since it has a new dependency.
Third, the interesting bit seems to be the memory allocation error.

On 11/17/2015 03:41 PM, Vikas Patil wrote:
> Hi,
>
> I am using following video pipeline and it works for random (1 or 2 or
> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
> imxvpudec
>
> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>
> Linux 3.14.28
> gstreamer-1.4.5
> gstreamer1.0-plugins-imx 0.11.1
> libfslvpuwrap 1.0.46
>
> See below the kernel log and gst log. Anyone faced the same issue? Any
> pointers/suggestions would be very helpful?
>
> Thanks & Regards,
> Vikash
>
>
>
> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
> interleaved }
> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
> interleaved }
> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
> progressive, interleaved } into video/x-raw, width=(int)[ 64,
> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
> }
> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
> progressive, interleaved } into video/x-raw, width=(int)[ 64,
> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
> }
> Setting pipeline to PAUSED ...
> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
> Wayland EGL platform initialized, using EGL 1.4
> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
> initializing physical memory allocator
> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
> device.c:61:gst_imx_ipu_open: IPU device opened
> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
> initialized IPU allocator
> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
> initializing blitter base
> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
> 256 bytes of physical memory at address 0x10a5c000
> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
> [INFO]  Product Info: i.MX6Q/D/S
> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
> initializing physical memory allocator
> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
> to allocate 2 sub blocks for decoding
> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
> block 0  type: virtual  size: 5672
> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
> of heap memory at virt addr 0xe1b000
> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
> block 1  type: physical  size: 5236744
> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
> 5236744
> [ERR]   mem allocation failed!
> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
> could not allocate memory block with 5236744 bytes
> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
> error: Failed to start decoder
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
> Could not initialize supporting library.
> Additional debug info:
> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
> gst_video_decoder_change_state ():
> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
> Failed to start decoder
> Setting pipeline to NULL ...
> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
> stopping renderer
> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
> not running - nothing to stop
> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
> destroying EGL platform
> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
> physical memory at address 0x10a5c000
> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
> shutting down IPU allocator
> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
> shutting down physical memory allocator
> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
> device.c:82:gst_imx_ipu_close: IPU device closed
> Freeing pipeline ...
>
>
>
> root@linux123:~# dmesg -c
> [  109.517131] gst-launch-1.0: page allocation failure: order:11, mode:0xd1
> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
> [  109.531468] Backtrace:
> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
> (show_stack+0x20/0x24)
> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
> (dump_stack+0x70/0x8c)
> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
> (warn_alloc_failed+0xe8/0x10c)
> [  109.563696]  r4:00000001 r3:60010013
> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
> (__alloc_pages_nodemask+0x804/0x894)
> [  109.576756]  r3:8de43d9e r2:00000000
> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000 r4:000000d1
> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
> r6:8de43e3c r5:004ff000
> [  109.606105]  r4:0000000b
> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
> r4:00000000 r3:8de43e3c
> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
> (arm_dma_alloc+0x94/0xa0)
> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
> r6:004ff000 r5:8de3c10c
> [  109.659116]  r4:00000647
> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
> (vpu_alloc_dma_buffer+0x50/0x88)
> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
> r5:8de3c108 r4:00000000
> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
> (vpu_ioctl+0xec/0x880)
> [  109.686944]  r5:7ee14570 r4:7ee14570
> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
> (do_vfs_ioctl+0x498/0x590)
> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8 r4:7ee14570
> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
> (SyS_ioctl+0x44/0x6c)
> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
> r6:8d1386c0 r5:8d1386c1
> [  109.721498]  r4:7ee14570
> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
> (ret_fast_syscall+0x0/0x30)
> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
> r4:7ee14570 r3:766fba9c
> [  109.740058] Mem-info:
> [  109.742655] DMA per-cpu:
> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
> [  109.755154]  free_cma:0
> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
> active_anon:44652kB inactive_anon:944kB active_file:12008kB
> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
> [  109.829243] lowmem_reserve[]: 0 0 0
> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
> 0*32768kB = 40244kB
> [  109.852730] 23917 total pagecache pages
> [  109.856663] 0 pages in swap cache
> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
> [  109.865305] Free swap  = 0kB
> [  109.868192] Total swap = 0kB
> [  109.876717] 65536 pages of RAM
> [  109.879786] 10426 free pages
> [  109.882740] 3671 reserved pages
> [  109.885898] 2271 slab pages
> [  109.888720] 286701 pages shared
> [  109.891910] 0 pages swap cached
> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  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-18 13:08     ` Carlos Rafael Giani
  0 siblings, 2 replies; 18+ messages in thread
From: Vikas Patil @ 2015-11-17 16:55 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

Hi Carlos,

Attached here the log file. I will check with the master branch. Is
there any other component I need to upgrade as I have only upgraded
gstreamer from fido to dizzy branch.

Regards,
Vikash

On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> Hi, first, please provide logs without word wrap, it is harder to read
> otherwise.
> Second, can you try the latest git master of gstreamer-imx? Read its readme,
> since it has a new dependency.
> Third, the interesting bit seems to be the memory allocation error.
>
>
> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>
>> Hi,
>>
>> I am using following video pipeline and it works for random (1 or 2 or
>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>> imxvpudec
>>
>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>
>> Linux 3.14.28
>> gstreamer-1.4.5
>> gstreamer1.0-plugins-imx 0.11.1
>> libfslvpuwrap 1.0.46
>>
>> See below the kernel log and gst log. Anyone faced the same issue? Any
>> pointers/suggestions would be very helpful?
>>
>> Thanks & Regards,
>> Vikash
>>
>>
>>
>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>
>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>> interleaved }
>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>
>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>> interleaved }
>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>
>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>> }
>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>
>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>> }
>> Setting pipeline to PAUSED ...
>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>> Wayland EGL platform initialized, using EGL 1.4
>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>
>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>> initializing physical memory allocator
>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>> device.c:61:gst_imx_ipu_open: IPU device opened
>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>> initialized IPU allocator
>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>> initializing blitter base
>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>
>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>> 256 bytes of physical memory at address 0x10a5c000
>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>
>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>> [INFO]  Product Info: i.MX6Q/D/S
>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>
>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>> initializing physical memory allocator
>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>> to allocate 2 sub blocks for decoding
>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>> block 0  type: virtual  size: 5672
>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>> of heap memory at virt addr 0xe1b000
>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>> block 1  type: physical  size: 5236744
>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>
>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>> 5236744
>> [ERR]   mem allocation failed!
>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>
>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>> could not allocate memory block with 5236744 bytes
>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>> error: Failed to start decoder
>> ERROR: Pipeline doesn't want to pause.
>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>> Could not initialize supporting library.
>> Additional debug info:
>>
>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>> gst_video_decoder_change_state ():
>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>> Failed to start decoder
>> Setting pipeline to NULL ...
>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>> stopping renderer
>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>> not running - nothing to stop
>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>> destroying EGL platform
>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>> physical memory at address 0x10a5c000
>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>
>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>> shutting down IPU allocator
>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>
>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>> shutting down physical memory allocator
>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>> device.c:82:gst_imx_ipu_close: IPU device closed
>> Freeing pipeline ...
>>
>>
>>
>> root@linux123:~# dmesg -c
>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>> mode:0xd1
>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
>> [  109.531468] Backtrace:
>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>> (show_stack+0x20/0x24)
>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>> (dump_stack+0x70/0x8c)
>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>> (warn_alloc_failed+0xe8/0x10c)
>> [  109.563696]  r4:00000001 r3:60010013
>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>> (__alloc_pages_nodemask+0x804/0x894)
>> [  109.576756]  r3:8de43d9e r2:00000000
>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>> r4:000000d1
>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>> r6:8de43e3c r5:004ff000
>> [  109.606105]  r4:0000000b
>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>> r4:00000000 r3:8de43e3c
>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>> (arm_dma_alloc+0x94/0xa0)
>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>> r6:004ff000 r5:8de3c10c
>> [  109.659116]  r4:00000647
>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>> (vpu_alloc_dma_buffer+0x50/0x88)
>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>> r5:8de3c108 r4:00000000
>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>> (vpu_ioctl+0xec/0x880)
>> [  109.686944]  r5:7ee14570 r4:7ee14570
>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>> (do_vfs_ioctl+0x498/0x590)
>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>> r4:7ee14570
>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>> (SyS_ioctl+0x44/0x6c)
>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>> r6:8d1386c0 r5:8d1386c1
>> [  109.721498]  r4:7ee14570
>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>> (ret_fast_syscall+0x0/0x30)
>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>> r4:7ee14570 r3:766fba9c
>> [  109.740058] Mem-info:
>> [  109.742655] DMA per-cpu:
>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>> [  109.755154]  free_cma:0
>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>> [  109.829243] lowmem_reserve[]: 0 0 0
>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>> 0*32768kB = 40244kB
>> [  109.852730] 23917 total pagecache pages
>> [  109.856663] 0 pages in swap cache
>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>> [  109.865305] Free swap  = 0kB
>> [  109.868192] Total swap = 0kB
>> [  109.876717] 65536 pages of RAM
>> [  109.879786] 10426 free pages
>> [  109.882740] 3671 reserved pages
>> [  109.885898] 2271 slab pages
>> [  109.888720] 286701 pages shared
>> [  109.891910] 0 pages swap cached
>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>
>


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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  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 13:08     ` Carlos Rafael Giani
  1 sibling, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-11-17 16:57 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

"Upgraded from fido to dizzy"? You mean, you backported the fido 
gstreamer recipes to dizzy?

In any event, you need libimxvpuapi. meta-fsl-arm jethro has a recipe 
for it. It should also work in dizzy. Didn't test it though.

On 11/17/2015 05:55 PM, Vikas Patil wrote:
> Hi Carlos,
>
> Attached here the log file. I will check with the master branch. Is
> there any other component I need to upgrade as I have only upgraded
> gstreamer from fido to dizzy branch.
>
> Regards,
> Vikash
>
> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> Hi, first, please provide logs without word wrap, it is harder to read
>> otherwise.
>> Second, can you try the latest git master of gstreamer-imx? Read its readme,
>> since it has a new dependency.
>> Third, the interesting bit seems to be the memory allocation error.
>>
>>
>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>> Hi,
>>>
>>> I am using following video pipeline and it works for random (1 or 2 or
>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>> imxvpudec
>>>
>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>
>>> Linux 3.14.28
>>> gstreamer-1.4.5
>>> gstreamer1.0-plugins-imx 0.11.1
>>> libfslvpuwrap 1.0.46
>>>
>>> See below the kernel log and gst log. Anyone faced the same issue? Any
>>> pointers/suggestions would be very helpful?
>>>
>>> Thanks & Regards,
>>> Vikash
>>>
>>>
>>>
>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>> interleaved }
>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>> interleaved }
>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>> }
>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>> }
>>> Setting pipeline to PAUSED ...
>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>> Wayland EGL platform initialized, using EGL 1.4
>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>> initializing physical memory allocator
>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>> initialized IPU allocator
>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>> initializing blitter base
>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>
>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>>> 256 bytes of physical memory at address 0x10a5c000
>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>> [INFO]  Product Info: i.MX6Q/D/S
>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>> initializing physical memory allocator
>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>> to allocate 2 sub blocks for decoding
>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>> block 0  type: virtual  size: 5672
>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>>> of heap memory at virt addr 0xe1b000
>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>> block 1  type: physical  size: 5236744
>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>
>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>> 5236744
>>> [ERR]   mem allocation failed!
>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>> could not allocate memory block with 5236744 bytes
>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>> error: Failed to start decoder
>>> ERROR: Pipeline doesn't want to pause.
>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>> Could not initialize supporting library.
>>> Additional debug info:
>>>
>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>> gst_video_decoder_change_state ():
>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>> Failed to start decoder
>>> Setting pipeline to NULL ...
>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>> stopping renderer
>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>> not running - nothing to stop
>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>> destroying EGL platform
>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>> physical memory at address 0x10a5c000
>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>> shutting down IPU allocator
>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>> shutting down physical memory allocator
>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>> Freeing pipeline ...
>>>
>>>
>>>
>>> root@linux123:~# dmesg -c
>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>> mode:0xd1
>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
>>> [  109.531468] Backtrace:
>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>> (show_stack+0x20/0x24)
>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>> (dump_stack+0x70/0x8c)
>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>> (warn_alloc_failed+0xe8/0x10c)
>>> [  109.563696]  r4:00000001 r3:60010013
>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>> (__alloc_pages_nodemask+0x804/0x894)
>>> [  109.576756]  r3:8de43d9e r2:00000000
>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>> r4:000000d1
>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>> r6:8de43e3c r5:004ff000
>>> [  109.606105]  r4:0000000b
>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>> r4:00000000 r3:8de43e3c
>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>> (arm_dma_alloc+0x94/0xa0)
>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>> r6:004ff000 r5:8de3c10c
>>> [  109.659116]  r4:00000647
>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>> r5:8de3c108 r4:00000000
>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>> (vpu_ioctl+0xec/0x880)
>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>> (do_vfs_ioctl+0x498/0x590)
>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>> r4:7ee14570
>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>> (SyS_ioctl+0x44/0x6c)
>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>> r6:8d1386c0 r5:8d1386c1
>>> [  109.721498]  r4:7ee14570
>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>> (ret_fast_syscall+0x0/0x30)
>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>> r4:7ee14570 r3:766fba9c
>>> [  109.740058] Mem-info:
>>> [  109.742655] DMA per-cpu:
>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>> [  109.755154]  free_cma:0
>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>> 0*32768kB = 40244kB
>>> [  109.852730] 23917 total pagecache pages
>>> [  109.856663] 0 pages in swap cache
>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>> [  109.865305] Free swap  = 0kB
>>> [  109.868192] Total swap = 0kB
>>> [  109.876717] 65536 pages of RAM
>>> [  109.879786] 10426 free pages
>>> [  109.882740] 3671 reserved pages
>>> [  109.885898] 2271 slab pages
>>> [  109.888720] 286701 pages shared
>>> [  109.891910] 0 pages swap cached
>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-17 16:57     ` Carlos Rafael Giani
@ 2015-11-17 17:53       ` Vikas Patil
  2015-11-18 12:15         ` Vikas Patil
  0 siblings, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-11-17 17:53 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

Hi Carlos,

Yes back-ported  the fido gstreamer recipes to dizzy.

Do you mean I need to upgrade "imx-vpu-3.10.17-1.0.0" (i.e. dizzy) to
imx-vpu_5.4.28.bb (i.e. fido) or to "imx-vpu_5.4.31.bb" (i.e. jethro)
along with libimxvpuapi_0.10.0.bb?

Regards,
Vikash

On Tue, Nov 17, 2015 at 10:27 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> "Upgraded from fido to dizzy"? You mean, you backported the fido gstreamer
> recipes to dizzy?
>
> In any event, you need libimxvpuapi. meta-fsl-arm jethro has a recipe for
> it. It should also work in dizzy. Didn't test it though.
>
>
> On 11/17/2015 05:55 PM, Vikas Patil wrote:
>>
>> Hi Carlos,
>>
>> Attached here the log file. I will check with the master branch. Is
>> there any other component I need to upgrade as I have only upgraded
>> gstreamer from fido to dizzy branch.
>>
>> Regards,
>> Vikash
>>
>> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
>> <dv@pseudoterminal.org> wrote:
>>>
>>> Hi, first, please provide logs without word wrap, it is harder to read
>>> otherwise.
>>> Second, can you try the latest git master of gstreamer-imx? Read its
>>> readme,
>>> since it has a new dependency.
>>> Third, the interesting bit seems to be the memory allocation error.
>>>
>>>
>>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am using following video pipeline and it works for random (1 or 2 or
>>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>>> imxvpudec
>>>>
>>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>
>>>> Linux 3.14.28
>>>> gstreamer-1.4.5
>>>> gstreamer1.0-plugins-imx 0.11.1
>>>> libfslvpuwrap 1.0.46
>>>>
>>>> See below the kernel log and gst log. Anyone faced the same issue? Any
>>>> pointers/suggestions would be very helpful?
>>>>
>>>> Thanks & Regards,
>>>> Vikash
>>>>
>>>>
>>>>
>>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>
>>>>
>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>> interleaved }
>>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>
>>>>
>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>> interleaved }
>>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>
>>>>
>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>> }
>>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>
>>>>
>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>> }
>>>> Setting pipeline to PAUSED ...
>>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>>> Wayland EGL platform initialized, using EGL 1.4
>>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>>> initializing physical memory allocator
>>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>>> initialized IPU allocator
>>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>>> initializing blitter base
>>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>>>> 256 bytes of physical memory at address 0x10a5c000
>>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>>> [INFO]  Product Info: i.MX6Q/D/S
>>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>>> initializing physical memory allocator
>>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>>> to allocate 2 sub blocks for decoding
>>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>> block 0  type: virtual  size: 5672
>>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>>>> of heap memory at virt addr 0xe1b000
>>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>> block 1  type: physical  size: 5236744
>>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>>> 5236744
>>>> [ERR]   mem allocation failed!
>>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>>> could not allocate memory block with 5236744 bytes
>>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>>> error: Failed to start decoder
>>>> ERROR: Pipeline doesn't want to pause.
>>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>> Could not initialize supporting library.
>>>> Additional debug info:
>>>>
>>>>
>>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>>> gst_video_decoder_change_state ():
>>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>> Failed to start decoder
>>>> Setting pipeline to NULL ...
>>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>> stopping renderer
>>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>>> not running - nothing to stop
>>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>> destroying EGL platform
>>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>>> physical memory at address 0x10a5c000
>>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>>> shutting down IPU allocator
>>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>>
>>>>
>>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>>> shutting down physical memory allocator
>>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>>> Freeing pipeline ...
>>>>
>>>>
>>>>
>>>> root@linux123:~# dmesg -c
>>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>>> mode:0xd1
>>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28
>>>> #1
>>>> [  109.531468] Backtrace:
>>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>>> (show_stack+0x20/0x24)
>>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>>> (dump_stack+0x70/0x8c)
>>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>>> (warn_alloc_failed+0xe8/0x10c)
>>>> [  109.563696]  r4:00000001 r3:60010013
>>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>>> (__alloc_pages_nodemask+0x804/0x894)
>>>> [  109.576756]  r3:8de43d9e r2:00000000
>>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>>> r4:000000d1
>>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>>> r6:8de43e3c r5:004ff000
>>>> [  109.606105]  r4:0000000b
>>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>>> r4:00000000 r3:8de43e3c
>>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>>> (arm_dma_alloc+0x94/0xa0)
>>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>>> r6:004ff000 r5:8de3c10c
>>>> [  109.659116]  r4:00000647
>>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>>> r5:8de3c108 r4:00000000
>>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>>> (vpu_ioctl+0xec/0x880)
>>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>>> (do_vfs_ioctl+0x498/0x590)
>>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>>> r4:7ee14570
>>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>>> (SyS_ioctl+0x44/0x6c)
>>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>>> r6:8d1386c0 r5:8d1386c1
>>>> [  109.721498]  r4:7ee14570
>>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>>> (ret_fast_syscall+0x0/0x30)
>>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>>> r4:7ee14570 r3:766fba9c
>>>> [  109.740058] Mem-info:
>>>> [  109.742655] DMA per-cpu:
>>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>>> [  109.755154]  free_cma:0
>>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>>> 0*32768kB = 40244kB
>>>> [  109.852730] 23917 total pagecache pages
>>>> [  109.856663] 0 pages in swap cache
>>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>>> [  109.865305] Free swap  = 0kB
>>>> [  109.868192] Total swap = 0kB
>>>> [  109.876717] 65536 pages of RAM
>>>> [  109.879786] 10426 free pages
>>>> [  109.882740] 3671 reserved pages
>>>> [  109.885898] 2271 slab pages
>>>> [  109.888720] 286701 pages shared
>>>> [  109.891910] 0 pages swap cached
>>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>
>>>
>


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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-17 17:53       ` Vikas Patil
@ 2015-11-18 12:15         ` Vikas Patil
  2015-11-18 13:10           ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-11-18 12:15 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

Hi Carlos,

I have tried with following components and still seeing the issue.

gstreamer1.0-plugins-imx  (master SRCREV =
"813756a0cb70d7aa609c3d35427179e75ca10013")
imx-vpu_5.4.31.bb (jethro)
libimxvpuapi_0.10.0.bb (jethro)
linux 3.14.28

Have you also seen such issue ? Any pointers?

Regards,
Vikash

On Tue, Nov 17, 2015 at 11:23 PM, Vikas Patil <vikasmpatil@gmail.com> wrote:
> Hi Carlos,
>
> Yes back-ported  the fido gstreamer recipes to dizzy.
>
> Do you mean I need to upgrade "imx-vpu-3.10.17-1.0.0" (i.e. dizzy) to
> imx-vpu_5.4.28.bb (i.e. fido) or to "imx-vpu_5.4.31.bb" (i.e. jethro)
> along with libimxvpuapi_0.10.0.bb?
>
> Regards,
> Vikash
>
> On Tue, Nov 17, 2015 at 10:27 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> "Upgraded from fido to dizzy"? You mean, you backported the fido gstreamer
>> recipes to dizzy?
>>
>> In any event, you need libimxvpuapi. meta-fsl-arm jethro has a recipe for
>> it. It should also work in dizzy. Didn't test it though.
>>
>>
>> On 11/17/2015 05:55 PM, Vikas Patil wrote:
>>>
>>> Hi Carlos,
>>>
>>> Attached here the log file. I will check with the master branch. Is
>>> there any other component I need to upgrade as I have only upgraded
>>> gstreamer from fido to dizzy branch.
>>>
>>> Regards,
>>> Vikash
>>>
>>> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
>>> <dv@pseudoterminal.org> wrote:
>>>>
>>>> Hi, first, please provide logs without word wrap, it is harder to read
>>>> otherwise.
>>>> Second, can you try the latest git master of gstreamer-imx? Read its
>>>> readme,
>>>> since it has a new dependency.
>>>> Third, the interesting bit seems to be the memory allocation error.
>>>>
>>>>
>>>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am using following video pipeline and it works for random (1 or 2 or
>>>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>>>> imxvpudec
>>>>>
>>>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>>
>>>>> Linux 3.14.28
>>>>> gstreamer-1.4.5
>>>>> gstreamer1.0-plugins-imx 0.11.1
>>>>> libfslvpuwrap 1.0.46
>>>>>
>>>>> See below the kernel log and gst log. Anyone faced the same issue? Any
>>>>> pointers/suggestions would be very helpful?
>>>>>
>>>>> Thanks & Regards,
>>>>> Vikash
>>>>>
>>>>>
>>>>>
>>>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>>>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>
>>>>>
>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>> interleaved }
>>>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>
>>>>>
>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>> interleaved }
>>>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>
>>>>>
>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>>> }
>>>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>
>>>>>
>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>>> }
>>>>> Setting pipeline to PAUSED ...
>>>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>>>> Wayland EGL platform initialized, using EGL 1.4
>>>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>>>> initializing physical memory allocator
>>>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>>>> initialized IPU allocator
>>>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>>>> initializing blitter base
>>>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>>>>> 256 bytes of physical memory at address 0x10a5c000
>>>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>>>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>>>> [INFO]  Product Info: i.MX6Q/D/S
>>>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>>>> initializing physical memory allocator
>>>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>>>> to allocate 2 sub blocks for decoding
>>>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>> block 0  type: virtual  size: 5672
>>>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>>>>> of heap memory at virt addr 0xe1b000
>>>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>> block 1  type: physical  size: 5236744
>>>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>>>> 5236744
>>>>> [ERR]   mem allocation failed!
>>>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>>>> could not allocate memory block with 5236744 bytes
>>>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>>>> error: Failed to start decoder
>>>>> ERROR: Pipeline doesn't want to pause.
>>>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>> Could not initialize supporting library.
>>>>> Additional debug info:
>>>>>
>>>>>
>>>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>>>> gst_video_decoder_change_state ():
>>>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>> Failed to start decoder
>>>>> Setting pipeline to NULL ...
>>>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>> stopping renderer
>>>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>>>> not running - nothing to stop
>>>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>> destroying EGL platform
>>>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>>>> physical memory at address 0x10a5c000
>>>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>>>> shutting down IPU allocator
>>>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>
>>>>>
>>>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>>>> shutting down physical memory allocator
>>>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>>>> Freeing pipeline ...
>>>>>
>>>>>
>>>>>
>>>>> root@linux123:~# dmesg -c
>>>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>>>> mode:0xd1
>>>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28
>>>>> #1
>>>>> [  109.531468] Backtrace:
>>>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>>>> (show_stack+0x20/0x24)
>>>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>>>> (dump_stack+0x70/0x8c)
>>>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>>>> (warn_alloc_failed+0xe8/0x10c)
>>>>> [  109.563696]  r4:00000001 r3:60010013
>>>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>>>> (__alloc_pages_nodemask+0x804/0x894)
>>>>> [  109.576756]  r3:8de43d9e r2:00000000
>>>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>>>> r4:000000d1
>>>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>>>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>>>> r6:8de43e3c r5:004ff000
>>>>> [  109.606105]  r4:0000000b
>>>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>>>> r4:00000000 r3:8de43e3c
>>>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>>>> (arm_dma_alloc+0x94/0xa0)
>>>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>>>> r6:004ff000 r5:8de3c10c
>>>>> [  109.659116]  r4:00000647
>>>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>>>> r5:8de3c108 r4:00000000
>>>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>>>> (vpu_ioctl+0xec/0x880)
>>>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>>>> (do_vfs_ioctl+0x498/0x590)
>>>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>>>> r4:7ee14570
>>>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>>>> (SyS_ioctl+0x44/0x6c)
>>>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>>>> r6:8d1386c0 r5:8d1386c1
>>>>> [  109.721498]  r4:7ee14570
>>>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>>>> (ret_fast_syscall+0x0/0x30)
>>>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>>>> r4:7ee14570 r3:766fba9c
>>>>> [  109.740058] Mem-info:
>>>>> [  109.742655] DMA per-cpu:
>>>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>>>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>>>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>>>> [  109.755154]  free_cma:0
>>>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>>>> 0*32768kB = 40244kB
>>>>> [  109.852730] 23917 total pagecache pages
>>>>> [  109.856663] 0 pages in swap cache
>>>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>>>> [  109.865305] Free swap  = 0kB
>>>>> [  109.868192] Total swap = 0kB
>>>>> [  109.876717] 65536 pages of RAM
>>>>> [  109.879786] 10426 free pages
>>>>> [  109.882740] 3671 reserved pages
>>>>> [  109.885898] 2271 slab pages
>>>>> [  109.888720] 286701 pages shared
>>>>> [  109.891910] 0 pages swap cached
>>>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>
>>>>
>>


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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-17 16:55   ` Vikas Patil
  2015-11-17 16:57     ` Carlos Rafael Giani
@ 2015-11-18 13:08     ` Carlos Rafael Giani
  1 sibling, 0 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-11-18 13:08 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

No attached log file found here.

On 11/17/2015 05:55 PM, Vikas Patil wrote:
> Hi Carlos,
>
> Attached here the log file. I will check with the master branch. Is
> there any other component I need to upgrade as I have only upgraded
> gstreamer from fido to dizzy branch.
>
> Regards,
> Vikash
>
> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> Hi, first, please provide logs without word wrap, it is harder to read
>> otherwise.
>> Second, can you try the latest git master of gstreamer-imx? Read its readme,
>> since it has a new dependency.
>> Third, the interesting bit seems to be the memory allocation error.
>>
>>
>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>> Hi,
>>>
>>> I am using following video pipeline and it works for random (1 or 2 or
>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>> imxvpudec
>>>
>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>
>>> Linux 3.14.28
>>> gstreamer-1.4.5
>>> gstreamer1.0-plugins-imx 0.11.1
>>> libfslvpuwrap 1.0.46
>>>
>>> See below the kernel log and gst log. Anyone faced the same issue? Any
>>> pointers/suggestions would be very helpful?
>>>
>>> Thanks & Regards,
>>> Vikash
>>>
>>>
>>>
>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>> interleaved }
>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>> interleaved }
>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>> }
>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>
>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>> }
>>> Setting pipeline to PAUSED ...
>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>> Wayland EGL platform initialized, using EGL 1.4
>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>> initializing physical memory allocator
>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>> initialized IPU allocator
>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>> initializing blitter base
>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>
>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>>> 256 bytes of physical memory at address 0x10a5c000
>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>> [INFO]  Product Info: i.MX6Q/D/S
>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>> initializing physical memory allocator
>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>> to allocate 2 sub blocks for decoding
>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>> block 0  type: virtual  size: 5672
>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>>> of heap memory at virt addr 0xe1b000
>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>> block 1  type: physical  size: 5236744
>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>
>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>> 5236744
>>> [ERR]   mem allocation failed!
>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>> could not allocate memory block with 5236744 bytes
>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>> error: Failed to start decoder
>>> ERROR: Pipeline doesn't want to pause.
>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>> Could not initialize supporting library.
>>> Additional debug info:
>>>
>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>> gst_video_decoder_change_state ():
>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>> Failed to start decoder
>>> Setting pipeline to NULL ...
>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>> stopping renderer
>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>> not running - nothing to stop
>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>> destroying EGL platform
>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>> physical memory at address 0x10a5c000
>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>> shutting down IPU allocator
>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>
>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>> shutting down physical memory allocator
>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>> Freeing pipeline ...
>>>
>>>
>>>
>>> root@linux123:~# dmesg -c
>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>> mode:0xd1
>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
>>> [  109.531468] Backtrace:
>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>> (show_stack+0x20/0x24)
>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>> (dump_stack+0x70/0x8c)
>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>> (warn_alloc_failed+0xe8/0x10c)
>>> [  109.563696]  r4:00000001 r3:60010013
>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>> (__alloc_pages_nodemask+0x804/0x894)
>>> [  109.576756]  r3:8de43d9e r2:00000000
>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>> r4:000000d1
>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>> r6:8de43e3c r5:004ff000
>>> [  109.606105]  r4:0000000b
>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>> r4:00000000 r3:8de43e3c
>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>> (arm_dma_alloc+0x94/0xa0)
>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>> r6:004ff000 r5:8de3c10c
>>> [  109.659116]  r4:00000647
>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>> r5:8de3c108 r4:00000000
>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>> (vpu_ioctl+0xec/0x880)
>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>> (do_vfs_ioctl+0x498/0x590)
>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>> r4:7ee14570
>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>> (SyS_ioctl+0x44/0x6c)
>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>> r6:8d1386c0 r5:8d1386c1
>>> [  109.721498]  r4:7ee14570
>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>> (ret_fast_syscall+0x0/0x30)
>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>> r4:7ee14570 r3:766fba9c
>>> [  109.740058] Mem-info:
>>> [  109.742655] DMA per-cpu:
>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>> [  109.755154]  free_cma:0
>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>> 0*32768kB = 40244kB
>>> [  109.852730] 23917 total pagecache pages
>>> [  109.856663] 0 pages in swap cache
>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>> [  109.865305] Free swap  = 0kB
>>> [  109.868192] Total swap = 0kB
>>> [  109.876717] 65536 pages of RAM
>>> [  109.879786] 10426 free pages
>>> [  109.882740] 3671 reserved pages
>>> [  109.885898] 2271 slab pages
>>> [  109.888720] 286701 pages shared
>>> [  109.891910] 0 pages swap cached
>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-18 12:15         ` Vikas Patil
@ 2015-11-18 13:10           ` Carlos Rafael Giani
  2015-11-18 15:00             ` Vikas Patil
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-11-18 13:10 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

You don't have to upgrade imx-vpu - the Dizzy one should be enough. 
Provide a log file with this latest master, and attach it.

On 11/18/2015 01:15 PM, Vikas Patil wrote:
> Hi Carlos,
>
> I have tried with following components and still seeing the issue.
>
> gstreamer1.0-plugins-imx  (master SRCREV =
> "813756a0cb70d7aa609c3d35427179e75ca10013")
> imx-vpu_5.4.31.bb (jethro)
> libimxvpuapi_0.10.0.bb (jethro)
> linux 3.14.28
>
> Have you also seen such issue ? Any pointers?
>
> Regards,
> Vikash
>
> On Tue, Nov 17, 2015 at 11:23 PM, Vikas Patil <vikasmpatil@gmail.com> wrote:
>> Hi Carlos,
>>
>> Yes back-ported  the fido gstreamer recipes to dizzy.
>>
>> Do you mean I need to upgrade "imx-vpu-3.10.17-1.0.0" (i.e. dizzy) to
>> imx-vpu_5.4.28.bb (i.e. fido) or to "imx-vpu_5.4.31.bb" (i.e. jethro)
>> along with libimxvpuapi_0.10.0.bb?
>>
>> Regards,
>> Vikash
>>
>> On Tue, Nov 17, 2015 at 10:27 PM, Carlos Rafael Giani
>> <dv@pseudoterminal.org> wrote:
>>> "Upgraded from fido to dizzy"? You mean, you backported the fido gstreamer
>>> recipes to dizzy?
>>>
>>> In any event, you need libimxvpuapi. meta-fsl-arm jethro has a recipe for
>>> it. It should also work in dizzy. Didn't test it though.
>>>
>>>
>>> On 11/17/2015 05:55 PM, Vikas Patil wrote:
>>>> Hi Carlos,
>>>>
>>>> Attached here the log file. I will check with the master branch. Is
>>>> there any other component I need to upgrade as I have only upgraded
>>>> gstreamer from fido to dizzy branch.
>>>>
>>>> Regards,
>>>> Vikash
>>>>
>>>> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
>>>> <dv@pseudoterminal.org> wrote:
>>>>> Hi, first, please provide logs without word wrap, it is harder to read
>>>>> otherwise.
>>>>> Second, can you try the latest git master of gstreamer-imx? Read its
>>>>> readme,
>>>>> since it has a new dependency.
>>>>> Third, the interesting bit seems to be the memory allocation error.
>>>>>
>>>>>
>>>>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am using following video pipeline and it works for random (1 or 2 or
>>>>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>>>>> imxvpudec
>>>>>>
>>>>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>>>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>>>
>>>>>> Linux 3.14.28
>>>>>> gstreamer-1.4.5
>>>>>> gstreamer1.0-plugins-imx 0.11.1
>>>>>> libfslvpuwrap 1.0.46
>>>>>>
>>>>>> See below the kernel log and gst log. Anyone faced the same issue? Any
>>>>>> pointers/suggestions would be very helpful?
>>>>>>
>>>>>> Thanks & Regards,
>>>>>> Vikash
>>>>>>
>>>>>>
>>>>>>
>>>>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>>>>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>
>>>>>>
>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>>> interleaved }
>>>>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>
>>>>>>
>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA,
>>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>>> interleaved }
>>>>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>
>>>>>>
>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>>>> }
>>>>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>
>>>>>>
>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved
>>>>>> }
>>>>>> Setting pipeline to PAUSED ...
>>>>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>>>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>>>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>>>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>>>>> Wayland EGL platform initialized, using EGL 1.4
>>>>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>>>>> initializing physical memory allocator
>>>>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>>>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>>>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>>>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>>>>> initialized IPU allocator
>>>>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>>>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>>>>> initializing blitter base
>>>>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>>>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>>>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>>>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated
>>>>>> 256 bytes of physical memory at address 0x10a5c000
>>>>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>>>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
>>>>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>>>>> [INFO]  Product Info: i.MX6Q/D/S
>>>>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>>>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>>>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>>>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>>>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>>>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>>>>> initializing physical memory allocator
>>>>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>>>>> to allocate 2 sub blocks for decoding
>>>>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>>> block 0  type: virtual  size: 5672
>>>>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>>>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes
>>>>>> of heap memory at virt addr 0xe1b000
>>>>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>>> block 1  type: physical  size: 5236744
>>>>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>>>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>>>>> 5236744
>>>>>> [ERR]   mem allocation failed!
>>>>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>>>>> could not allocate memory block with 5236744 bytes
>>>>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>>>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>>>>> error: Failed to start decoder
>>>>>> ERROR: Pipeline doesn't want to pause.
>>>>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>>> Could not initialize supporting library.
>>>>>> Additional debug info:
>>>>>>
>>>>>>
>>>>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>>>>> gst_video_decoder_change_state ():
>>>>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>>> Failed to start decoder
>>>>>> Setting pipeline to NULL ...
>>>>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>>>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>>> stopping renderer
>>>>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>>>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>>>>> not running - nothing to stop
>>>>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>>>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>>> destroying EGL platform
>>>>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>>>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>>>>> physical memory at address 0x10a5c000
>>>>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>>>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>>>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>>>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>>>>> shutting down IPU allocator
>>>>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>
>>>>>>
>>>>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>>>>> shutting down physical memory allocator
>>>>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>>>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>>>>> Freeing pipeline ...
>>>>>>
>>>>>>
>>>>>>
>>>>>> root@linux123:~# dmesg -c
>>>>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>>>>> mode:0xd1
>>>>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28
>>>>>> #1
>>>>>> [  109.531468] Backtrace:
>>>>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>>>>> (show_stack+0x20/0x24)
>>>>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>>>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>>>>> (dump_stack+0x70/0x8c)
>>>>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>>>>> (warn_alloc_failed+0xe8/0x10c)
>>>>>> [  109.563696]  r4:00000001 r3:60010013
>>>>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>>>>> (__alloc_pages_nodemask+0x804/0x894)
>>>>>> [  109.576756]  r3:8de43d9e r2:00000000
>>>>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>>>>> r4:000000d1
>>>>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>]
>>>>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>>>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>>>>> r6:8de43e3c r5:004ff000
>>>>>> [  109.606105]  r4:0000000b
>>>>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>>>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>>>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>>>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>>>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>>>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>>>>> r4:00000000 r3:8de43e3c
>>>>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>>>>> (arm_dma_alloc+0x94/0xa0)
>>>>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>>>>> r6:004ff000 r5:8de3c10c
>>>>>> [  109.659116]  r4:00000647
>>>>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>>>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>>>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>>>>> r5:8de3c108 r4:00000000
>>>>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>>>>> (vpu_ioctl+0xec/0x880)
>>>>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>>>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>>>>> (do_vfs_ioctl+0x498/0x590)
>>>>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>>>>> r4:7ee14570
>>>>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>>>>> (SyS_ioctl+0x44/0x6c)
>>>>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>>>>> r6:8d1386c0 r5:8d1386c1
>>>>>> [  109.721498]  r4:7ee14570
>>>>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>>>>> (ret_fast_syscall+0x0/0x30)
>>>>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>>>>> r4:7ee14570 r3:766fba9c
>>>>>> [  109.740058] Mem-info:
>>>>>> [  109.742655] DMA per-cpu:
>>>>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>>>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>>>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>>>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>>>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>>>>> [  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
>>>>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>>>>> [  109.755154]  free_cma:0
>>>>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>>>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>>>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>>>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>>>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>>>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>>>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>>>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>>>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>>>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>>>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>>>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>>>>> 0*32768kB = 40244kB
>>>>>> [  109.852730] 23917 total pagecache pages
>>>>>> [  109.856663] 0 pages in swap cache
>>>>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>>>>> [  109.865305] Free swap  = 0kB
>>>>>> [  109.868192] Total swap = 0kB
>>>>>> [  109.876717] 65536 pages of RAM
>>>>>> [  109.879786] 10426 free pages
>>>>>> [  109.882740] 3671 reserved pages
>>>>>> [  109.885898] 2271 slab pages
>>>>>> [  109.888720] 286701 pages shared
>>>>>> [  109.891910] 0 pages swap cached
>>>>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>>



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-18 13:10           ` Carlos Rafael Giani
@ 2015-11-18 15:00             ` Vikas Patil
  2015-11-18 16:58               ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-11-18 15:00 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

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

I changed the setup now. so don't have log with latest master.
Attaching log which was missing.

Regards,
Vikash

On Wed, Nov 18, 2015 at 6:40 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> You don't have to upgrade imx-vpu - the Dizzy one should be enough. Provide
> a log file with this latest master, and attach it.
>
>
> On 11/18/2015 01:15 PM, Vikas Patil wrote:
>>
>> Hi Carlos,
>>
>> I have tried with following components and still seeing the issue.
>>
>> gstreamer1.0-plugins-imx  (master SRCREV =
>> "813756a0cb70d7aa609c3d35427179e75ca10013")
>> imx-vpu_5.4.31.bb (jethro)
>> libimxvpuapi_0.10.0.bb (jethro)
>> linux 3.14.28
>>
>> Have you also seen such issue ? Any pointers?
>>
>> Regards,
>> Vikash
>>
>> On Tue, Nov 17, 2015 at 11:23 PM, Vikas Patil <vikasmpatil@gmail.com>
>> wrote:
>>>
>>> Hi Carlos,
>>>
>>> Yes back-ported  the fido gstreamer recipes to dizzy.
>>>
>>> Do you mean I need to upgrade "imx-vpu-3.10.17-1.0.0" (i.e. dizzy) to
>>> imx-vpu_5.4.28.bb (i.e. fido) or to "imx-vpu_5.4.31.bb" (i.e. jethro)
>>> along with libimxvpuapi_0.10.0.bb?
>>>
>>> Regards,
>>> Vikash
>>>
>>> On Tue, Nov 17, 2015 at 10:27 PM, Carlos Rafael Giani
>>> <dv@pseudoterminal.org> wrote:
>>>>
>>>> "Upgraded from fido to dizzy"? You mean, you backported the fido
>>>> gstreamer
>>>> recipes to dizzy?
>>>>
>>>> In any event, you need libimxvpuapi. meta-fsl-arm jethro has a recipe
>>>> for
>>>> it. It should also work in dizzy. Didn't test it though.
>>>>
>>>>
>>>> On 11/17/2015 05:55 PM, Vikas Patil wrote:
>>>>>
>>>>> Hi Carlos,
>>>>>
>>>>> Attached here the log file. I will check with the master branch. Is
>>>>> there any other component I need to upgrade as I have only upgraded
>>>>> gstreamer from fido to dizzy branch.
>>>>>
>>>>> Regards,
>>>>> Vikash
>>>>>
>>>>> On Tue, Nov 17, 2015 at 8:25 PM, Carlos Rafael Giani
>>>>> <dv@pseudoterminal.org> wrote:
>>>>>>
>>>>>> Hi, first, please provide logs without word wrap, it is harder to read
>>>>>> otherwise.
>>>>>> Second, can you try the latest git master of gstreamer-imx? Read its
>>>>>> readme,
>>>>>> since it has a new dependency.
>>>>>> Third, the interesting bit seems to be the memory allocation error.
>>>>>>
>>>>>>
>>>>>> On 11/17/2015 03:41 PM, Vikas Patil wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am using following video pipeline and it works for random (1 or 2
>>>>>>> or
>>>>>>> 3 maximum) times and crashes sometime 2nd time sometime 3rd time in
>>>>>>> imxvpudec
>>>>>>>
>>>>>>> gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
>>>>>>> h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
>>>>>>>
>>>>>>> Linux 3.14.28
>>>>>>> gstreamer-1.4.5
>>>>>>> gstreamer1.0-plugins-imx 0.11.1
>>>>>>> libfslvpuwrap 1.0.46
>>>>>>>
>>>>>>> See below the kernel log and gst log. Anyone faced the same issue?
>>>>>>> Any
>>>>>>> pointers/suggestions would be very helpful?
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>> Vikash
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4
>>>>>>> !
>>>>>>> qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform !
>>>>>>> imxeglvivsink
>>>>>>> 0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx,
>>>>>>> BGRA,
>>>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>>>> interleaved }
>>>>>>> 0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>>> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx,
>>>>>>> BGRA,
>>>>>>> RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 },
>>>>>>> width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>>> progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed,
>>>>>>> interleaved }
>>>>>>> 0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive,
>>>>>>> interleaved
>>>>>>> }
>>>>>>> 0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>
>>>>>>> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[
>>>>>>> 64, 2147483647 ], height=(int)[ 64, 2147483647 ],
>>>>>>> framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){
>>>>>>> progressive, interleaved } into video/x-raw, width=(int)[ 64,
>>>>>>> 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[
>>>>>>> 0/1, 2147483647/1 ], interlace-mode=(string){ progressive,
>>>>>>> interleaved
>>>>>>> }
>>>>>>> Setting pipeline to PAUSED ...
>>>>>>> 0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl
>>>>>>> egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
>>>>>>> 0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl
>>>>>>> egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create:
>>>>>>> Wayland EGL platform initialized, using EGL 1.4
>>>>>>> 0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110>
>>>>>>> initializing physical memory allocator
>>>>>>> 0:00:00.244878666   359   0xd25e00 INFO            imxipudevice
>>>>>>> device.c:61:gst_imx_ipu_open: IPU device opened
>>>>>>> 0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator
>>>>>>>
>>>>>>> allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110>
>>>>>>> initialized IPU allocator
>>>>>>> 0:00:00.246598333   359   0xd25e00 TRACE             imxblitter
>>>>>>> blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000>
>>>>>>> initializing blitter base
>>>>>>> 0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0>
>>>>>>> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
>>>>>>> 0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator
>>>>>>> allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0>
>>>>>>> allocated
>>>>>>> 256 bytes of physical memory at address 0x10a5c000
>>>>>>> 0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0>
>>>>>>> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256
>>>>>>> bytes
>>>>>>> 0:00:00.252923000   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
>>>>>>> [INFO]  Product Info: i.MX6Q/D/S
>>>>>>> 0:00:00.259494333   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
>>>>>>> 0:00:00.259635000   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
>>>>>>> 0:00:00.260003000   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
>>>>>>> 0:00:00.260127666   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46
>>>>>>> VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
>>>>>>> 0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188>
>>>>>>> initializing physical memory allocator
>>>>>>> 0:00:00.261384000   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need
>>>>>>> to allocate 2 sub blocks for decoding
>>>>>>> 0:00:00.261520666   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>>>> block 0  type: virtual  size: 5672
>>>>>>> 0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks
>>>>>>> mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672
>>>>>>> bytes
>>>>>>> of heap memory at virt addr 0xe1b000
>>>>>>> 0:00:00.262215666   359   0xd25e00 INFO               imxvpudec
>>>>>>> decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub
>>>>>>> block 1  type: physical  size: 5236744
>>>>>>> 0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0>
>>>>>>> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size:
>>>>>>> 5236744
>>>>>>> [ERR]   mem allocation failed!
>>>>>>> 0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0>
>>>>>>> could not allocate memory block with 5236744 bytes
>>>>>>> 0:00:00.657818000   359   0xd25e00 WARN            videodecoder
>>>>>>> gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0>
>>>>>>> error: Failed to start decoder
>>>>>>> ERROR: Pipeline doesn't want to pause.
>>>>>>> ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>>>> Could not initialize supporting library.
>>>>>>> Additional debug info:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277):
>>>>>>> gst_video_decoder_change_state ():
>>>>>>> /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
>>>>>>> Failed to start decoder
>>>>>>> Setting pipeline to NULL ...
>>>>>>> 0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer
>>>>>>> gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>>>> stopping renderer
>>>>>>> 0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer
>>>>>>> gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread
>>>>>>> not running - nothing to stop
>>>>>>> 0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer
>>>>>>> gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy:
>>>>>>> destroying EGL platform
>>>>>>> 0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator
>>>>>>> allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed
>>>>>>> physical memory at address 0x10a5c000
>>>>>>> 0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0>
>>>>>>> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
>>>>>>> 0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator
>>>>>>> allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0>
>>>>>>> shutting down IPU allocator
>>>>>>> 0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0>
>>>>>>> shutting down physical memory allocator
>>>>>>> 0:00:00.664710000   359   0xd25e00 INFO            imxipudevice
>>>>>>> device.c:82:gst_imx_ipu_close: IPU device closed
>>>>>>> Freeing pipeline ...
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> root@linux123:~# dmesg -c
>>>>>>> [  109.517131] gst-launch-1.0: page allocation failure: order:11,
>>>>>>> mode:0xd1
>>>>>>> [  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted
>>>>>>> 3.14.28
>>>>>>> #1
>>>>>>> [  109.531468] Backtrace:
>>>>>>> [  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>]
>>>>>>> (show_stack+0x20/0x24)
>>>>>>> [  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
>>>>>>> [  109.548140] [<80012078>] (show_stack) from [<804458a0>]
>>>>>>> (dump_stack+0x70/0x8c)
>>>>>>> [  109.555440] [<80445830>] (dump_stack) from [<800cc350>]
>>>>>>> (warn_alloc_failed+0xe8/0x10c)
>>>>>>> [  109.563696]  r4:00000001 r3:60010013
>>>>>>> [  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>]
>>>>>>> (__alloc_pages_nodemask+0x804/0x894)
>>>>>>> [  109.576756]  r3:8de43d9e r2:00000000
>>>>>>> [  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000
>>>>>>> r4:000000d1
>>>>>>> [  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from
>>>>>>> [<80018f60>]
>>>>>>> (__dma_alloc_buffer.isra.17+0x3c/0xf8)
>>>>>>> [  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647
>>>>>>> r6:8de43e3c r5:004ff000
>>>>>>> [  109.606105]  r4:0000000b
>>>>>>> [  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from
>>>>>>> [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
>>>>>>> [  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
>>>>>>> [  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from
>>>>>>> [<800193e4>] (__dma_alloc+0x24c/0x2d4)
>>>>>>> [  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000
>>>>>>> r4:00000000 r3:8de43e3c
>>>>>>> [  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>]
>>>>>>> (arm_dma_alloc+0x94/0xa0)
>>>>>>> [  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000
>>>>>>> r6:004ff000 r5:8de3c10c
>>>>>>> [  109.659116]  r4:00000647
>>>>>>> [  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>]
>>>>>>> (vpu_alloc_dma_buffer+0x50/0x88)
>>>>>>> [  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100
>>>>>>> r5:8de3c108 r4:00000000
>>>>>>> [  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>]
>>>>>>> (vpu_ioctl+0xec/0x880)
>>>>>>> [  109.686944]  r5:7ee14570 r4:7ee14570
>>>>>>> [  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>]
>>>>>>> (do_vfs_ioctl+0x498/0x590)
>>>>>>> [  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8
>>>>>>> r4:7ee14570
>>>>>>> [  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>]
>>>>>>> (SyS_ioctl+0x44/0x6c)
>>>>>>> [  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600
>>>>>>> r6:8d1386c0 r5:8d1386c1
>>>>>>> [  109.721498]  r4:7ee14570
>>>>>>> [  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>]
>>>>>>> (ret_fast_syscall+0x0/0x30)
>>>>>>> [  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394
>>>>>>> r4:7ee14570 r3:766fba9c
>>>>>>> [  109.740058] Mem-info:
>>>>>>> [  109.742655] DMA per-cpu:
>>>>>>> [  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
>>>>>>> [  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
>>>>>>> [  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
>>>>>>> [  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
>>>>>>> [  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
>>>>>>> [  109.755154]  free:10061 slab_reclaimable:1462
>>>>>>> slab_unreclaimable:1352
>>>>>>> [  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
>>>>>>> [  109.755154]  free_cma:0
>>>>>>> [  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB
>>>>>>> active_anon:44652kB inactive_anon:944kB active_file:12008kB
>>>>>>> inactive_file:81692kB unevictable:0kB isolated(anon):0kB
>>>>>>> isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB
>>>>>>> dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB
>>>>>>> slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB
>>>>>>> pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB
>>>>>>> writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
>>>>>>> [  109.829243] lowmem_reserve[]: 0 0 0
>>>>>>> [  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR)
>>>>>>> 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB
>>>>>>> (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB
>>>>>>> 0*32768kB = 40244kB
>>>>>>> [  109.852730] 23917 total pagecache pages
>>>>>>> [  109.856663] 0 pages in swap cache
>>>>>>> [  109.860013] Swap cache stats: add 0, delete 0, find 0/0
>>>>>>> [  109.865305] Free swap  = 0kB
>>>>>>> [  109.868192] Total swap = 0kB
>>>>>>> [  109.876717] 65536 pages of RAM
>>>>>>> [  109.879786] 10426 free pages
>>>>>>> [  109.882740] 3671 reserved pages
>>>>>>> [  109.885898] 2271 slab pages
>>>>>>> [  109.888720] 286701 pages shared
>>>>>>> [  109.891910] 0 pages swap cached
>>>>>>> [  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>>>> [  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!
>>>>>>
>>>>>>
>

[-- Attachment #2: crash.log --]
[-- Type: application/octet-stream, Size: 12378 bytes --]

root@linux123:~# gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux ! h264parse ! imxvpudec ! imxipuvideotransform ! imxeglvivsink
0:00:00.221715666   359   0xd25e00 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:00.222623000   359   0xd25e00 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:00.223405333   359   0xd25e00 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:00.224174000   359   0xd25e00 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
Setting pipeline to PAUSED ...
0:00:00.227993333   359   0xd25e00 LOG        imxeglplatform_wl egl_platform_wayland.c:210:output_mode: reported screen size: 800x480
0:00:00.242871000   359   0xd25e00 INFO       imxeglplatform_wl egl_platform_wayland.c:466:gst_imx_egl_viv_sink_egl_platform_create: Wayland EGL platform initialized, using EGL 1.4
0:00:00.244226000   359   0xd25e00 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8110> initializing physical memory allocator
0:00:00.244878666   359   0xd25e00 INFO            imxipudevice device.c:61:gst_imx_ipu_open: IPU device opened
0:00:00.245432666   359   0xd25e00 INFO         imxipuallocator allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0xbf8110> initialized IPU allocator
0:00:00.246598333   359   0xd25e00 TRACE             imxblitter blitter.c:65:gst_imx_blitter_init:<GstImxBlitter@0xe18000> initializing blitter base
0:00:00.248325333   359   0xd25e00 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0> alloc_internal called: maxsize: 256, align: 0, offset: 0, size: 256
0:00:00.249794333   359   0xd25e00 DEBUG        imxipuallocator allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated 256 bytes of physical memory at address 0x10a5c000
0:00:00.250730000   359   0xd25e00 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0> allocated memory block 0xbf6630 at phys addr 0x10a5c000 with 256 bytes
0:00:00.252923000   359   0xd25e00 INFO               imxvpudec decoder.c:703:gst_imx_vpu_dec_start:<imxvpudec0> starting VPU decoder
[INFO]  Product Info: i.MX6Q/D/S
0:00:00.259494333   359   0xd25e00 INFO               imxvpudec decoder.c:344:gst_imx_vpu_dec_load: VPU loaded
0:00:00.259635000   359   0xd25e00 INFO               imxvpudec decoder.c:345:gst_imx_vpu_dec_load: VPU firmware version 3.1.1_r46056
0:00:00.260003000   359   0xd25e00 INFO               imxvpudec decoder.c:346:gst_imx_vpu_dec_load: VPU library version 5.4.23
0:00:00.260127666   359   0xd25e00 INFO               imxvpudec decoder.c:347:gst_imx_vpu_dec_load: VPU wrapper version 1.0.46 VPUWRAPPER_ARM_LINUX Build on Nov  6 2015 22:16:03
0:00:00.260775000   359   0xd25e00 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0xbf8188> initializing physical memory allocator
0:00:00.261384000   359   0xd25e00 INFO               imxvpudec decoder.c:388:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> need to allocate 2 sub blocks for decoding
0:00:00.261520666   359   0xd25e00 INFO               imxvpudec decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub block 0  type: virtual  size: 5672
0:00:00.261677666   359   0xd25e00 INFO         imxvpumemblocks mem_blocks.c:50:gst_imx_vpu_alloc_virt_mem_block: allocated 5672 bytes of heap memory at virt addr 0xe1b000
0:00:00.262215666   359   0xd25e00 INFO               imxvpudec decoder.c:392:gst_imx_vpu_dec_alloc_dec_mem_blocks:<imxvpudec0> sub block 1  type: physical  size: 5236744
0:00:00.262451333   359   0xd25e00 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpudecallocator0> alloc_internal called: maxsize: 5236744, align: 0, offset: 0, size: 5236744
[ERR]   mem allocation failed!
0:00:00.657658666   359   0xd25e00 WARN     imxphysmemallocator phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxvpudecallocator0> could not allocate memory block with 5236744 bytes
0:00:00.657818000   359   0xd25e00 WARN            videodecoder gstvideodecoder.c:2277:gst_video_decoder_change_state:<imxvpudec0> error: Failed to start decoder
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0: Could not initialize supporting library.
Additional debug info:
gstreamer1.0-plugins-base/1.4.5-r0/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideodecoder.c(2277): gst_video_decoder_change_state (): /GstPipeline:pipeline0/GstImxVpuDec:imxvpudec0:
Failed to start decoder
Setting pipeline to NULL ...
0:00:00.661850333   359   0xd25e00 INFO        imxgles2renderer gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy: stopping renderer
0:00:00.661987666   359   0xd25e00 LOG         imxgles2renderer gles2_renderer.c:989:gst_imx_egl_viv_sink_gles2_renderer_stop: thread not running - nothing to stop
0:00:00.662083000   359   0xd25e00 INFO        imxgles2renderer gles2_renderer.c:927:gst_imx_egl_viv_sink_gles2_renderer_destroy: destroying EGL platform
0:00:00.664130666   359   0xd25e00 DEBUG        imxipuallocator allocator.c:93:gst_imx_ipu_free_phys_mem:<imxipuallocator0> freed physical memory at address 0x10a5c000
0:00:00.664316333   359   0xd25e00 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0> freed block 0xbf6630 at phys addr 0x10a5c000 with size: 256
0:00:00.664469666   359   0xd25e00 INFO         imxipuallocator allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0> shutting down IPU allocator
0:00:00.664576333   359   0xd25e00 INFO     imxphysmemallocator phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0> shutting down physical memory allocator
0:00:00.664710000   359   0xd25e00 INFO            imxipudevice device.c:82:gst_imx_ipu_close: IPU device closed
Freeing pipeline ...
root@linux123:~# dmesg -c
[  109.517131] gst-launch-1.0: page allocation failure: order:11, mode:0xd1
[  109.524345] CPU: 0 PID: 359 Comm: gst-launch-1.0 Not tainted 3.14.28 #1
[  109.531468] Backtrace:
[  109.534211] [<80011e58>] (dump_backtrace) from [<80012098>] (show_stack+0x20/0x24)
[  109.542110]  r6:000000d1 r5:8de42000 r4:00000000 r3:00404000
[  109.548140] [<80012078>] (show_stack) from [<804458a0>] (dump_stack+0x70/0x8c)
[  109.555440] [<80445830>] (dump_stack) from [<800cc350>] (warn_alloc_failed+0xe8/0x10c)
[  109.563696]  r4:00000001 r3:60010013
[  109.567407] [<800cc26c>] (warn_alloc_failed) from [<800cf270>] (__alloc_pages_nodemask+0x804/0x894)
[  109.576756]  r3:8de43d9e r2:00000000
[  109.580372]  r8:806d4080 r7:0000000b r6:00000040 r5:00000000 r4:000000d1
[  109.587768] [<800cea6c>] (__alloc_pages_nodemask) from [<80018f60>] (__dma_alloc_buffer.isra.17+0x3c/0xf8)
[  109.597517]  r10:00000000 r9:00000000 r8:ffffffff r7:00000647 r6:8de43e3c r5:004ff000
[  109.606105]  r4:0000000b
[  109.608875] [<80018f24>] (__dma_alloc_buffer.isra.17) from [<80019040>] (__alloc_remap_buffer.isra.20+0x24/0xc8)
[  109.619374]  r7:00000647 r6:8de43e3c r5:004ff000 r4:00000000
[  109.625464] [<8001901c>] (__alloc_remap_buffer.isra.20) from [<800193e4>] (__dma_alloc+0x24c/0x2d4)
[  109.634574]  r8:ffffffff r7:8de3c10c r6:000000d1 r5:004ff000 r4:00000000 r3:8de43e3c
[  109.642963] [<80019198>] (__dma_alloc) from [<800195a4>] (arm_dma_alloc+0x94/0xa0)
[  109.650791]  r10:00000000 r9:8036ab4c r8:000000d1 r7:00000000 r6:004ff000 r5:8de3c10c
[  109.659116]  r4:00000647
[  109.661758] [<80019510>] (arm_dma_alloc) from [<8036ab4c>] (vpu_alloc_dma_buffer+0x50/0x88)
[  109.670390]  r9:8de42000 r8:8de42000 r7:8de3c108 r6:8de3c100 r5:8de3c108 r4:00000000
[  109.678764] [<8036aafc>] (vpu_alloc_dma_buffer) from [<8036b3c8>] (vpu_ioctl+0xec/0x880)
[  109.686944]  r5:7ee14570 r4:7ee14570
[  109.690874] [<8036b2dc>] (vpu_ioctl) from [<80117ce4>] (do_vfs_ioctl+0x498/0x590)
[  109.698428]  r8:0000000b r7:00005600 r6:8d1386c0 r5:8c5a08f8 r4:7ee14570
[  109.705758] [<8011784c>] (do_vfs_ioctl) from [<80117e20>] (SyS_ioctl+0x44/0x6c)
[  109.713135]  r10:00000000 r9:8de42000 r8:0000000b r7:00005600 r6:8d1386c0 r5:8d1386c1
[  109.721498]  r4:7ee14570
[  109.724151] [<80117ddc>] (SyS_ioctl) from [<8000e0a0>] (ret_fast_syscall+0x0/0x30)
[  109.731779]  r8:8000e2c4 r7:00000036 r6:00019c54 r5:7673f394 r4:7ee14570 r3:766fba9c
[  109.740058] Mem-info:
[  109.742655] DMA per-cpu:
[  109.745214] CPU    0: hi:   90, btch:  15 usd:   0
[  109.750270] CPU    1: hi:   90, btch:  15 usd:  25
[  109.755154] active_anon:11163 inactive_anon:236 isolated_anon:0
[  109.755154]  active_file:3002 inactive_file:20423 isolated_file:0
[  109.755154]  unevictable:0 dirty:0 writeback:0 unstable:0
[  109.755154]  free:10061 slab_reclaimable:1462 slab_unreclaimable:1352
[  109.755154]  mapped:11150 shmem:494 pagetables:519 bounce:0
[  109.755154]  free_cma:0
[  109.787296] DMA free:40244kB min:2004kB low:2504kB high:3004kB active_anon:44652kB inactive_anon:944kB active_file:12008kB inactive_file:81692kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:262144kB managed:251904kB mlocked:0kB dirty:0kB writeback:0kB mapped:44600kB shmem:1976kB slab_reclaimable:5848kB slab_unreclaimable:5408kB kernel_stack:1672kB pagetables:2076kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[  109.829243] lowmem_reserve[]: 0 0 0
[  109.832871] DMA: 151*4kB (UEMR) 163*8kB (UEMR) 36*16kB (UEMR) 18*32kB (UEMR) 15*64kB (UER) 15*128kB (UER) 6*256kB (UER) 10*512kB (UER) 3*1024kB (R) 4*2048kB (R) 2*4096kB (R) 1*8192kB (R) 0*16384kB 0*32768kB = 40244kB
[  109.852730] 23917 total pagecache pages
[  109.856663] 0 pages in swap cache
[  109.860013] Swap cache stats: add 0, delete 0, find 0/0
[  109.865305] Free swap  = 0kB
[  109.868192] Total swap = 0kB
[  109.876717] 65536 pages of RAM
[  109.879786] 10426 free pages
[  109.882740] 3671 reserved pages
[  109.885898] 2271 slab pages
[  109.888720] 286701 pages shared
[  109.891910] 0 pages swap cached
[  109.895073] mxc_vpu 2040000.vpu: Physical memory allocation error!
[  109.901331] mxc_vpu 2040000.vpu: Physical memory allocation error!

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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-11-18 15:00             ` Vikas Patil
@ 2015-11-18 16:58               ` Carlos Rafael Giani
       [not found]                 ` <CA+kt3u25h3bfjBRO4GHgn79N-CJmShmZY_Lg5WhWjzoBw09oBw@mail.gmail.com>
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-11-18 16:58 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

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
>



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
       [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
  0 siblings, 2 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-12-21 19:04 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

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

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@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
>>>
> >


[-- Attachment #2: loop-videos.cpp --]
[-- Type: text/x-c++src, Size: 10494 bytes --]

#include <stdexcept>
#include <vector>
#include <string>
#include <iostream>
#include <unistd.h>
#include <gst/gst.h>
#include <glib-unix.h>


gboolean sigint(gpointer ptr)
{
	g_main_loop_quit(static_cast < GMainLoop* > (ptr));
	return TRUE;
}


class video_carousel
{
public:
	typedef std::vector < std::string > uris;

	explicit video_carousel(uris const &p_uris, guint const p_interval, std::string const &p_video_sink, std::string const &p_audio_sink, GMainLoop *p_loop)
		: m_pipeline(nullptr)
		, m_uris(p_uris)
		, m_interval(p_interval)
		, m_loop(p_loop)
		, m_timeout_source(nullptr)
	{
		GError *error;

		g_assert(!(m_uris.empty()));
	
		m_pipeline = gst_element_factory_make("playbin", "pipeline");

		g_object_set(G_OBJECT(m_pipeline), "flags", gint(0x57), nullptr);

		if (!(p_video_sink.empty()))
		{
			GstElement *sink = gst_parse_bin_from_description(p_video_sink.c_str(), TRUE, &error);
			if (sink == nullptr)
			{
				gst_object_unref(GST_OBJECT(m_pipeline));
				std::string str = std::string("Could not create video sink element: ") + error->message;
				g_clear_error(&error);
				throw std::runtime_error(str);
			}

			g_object_set(G_OBJECT(m_pipeline), "video-sink", sink, nullptr);
		}

		if (!(p_audio_sink.empty()))
		{
			GstElement *sink = gst_element_factory_make(p_audio_sink.c_str(), "audio-sink");
			if (sink == nullptr)
			{
				gst_object_unref(GST_OBJECT(m_pipeline));
				std::string str = std::string("Could not create audio sink element: ") + error->message;
				g_clear_error(&error);
				throw std::runtime_error(str);
			}

			g_object_set(G_OBJECT(m_pipeline), "audio-sink", sink, nullptr);
		}

		GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(m_pipeline));
		gst_bus_add_watch(bus, static_bus_watch, this);
		gst_object_unref(GST_OBJECT(bus));

	}

	void start()
	{
		gst_element_set_state(m_pipeline, GST_STATE_NULL);
		m_cur_uri = m_uris.begin();
		g_object_set(G_OBJECT(m_pipeline), "uri", m_cur_uri->c_str(), nullptr);
		gst_element_set_state(m_pipeline, GST_STATE_PLAYING);
	}

	gint64 get_current_position() const
	{
		gint64 position;
		gboolean success = gst_element_query_position(GST_ELEMENT(m_pipeline), GST_FORMAT_TIME, &position);
		return success ? position : -1;
	}

	~video_carousel()
	{
		if (m_pipeline != nullptr)
		{
			stop_timeout();
			gst_element_set_state(m_pipeline, GST_STATE_NULL);
			gst_object_unref(GST_OBJECT(m_pipeline));
		}
	}


private:
	void start_timeout()
	{
		if ((m_timeout_source != nullptr) || (m_interval == 0))
			return;

		m_timeout_source = g_timeout_source_new(250);
		g_source_set_callback(m_timeout_source, static_timeout_cb, gpointer(this), nullptr);
		g_source_attach(m_timeout_source, nullptr);
	}


	void stop_timeout()
	{
		if (m_timeout_source == nullptr)
			return;

		g_source_destroy(m_timeout_source);
		g_source_unref(m_timeout_source);

		m_timeout_source = nullptr;
	}


	void advance_uri()
	{
		m_cur_uri++;
		if (m_cur_uri == m_uris.end())
			m_cur_uri = m_uris.begin();
	}


	void move_to_next_video()
	{
		gst_element_set_state(m_pipeline, GST_STATE_READY);
		advance_uri();
		std::cerr << "=========== next URI: " << m_cur_uri->c_str() << " ===========\n";
		g_object_set(G_OBJECT(m_pipeline), "uri", m_cur_uri->c_str(), nullptr);
		gst_element_set_state(m_pipeline, GST_STATE_PLAYING);
	}


	void update_duration()
	{
		gint64 duration;
		gboolean success = gst_element_query_duration(GST_ELEMENT(m_pipeline), GST_FORMAT_TIME, &duration);
		m_duration = success ? duration : -1;
	}


	static gboolean static_timeout_cb(gpointer p_user_data)
	{
		video_carousel *self = static_cast < video_carousel* > (p_user_data);

		gint64 cur_pos = self->get_current_position();
		if (cur_pos != -1)
		{
			if ((cur_pos) >= (GST_MSECOND * self->m_interval))
			{
				GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(self->m_pipeline));
				gst_bus_post(
					bus,
					gst_message_new_application(
						GST_OBJECT(self->m_pipeline),
						gst_structure_new_empty("switch")
					)
				);
				gst_object_unref(GST_OBJECT(bus));
			}
		}

		return G_SOURCE_CONTINUE;
	}


	static gboolean static_bus_watch(GstBus *, GstMessage *p_msg, gpointer p_user_data)
	{
		video_carousel *self = static_cast < video_carousel* > (p_user_data);
	
		switch (GST_MESSAGE_TYPE(p_msg))
		{
			case GST_MESSAGE_STATE_CHANGED:
			{
				if (GST_MESSAGE_SRC(p_msg) != GST_OBJECT(self->m_pipeline))
					break;

				GstState old_gstreamer_state, new_gstreamer_state, pending_gstreamer_state;
				gst_message_parse_state_changed(
					p_msg,
					&old_gstreamer_state,
					&new_gstreamer_state,
					&pending_gstreamer_state
				);

				std::string dot_fn = std::string("pipeline") +
				                     "__old-" + gst_element_state_get_name(old_gstreamer_state) +
				                     "__new-" + gst_element_state_get_name(new_gstreamer_state) +
				                     "__pending-" + gst_element_state_get_name(pending_gstreamer_state);
				GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN(self->m_pipeline), GST_DEBUG_GRAPH_SHOW_ALL, dot_fn.c_str());

				switch (new_gstreamer_state)
				{
					case GST_STATE_PAUSED:
						self->stop_timeout();
						break;
					case GST_STATE_PLAYING:
						self->start_timeout();
						break;
					default:
						break;
				}

				break;
			}

			case GST_MESSAGE_STREAM_START:
				self->m_duration = -1;
				self->update_duration();
				break;

			case GST_MESSAGE_APPLICATION:
			{
				if (gst_message_has_name(p_msg, "switch"))
					self->move_to_next_video();

				break;
			}

			case GST_MESSAGE_EOS:
			{
				self->move_to_next_video();
				break;
			}

			case GST_MESSAGE_BUFFERING:
			{
				gint percent = 0;
				gst_message_parse_buffering(p_msg, &percent);

				if (percent < 100)
					gst_element_set_state(self->m_pipeline, GST_STATE_PAUSED);
				else
					gst_element_set_state(self->m_pipeline, GST_STATE_PLAYING);

				break;
			}

			case GST_MESSAGE_LATENCY:
				gst_bin_recalculate_latency(GST_BIN(self->m_pipeline));
				break;

			case GST_MESSAGE_REQUEST_STATE:
			{
				GstState requested_state;
				gst_message_parse_request_state(p_msg, &requested_state);
				gst_element_set_state(self->m_pipeline, requested_state);
				break;
			}

			case GST_MESSAGE_DURATION:
				self->update_duration();
				break;

			case GST_MESSAGE_INFO:
			case GST_MESSAGE_WARNING:
			case GST_MESSAGE_ERROR:
			{
				GError *error = nullptr;
				gchar *debug_info = nullptr;
				gchar const *desc;

				switch (GST_MESSAGE_TYPE(p_msg))
				{
					case GST_MESSAGE_INFO:
						desc = "info";
						gst_message_parse_info(p_msg, &error, &debug_info);
						break;
					case GST_MESSAGE_WARNING:
						desc = "warning";
						gst_message_parse_warning(p_msg, &error, &debug_info);
						break;
					case GST_MESSAGE_ERROR:
					{
						desc = "error";
						gst_message_parse_error(p_msg, &error, &debug_info);
						GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN(self->m_pipeline), GST_DEBUG_GRAPH_SHOW_ALL, "pipeline-error");
						g_main_loop_quit(self->m_loop);
						break;
					}
					default:
						break;
				}

				std::cerr << "GStreamer " << desc;
				if (error != nullptr)
					std::cerr << " message: " << error->message;
				else
					std::cerr << " <no message>";
				if (debug_info != nullptr)
					std::cerr << " " << debug_info;
				else
					std::cerr << " <no debug info>";
				std::cerr << std::endl;

				if (error != nullptr)
					g_error_free(error);
				if (debug_info != nullptr)
				g_free(debug_info);

				break;
			}

			default:
				break;
		}

		return TRUE;
	}


	GstElement *m_pipeline;
	uris m_uris;
	uris::iterator m_cur_uri;
	guint m_interval;
	GMainLoop *m_loop;
	gint64 m_duration;
	GSource *m_timeout_source;
};


int main(int argc, char *argv[])
{
	GError *error = nullptr;
	if (!gst_init_check(&argc, &argv, &error))
	{
		std::cerr << "Could not initialize GStreamer: " << error->message << "\n";
		return -1;
	}

	GMainLoop *loop = nullptr;

	try
	{
		guint interval = 0;
		std::string video_sink, audio_sink;

		int c;
		while ((c = getopt(argc, argv, "i:v:a:h")) != -1)
		{
			switch (c)
			{
				case 'i':
					interval = std::stoul(optarg);
					break;
				case 'v':
					video_sink = optarg;
					break;
				case 'a':
					audio_sink = optarg;
					break;
				case 'h':
					std::cerr << "Usage: " << argv[0] << " [OPTION]... [URI/FILE]...\n"
						     "Plays a list of videos specified via URI or filename in a loop,\n"
						     "optionally with a fixed interval.\n"
						     "\n"
						     "Options:\n"
						     "  -h            This help\n"
						     "  -i INTERVAL   Use fixed interval of INTERVAL milliseconds.\n"
						     "                Default value 0 plays the videos until they end.\n"
						     "  -v VIDEOSINK  Use the specified GStreamer video sink element.\n"
						     "                Default: let GStreamer pick one automatically\n"
						     "  -a AUDIOSINK  Use the specified GStreamer audio sink element.\n"
						     "                Default: let GStreamer pick one automatically\n"
						     ;
					return -1;
				default:
					break;
			}
		}

		if (optind >= argc)
		{
			std::cerr << "At least one URI/filename must be specified\n";
			return -1;
		}

		video_carousel::uris uris;
		while (optind < argc)
		{
			std::string uri = argv[optind++];
			if (!gst_uri_is_valid(uri.c_str()))
			{
				error = nullptr;
				gchar *uri_cstr = gst_filename_to_uri(uri.c_str(), &error);
				if (uri_cstr != nullptr)
				{
					uri = uri_cstr;
					g_free(uri_cstr);
				}

				if (error != nullptr)
				{
					std::string message = error->message;
					g_error_free(error);
					throw std::invalid_argument(message);
				}
			}

			uris.push_back(uri);
		}

		loop = g_main_loop_new(nullptr, TRUE);
		g_unix_signal_add(SIGINT, sigint, loop);

		video_carousel carousel(uris, interval, video_sink, audio_sink, loop);
		carousel.start();
		g_main_loop_run(loop);
	}
	catch (std::exception const &p_exc)
	{
		std::cerr << "Exception raised: " << p_exc.what() << "\n";
	}

	if (loop != nullptr)
		g_main_loop_unref(loop);

	std::cerr << "Quitting\n";

	return 0;
}



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-12-21 19:04                   ` Carlos Rafael Giani
@ 2015-12-22  6:22                     ` Vikas Patil
  2015-12-22  9:39                     ` Vikas Patil
  1 sibling, 0 replies; 18+ messages in thread
From: Vikas Patil @ 2015-12-22  6:22 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

Hi Carlos,

I have successfully compiled the app however on running getting following error.

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

(loop-videos:519): GStreamer-CRITICAL **:
gst_parse_bin_from_description_full: assertion 'err == NULL || *err ==
NULL' failed
*** Error in `./loop-videos': free(): invalid pointer: 0x7ef16cd4 ***
Aborted (core dumped)
root@linux1-9939-a1:~#

Do I need to stick with the master version and libimxvpuaoi 0.10.1?

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.
>
>
>


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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  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
  1 sibling, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-12-22  9:39 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

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

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.
>

[-- Attachment #2: loopvideos.log --]
[-- Type: application/octet-stream, Size: 61638 bytes --]

export XDG_RUNTIME_DIR=/var/run/root/1000
root@linux-1-9939-a1:~# GST_DEBUG=2,*imx*:5 ./loop-videos -i 5000 -v "imxipuvideotransform ! imxeglvivsink" /home/root/B01_Baseline1.0_1280_720.MP4
0:00:00.943545333   525  0x1d54200 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:00.944792667   525  0x1d54200 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
Display has a touch screen
0:00:00.948822000   525  0x1d54200 INFO       imxeglplatform_wl egl_platform_wayland.c:315:seat_handle_capabilities: Display has a touch screen

0:00:00.965067667   525  0x1d54200 INFO       imxeglplatform_wl egl_platform_wayland.c:631:gst_imx_egl_viv_sink_egl_platform_create: Wayland EGL platform initialized, using EGL 1.4
0:00:00.965794000   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0x1b63d10> initializing physical memory allocator
0:00:00.968147333   525  0x1d54200 INFO            imxipudevice device.c:61:gst_imx_ipu_open: IPU device opened
0:00:00.968266667   525  0x1d54200 INFO         imxipuallocator allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0x1b63d10> initialized IPU allocator
0:00:00.968860667   525  0x1d54200 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0> alloc_internal called: maxsize: 2048, align: 0, offset: 0, size: 2048
0:00:00.970479333   525  0x1d54200 DEBUG        imxipuallocator allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated 2048 bytes of physical memory at address 0x20051000
0:00:00.970597333   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0> allocated memory block 0x1d604b0 at phys addr 0x20051000 with 2048 bytes
0:00:00.980417667   525  0x1d54200 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.987037667   525  0x1d54200 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
0:00:01.082584333   525  0x1cb5180 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.085016000   525  0x1cb5180 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.085188667   525  0x1cb5180 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.085343667   525  0x1cb5180 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.085463667   525  0x1cb5180 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.236644333   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type iods
0:00:01.236831667   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.236944333   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.237038667   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.237105000   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type mpod
0:00:01.237201333   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type nmhd
0:00:01.237285333   525 0x70731cf0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type nmhd
0:00:01.241430000   525 0x70731cf0 WARN                 qtdemux qtdemux.c:7377:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
0:00:01.241613667   525 0x70731cf0 WARN                 qtdemux qtdemux.c:7377:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
0:00:01.247038000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.247703667   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.247841333   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.580491000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.580665000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.600565000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.601161667   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.601294000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.601442667   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.601596333   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.630485667   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.630658000   525 0x70731cf0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.632793334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.633489667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.646414000   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.646614334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.662591334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.663856334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.664304334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.664533334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.664705667   525  0x1[   38.713593] ------>vikas: VPU_IOC_GET_WORK_ADDR 
ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.01[   38.733729] ------>vikas: vpu_alloc_dma_buffer: size = 507904, cpu_addr = 0x95000000, phy_addr = 0x25000000,
0069667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ][   38.775396] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
, framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:02.014560000   525  0x1ce72f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-m[   38.842018] ------>vikas: vpu_alloc_dma_buffer: size = 5238784, cpu_addr = 0x95600000, phy_addr = 0x25600000,
ode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:02.015319000   525  0x1ce72f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.015482667   525  0x1ce72f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.015665000   525  0x1ce72f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.015796000   525  0x1ce72f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.020515000   525  0x1ce7350 INFO           imxvpudecoder decoder.c:217:gst_imx_vpu_decoder_start:<imxvpudecoder0> starting VPU decoder
0:00:02.020686000   525  0x1ce7350 INFO               imxvpuapi imxvpuapi_vpulib.c:302:imx_vpu_load: libimxvpuapi version 0.10.1 vpulib backend
0:00:02.085949334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:306:imx_vpu_load: loaded VPU
0:00:02.086540667   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0x1e5b490> initializing physical memory allocator
0:00:02.086662334   525  0x1ce7350 INFO         imxvpuallocator allocator.c:60:gst_imx_vpu_allocator_init:<GstImxVpuAllocator@0x1e5b490> initializing IMX VPU decoder allocator
0:00:02.086818334   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 5236736, align: 0, offset: 0, size: 5236736
0:00:02.126357667   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:64:gst_imx_audio_uniaudio_codec_table_init_internal: Caps: audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string){ raw, adts, adif }
0:00:02.126572334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:92:gst_imx_audio_uniaudio_codec_load_codec: trying to load library /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3
0:00:02.148628334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:64:gst_imx_audio_uniaudio_codec_table_init_internal: Caps: audio/mpeg, mpegversion=(int)1, layer=(int)3, parsed=(boolean)true
0:00:02.148837334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:92:gst_imx_audio_uniaudio_codec_load_codec: trying to load library /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.3
0:00:02.172498334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 5236736 bytes of physical memory
0:00:02.173248667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:02.173588667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x69ccb000  aligned: 0x69ccb000
0:00:02.173682667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate:   39.203047] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
00m physical address: 0x25600000  aligned: 0x25600000
0:00:02.174170334   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocato[   39.220076] ------>vikas: vpu_alloc_dma_buffer: size = 606208, cpu_addr = 0x95100000, phy_addr = 0x25100000,
r.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079da98 at phys addr 0x25600000 with 5236736 bytes
0:00:02.175747334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:64:gst_imx_audio_uniaudio_codec_table_init_internal: Caps: audio/x-vorbis
0:00:02.506640334   525  0x1ce7350 INFO           imxvpudecoder decoder.c:246:gst_imx_vpu_decoder_start:<imxvpudecoder0> VPU decoder started
0:00:02.506636334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:92:gst_imx_audio_uniaudio_codec_load_codec: trying to load library /usr/lib/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm12_elinux.so.3
0:00:02.511736000   525  0x1ce7350 INFO           imxvpudecoder decoder.c:312:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> setting decoder format
0:00:02.511857334   525  0x1ce7350 INFO           imxvpudecoder decoder.c:315:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> draining remaining frames from decoder
0:00:02.511924667   525  0x1ce7350 INFO           imxvpudecoder decoder.c:1109:gst_imx_vpu_decoder_fill_param_set:<imxvpudecoder0> setting h.264 as stream format
0:00:02.512532000   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y42B, Y444, NV12 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:02.513216000   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string){ I420, Y42B, Y444, NV12, NV16, NV24 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:02.514013667   525  0x1ce7350 INFO           imxvpudecoder decoder.c:422:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> format I420 detected in list of supported srccaps formats => setting chroma_interleave to 0
0:00:02.514377000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:961:imx_vpu_dec_open: opening decoder
0:00:02.514474334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1063:imx_vpu_dec_open: opening decoder, frame size: 1280 x 720 pixel
[INFO]	bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0
0:00:02.548280334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1077:imx_vpu_dec_open: successfully opened decoder
0:00:02.548426334   525  0x1ce7350 INFO           imxvpudecoder decoder.c:444:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> setting format finished
[WARN]	VPU iram is less than needed, some parts don't use iram
0:00:02.549176334   525  0x1ce7350 DEBUG          imxvpudecoder decoder.c:1280:gst_imx_vpu_decoder_initial_info_callback:<imxvpudecoder0> initial info:  color format: YUV 4:2:0  size: 1280x720 pixel  rate: 5994/100  min num required framebuffers: 8  interlacing: 0  framebuffer alignment: 1
0:00:02.553506000   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:64:gst_imx_audio_uniaudio_codec_table_init_internal: Caps: audio/AMR
0:00:02.553645334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:92:gst_imx_audio_uniaudio_codec_load_codec: trying[   39.609980] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
 to load library /usr/lib/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm11_elinux.so.1
0:00:02.908430000   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:64:gst_imx_audio_uniaudio_codec_t[   39.631970] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x95300000, phy_addr = 0x25300000,
able_init_internal: Caps: audio/AMR-WB
0:00:02.908556334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:92:gst_imx_audio_uniaudio_codec_load_codec: trying to load library /usr/lib/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm12_elinux.so.1
0:00:02.920517000   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:170:gst_imx_audio_uniaudio_dec_class_init: decoder sink caps: audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string){ raw, adts, adif }; audio/mpeg, mpegversion=(int)1, layer=(int)3, parsed=(boolean)true; audio/x-vorbis; audio/AMR; audio/AMR-WB
0:00:02.920948667   525  0x1ce7350 DEBUG   imxvpudecodercontext decoder_context.c:93:gst_imx_vpu_decoder_context_new:<imxvpudecodercontext0> initial info:  color format: YUV 4:2:0  size: 1280x720 pixel  rate: 5994/100  min num required framebuffers: 8  interlacing: 0  chroma_interleave: 0  framebuffer alignment: 1
0:00:02.921213334   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:63:gst_imx_vpu_framebuffer_array_init:<GstImxVpuFramebufferArray@0x1e59368> initialized framebuffer array 0x1e59368
0:00:02.921347000   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:119:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> allocating and registering 9 framebuffers
0:00:02.921433334   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:02.933732667   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:167:gst_imx_audio_uniaudio_codec_table_get_codec: trying to find suitable codec for caps audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)main, profile=(string)main, codec_data=(buffer)0a90, rate=(int)32000, channels=(int)2
0:00:02.935589334   525  0x1ce72f0 DEBUG       imxuniaudiocodec uniaudio_codec.c:172:gst_imx_audio_uniaudio_codec_table_get_codec: codec caps audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string){ raw, adts, adif } compatible: yes
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_CORTEX-A8  build on Jun 19 2014 18:30:32.
0:00:02.936843667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:299:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> input is framed: 1
0:00:02.936980334   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:304:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> input caps sample rate: 32000 Hz
0:00:02.937061667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:313:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> input caps channel count: 2
0:00:02.937306667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:346:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> input caps stream format: raw
0:00:02.937412000   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:395:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> reading codec_data value
0:00:02.937553667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:442:gst_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> codec data: 2 byte
0:00:02.937635334   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:446:gst[   39.978785] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
_imx_audio_uniaudio_dec_set_format:<imxaudiouniaudiodec0> decoder configured
0:00:02.957448000   525  0x1ce7350 DEBUG             [   39.999589] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x95b00000, phy_addr = 0x25b00000,
 imxvpuapi imxvpuapi_vpulib.c:499[   40.012519] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.289828000   525  0x1ce7350 DEBUG              i[   40.030762] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x95d00000, phy_addr = 0x25d00000,
mxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.289925667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x69abc000  aligned: 0x69abc000
0:00:03.289993000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x25300000  aligned: 0x25300000
0:00:03.290073000   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x1e57688 at phys addr 0x25300000 with 1612801 bytes
0:00:03.290163667   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x1e57688   physical address 0x25300000  ref count 1
0:00:03.290247667   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:02.959700667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:563:gst_imx_audio_uniaudio_dec_handle_frame:<imxaudiouniaudiodec0> output sample width: 16  depth: 16
0:00:03.297975667   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:566:gst_imx_audio_uniaudio_dec_handle_frame:<imxaudiouniaudiodec0> setting output format to: S16LE  32000 Hz  2 channels
0:00:03.298099000   525  0x1ce72f0 DEBUG         imxuniaudiodec uniaudio_decoder.c:656:gst_imx_audio_uniaudio_dec_fill_channel_positions:<imxaudiouniaudiodec0> channel positions are in valid order, no need to reorder channels
0:00:03.323251000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.323550000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.323637334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x69932000  aligned: 0x69932000
0:00:03.323707000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x25b00000  aligned: 0x25b00000
0:00:03.323795334   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079dc70 at phys addr 0x25b00000 with 1612801 bytes
0:00:03.323882000   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079dc70   physical address 0x25b00000  ref count 1
0:00:03.323972000   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.353390334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.357094334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory[   40.377892] ------>vikas: VPU_IOC_PHYMEM_ALLOC 

0:00:03.357232667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufa[   40.394890] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x95f00000, phy_addr = 0x25f00000,
lloc_allocate: virtual address:  0x697a8000  aligned: 0x697a[   40.410190] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
8000
0:00:03.357430334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dma[   40.425094] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x96100000, phy_addr = 0x26100000,
bufalloc_allocate: physical address: 0x25d00000  aligned: 0x[   40.441962] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
25d00000
0:00:03.689097000   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_[   40.458454] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x96300000, phy_addr = 0x26300000,
imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079dcc0 at phys addr 0x25d00000 with 1612801 bytes
0:00:03.689236667   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079dcc0   physical address 0x25d00000  ref count 1
0:00:03.689327667   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.720992667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.721221667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.721298000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x6961e000  aligned: 0x6961e000
0:00:03.721370667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x25f00000  aligned: 0x25f00000
0:00:03.721469667   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079db88 at phys addr 0x25f00000 with 1612801 bytes
0:00:03.721561334   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079db88   physical address 0x25f00000  ref count 1
0:00:03.721646000   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.749825334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.752874000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.752981000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x69494000  aligned: 0x69494000
0:00:03.753058334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x26100000  aligned: 0x26100000
0:00:03.753151667   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079dc20 at phys addr 0x26100000 with 1612801 bytes
0:00:03.753244000   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079dc20   physical address 0x26100000  ref count 1
0:00:03.753402667   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.784055000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical[   40.805789] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
 memory
0:00:03.784267334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_[   40.822322] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x96500000, phy_addr = 0x26500000,
dmabufalloc_allocate: retrieved virtual address for physical[   40.840562] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
 memory
0:00:03.784338667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_[   40.854481] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x96700000, phy_addr = 0x26700000,
dmabufalloc_allocate: virtual address:  0x6930a000  aligned: 0x6930a000
0:00:04.116953000  ------>vikas: VPU_IOC_PHYMEM_ALLOC 
[334m  525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x26300000  al[   40.891519] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x96900000, phy_addr = 0x26900000,
igned: 0x26300000
0:00:04.117097667   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079db38 at phys addr 0x26300000 with 1612801 bytes
0:00:04.117178000   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079db38   physical address 0x26300000  ref count 1
0:00:04.117253667   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:04.151299667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:04.151561334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:04.151648000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x69180000  aligned: 0x69180000
0:00:04.151722334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x26500000  aligned: 0x26500000
0:00:04.151820334   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079dae8 at phys addr 0x26500000 with 1612801 bytes
0:00:04.151911667   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079dae8   physical address 0x26500000  ref count 1
0:00:04.152004334   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:04.185135667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:04.185367667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:04.185438667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68ff6000  aligned: 0x68ff6000
0:00:04.185506000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x26700000  aligned: 0x26700000
0:00:04.185605000   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079d9f8 at phys addr 0x26700000 with 1612801 bytes
0:00:04.185690000   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079d9f8   physical address 0x26700000  ref count 1
0:00:04.185771667   525  0x1ce7350 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:04.220980000   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:04.221361334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:04.554581334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68e6c000  aligned: 0x68e6c000
0:00:04.554698334   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x26900000  aligned: 0x26900000
0:00:04.555009334   525  0x1ce7350 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079da48 at phys addr 0x26900000 with 1612801 bytes
0:00:04.555117001   525  0x1ce7350 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079da48   physical address 0x26900000  ref count 1
0:00:04.557157667   525  0x1ce7350 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1222:imx_vpu_dec_register_framebuffers: attempting to register 9 framebuffers
0:00:04.558674667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y42B, Y444, NV12 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:04.559627667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string){ I420, Y42B, Y444, NV12, NV16, NV24 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:04.600998334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:04.671768667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.689062667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.690272667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.692327001   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.726285334   525  0x1ce72f0 WARN          imxuniaudiodec uniaudio_decoder.c:538:gst_imx_audio_uniaudio_dec_handle_frame:<imxaudiouniaudiodec0> error: could not decode
0:00:05.024732667   525  0x1ce72f0 WARN          imxuniaudiodec uniaudio_decoder.c:538:gst_imx_audio_uniaudio_dec_handle_frame:<imxaudiouniaudiodec0> error: error message: AACD_ERROR_HUFFDECODE
GStreamer error message: could not decode ../src/audio/uniaudio_decoder.c(538): gst_imx_audio_uniaudio_dec_handle_frame (): /GstPlayBin:pipeline/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstImxAudioUniaudioDec:imxaudiouniaudiodec0:
error message: AACD_ERROR_HUFFDECODE
0:00:05.028002001   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:05.028722667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.029415667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:05.030308001   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.030951667   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:05.363900334   525  0x1ce7350 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.364801667   525  0x1ce7350 WARN                GST_PADS gstpad.c:3739:gst_pad_peer_query:<streamsynchronizer0:src_0> could not send sticky events
0:00:05.365031001   525  0x1ce7350 INFO           imxvpudecoder decoder.c:867:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> number of allocation pools in query: 0
0:00:05.365106001   525  0x1ce7350 INFO           imxvpudecoder decoder.c:912:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> no pool present; creating new pool
0:00:05.365714667   525  0x1ce7350 INFO    imxvpudecframebufferpool decoder_framebuffer_pool.c:66:gst_imx_vpu_decoder_framebuffer_pool_init:<GstImxVpuDecoderFramebufferPool@0x201ac98> initializing VPU buffer pool
0:00:05.365891667   525  0x1ce7350 INFO           imxvpudecoder decoder.c:928:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoderframebufferpool0> pool config:  outcaps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100  size: 1612801  min buffers: 0  max buffers: 0
0:00:05.366765334   525  0x1ce7350 WARN                GST_PADS gstpad.c:3739:gst_pad_peer_query:<streamsynchronizer0:src_0> could not send sticky events
0:00:05.366950001   525  0x1ce7350 INFO           imxvpudecoder decoder.c:867:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> number of allocation pools in query: 0
0:00:05.367024001   525  0x1ce7350 INFO           imxvpudecoder decoder.c:912:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> no pool present; creating new pool
0:00:05.367467667   525  0x1ce7350 INFO    imxvpudecframebufferpool decoder_framebuffer_pool.c:66:gst_imx_vpu_decoder_framebuffer_pool_init:<GstImxVpuDecoderFramebufferPool@0x201adc8> initializing VPU buffer pool
0:00:05.367625001   525  0x1ce7350 INFO           imxvpudecoder decoder.c:928:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoderframebufferpool1> pool config:  outcaps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100  size: 1612801  min buffers: 0  max buffers: 0
0:00:05.372773001   525  0x1d54200 INFO        imxgles2renderer gles2_renderer.c:922:gst_imx_egl_viv_sink_gles2_renderer_destroy: stopping renderer
0:00:05.372918334   525  0x1d54200 INFO        imxgles2renderer gles2_ren[   42.409013] ------>vikas: VPU_IOC_PHYMEM_FREE 
derer.c:927:gst_imx_egl_viv_sink_[   42.414461] ------>vikas: vpu_free_dma_buffer: size = 606208, cpu_addr = 0x95100000, phy_addr = 0x25100000,
gles2_renderer_destroy: destroying EGL platform
0:00:05.378[   42.431503] ------>vikas: VPU_IOC_PHYMEM_FREE 
707001   525  0x1d5420[   42.437597] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x95300000, phy_addr = 0x25300000,
0 DEBUG        imx[   42.452723] ------>vikas: VPU_IOC_PHYMEM_FREE 
ipuallocator allocator.c:93:gst_i[   42.457662] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x95b00000, phy_addr = 0x25b00000,
mx_ipu_free_phys_mem:<imxipuallocator0> freed physical memory at address 0x20051000
0:00:05.378805001   525 0x70731cf0 WARN                 qtdemux qtdemux.c:4434:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason error
0:00:05.710382667   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxipuallocator0> freed block 0x1d604b0 at phys addr 0x20051000 with size: 2048
0:00:05.710537001   525  0x1d54200 INFO         imxipuallocator allocator.c:175:gst_imx_ipu_allocator_finalize:<imxipuallocator0> shutting down IPU allocator
0:00:05.710613001   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxipuallocator0> shutting down physical memory allocator
0:00:05.710708334   525  0x1d54200 INFO            imxipudevice device.c:82:gst_imx_ipu_close: IPU device closed
0:00:05.719087667   525  0x1d54200 DEBUG          imxvpudecoder decoder.c:1020:gst_imx_vpu_decoder_change_state:<imxvpudecoder0> Enabling no_wait mode in decoder context during PAUSED->READY state change
0:00:05.719267334   525  0x1ce7350 DEBUG          imxvpudecoder decoder.c:525:gst_imx_vpu_decoder_handle_frame:<imxvpudecoder0> aborting decode since no_wait mode is active
0:00:05.719926667   525  0x1d54200 DEBUG          imxvpudecoder decoder.c:1404:gst_imx_vpu_decoder_release_all_unfinished_frames:<imxvpudecoder0> clearing 2 frames
0:00:05.720149001   525  0x1d54200 INFO           imxvpudecoder decoder.c:1064:gst_imx_vpu_decoder_close_and_clear_decoder_context:<imxvpudecoder0> Clearing decoder context
0:00:05.720220334   525  0x1d54200 DEBUG          imxvpudecoder decoder.c:1050:gst_imx_vpu_decoder_close:<imxvpudecoder0> closing decoder
0:00:05.720271667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1097:imx_vpu_dec_close: closing decoder
0:00:05.739264334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1126:imx_vpu_dec_close: successfully closed decoder
0:00:05.742644667   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:72:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> shutting down framebuffer array 0x1e59368
0:00:05.742768001   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x1e57688 with physical address 0x25300000 and ref count 1
0:00:05.742970667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:05.763765334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:05.763927334   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x1e57688 at phys addr 0x25300000 with size: 1612801
0:00:05.764015334   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079dc70 with physical address 0x25b00000 and ref count 1
0:00:05.764199667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vp[   42.808109] ------>vikas: VPU_IOC_PHYMEM_FREE 
ulib.c:530:default_dmabufalloc_de[   42.813662] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x95d00000, phy_addr = 0x25d00000,
allocate: shut down virtual address for 1612801 bytes of phy[   42.829240] ------>vikas: VPU_IOC_PHYMEM_FREE 
sical memory
0:00:05.786223667  ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x95f00000, phy_addr = 0x25f00000,
[334m  525  0x1d54200 DEBUG              imxv[   42.853595] ------>vikas: VPU_IOC_PHYMEM_FREE 
puapi imxvpuapi_vpulib.c:535:defa[   42.859406] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x96100000, phy_addr = 0x26100000,
ult_dmabufalloc_deallocate: deallocated 1612801 bytes of phy[   42.876061] ------>vikas: VPU_IOC_PHYMEM_FREE 
sical memory
0:00:06.119267001  ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x96300000, phy_addr = 0x26300000,
[334m  525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079dc70 at phys addr 0x25b00000 with size: 1612801
0:00:06.119403001   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079dcc0 with physical address 0x25d00000 and ref count 1
0:00:06.119581334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.140266667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.140415001   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079dcc0 at phys addr 0x25d00000 with size: 1612801
0:00:06.140502667   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079db88 with physical address 0x25f00000 and ref count 1
0:00:06.140717667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.164637334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.164793334   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079db88 at phys addr 0x25f00000 with size: 1612801
0:00:06.164884667   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079dc20 with physical address 0x26100000 and ref count 1
0:00:06.165070334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.187029001   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.187209667   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079dc20 at phys addr 0x26100000 with size: 1612801
0:00:06.187318667   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079db38 with physical address 0x26300000 and ref count 1
0:00:06.187519334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.209257667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.210084001   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079db38 at phys addr 0x26300000 with size: 1612801
0:00:06.2102023[   43.232647] ------>vikas: VPU_IOC_PHYMEM_FREE 
34   525  0x1d54200    43.239716] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x96500000, phy_addr = 0x26500000,
37mDEBUG   imxvpuframebufferarray framebuffer_array.c:8[   43.257490] ------>vikas: VPU_IOC_PHYMEM_FREE 
1:gst_imx_vpu_framebuffer_array_f[   43.262431] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x96700000, phy_addr = 0x26700000,
inalize:<imxvpuframebufferarray0> freeing gstmemory block 0x[   43.279277] ------>vikas: VPU_IOC_PHYMEM_FREE 
7079dae8 with physical address 0x[   43.285218] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x96900000, phy_addr = 0x26900000,
26500000 and ref count 1
0:00:06.544075667   525  0x1[   43.301537] ------>vikas: VPU_IOC_PHYMEM_FREE 
d54200 DEBUG      [   43.308009] ------>vikas: vpu_free_dma_buffer: size = 5238784, cpu_addr = 0x95600000, phy_addr = 0x25600000,
        imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deal[   43.324659] ------>vikas: vpu_release: vpu_free_dma_buffer calling 
locate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.568452334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.568628334   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079dae8 at phys addr 0x26500000 with size: 1612801
0:00:06.568734334   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079d9f8 with physical address 0x26700000 and ref count 1
0:00:06.568950001   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.590305667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.590472334   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079d9f8 at phys addr 0x26700000 with size: 1612801
0:00:06.590569334   525  0x1d54200 DEBUG   imxvpuframebufferarray framebuffer_array.c:81:gst_imx_vpu_framebuffer_array_finalize:<imxvpuframebufferarray0> freeing gstmemory block 0x7079da48 with physical address 0x26900000 and ref count 1
0:00:06.590751667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 1612801 bytes of physical memory
0:00:06.612455334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 1612801 bytes of physical memory
0:00:06.612630667   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079da48 at phys addr 0x26900000 with size: 1612801
0:00:06.612985334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:530:default_dmabufalloc_deallocate: shut down virtual address for 5236736 bytes of physical memory
0:00:06.635556667   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:535:default_dmabufalloc_deallocate: deallocated 5236736 bytes of physical memory
0:00:06.635716667   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:168:gst_imx_phys_mem_allocator_free:<imxvpuallocator0> freed block 0x7079da98 at phys addr 0x25600000 with size: 5236736
0:00:06.635807001   525  0x1d54200 INFO           imxvpudecoder decoder.c:290:gst_imx_vpu_decoder_stop:<imxvpudecoder0> VPU decoder stopped
0:00:06.635882334   525  0x1d54200 INFO         imxvpuallocator allocator.c:66:gst_imx_vpu_allocator_finalize:<imxvpuallocator0> shutting down IMX VPU decoder allocator
0:00:06.635942667   525  0x1d54200 INFO     imxphysmemallocator phys_mem_allocator.c:75:gst_imx_phys_mem_allocator_finalize:<imxvpuallocator0> shutting down physical memory allocator
0:00:06.644502334   525  0x1d54200 DEBUG              imxvpuapi imxvpuapi_vpulib.c:331:imx_vpu_unload: unloaded VPU
Quitting
root@linux-1-9939-a1:~# 

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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-12-22  9:39                     ` Vikas Patil
@ 2015-12-22  9:48                       ` Carlos Rafael Giani
  2015-12-22 10:19                         ` Vikas Patil
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-12-22  9:48 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

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.
> >



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-12-22  9:48                       ` Carlos Rafael Giani
@ 2015-12-22 10:19                         ` Vikas Patil
  2015-12-22 10:41                           ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Vikas Patil @ 2015-12-22 10:19 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale

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

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.
>>
>> >
>
>

[-- Attachment #2: loopvideos1.log --]
[-- Type: application/octet-stream, Size: 85088 bytes --]

export XDG_RUNTIME_DIR=/var/run/root/1000
root@linux-1-9939-a1:~# GST_DEBUG=2,*imx*:5 ./loop-videos -i 5000 -v "imxipuvideotransform ! imxeglvivsink" /home/root/B01_Baseline1.0_1280_720.MP4
0:00:00.849541333   527   0x2a4ba0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:00.852948666   527   0x2a4ba0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ RGB16, BGR, RGB, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, v308, NV12, YV12, I420, Y42B, Y444 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
Display has a touch screen
0:00:00.858194000   527   0x2a4ba0 INFO       imxeglplatform_wl egl_platform_wayland.c:315:seat_handle_capabilities: Display has a touch screen

0:00:00.873132666   527   0x2a4ba0 INFO       imxeglplatform_wl egl_platform_wayland.c:631:gst_imx_egl_viv_sink_egl_platform_create: Wayland EGL platform initialized, using EGL 1.4
0:00:00.873744000   527   0x2a4ba0 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0x179d10> initializing physical memory allocator
0:00:00.873876333   527   0x2a4ba0 INFO            imxipudevice device.c:61:gst_imx_ipu_open: IPU device opened
0:00:00.873943333   527   0x2a4ba0 INFO         imxipuallocator allocator.c:169:gst_imx_ipu_allocator_init:<GstImxIpuAllocator@0x179d10> initialized IPU allocator
0:00:00.874377666   527   0x2a4ba0 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxipuallocator0> alloc_internal called: maxsize: 2048, align: 0, offset: 0, size: 2048
0:00:00.875937000   527   0x2a4ba0 DEBUG        imxipuallocator allocator.c:73:gst_imx_ipu_alloc_phys_mem:<imxipuallocator0> allocated 2048 bytes of physical memory at address 0x1c051000
0:00:00.876055000   527   0x2a4ba0 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxipuallocator0> allocated memory block 0x3734c0 at phys addr 0x1c051000 with 2048 bytes
0:00:00.886147666   527   0x2a4ba0 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.891551333   527   0x2a4ba0 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.959673000   527   0x2caf80 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:00.960526000   527   0x2caf80 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:00.960737000   527   0x2caf80 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:00.960893666   527   0x2caf80 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:00.961009333   527   0x2caf80 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.093714333   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type iods
0:00:01.093862666   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.093950000   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.094028666   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type sync
0:00:01.094091333   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type mpod
0:00:01.094180333   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type nmhd
0:00:01.094259666   527 0x707318f0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type nmhd
0:00:01.097104000   527 0x707318f0 WARN                 qtdemux qtdemux.c:7377:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
0:00:01.097312000   527 0x707318f0 WARN                 qtdemux qtdemux.c:7377:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
0:00:01.100620000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.433149333   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.433340333   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.433588000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.433707000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.452141000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.452907000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.453054333   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.453208333   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.453327666   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.477124333   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.477302000   527 0x707318f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.479157333   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.479623000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.488751666   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.488939000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.510960000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.844455333   527   0x2fe150 DEBUG     48.119435] ------>vikas: VPU_IOC_GET_WORK_ADDR 
0m imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0>   48.135773] ------>vikas: vpu_alloc_dma_buffer: size = 507904, cpu_addr = 0x91000000, phy_addr = 0x21000000,
m transformed EMPTY into EMPTY
0:00:01.844636666   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.844926000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter[   48.178205] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.845059666   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.8[   48.212843] ------>vikas: vpu_alloc_dma_buffer: size = 5238784, cpu_addr = 0x91200000, phy_addr = 0x21200000,
53641666   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.855798000   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:01.856811333   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.856966000   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.857202333   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.857331333   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:01.869189333   527   0x2fe150 INFO           imxvpudecoder decoder.c:217:gst_imx_vpu_decoder_start:<imxvpudecoder0> starting VPU decoder
0:00:01.869322666   527   0x2fe150 INFO               imxvpuapi imxvpuapi_vpulib.c:302:imx_vpu_load: libimxvpuapi version 0.10.1 vpulib backend
0:00:01.923317000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:306:imx_vpu_load: loaded VPU
0:00:01.930914333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0x4714c8> initializing physical memory allocator
0:00:01.931480000   527   0x2fe150 INFO         imxvpuallocator allocator.c:60:gst_imx_vpu_allocator_init:<GstImxVpuAllocator@0x4714c8> initializing IMX VPU decoder allocator
0:00:01.931859333   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 5236736, align: 0, offset: 0, size: 5236736
0:00:01.977422333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 5236736 bytes of physical memory
0:00:01.977719666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:01.978301333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68fe3000  aligned: 0x68fe3000
0:00:01.978394000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x21200000  aligned: 0x21200000
0:00:02.127706333   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:02.312870000   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.313053000   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.313212000   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.313329666   527   0x2fe0f0 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed EMPTY into EMPTY
0:00:02.311523333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c280 at phys addr 0x21200000 with 5236736 bytes
0:00:02.321168000   527   0x2fe150 INFO           imxvpudecoder decoder.c:246:gst_imx_vpu_decoder_start:<imxvpudecoder0> VPU decoder started
0:00:02.328139666   527   0x2fe150 INFO           imxvpudecoder decoder.c:312:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> setting decoder format
0:00:02.328250333   527   0x2fe150 INFO           imxvpudecoder decoder.c:315:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> draining remaining frames from decoder
0:00:02.329236666   527   0x2fe150 INFO           imxvpudecoder decoder.c:1109:gst_imx_vpu_decoder_fill_param_set:<imxvpudecoder0> setting h.264 as stream format
0:00:02.329878666   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y42B, Y444, NV12 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:02.331070000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string){ I420, Y42B, Y444, NV12, NV16, NV24 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){[   48.911927] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
 progressive, interleaved }
0:00:02.331791333   527   0x2fe150 INFO           imxvpudecoder decoder.c:422:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> format I[   48.933991] ------>vikas: vpu_alloc_dma_buffer: size = 606208, cpu_addr = 0x91800000, phy_addr = 0x21800000,
420 detected in list of supported srccaps formats => setting chro[   48.949351] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
ma_interleave to 0
0:00:02.665274666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:961:imx_vpu_dec_open: opening decoder
0:00:02.665544000    48.972074] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x91c00000, phy_addr = 0x21c00000,
336m  527   0x2fe150 DE[   48.984746] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
BUG              imxvpuapi imxvpuapi_vpulib.c:1063:imx_vpu_dec_open: opening decoder, frame size: 1280 x 720 pixel
[INFO]	bitstreamMode 1, chroma[   49.001947] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x91e00000, phy_addr = 0x21e00000,
Interleave 0, mapType 0, tiled2LinearEnable 0
0:00:02.700895666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1077:imx_vpu_dec_open: successfully opened decoder
0:00:02.701505666   527   0x2fe150 INFO           imxvpudecoder decoder.c:444:gst_imx_vpu_decoder_set_format:<imxvpudecoder0> setting format finished
[WARN]	VPU iram is less than needed, some parts don't use iram
0:00:02.702246666   527   0x2fe150 DEBUG          imxvpudecoder decoder.c:1280:gst_imx_vpu_decoder_initial_info_callback:<imxvpudecoder0> initial info:  color format: YUV 4:2:0  size: 1280x720 pixel  rate: 5994/100  min num required framebuffers: 8  interlacing: 0  framebuffer alignment: 1
0:00:02.702611000   527   0x2fe150 DEBUG   imxvpudecodercontext decoder_context.c:93:gst_imx_vpu_decoder_context_new:<imxvpudecodercontext0> initial info:  color format: YUV 4:2:0  size: 1280x720 pixel  rate: 5994/100  min num required framebuffers: 8  interlacing: 0  chroma_interleave: 0  framebuffer alignment: 1
0:00:02.702815000   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:63:gst_imx_vpu_framebuffer_array_init:<GstImxVpuFramebufferArray@0x46f360> initialized framebuffer array 0x46f360
0:00:02.702939333   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:119:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> allocating and registering 9 framebuffers
0:00:02.703018333   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:02.737512333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:02.737708666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:02.737771333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68de9000  aligned: 0x68de9000
0:00:02.737830333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x21c00000  aligned: 0x21c00000
0:00:02.737909000   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x46d680 at phys addr 0x21c00000 with 1612801 bytes
0:00:02.737986666   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x46d680   physical address 0x21c00000  ref count 1
0:00:02.738401000   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:02.768831666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:02.769000333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:02.769059000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpul[   49.347629] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
ib.c:514:default_dmabufalloc_allocate: virtual address:  0x68c5f000  aligned: 0x68c5f000
0:00:02.769118666   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi[   49.371102] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92000000, phy_addr = 0x22000000,
_vpulib.c:515:default_dmabufalloc_allocate: physical address[   49.386661] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
: 0x21e00000  aligned: 0x21e00000
0:00:03.101110333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuall[   49.408142] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92200000, phy_addr = 0x22200000,
ocator0> allocated memory block 0x7079c458 at phys addr 0x21[   49.423446] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
e00000 with 1612801 bytes
0:00:03.101230000   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079[   49.446983] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92400000, phy_addr = 0x22400000,
c458   physical address 0x21e00000  ref count 1
0:00:03.101307000   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.139554000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.139769000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.139842667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68ad5000  aligned: 0x68ad5000
0:00:03.139908333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22000000  aligned: 0x22000000
0:00:03.140001333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c4a8 at phys addr 0x22000000 with 1612801 bytes
0:00:03.140081333   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c4a8   physical address 0x22000000  ref count 1
0:00:03.140297333   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.173014333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.176637000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.176761667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x6894b000  aligned: 0x6894b000
0:00:03.176837000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22200000  aligned: 0x22200000
0:00:03.176932333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c370 at phys addr 0x22200000 with 1612801 bytes
0:00:03.177020000   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c370   physical address 0x22200000  ref count 1
0:00:03.177106667   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.213401333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.213607333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.213670333   527   0x2fe150 DEBUG              imxvpuapi imxvp[   49.792798] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
uapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x687c1000  aligned: 0x687c1000
0:00:03.213733667   527   0x2fe150 DEBUG              imxvpuapi [   49.815487] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92600000, phy_addr = 0x22600000,
imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22400000  aligned: 0[   49.832734] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
x22400000
0:00:03.546275667   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c408 at phys ad[   49.857291] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92800000, phy_addr = 0x22800000,
dr 0x22400000 with 1612801 bytes
0:00:03.546401333   527   0x2fe150 DEBUG  [   49.875761] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
 imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c408   physical address [   49.896431] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92a00000, phy_addr = 0x22a00000,
0x22400000  ref count 1
0:00:03.546478667   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.585359333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.585899667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.585962667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68637000  aligned: 0x68637000
0:00:03.586021333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22600000  aligned: 0x22600000
0:00:03.586099333   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c320 at phys addr 0x22600000 with 1612801 bytes
0:00:03.586294000   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c320   physical address 0x22600000  ref count 1
0:00:03.586408333   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.628499333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.629028667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.629119667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x684ad000  aligned: 0x684ad000
0:00:03.629189000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22800000  aligned: 0x22800000
0:00:03.629269000   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c2d0 at phys addr 0x22800000 with 1612801 bytes
0:00:03.629343667   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c2d0   physical address 0x22800000  ref count 1
0:00:03.629440333   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:03.661478667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:03.661683333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:03.661743667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default[   50.241975] ------>vikas: VPU_IOC_PHYMEM_ALLOC 
_dmabufalloc_allocate: virtual address:  0x68323000  aligned: 0x68323000
0:00:03.661805000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: [   50.266170] ------>vikas: vpu_alloc_dma_buffer: size = 1613824, cpu_addr = 0x92c00000, phy_addr = 0x22c00000,
physical address: 0x22a00000  aligned: 0x22a00000
0:00:03.995394667   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c1e0 at phys addr 0x22a00000 with 1612801 bytes
0:00:03.995568000   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c1e0   physical address 0x22a00000  ref count 1
0:00:03.995648000   527   0x2fe150 DEBUG    imxphysmemallocator phys_mem_allocator.c:117:gst_imx_phys_mem_allocator_alloc_internal:<imxvpuallocator0> alloc_internal called: maxsize: 1612801, align: 0, offset: 0, size: 1612801
0:00:04.033927667   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:499:default_dmabufalloc_allocate: allocated 1612801 bytes of physical memory
0:00:04.034169333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:509:default_dmabufalloc_allocate: retrieved virtual address for physical memory
0:00:04.034244000   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:514:default_dmabufalloc_allocate: virtual address:  0x68199000  aligned: 0x68199000
0:00:04.034311333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:515:default_dmabufalloc_allocate: physical address: 0x22c00000  aligned: 0x22c00000
0:00:04.034404000   527   0x2fe150 INFO     imxphysmemallocator phys_mem_allocator.c:152:gst_imx_phys_mem_allocator_alloc:<imxvpuallocator0> allocated memory block 0x7079c230 at phys addr 0x22c00000 with 1612801 bytes
0:00:04.034484667   527   0x2fe150 DEBUG   imxvpuframebufferarray framebuffer_array.c:152:gst_imx_vpu_framebuffer_array_new:<imxvpuframebufferarray0> memory block 0x7079c230   physical address 0x22c00000  ref count 1
0:00:04.034568333   527   0x2fe150 DEBUG              imxvpuapi imxvpuapi_vpulib.c:1222:imx_vpu_dec_register_framebuffers: attempting to register 9 framebuffers
0:00:04.035371333   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, Y42B, Y444, NV12 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:04.036182333   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string){ I420, Y42B, Y444, NV12, NV16, NV24 }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }
0:00:04.073838667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string){ I420, YV12, NV12, UYVY, RGB16, RGBA, BGRA, RGBx, BGRx, BGR, ABGR }, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved } into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, mixed, interleaved }
0:00:04.132433667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.135957333   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.469846000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.470629667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.471756000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.472591667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.474748000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.475384667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.808564000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.810138000   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.810951333   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.811782667   527   0x2fe150 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:04.814139000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:04.814997000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.147178000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:05.147837000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } into video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.148265000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:429:gst_imx_blitter_video_transform_transform_caps:<imxipuvideotransform0> transformed video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100 into video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100
0:00:05.151027667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:448:gst_imx_blitter_video_transform_fixate_caps:<imxipuvideotransform0> trying to fixate othercaps video/x-raw, width=(int)[ 64, 2147483647 ], height=(int)[ 64, 2147483647 ], pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1 ], interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string){ RGB16, BGR, BGRx, BGRA, RGBx, RGBA, ABGR, UYVY, NV12, YV12, I420 } based on caps video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100
0:00:05.151332667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:552:gst_imx_blitter_video_transform_fixate_size_caps:<imxipuvideotransform0> Input DAR is 16/9
0:00:05.151513667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:958:gst_imx_blitter_video_transform_fixate_format_caps:<imxipuvideotransform0> source format I420
0:00:05.151589000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:967:gst_imx_blitter_video_transform_fixate_format_caps:<imxipuvideotransform0> iterate 1 structures
0:00:05.151653000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:984:gst_imx_blitter_video_transform_fixate_format_caps:<imxipuvideotransform0> have 11 formats
0:00:05.151718667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> RGB16 = 3
0:00:05.151779000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:938:score_value:<imxipuvideotransform0> found new best 3
0:00:05.482815667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> BGR = 3
0:00:05.482922667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> BGRx = 3
0:00:05.482988667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> BGRA = 7
0:00:05.483051333   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> RGBx = 3
0:00:05.483111667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> RGBA = 7
0:00:05.483189667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> ABGR = 7
0:00:05.483257667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> UYVY = 1
0:00:05.483320000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:938:score_value:<imxipuvideotransform0> found new best 1
0:00:05.483380000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> NV12 = 1
0:00:05.483441333   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:934:score_value:<imxipuvideotransform0> score I420 -> YV12 = 1
0:00:05.483527000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:858:gst_imx_blitter_video_transform_fixate_size_caps:<imxipuvideotransform0> fixated othercaps to video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string)I420
0:00:05.483664333   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:958:gst_imx_blitter_video_transform_fixate_format_caps:<imxipuvideotransform0> source format I420
0:00:05.483727333   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:967:gst_imx_blitter_video_transform_fixate_format_caps:<imxipuvideotransform0> iterate 1 structures
0:00:05.483950000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:1027:gst_imx_blitter_video_transform_set_caps:<imxipuvideotransform0> input and output caps are equal
0:00:05.487468000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:1088:gst_imx_blitter_video_transform_decide_allocation:<imxipuvideotransform0> num allocation pools: 1
0:00:05.487582333   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:1110:gst_imx_blitter_video_transform_decide_allocation:<imxipuvideotransform0> video pool 0x70717dd0 cannot be used - it does not have the GST_BUFFER_POOL_OPTION_IMX_PHYS_MEM; unref'ing
0:00:05.487653667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:1132:gst_imx_blitter_video_transform_decide_allocation:<imxipuvideotransform0> no pool present; creating new pool
0:00:05.487976667   527 0x7079a320 INFO    imxphysmembufferpool phys_mem_buffer_pool.c:294:gst_imx_phys_mem_buffer_pool_init:<GstImxPhysMemBufferPool@0x51cd70> initializing physical memory buffer pool
0:00:05.819123667   527 0x7079a320 INFO    imxphysmembufferpool phys_mem_buffer_pool.c:141:gst_imx_phys_mem_buffer_pool_set_config:<imxphysmembufferpool0> caps used for config: video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string)I420
0:00:05.819297667   527 0x7079a320 INFO    imxphysmembufferpool phys_mem_buffer_pool.c:151:gst_imx_phys_mem_buffer_pool_set_config:<imxphysmembufferpool0> using horiz/vert alignment: 16/8
0:00:05.819409667   527 0x7079a320 INFO    imxphysmembufferpool phys_mem_buffer_pool.c:174:gst_imx_phys_mem_buffer_pool_set_config:<imxphysmembufferpool0> aligned video info:  width/height: 1280/720  padding values right/bottom 0 0
0:00:05.819516334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:1153:gst_imx_blitter_video_transform_decide_allocation:<imxipuvideotransform0> pool config:  outcaps: video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)2997/100, format=(string)I420  size: 1382400  min buffers: 0  max buffers: 0
failed to get surface context in ilmControl
0:00:05.820441667   527   0x2fe150 INFO           imxvpudecoder decoder.c:867:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> number of allocation pools in query: 1
failed to get surface context in ilmControl
failed to get surface context in ilmControl
failed to get surface context in ilmControl
0:00:05.820539000   527   0x2fe150 DEBUG          imxvpudecoder decoder.c:889:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> video pool 0x70717f50 cannot be used - it does not have the GST_BUFFER_POOL_OPTION_IMX_VPU_DECODER_FRAMEBUFFER; unref'ing
0:00:05.820948000   527   0x2fe150 INFO           imxvpudecoder decoder.c:912:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> no pool present; creating new pool
0:00:05.821304000   527   0x2fe150 INFO    imxvpudecframebufferpool decoder_framebuffer_pool.c:66:gst_imx_vpu_decoder_framebuffer_pool_init:<GstImxVpuDecoderFramebufferPool@0x630c68> initializing VPU buffer pool
0:00:05.821429334   527   0x2fe150 INFO           imxvpudecoder decoder.c:928:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoderframebufferpool0> pool config:  outcaps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100  size: 1612801  min buffers: 0  max buffers: 0
0:00:05.823926000   527   0x2fe150 INFO           imxvpudecoder decoder.c:867:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> number of allocation pools in query: 1
0:00:05.824070667   527   0x2fe150 DEBUG          imxvpudecoder decoder.c:889:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> video pool 0x4a0178 cannot be used - it does not have the GST_BUFFER_POOL_OPTION_IMX_VPU_DECODER_FRAMEBUFFER; unref'ing
0:00:05.824162000   527   0x2fe150 INFO           imxvpudecoder decoder.c:912:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoder0> no pool present; creating new pool
0:00:05.824567000   527   0x2fe150 INFO    imxvpudecframebufferpool decoder_framebuffer_pool.c:66:gst_imx_vpu_decoder_framebuffer_pool_init:<GstImxVpuDecoderFramebufferPool@0x630d98> initializing VPU buffer pool
0:00:05.824724000   527   0x2fe150 INFO           imxvpudecoder decoder.c:928:gst_imx_vpu_decoder_decide_allocation:<imxvpudecoderframebufferpool1> pool config:  outcaps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)2997/100  size: 1612801  min buffers: 0  max buffers: 0
failed to get surface context in ilmControl
layerid=1000 is already used.
0:00:06.165970334   527   0x2e2350 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling latency event
create_ilm_surface finished
0:00:06.171806667   527   0x2e36f0 INFO        imxgles2renderer gles2_renderer.c:168:gst_imx_egl_viv_sink_gles2_renderer_thread: Vivante direct texture extension (GL_VIV_direct_texture) present
0:00:06.261281667   527   0x2e36f0 INFO        imxgles2renderer gles2_renderer.c:201:gst_imx_egl_viv_sink_gles2_renderer_thread: starting GLES2 renderer loop
0:00:06.262091334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.276819000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.309238667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.342355667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.376760334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.409144667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.444160667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.476090000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.511928000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.544994334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.576419000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.610566334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.642084000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.676971667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.708430667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.742935000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.780026000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.812916334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.844316334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.881657667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.912471667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.947985667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:06.980801000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.011866000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.043044334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.077986667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.110536667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.144745667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.182390667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.211718667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.247972667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.281310334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.313244334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.346448667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.380732667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.424145000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.456498334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.482339334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.517775667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.550422667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.584311000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.617629334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.651485334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.685152667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.716859334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.750640000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.784166334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.819502667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.851772334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.885641000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.917376667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.951679000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:07.983865667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.017000334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.050495334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.083771334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.117274667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.153826000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.183930667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.220990000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.251222667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.283281000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.319366667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.349896000   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.383933334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.420956667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.451753667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.483446001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.522770334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.550390334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.586675334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.618225001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.650682001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.684127001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.717909334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.751897334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.785293334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.817793667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.851304334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.884640667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.918127334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.954658001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:08.986429001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.020513334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.051847667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.088557667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.118963001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.153073667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.184773334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.218132667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.253204334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.286437667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.317436001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.360324667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.390236667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.416744667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.450169334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.485884667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.518432001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.550084001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.583406667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.615605667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.649240001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.682121001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.715344001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.750350667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.782226334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.816123667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.848990667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.883433667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.916455334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.951896001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:09.984582667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.017204334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.049656667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.085256001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.116469334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.150310001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.182865334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.220849334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.257533667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.286351001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.319073667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.354632334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.386204334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.416582001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.450676334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.483352001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.523412334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.555816334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.584469334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.620271334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.651991001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.684192667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.721315001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.752909334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.786420334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.817414001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.851090334   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.884280001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.918221001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.956502001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:10.985784667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.022149001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.051644001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.088600667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.119738667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.153276667   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.187040001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
0:00:11.222520001   527 0x7079a320 DEBUG   imxblittervideotransform video_transform.c:325:gst_imx_blitter_video_transform_src_event:<imxipuvideotransform0> handling qos event
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at /home/svc_int-linux-1/workspace-new/linux-12/elina-distro/build-linux-1-a1/tmp/work/cortexa9hf-vfp-neon-elina-linux-gnueabi/pulseaudio/6.0-r0/pulseaudio-6.0/src/pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
[   58.035591] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.042488] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92c00000, phy_addr = 0x22c00000,
[   58.067501] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.074386] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92a00000, phy_addr = 0x22a00000,
[   58.086667] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.093497] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92800000, phy_addr = 0x22800000,
[   58.104443] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.111183] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92600000, phy_addr = 0x22600000,
[   58.122023] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.128776] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92400000, phy_addr = 0x22400000,
[   58.139838] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.146644] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92200000, phy_addr = 0x22200000,
[   58.162472] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.169699] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x92000000, phy_addr = 0x22000000,
[   58.183204] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.190272] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x91e00000, phy_addr = 0x21e00000,
[   58.204176] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.211227] ------>vikas: vpu_free_dma_buffer: size = 1613824, cpu_addr = 0x91c00000, phy_addr = 0x21c00000,
[   58.224636] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.231835] ------>vikas: vpu_free_dma_buffer: size = 606208, cpu_addr = 0x91800000, phy_addr = 0x21800000,
[   58.246085] ------>vikas: vpu_free_buffers: vpu_free_dma_buffer calling 
[   58.253228] ------>vikas: vpu_free_dma_buffer: size = 5238784, cpu_addr = 0x91200000, phy_addr = 0x21200000,
[   58.266897] ------>vikas: vpu_release: vpu_free_dma_buffer calling 
Aborted (core dumped)
root@linux-1-9939-a1:~# 
root@linux-1-9939-a1:~# 
root@linux-1-9939-a1:~# 

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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  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>
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-12-22 10:41 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

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.
> >



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
       [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
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-12-22 12:17 UTC (permalink / raw)
  To: Vikas Patil; +Cc: meta-freescale

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.
> >



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

* Re: imxvpudec crash with 3.14.28 and gstreamer1.0
  2015-12-22 12:17                               ` Carlos Rafael Giani
@ 2015-12-29 12:31                                 ` Carlos Rafael Giani
  0 siblings, 0 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-12-29 12:31 UTC (permalink / raw)
  To: meta-freescale

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.
>> >
>



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

end of thread, other threads:[~2015-12-29 12:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-11-18 13:08     ` Carlos Rafael Giani

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.