Dual Display on IMX6Q in Android issue

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

Dual Display on IMX6Q in Android issue

1,321 Views
jiaminghuang
Contributor I

DAER ALL:

              I have a project which requires dual display support (hdmi + VGA), both of the displays should show the different  content.

but now ,it can show the same content.  i want to test play vedio on one dispaly. SO i use external\linux-test\test\mxc_vpu_test to build a applcation,

but it can not work.


log :

vpu-test -D "-i akiyo.mp4 "

[INFO]  VPU test program built on Jun 10 2014 00:23:14

[INFO]  VPU firmware version: 2.1.9_r36 [ ZQL: DEBUG ] set_field_fmt: called drivers/media/video/mxc/output/mxc_vout.c

350

[INFO]  VPU library version: 5.4.12

[INFO]  Format: STD_MPEG4

[INFO]  MPEG4 class: MPEG4

[INFO]  Input file "akiyo.mp4" opened.

[INFO]  Mpeg4 Profile: 0 Level: 3 Interlaced: 0

[INFO]  Aspect Ratio Table index: 1

[INFO]  Decoder: width = 176, height = 144, frameRateRes = 15, frameRateDiv = -1, count = 4

[INFO]  CROP left/top/right/bottom 0 0 0 0

[mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory

INFO]   Display fps will be 0

[INFdetected fb_set_par error, error code: -12

O]      v4l output to /dev/video17

[Imxc_v4l2_output mxc_v4l2_output.0: ERR:config_disp_output fb_set_var ret:-12

NFO]    Display to 1920 1080, top ofmxc_v4l2_output mxc_v4l2_output.0: Config display output failed

fset 0, left offset 0

[INFO]  Display: NV12

[ERR]   VIDIOC_STREAMON failed



Thanks in advance for your help.

Labels (2)
0 Kudos
2 Replies

607 Views
SergioSolis
NXP Employee
NXP Employee

Can you please take a look at the following thread?:

Re: Dual Display on IMX6Q in Android


Best regards,
Sergio

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

607 Views
jiaminghuang
Contributor I

hi serchmx:

                as you think,it can show the same content. but i can not play video on the screen.

                1.my source code is android4.2


                 2.i use android mm tool to build the mxc_vpu_test code. (/external/imx-test-3.0.35-4.1.0/test/mxc_vpu_test )


                  3.i run the application on my partform.  ./mxc-vpu-test -D "-i akiyo.mp4 "


               but the application can not work. i am not sure which part is worry



log:

               ./mxc-vpu-test -D "-i akiyo.mp4"


[INFO]  VPU test program built on Jun 10 2014 00:23:14

[INFO]  VPU firmware version: 2.1.9_r36 [ ZQL: DEBUG ] set_field_fmt: called drivers/media/video/mxc/output/mxc_vout.c

350

[INFO]  VPU library version: 5.4.12

[INFO]  Format: STD_MPEG4

[INFO]  MPEG4 class: MPEG4

[INFO]  Input file "akiyo.mp4" opened.

[INFO]  Mpeg4 Profile: 0 Level: 3 Interlaced: 0

[INFO]  Aspect Ratio Table index: 1

[INFO]  Decoder: width = 176, height = 144, frameRateRes = 15, frameRateDiv = -1, count = 4

[INFO]  CROP left/top/right/bottom 0 0 0 0

[mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory

INFO]   Display fps will be 0

[INFdetected fb_set_par error, error code: -12

O]      v4l output to /dev/video17

[Imxc_v4l2_output mxc_v4l2_output.0: ERR:config_disp_output fb_set_var ret:-12

NFO]    Display to 1920 1080, top ofmxc_v4l2_output mxc_v4l2_output.0: Config display output failed

fset 0, left offset 0

[INFO]  Display: NV12

[ERR]   VIDIOC_STREAMON failed



Thanks in advance for your help.


                 

0 Kudos