AnsweredAssumed Answered

fb1 resolution limit when enable local alpha in imx6q

Question asked by liu xiang on Nov 13, 2017
Latest reply on May 23, 2018 by ieio

In order to route video data from camera to LCD directly, which can avoid data copy in user mode to save cpu, I use mxc_v4l2_overlay.c that in the yocto test package. The fb0 shows the background and the fb1 shows the camera view.

The command is:

    mxc_vl42_overlay -iw 800 -ih 480 -ow 640 -oh 480 -fg -a 1 -di /dev/video3

When enable local alpha by input parameter  "-a 1", if the output width resolution that setted by input parameter "ow"  is smaller than 512, everything is OK. But if "ow" is larger than 512, there is some error  and the whole image on LCD will be wrong.

When error  happens the log is that:

 

root@saic_imx6d_zpv:/# ./mxc_v4l2_overlay -iw 800 -ih 480 -ow 640 -oh 480 -fg -a 1 -di /dev/video3

g_display_width = 640, g_display_height = 480

g_display_top = 0, g_display_left = 0

mxc_cam_select_input: input(0) CSI IC MEM

sensor chip is ds90ub940_mipi_camera

sensor supported frame size:

 800x480

sensor frame format: UYVY

frame_rate is 30

after late_init:0

after late_init:0

 

 frame buffer width 0, height 0, bytesperline 0

after late_init:0

after late_init:0

 

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

 

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

 

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

mxc_sdc_fb fb@0: timeout when waiting for flip irq

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

 

Is there fb1 resolution limit  when enable local alpha?

How to resolve this problem?

Thanks

Liu Xiang

Outcomes