Re: Weston on iMX8MM


Peter Bergin
 

Hi Rudi,

On 2021-03-06 17:26, Rudolf J Streif wrote:
I am having trouble getting Weston to work on an iMX8MM board. I am using Yocto Project Gatesgarth.

When starting Weston I am seeing these messages:

# weston
Date: 2021-03-06 UTC
[16:18:20.776] weston 8.0.0
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: 8.0.0-31-gf6a7d356+
[16:18:20.776] Command line: weston
[16:18:20.776] OS: Linux, 4.14.98-master+gb175405, #1 SMP PREEMPT Thu Dec 24 04:37:11 UTC 2020, aarch64
[16:18:20.776] Using config file '/etc/xdg/weston/weston.ini'
[16:18:20.777] Output repaint window is 16 ms maximum.
[16:18:20.777] Loading module '/usr/lib/libweston-8/drm-backend.so'
[16:18:20.781] initializing drm backend
[16:18:20.788] logind: session control granted
[16:18:20.792] using /dev/dri/card0
[16:18:20.792] DRM: supports universal planes
[16:18:20.792] DRM: supports atomic modesetting
[16:18:20.792] DRM: does not support picture aspect ratio
[16:18:20.792] Loading module '/usr/lib/libweston-8/g2d-renderer.so'
[     1] Failed to open device: No such file or directory, Try again...
[     2] Failed to open device: No such file or directory, Try again...
[     3] Failed to open device: No such file or directory, Try again...
[     4] Failed to open device: No such file or directory, Try again...
[     5] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory.

Unfortunately, I don't know what the device is that it fails to open, nor does it tell me which module causes the problem. I'd appreciate feedback if somebody has run into a similar issue.

Thank you,

Rudi
I previously have had trouble with wrong permissions on /dev/galcore. Since a while weston is started as non-root (https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=ccdaab972e1d03087f9de0eae605008eaada7cd1). This requires the dev nodes to belong to video group as set up by the recipe udev-rules-imx.bb (https://github.com/Freescale/meta-freescale/blob/master/recipes-core/udev/udev-rules-imx/10-imx.rules). In my case I baked my own image with NO_RECOMMENDATION=1 and then I missed the udev rule. I don't have a clue if this is what you see but probably worth looking in to.

Best regards,
/Peter

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.