question about imxvideoconvert_g2d memory leak

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

question about imxvideoconvert_g2d memory leak

1,566 次查看
yuchao_du
Contributor II

Hello nxp,

 

In imx8qm, we apply gstreamer for Video streaming.

We found there is memory leak with below two pipelines, and after remove red part(imxvideoconvert_g2d ! 'video/x-raw,width=640,height=368,framerate=(fraction)25/1'), memory leak issue gone.

Could you give some advice for this imxvideoconvert_g2d memory leak issue?

 

There is two pipelines, 

gst-launch-1.0 v4l2src device=/dev/video2 io-mode=dmabuf ! 'video/x-raw,format=(string)YUY2,width=1280,height=720,framerate=(fraction)25/1' ! imxvideoconvert_g2d ! 'video/x-raw,width=640,height=368,framerate=(fraction)25/1' ! videoconvert ! v4l2h264enc output-io-mode=dmabuf ! rtph264pay ! udpsink port=26369 buffer-size=5000000

gst-launch-1.0 udpsrc address=localhost buffer-size=9000000 port=26369 ! 'application/x-rtp,encoding-name=H264' ! rtph264depay ! flvmux streamable=true ! rtmpsink location=rtmp://170.255.0.6:6012/livertmp/HIRAIN0DT0TEST001-1

 

Thanks

yuchao

0 项奖励
回复
4 回复数

1,508 次查看
yuchao_du
Contributor II

hello nxp expert,

 

is there any update?

 

BR

yuchao

0 项奖励
回复

1,496 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

I can not reproduced the issue are you using an EVK board? try to change the GPU memory size, with gpumem

 

Regards

 

0 项奖励
回复

1,558 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello yochao,

 

Which device is this? I tested with MX8MP with L515 and no memory leak happens.

Regards

0 项奖励
回复

1,552 次查看
yuchao_du
Contributor II

hello nxp expert,

 

we use imx8qm board, it happend 1.6MB/h memory leak.

Could you help try to use imx8qm mek board?

And when use width/height = 16:9,memory leak issue gone, seems memory leak happen when width/height != 16:9, so please use exact "width=640,height=368"

 

thanks

yuchao

0 项奖励
回复