i.MX8MQ VPU Allocation Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MQ VPU Allocation Error

1,107 Views
ali_semih_yilma
Contributor II

Hi All,

I try to decode 4 rtsp video same time, but i just only decode 3 video. Basically i try to run pipeline 4 times with gst-launch command in terminal. When i try this i get an error on the fourth run.

Pipeline: =>  gst-launch-1.0 rtspsrc location=rtsp://192.168.1.43:554/h264cif latency=0 ! rtph264depay ! queue ! h264parse ! vpudec ! videoconvert ! videoscale ! waylandsink window-width=352 window-height=288

Error => 

0:00:00.111104998 4187 0x138c9390 ERROR default gstallocatorphymem.c:145:base_alloc: Allocate phymem 16777232 failed.

0:00:00.111207121 4187 0x138c9390 ERROR default gstvpu.c:90:gst_vpu_allocate_internal_mem: Could not allocate memory using VPU allocator
0:00:00.111390608 4187 0x138c9390 ERROR vpu_dec_object gstvpudecobject.c:338:gst_vpu_dec_object_start:<vpudecobject0> gst_vpu_allocate_internal_mem fail

0 Kudos
2 Replies

1,094 Views
igorpadykov
NXP Employee
NXP Employee

Hi ali_semih_yilma

 

one can try to increase linux cma size in imx8mq.dts :

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mq-evk.d...

 

Best regards
igor

0 Kudos

1,080 Views
ali_semih_yilma
Contributor II

@igorpadykov Thanks for your answer. I'll try.

0 Kudos