cancel
Showing results for 
Search instead for 
Did you mean: 

Could not set DRM mode for screen DSI1/Could not queue DRM page flip on screen DSI1 (Permission denied) for st-example-image-qt

g.rađenović
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Bernard PUEL
ST Employee

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:

  • u-boot
  • user land (psplash)
  • Weston/wayland

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).

View solution in original post

2 REPLIES 2
Bernard PUEL
ST Employee

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:

  • u-boot
  • user land (psplash)
  • Weston/wayland

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).

Hi, that worked!

Thank You very much!