i.MX8QM LPDDR4 800MHz V4L2 Capture

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

i.MX8QM LPDDR4 800MHz V4L2 Capture

519 次查看
hsaito
Contributor I

Hi,

I have a custom board with iMX8QM running Linux 4.19.35 at DDR4 speed 800MHz.
Here, I have a 60fps camera (NTSC interlaced) via MIPI.
When running in a 65 degree environment, the camera image may freeze.
The software is in normal operation and a fixed image is in the V4L2 buffer.

Are there any possible factors?

At this time, he uses the buffer obtained by g2d_alloc as his V4L2_MEMORY_USERPTR for the V4L2 buffer.
It does not occur when using V4L2_MEMORY_MMAP.
Also, this phenomenon does not occur with the DDR4 1.6GHz setting.

Thanks.

0 项奖励
回复
3 回复数

473 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you reproduce this issue on nxp mek board?

0 项奖励
回复

466 次查看
hsaito
Contributor I

Hi,

In the custom board, the NTSC camera is connected to TP2855 and input to MIPI of i.MX8QM.
There is no environment that allows TP2855 to be connected to the MIPI connector of the nxp mek board, so I cannot confirm it.

 

Thanks.

0 项奖励
回复

446 次查看
joanxie
NXP TechSupport
NXP TechSupport

it seems higher temperature cause lower bandwidth, the mmap can save cpu usage, so I suggest that you can test lower frame rate or use mmap to improve performance, if you use gstreamera, you also can use dmabuf, add io-mode=dmabuf in the pipeline, dmabuf has higher performance than mmap

0 项奖励
回复