Imx6q dual-display issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Imx6q dual-display issue

ソリューションへジャンプ
2,852件の閲覧回数
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,016件の閲覧回数
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,016件の閲覧回数
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,016件の閲覧回数
weikeng-jimmy
Contributor III

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

Thanks!

0 件の賞賛
返信
2,016件の閲覧回数
timothybean
Contributor IV

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

Thanks

Tim

0 件の賞賛
返信
2,016件の閲覧回数
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,016件の閲覧回数
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,017件の閲覧回数
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,016件の閲覧回数
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,016件の閲覧回数
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,016件の閲覧回数
weikeng-jimmy
Contributor III

I only tried to test on Linux base.

Thanks!

0 件の賞賛
返信