cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 Qt EGLFS/KMS Issue

Harryheema
Associate

I am trying to run my QT app directly on HDMI without wayland but for some reason it doesnt work. I am using the EGLFS

 

 

root@stm32mp1:~# export QT_QPA_PLATFORM=eglfs
root@stm32mp1:~# export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
root@stm32mp1:~# export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
root@stm32mp1:~# export QT_QPA_EGLFS_KMS_DEVICE=/dev/dri/card1
root@stm32mp1:~# ./appFridGui
-sh: ./appFridGui: not found
root@stm32mp1:~# appFridGui
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
drmModeGetResources failed (Operation not supported)
[ 406.915847] appFridGui[760]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Cannot create window: no screens available
Aborted


Please help.

1 REPLY 1
PPAGE.13
ST Employee

Hi,

have you killed weston graphical service before?

With this command:

systemctl stop weston-graphical-session.service

 

BR,

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.