Dual display problem on fsl-yocto-L4.9.11

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

Dual display problem on fsl-yocto-L4.9.11

898 Views
alxdc
Contributor III

Hi,

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 XDG_CONFIG_HOME=$HOME
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.

Labels (3)
0 Kudos
2 Replies

594 Views
alxdc
Contributor III

Hi Carlos,

I have checked the color formats and fb, everything is properly set. Unfortunately none of the links helped me out.
Any other hint? I can assume is a wayland weston artifact.

Best regards.

0 Kudos

594 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

You need to ensure that the color formats of frame buffers are compatible, and configured to the proper resolution. Additionally, you could take a look at the following links:

https://community.nxp.com/message/958873

https://community.nxp.com/message/926802

https://community.nxp.com/message/926892

 

Hope this will be useful for you.

Best regards!

/Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos