how to imx6 sabre auto dual display

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

how to imx6 sabre auto dual display

1,266 次查看
kangmw086
Contributor III

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.

标签 (3)
0 项奖励
回复
2 回复数

909 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

909 次查看
kangmw086
Contributor III

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.

Should I change the sink to overlaysink?
0 项奖励
回复