Dual display problem on fsl-yocto-L4.9.11

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Dual display problem on fsl-yocto-L4.9.11

2,862 次查看
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.

标签 (3)
0 项奖励
回复
2 回复数

2,558 次查看
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 项奖励
回复

2,558 次查看
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 项奖励
回复