2019-03-15 08:01 AM
Hi,
I have succesfully built a image st-example-image-qt from the DISTRO openstlinux-eglfs.
I have deployed the image on sd card, and played it on STM32MP157C-DK2.
System is booting without a problem, and the splashscreen was shown.
Then, I tried one of Qt examples e.g.:
root@stm32mp1:~# /usr/share/examples/opengl/hellowindow/hellowindow
qt.qpa.input: X-less xkbcommon not available, not performing key mapping
Could not set DRM mode for screen DSI1 (Permission denied)
Could not queue DRM page flip on screen DSI1 (Permission denied)
Could not queue DRM page flip on screen DSI1 (Permission denied)
Could not queue DRM page flip on screen DSI1 (Permission denied)
...
export QT_QPA_EGLFS_ALWAYS_SET_MODE="1"
export QT_QPA_EGLFS_INTEGRATION="eglfs_kms"
does not help!
What can be the Issue here?
Solved! Go to Solution.
2019-03-18 08:27 AM
Could you please launch this command before launching Qt demo ?
"# psplash-drm-quit"
Here is the explanation:
In ST distribution there are 3 splash screens:
So before launching Application UI, you have to free DRM instance with user land splash screen (to avoid permission denied). This is done in Weston/Wayland automatically but not in Qt (sample code).
2019-03-18 08:27 AM
Could you please launch this command before launching Qt demo ?
"# psplash-drm-quit"
Here is the explanation:
In ST distribution there are 3 splash screens:
So before launching Application UI, you have to free DRM instance with user land splash screen (to avoid permission denied). This is done in Weston/Wayland automatically but not in Qt (sample code).
2019-03-19 01:13 AM
Hi, that worked!
Thank You very much!