DRM KMS troubleshooting grid

Revision as of 16:04, 27 January 2022 by Registered User (Merge articles)
Applicable for STM32MP13x lines, STM32MP15x lines


Some typical issues related to the DRM/KMS framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the DRM/KMS or troubleshooting grids categories.


Symptom Resolution
 ./myQtApplication
Could not queue DRM page flip! (Permission denied)
Could not queue DRM page flip! (Permission denied)

The psplash-drm userland splash screen is running and is then the DRM master, avoiding other DRM applications to access to DRM/KMS. Please stop this psplash-drm application with the command below before running your use case:

 psplash-drm-quit

Note: You may need to enter "export QT_QPA_EGLFS_ALWAYS_SET_MODE=1" before running your Qt application, please refer to the Qt documentation.

 echo 32 > /sys/class/backlight/5a000000.dsi.0/brightness
sh: write error: No such device or address

On this board, the panel backlight is related to a MIPI® DSI panel and this backlight can be modified only if the panel is already powered on, that is probably not the case here. Please start any display-related application to start the panel before modifying its backlight. For further information, please refer to DRM KMS overview and Wayland Weston overview articles.