Camera preview on i.MX8MQ EVK

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

Camera preview on i.MX8MQ EVK

1,760 Views
felixradensky
Contributor IV

Hello,

We are running L4.14.78 GA BSP on NXP i.MX8M EVK board.

The SD card image was downloaded from https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_MX8MQ&appType=license 

Board revision is SCH 29615 REV B3.

We have NXP MX8_DSI_OLED1 display and NXP MINISASTOCSI camera connected to the board as described in application notes:

https://www.nxp.com/webapp/Download?colCode=AN12189 

https://www.nxp.com/webapp/Download?colCode=AN12187 

The DTB file used is fsl-imx8mq-evk-dcss-rm67191-b3.dtb

When running camera capture and preview on the connected MIPI display by executing the following commands:

   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,hight=480  ! fpsdisplaysink
   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=720,height=480  ! fpsdisplaysink
   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! fpsdisplaysink

we get the correct picture.

However when using higher resolutions
   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080 ! fpsdisplaysink
   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=2592,height=1944 ! fpsdisplaysink

the picture quality worsens, it becomes visibly greener with some parallel lines running across the image.

The problem does not occur when previewing on HDMI display. It also does not occur in previous GA BSP release, L4.9.51

We can also reproduce the problem on our own i.MX8MQ boards.

Please help us fixing the problem.

Felix.

0 Kudos
3 Replies

1,249 Views
haidong_zheng
NXP Employee
NXP Employee

Hi Felix:

Have you tried MIPI-HDMI adapter for this test ?  

Any modification have you done for this test based on Sumo  GA ?

Which panel you tried in this test ? 

We can't repeat your finding now. 

0 Kudos

1,249 Views
oferausterlitz
Senior Contributor II

Hi Tom,

We don't have MIPI-HDMI adapter on our board, DART-MX8M, so it makes no sense to test i.MX8MQ EVK with this adapter.

I have attached 2 images, one showing 720p capture and the other one showing 1080p capture. As you can see the 1080p

capture image is visually greener.

Felix.capture_720p.jpgcapture_1080p.jpg

0 Kudos

1,249 Views
lily_zhang
NXP Employee
NXP Employee

Hello, Felix:

We will check the issue.

0 Kudos