AnsweredAssumed Answered

Dual display problem on fsl-yocto-L4.9.11

Question asked by alxdc on Nov 17, 2017
Latest reply on Jan 29, 2018 by alxdc



I am using a SabreSD with dual display: LCD + HDMI


The software I use is the latest NXP Yocto BSP fsl-yocto-L4.9.11_1.0.0, specifically the image core-image-weston, DISTRO fsl-imx-wayland. I have modified the Uboot environment as follows:


      $ setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:dev=lcd,if=RGB565 '


When I start my multi display script, an area of the secondary display is blued. It is the same if the displays are arrange in the opposite order. You can see it into the pictures attached.


# Script which starts multi display


echo 0 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb2/blank


mkdir -p /run/user/root
chmod 0700 /run/user/root


export XDG_RUNTIME_DIR=/run/user/root
export HOME=/home/root
export QT_QPA_PLATFORM=wayland


openvt.kbd -s -- weston --log=/dev/console --device=/dev/fb0,/dev/fb2 --use-g2d=1 --idle-time=0


If I connect a mouse, when I move it over the blue are the desktop is redraw, but the mouse pointer is invisible.


Could you help me with this?


Best regards.