QT6 EGLFS

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

QT6 EGLFS

Jump to solution
245 Views
malik_cisse
Senior Contributor I

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

Labels (1)
0 Kudos
Reply
1 Solution
225 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

Regards

View solution in original post

0 Kudos
Reply
1 Reply
226 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

Regards

0 Kudos
Reply