I´m using a custom BSP based on X11 and Weston and I get this messages when shutting down the system:
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
wl_drm_is_format_supported, format <some number>
wl_drm_is_format_supported, format <some number>
wl_drm_is_format_supported, format <some number>
wl_drm_is_format_supported, format <some number>
AFAIK the first three messages were issued because of missing cursors. But the system is a touch only system without cursors. Is there a way to disable them? And if not, how can I prevent the messages from showing up? The last four messages are unknown to me. What does they mean and how can I disable them?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
The messages you’re seeing during shutdown are related to missing cursor themes and DRM format support. Let’s address these issues:
Cursor Messages:
The messages about missing cursors (‘dnd-move’, ‘dnd-copy’, ‘dnd-none’) occur because the system is attempting to load cursor themes that aren’t present. Since your system is touch-only, you can try to suppress these messages by ensuring no cursor themes are requested in your configuration. Check your weston.ini file to confirm that no cursor themes are specified.
If the messages continue, consider creating empty cursor files or using a minimal cursor theme to fulfill the system’s request without displaying them.
DRM Format Messages:
The wl_drm_is_format_supported messages are informational, indicating the system is checking for support of certain DRM formats. These messages are generally harmless unless they cause functional issues.
To reduce these messages, you can adjust the logging level of DRM or Weston. This can often be done by setting environment variables or modifying configuration files to change the log level to a less verbose setting.
If these messages aren’t causing any functional problems, they can typically be ignored. However, the steps above should help reduce or eliminate them if needed.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Are these messages appearing on the serial console or on the display?
What type of display are you using? As @ToradexAI suggested, they can be ignored if they do not cause any functional problems.
I could not find any option in weston configuration file with which you can silence or reduce the logs being printed. However, if you don’t need the cursor what you can try is to set the cursor theme to off in the shell section in the weston.ini file: