Weston-6.0.0 fails to run with pixman on IMX8

Marius Vlad marius.vlad at collabora.com
Wed Jul 29 09:29:07 UTC 2020


On Wed, Jul 29, 2020 at 04:22:07PM +0930, Sami Md wrote:
> Hi,
Hi,

Most likely you're using a modified version of weston, and a rather old
one. Passing `--use-pixman` option to the DRM-backend is not conditioned
by additional macros which are sprinkle's by the vendor in that version
you're using. If you can get a hold of the upstream version of weston
you shouldn't have any problems using the pixman renderer. But also
even that older version should work. Probably you'll need to reach out to
the vendor for additional  help.

> I am trying to run Weston-6.0.0 on IMX8mqev Yocto Linux.
> 
> I executed below command to run the Weston-6 on TTY-7 using pixman.
> 
> # weston --tty=7 --use-pixman
> 
> But I got below error:
> root at imx8mqevk:~# weston --tty=7 --use-pixman
> Date: 2020-07-29 UTC
> [06:01:24.327] weston 6.0.0
>                https://wayland.freedesktop.org
>                Bug reports to:
> https://gitlab.freedesktop.org/wayland/weston/issues/
>                Build: 6.0.0-33-g81b11811-dirty compositor-drm: Bypass the
> check of the libinput (2019-06-06 17:54:16 +0800)
> [06:01:24.327] Command line: weston --tty=7 --use-pixman
> [06:01:24.327] OS: Linux, 4.19.35+ge4452f4458e4, #1 SMP PREEMPT Thu Jul 23
> 23:37:43 ACST 2020, aarch64
> [06:01:24.328] Using config file '/etc/xdg/weston/weston.ini'
> [06:01:24.328] Output repaint window is 34 ms maximum.
> [06:01:24.328] Loading module '/usr/lib/libweston-6/drm-backend.so'
> [06:01:24.350] initializing drm backend
> [06:01:24.351] logind: failed to get session seat
> [06:01:24.351] logind: cannot setup systemd-logind helper (-61), using
> legacy fallback
> [06:01:24.359] using /dev/dri/card0
> [06:01:24.359] DRM: supports universal planes
> [06:01:24.359] DRM: supports atomic modesetting
> [06:01:24.359] DRM: supports picture aspect ratio
> [06:01:24.359] Loading module '/usr/lib/libweston-6/gl-renderer.so'
> [06:01:24.410] EGL client extensions: EGL_EXT_client_extensions
>                EGL_EXT_platform_base EGL_KHR_platform_wayland
>                EGL_EXT_platform_wayland EGL_KHR_platform_gbm
> [     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(1228): FATAL: Failed to open device, errno=No such
> file or directory.
> [     6] Failed to open device: No such file or directory, Try again...
> [     7] Failed to open device: No such file or directory, Try again...
> [     8] Failed to open device: No such file or directory, Try again...
> [     9] Failed to open device: No such file or directory, Try again...
> [    10] _OpenDevice(1228): FATAL: Failed to open device, errno=No such
> file or directory.
> root at imx8mqevk:~# [  690.668220] random: crng init done
> [  690.668247] random: 7 urandom warning(s) missed due to ratelimiting
> [ 1824.050168] audit: type=1006 audit(1596004201.751:4): pid=3134 uid=0
> old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
> 
> my weston.ini
> -------------------
> root at imx8mqevk:~# cat /etc/xdg/weston/weston.ini
> [core]
> repaint-window=34
> 
> weston.log
> --------------
> root at imx8mqevk:~# cat /var/log/weston.log
> Date: 2020-07-29 UTC
> [05:55:45.406] weston 6.0.0
>                https://wayland.freedesktop.org
>                Bug reports to:
> https://gitlab.freedesktop.org/wayland/weston/issues/
>                Build: 6.0.0-33-g81b11811-dirty compositor-drm: Bypass the
> check of the libinput (2019-06-06 17:54:16 +0800)
> [05:55:45.407] Command line: /usr/bin/weston --log=/var/log/weston.log
> [05:55:45.407] OS: Linux, 4.19.35+ge4452f4458e4, #1 SMP PREEMPT Thu Jul 23
> 23:37:43 ACST 2020, aarch64
> [05:55:45.410] Using config file '/etc/xdg/weston/weston.ini'
> [05:55:45.412] Output repaint window is 34 ms maximum.
> [05:55:45.414] Loading module '/usr/lib/libweston-6/drm-backend.so'
> [05:55:45.478] initializing drm backend
> [05:55:45.504] logind: session control granted
> [05:55:45.528] using /dev/dri/card0
> [05:55:45.528] DRM: supports universal planes
> [05:55:45.529] DRM: supports atomic modesetting
> [05:55:45.529] DRM: supports picture aspect ratio
> [05:55:45.529] Loading module '/usr/lib/libweston-6/gl-renderer.so'
> [05:55:45.684] EGL client extensions: EGL_EXT_client_extensions
>                EGL_EXT_platform_base EGL_KHR_platform_wayland
>                EGL_EXT_platform_wayland EGL_KHR_platform_gbm
> 
> 
> DRM used : VIRTIO-GPU DRM driver
> root at imx8mqevk:~# ls -l /dev/dri/card0
> crw-rw---- 1 root video 226, 0 Jul 29 05:55 /dev/dri/card0
> 
> dmesg output with drm
> 
> root at imx8mqevk:~# dmesg | grep drm
> [    0.762194] [drm] virgl 3d acceleration not supported by host
> [    0.772082] [drm] number of scanouts: 1
> [    0.772147] [drm] number of cap sets: 0
> [    0.802799] virtio_gpu virtio4: fb0: virtiodrmfb frame buffer device
> [    0.802878] [drm] Initialized virtio_gpu 0.0.1 0 for virtio4 on minor 0
> 
> Note that I am trying to use pixman but Weston loads module gl-renderer.so
> . Is there any way
> to force the  Weston not to load gl-renderer because I am using pixman for
> rendering.


> 
> 
> Best Regards
> Sami

> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20200729/11649852/attachment.sig>


More information about the wayland-devel mailing list