2026-03-12 10:57 PM
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.
2026-03-19 6:15 AM
Hi,
have you killed weston graphical service before?
With this command:
systemctl stop weston-graphical-session.service
BR,
Philippe.