QT6 EGLFS

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

QT6 EGLFS

Jump to solution
3,108 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
3,088 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
3,089 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
%3CLINGO-SUB%20id%3D%22lingo-sub-1983987%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EQT6%20EGLFS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1983987%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOn%20my%20phytec%20imx8mp%20SOM%20based%20board%2C%20I%20successfully%20activate%3CSTRONG%3E%20QT6%20EGLFS%3C%2FSTRONG%3E%20using%20steps%20below.%20Unfortunately%20this%20does%20not%20work%20with%20newer%20BSPs%20(see%20below).%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E(it%20works%20when%20using%20this%20BSP%20version)%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%3EBSP-Yocto-NXP-i.MX8MP-PD23.1.0%20%20%20%20%20%20%20%20%20%20%20%202023-12-09%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A-%20Linux%20NXP%20Vendor%20Kernel%20v5.15.71_2.2.2-phy3%20(based%20on%20NXP%20tag%20lf-5.15.71-2.2.2)%0A-%20U-boot%20v2022.04_2.2.2-phy5%20(based%20on%20NXP%20tag%20lf-5.15.71-2.2.2)%0A-%20Yocto%204.0.13%20(Kirkstone)%0A-%20Qt%206.3%0A-%20Op-tee%204.0%0A-%20RAUC%201.10.1%3C%2FPRE%3E%3CP%3EI%20activate%3CSTRONG%3E%20QT6%20EGLFS%3C%2FSTRONG%3E%20using%20these%20steps%3A%3CBR%20%2F%3E%3CBR%20%2F%3Esystemctl%20stop%20weston.service%3C%2FP%3E%3CP%3Eexport%20QT_QPA_PLATFORM%3Deglfs%3CBR%20%2F%3Eexport%20QT_QPA_EGLFS_INTEGRATION%3Deglfs_kms%3CBR%20%2F%3Eexport%20QT_QPA_EGLFS_ALWAYS_SET_MODE%3D1%3C%2FP%3E%3CP%3Eecho%20'%7B%3CBR%20%2F%3E%22device%22%3A%20%22%2Fdev%2Fdri%2Fcard1%22%2C%3CBR%20%2F%3E%22hwcursor%22%3A%20false%2C%3CBR%20%2F%3E%22pbuffers%22%3A%20true%2C%3CBR%20%2F%3E%22outputs%22%3A%20%5B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%20%22name%22%3A%20%22HDMI-A-1%22%2C%20%22mode%22%3A%20%221920x1080%22%20%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%5D%3CBR%20%2F%3E%7D'%20%26gt%3B%20eglfs_config.json%3C%2FP%3E%3CP%3Eexport%20QT_QPA_EGLFS_KMS_CONFIG%3D%22%24PWD%2Feglfs_config.json%22%3C%2FP%3E%3CP%3Eexport%20QT_QPA_EGLFS_KMS_ATOMIC%3D1%3C%2FP%3E%3CP%3E%2F%2Fnow%20run%20a%20qml%20application%3CBR%20%2F%3E.%2Fplay%20-platform%20eglfs%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E(it%20does%20not%20works%20when%20using%20this%20BSP%20version)%3C%2FFONT%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%3EBSP-Yocto-Ampliphy-i.MX8MP-PD24.1.0%20%20%20%202024-03-28%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A-%20Linux%20Kernel%20v6.6.21-phy1%0A-%20U-boot%20v2024.01-phy3%0A-%20Yocto%20Scarthgap%20development%20state%20(pre%205.0)%0A-%20Qt%206.6.3%0A-%20RAUC%201.11.3%3C%2FPRE%3E%3CP%3EAny%20idea%20what%20can%20be%20the%20root%20cause%20of%20the%20problem%3F%3CBR%20%2F%3EThx%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1983987%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMultimedia%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1984801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20QT6%20EGLFS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984801%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EMaybe%20%40phytec%26nbsp%3B%20could%26nbsp%3B%20help%20since%20you%20are%20not%20using%20the%20oficial%20BSP.%20But%20you%20can%20download%20the%20latest%20BSP%206.6.36%20where%20QT%20is%20tested%20and%20workable%20on%20NXP%20EVK%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fembedded-linux-for-i-mx-applications-processors%3AIMXLINUX%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fembedded-linux-for-i-mx-applications-processors%3AIMXLINUX%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E