Hi NXP
Our platform is iMX8MQ.
OS is Yocto 2.5 4.14.98.
How to do about mirror mode (clone mode) dual display in imx8mq Yocto2.5?
About the dual display is HDMI + LVDS.
Our customer need to reduce cpu usage in dual display.
They need to enable "mirror mode (clone mode)" in dual display.
Do you have sop how to do about enable mirror mode (clone mode) display ?
or Demo Image is already support . we can try it.
Thanks.
unfortunately current bsp doesn't support this as default, if customer needs support this, need change weston by themselves, maybe you can refer to the link as below:
Hi NXP,
We are using version yocto 2.5, kernel 4.14.98.
Following the recommendation, we applied the patch '[weston,2/4] weston: Move output position setting to compositor.' After compiling, an error occurs as follows:
compositor/weston-main.o: In function `wet_set_output_position':
| /usr/src/debug/weston/5.0.0.imx-r0/git/compositor/main.c:431: undefined reference to `weston_output_transform_scale_init'
| collect2: error: ld returned 1 exit status
| Makefile:4375: recipe for target 'weston' failed
| make[1]: *** [weston] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/adv/BSP/build_all_1004/tmp/work/aarch64-mx8m-poky-linux/weston/5.0.0.imx-r0/build'
| Makefile:3460: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/adv/BSP/build_all_1004/tmp/work/aarch64-mx8m-poky-linux/weston/5.0.0.imx-r0/temp/log.do_compile.11310)
ERROR: Task (/home/adv/BSP/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/wayland/weston_5.0.0.imx.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2638 tasks of which 2631 didn't need to be rerun and 1 failed.
The following is our version of 'compositor/main.c':
Thank you for your help
Hi @joanxie and NXP Team number
About the solution "https://gitlab.freedesktop.org/wayland/weston/-/issues/22" form @joanxie provide.
Do you have any advise?
The solution match the yocto 2.5 or yocto 3.0 or yocto 3.3 ?
Please help to check it. Thank.
as I known, other customers use qt+eglfs to achieve this, but nxp doesn't have official patch or sample code for this