AnsweredAssumed Answered

how to imx6 sabre auto dual display

Question asked by k ms on Feb 6, 2019
Latest reply on Feb 10, 2019 by k ms

hi

i'm using imx6q sabreauto.

yocto versions = imx-linux-morty -m imx-4.9.11-1.0.0_ga


I want to mirroring the Parallel LCD and HDMI.

I want to output the same screen to LCD and HDMI.

I have already seen a lot of data from XNP COMMUNITY.
But I could not find the material I wanted.

I checked the output of LCD and HDMI.

 

my u-boot set

setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot}  video=mxcfb0:dev=lcd,DENEX_OLED,if=RGB24,bpp=32  video=mxcfb1:dev=hdmi,1280x1024M@60,if=RGB24,bpp=32  fbmem=32M vmalloc=400M consoleblank=0 vt.global_cursor_default=0'

 

------------ /sys/class/graphics/fb0
DISP3 BG
U:1280x1024p-60
lcd
2-layer-fb-bg
------------ /sys/class/graphics/fb1
DISP3 FG
overlay
2-layer-fb-fg
------------ /sys/class/graphics/fb2
DISP4 BG - DI1
U:1280x720p-60
hdmi
2-layer-fb-bg
------------ /sys/class/graphics/fb3
DISP4 FG
overlay
2-layer-fb-fg

 

hdmi
ipu_id = <1>; 
disp_id = <1>;

 

lcd

ipu_id = <0>;
disp_id = <0>;

 

LCD - fb0, fb1(use qt overlay)

HDMI - fb2, fb3(use qt overlay)

 

First, is it possible to mirroring LCD and HDMI?

Second, should I use two gstreamers?

for example

1. gst-launch-1.0 videosrc ~~ ! ~~ ! sink framebuffer=/dev/fb0

2. gst-launch-1.0 videosrc ~~ ! ~~ ! sink framebuffer=/dev/fb2

 

If you run two gst-launch, the CPU seems to die.

Do I need a kernel patch for mirroring to a parallel LCD and HDMI?

 

regards.

Outcomes