On my phytec imx8mp SOM based board, I successfully activate QT6 EGLFS using steps below. Unfortunately this does not work with newer BSPs (see below).
(it works when using this BSP version)
BSP-Yocto-NXP-i.MX8MP-PD23.1.0 2023-12-09 ==================================================== - Linux NXP Vendor Kernel v5.15.71_2.2.2-phy3 (based on NXP tag lf-5.15.71-2.2.2) - U-boot v2022.04_2.2.2-phy5 (based on NXP tag lf-5.15.71-2.2.2) - Yocto 4.0.13 (Kirkstone) - Qt 6.3 - Op-tee 4.0 - RAUC 1.10.1
I activate QT6 EGLFS using these steps:
systemctl stop weston.service
export QT_QPA_PLATFORM=eglfs
export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
echo '{
"device": "/dev/dri/card1",
"hwcursor": false,
"pbuffers": true,
"outputs": [
{ "name": "HDMI-A-1", "mode": "1920x1080" }
]
}' > eglfs_config.json
export QT_QPA_EGLFS_KMS_CONFIG="$PWD/eglfs_config.json"
export QT_QPA_EGLFS_KMS_ATOMIC=1
//now run a qml application
./play -platform eglfs
(it does not works when using this BSP version)
BSP-Yocto-Ampliphy-i.MX8MP-PD24.1.0 2024-03-28 ================================================= - Linux Kernel v6.6.21-phy1 - U-boot v2024.01-phy3 - Yocto Scarthgap development state (pre 5.0) - Qt 6.6.3 - RAUC 1.11.3
Any idea what can be the root cause of the problem?
Thx
Solved! Go to Solution.
Hello,
Maybe @phytec could help since you are not using the oficial BSP. But you can download the latest BSP 6.6.36 where QT is tested and workable on NXP EVK
Regards
Hello,
Maybe @phytec could help since you are not using the oficial BSP. But you can download the latest BSP 6.6.36 where QT is tested and workable on NXP EVK
Regards