how to imx8mq display mirroring

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

how to imx8mq display mirroring

4,076件の閲覧回数
kangmw086
Contributor III

hi.

i used imx8mq.

yocto imx8mq_rocko 4.9.88-2.0.0 : build-wayland.

I played the dual display output. (LCD, HDMI)

but i want to LCD/HDMI mirroring.

QT_APP works only on LCD, and GSTREAMER is output to HDMI.

 

The following error occurs when GSTREAMER is tried to output to LCD.

root@imx8mqevk:~# gst-launch-1.0 videotestsrc ! waylandsink
Setting pipeline to PAUSED ...
[ 3233.141940] audit: type=1701 audit(1611114213.572:4): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3206 comm="weston" exe="/usr/bin/
weston" sig=5
ERROR: Pipeline doesn't want to pause.
WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Could not initialise Wayland output
Additional debug info:
../../../git/ext/wayland/gstwaylandsink.c(294): gst_wayland_sink_find_display (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
Failed to create GstWlDisplay: 'Error communicating with the wayland display'
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mqevk:~#

 

I want mirrroring and GSTREAMER to work on LCD.

QT_APP run -> LCD/HDMI Mirroring.

Gstreamer run -> LCD/HDMI Mirroring.

 

and u-boot command => video=HDMI-A-1:1280x720-32@60

root@imx8mqevk:~# cat /proc/cmdline
console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk1p2 rootwait rw video=HDMI-A-1:1280x720-32@60
root@imx8mqevk:~#

 

 

thank you.

 

 

0 件の賞賛
返信
8 返答(返信)

4,065件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

how did you connect the lcd +hdmi? did you use  DCSS to drive the HDMI and LCDIF to drive the OLED display? and did you use dual display dts file correctly?

you also can refer to my document as below:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-mx8M-EVK-board-encoder-and-decoder/ta-...

 

0 件の賞賛
返信

4,060件の閲覧回数
kangmw086
Contributor III

yes.

HDMI -> DCSS

LCD(TI, sn65dsi8x) -> LCDIF

Given that HDMI and LCD work well, Device-Tree seems to have no problem.

However, i want HDMI and LCD to be output the same.

Why QT_APP is output from LCD only?

Another problem is that if only LCD is output, touch QT_APP and the screen is distorted.(NO HDMI. Single Display)

 

Can you help me?

regards

0 件の賞賛
返信

4,051件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

refer to the document I sent to you, did you try the command I attach? how about it?

gst-launch-1.0 playbin uri=file:///test1.mp4 playbin uri=file:///test2.mp4 video-sink="glimagesink display-master=false display-slave=true

 

 

0 件の賞賛
返信

4,052件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

first, 4.9.88 isn't proper bsp version for imx8mq, if you insist on using this, what qt_app do you mean? and if you only connect one hdmi display, then use qt_app, could you see anything from hdmi?

 

0 件の賞賛
返信

4,035件の閲覧回数
kangmw086
Contributor III

hi

qt_app is QT5 Application.

When only HDMI is connected, QT_APP is run.

Can't I use YOCTO version 4.9.88 for IMX8MQ?

What I want to do is to overlay stream video on LCD/HDMI Mirroring and QT_APP.

Can you tell me the appropriate YOCTO version?

And is there a solution to qt overlay?

 

thank you.

0 件の賞賛
返信

4,017件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

let me reproduce this on my board first, could you tell me what qt app you use? refer to the document I sent to you before, I can use gstreamer to play video on the dual display, did you try the command I sent to you? any different?

0 件の賞賛
返信

4,013件の閲覧回数
kangmw086
Contributor III

hi

I used the command you sent me. It is output from LCD but not from HDMI.

Waylandsink and kmsink are not working properly after using the GSTREAMER command you sent me.

for example, gst-launch-1.0 videotestsrc ! kmssink 

HDMI becomes PLUG_IN, but there is no response. However, when booting for the first time, the test image is printed on the HDMI.

QT_APP consists of only simple UI. I want to mark this app on LCD and HDMI the same.

And I want to overlay GSTREAMER and QT.

help me...

 

And we are changing the YOCTO version from 4.9.88 to 5.4.70. I thought maybe we'd get better results...

 

thank you.

0 件の賞賛
返信

3,898件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

any improvement when you change the bsp?

 

0 件の賞賛
返信