Configures dual-screen display based on Qtwayland On Imx8

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

Configures dual-screen display based on Qtwayland On Imx8

736件の閲覧回数
hhami_2040
Contributor III

Hello All,

I have an Apalis Toradex IMX8 QM Module with an ixora 1.2 carrier board (with a Toradex LVDS Display 10.1) and Im using the tdx-reference-multimedia-image right now.
I want to run a QT application on dual Screen(LVDS and HDMI) with Extend Mode!!
I try to build and use Qt dual-screen and I would like use “QtWayland” module
In the based this link i did All instrutctions but finally when run a qt application(qt-dual-screen-compositor) with 2 pages we faced bellow messages and pages display on active screen(here is HDMI)-2 pages with white color(HDMI-A-1) and red color (LVDS-1) screen page on top of each other:

qt.qpa.wayland: Setting cursor position is not possible on wayland
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
unable to lock lockfile /run/user/0/wayland-0.lock, maybe another compositor is running

My kms.conf is::

スポイラ
root@apalis-imx8:~# cat /etc/kms.conf
{
"device": "/dev/dri/card1",
"hwcursor": true,
"pbuffers": false,
"outputs": [
{ "name": "HDMI-A-1",
"mode": "1920x1080",
"virtualIndex": 0, "primary": true
},
{ "name": "LVDS-1",
"mode": "1280x800",
"virtualIndex": 1
}
]
}

Bytheway I dont have TochScreen(so i didnt do related configuration for lvds and hdmi tochscreen event) and i can’t set position for windows(pages)!!
Can you explain Whats solution??
Thank you in advance,

 

0 件の賞賛
返信
0 返答(返信)