Imx6q dual-display issue

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

Imx6q dual-display issue

Jump to solution
2,121 Views
weikeng-jimmy
Contributor III

Hi sir:

I play two different 1080P video and two different devices output at the same time.

Boot command:

setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk1p1 init=/init rootwait video=mxcfb0:dev=hdmi,1920x1080M@60,

if=RGB24 video=mxcfb1:dev=lcd,LCD-1920x1080,if=RGB24 dmfc=3'

Play 1080P high quality video by gst-launch video by

gst-launch playbin2 uri=file:////mnt/disk/Girl1.avi video-sink="mfw_v4lsink device=/dev/video16" audio-sink="alsasink device=plughw:0" &

gst-launch playbin2 uri=file:////mnt/disk/snsd.mp4 video-sink="mfw_v4lsink device=/dev/video18" audio-sink="alsasink device=plughw:1" &

I can see color bar at top of screen as attach files.

I play low quality file and it's works fine.

Is it i.mx6Q limitation ?


Labels (1)
Tags (1)
0 Kudos
1 Solution
1,285 Views
WangZening
NXP Employee
NXP Employee

The video16 is for GUI, so if you put the video on it also, there will be some artifacts since there are 2 sources (GUI and video) updating the frame buffer.

View solution in original post

0 Kudos
9 Replies
1,285 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

For dual display mode, you should not use "dmfc=3", "dmfc=3" means all DMFC fifo will be used for DP, the main display. It should be used for only single display mode.

1,285 Views
weikeng-jimmy
Contributor III

The strange color bar still exist when not use "dmfc=3.

Thanks!

0 Kudos
1,285 Views
timothybean
Contributor IV

Were you able to figure out the problem? I am having similar issues.

Thanks

Tim

0 Kudos
1,285 Views
LeonardoSandova
Specialist I

Hi,


that is not the expected behaviour. Can you try this pipeline:


gst-launch -v videotestsrc ! 'video/x-raw-yuv, format=(fourcc)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)10/1' ! mfw_v4lsink

Do you see the bar in this case?

0 Kudos
1,285 Views
weikeng-jimmy
Contributor III

Hi,

I had tried this solution.

It worked fine. Strange color bar did not exist.

In addition, I found that the display was normal if frame buffer console option was disabled.

And video16 change to video17 can work fine.

It's framebuffer issue?


0 Kudos
1,286 Views
WangZening
NXP Employee
NXP Employee

The video16 is for GUI, so if you put the video on it also, there will be some artifacts since there are 2 sources (GUI and video) updating the frame buffer.

0 Kudos
1,285 Views
weikeng-jimmy
Contributor III

You mean the video must setting to 17 if used dual-display. But not have any document explain it.

0 Kudos
1,285 Views
johnturnur
Contributor III

Have you tried with Android?

What are the steps to test for dual display on android?

I have tried but not find any solution for this..

0 Kudos
1,285 Views
weikeng-jimmy
Contributor III

I only tried to test on Linux base.

Thanks!

0 Kudos