[Yocto] How to support clone mode for dual displays?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Yocto] How to support clone mode for dual displays?

2,373 Views
charleshuang
Senior Contributor II

Hi,

BSP: fsl-yocto-3.14.28_1.0.0

Q1. As we known, the 'fsl-image-qt5' image has a Sato desktop interface. But it seems only render on one framebuffer. Is any configurations I can set to support clone mode for two displays? Or how to modify to archieve this?

Q2.  If the answer above is NO, how to add additional user interfaces, e.g. LXDE, XFCE, etc. to Yocto platform?

Thanks,

Daniel

Labels (3)
0 Kudos
9 Replies

1,339 Views
shubhamsanghvi
Contributor II

Hi Winston,

I have only experimented  with 2 LVDS display.

But if I was to do this task, I would first make sure that both my displays are identified by X11.

Once I am able to play the QT application on both the displays individually, I would try to find a workaround for cloning displays through the X11 framework.

Hope this helps.

Thanks,

Shubham

0 Kudos

1,339 Views
shubhamsanghvi
Contributor II

Hi charles huang,

How is the VGA display connected to the iMX chip? i.e. Through what interface?

Best Regards,

Shubham

0 Kudos

1,339 Views
winstonhuang
Contributor I

Hi Shubham,

VGA --> Chrontel CH7055 --> iMX6

Best Regards,

Winston

0 Kudos

1,339 Views
shubhamsanghvi
Contributor II

Hi charles huang,

If you are using 2 LVDS displays then there is a dual-mode setting in the LDB which clones the data from one display to other.

To enable it you will have to add the 'dual-mode' property in LDB's device tree node.

You can take the patch provided in the below mentioned thread as reference and replace the 'split-mode' with 'dual-mode' :

https://community.freescale.com/message/504331

Best Regards,

Shubham

0 Kudos

1,339 Views
winstonhuang
Contributor I

Hi Shubham,

If I want to use dual clone display with LVDS+VGA, is it possible ?

If yes, please give me some hint.

Best Regards,

Winston

0 Kudos

1,339 Views
joanxie
NXP TechSupport
NXP TechSupport

do you mean you want to play the same video on the different display?

if yes, dual clone display is one kind of dual display, if your board can support lvds+vga, then you can set two gstreamer commands, one for lvds, another for vga, use " &" to conncet them.

if one wants to display the same video, then set the same parameter in the commands.

0 Kudos

1,339 Views
winstonhuang
Contributor I

No, not only video.

It has to be everything starting from Qt desktop.

0 Kudos

1,339 Views
joanxie
NXP TechSupport
NXP TechSupport

if you need to set dual display, can set the uboot command, the detailed information, pls refer to the enclosed file. search dual display in the document.

0 Kudos

1,339 Views
charleshuang
Senior Contributor II

Hi Guanqiong,

The document you attached describes dual display, not dual clone display, is there any way to set dual clone display?

or did I miss something important in that document ?

Best Regards,

Winston

0 Kudos