Imx6q dual-display issue

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

Imx6q dual-display issue

跳至解决方案
2,950 次查看
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 ?


标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,114 次查看
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 项奖励
回复
9 回复数
2,114 次查看
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.

2,114 次查看
weikeng-jimmy
Contributor III

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

Thanks!

0 项奖励
回复
2,114 次查看
timothybean
Contributor IV

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

Thanks

Tim

0 项奖励
回复
2,114 次查看
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 项奖励
回复
2,114 次查看
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 项奖励
回复
2,115 次查看
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 项奖励
回复
2,114 次查看
weikeng-jimmy
Contributor III

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

0 项奖励
回复
2,114 次查看
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 项奖励
回复
2,114 次查看
weikeng-jimmy
Contributor III

I only tried to test on Linux base.

Thanks!

0 项奖励
回复