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 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.
Hi k
one can try to use appropriate linux boot command line as in example in
sect.4.7 Running Linux OS on the target attached Linux Guide,
sect.7.5 Overlaysink usage, the overlaysink plugin is based on the GPU.
It provides two main functions for video rendering and gives display configuration
for dual display mode.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi
I built it with DISTRO = fsl-imx-fb when building YOCTO.
And I used "gst-launch-1.0 imxv4l2videosrc device = / dev / video0 ~~! Imxg2dvideosink" when I created the pipeline for GST-LAUNCH.