【IMX8MP】Weston How to set up two HDMI primary and secondary display devices

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

【IMX8MP】Weston How to set up two HDMI primary and secondary display devices

1,440件の閲覧回数
LoopLou
Contributor I

Hello.

I used two HDMI devices in my project, now I want to configure weston to specify these two HDMI primary and secondary display devices, how do I need to configure?

ls /sys/class/drm
card0 card1 card1-DSI-1 card1-HDMI-A-1 renderD128 version

 

I tried configuring /etc/profile.d/weston.sh:

export WESTON_DRM_PRIMARY=HDMI-A-1

But it didn't work.

 

ラベル(2)
0 件の賞賛
返信
5 返答(返信)

1,418件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

current bsp supports dual display already, they are extend mode, for the second display, you need insert mouse and click the second display to enable it

0 件の賞賛
返信

1,404件の閲覧回数
LoopLou
Contributor I
actually I can already display the weston interface on 2 HDMI, yes they are extended mode, what I want to solve is how to set the HDMI-A-1 screen to be the main monitor.
thank you.
0 件の賞賛
返信

1,372件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? did you use HDMI+mipi dsi, right?

0 件の賞賛
返信

1,363件の閲覧回数
LoopLou
Contributor I
Yes, that's right. and I used BSP 5.15.71 2.2.0 Release.
0 件の賞賛
返信

1,219件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

maybe you need change the dts file,  I checked

display-subsystem {
compatible = "fsl,imx-display-subsystem";
ports = <&lcdif1_disp>,
<&lcdif2_disp>,
<&lcdif3_disp>;
};

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8mp.dtsi

 

0 件の賞賛
返信