How to run Weston on IMX8 -  imx8mqevk with Pixman and Virtio-GPU.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to run Weston on IMX8 -  imx8mqevk with Pixman and Virtio-GPU.

2,740 Views
contributor3
Contributor III

I have built fsl-image-validation-imx  version imx-linux-thud with the manifest file imx-4.19.35-1.0.0.xml

I would like to run on Weston using the Virtio-GPU and Pixman renderer. 

I tried to run Weston as below- 

export XDG_RUNTIME_DIR=/run/user/0
chmod 0700 /run/user/0

weston --tty=7 --use-pixman

I got error [ 1] Failed to open device: No such file or directory, Try again...

root@imx8mqevk:~# weston --tty=7 --use-pixman
Date: 2020-07-24 UTC
[10:41:13.962] 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)
[10:41:13.963] Command line: weston --tty=7 --use-pixman
[10:41:13.963] OS: Linux, 4.19.35+ge4452f4458e4, #1 SMP PREEMPT Thu Jul 23 23:37:43 ACST 2020, aarch64
[10:41:13.963] Using config file '/etc/xdg/weston/weston.ini'
[10:41:13.964] Output repaint window is 34 ms maximum.
[10:41:13.964] Loading module '/usr/lib/libweston-6/drm-backend.so'
[10:41:13.985] initializing drm backend
[10:41:13.986] logind: failed to get session seat
[10:41:13.986] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[10:41:13.994] using /dev/dri/card0
[10:41:13.994] DRM: supports universal planes
[10:41:13.994] DRM: supports atomic modesetting
[10:41:13.994] DRM: supports picture aspect ratio
[10:41:13.995] Loading module '/usr/lib/libweston-6/gl-renderer.so'
[10:41:14.046] 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.

I am not sure which device it's trying to open. 

Note that the /dev/dri/card0 is available.

has anyone faced this issue?

my /etc/xdg/weston/weston.ini file :

[core]
repaint-window=34

Best Regards

Sami

0 Kudos
3 Replies

2,645 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Sami,

Haven't tested on the imx8quadmax, but refer to the 4.19.35 release note, agl image is supported by imx6 and imx8qx auto board only.

Regards

0 Kudos

2,645 Views
contributor3
Contributor III

Hi,

I tried with imx8qxpmek build

DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source $RestrictedOSS/meta-imx/tools/imx-setup-release.sh -b build_xwayland

I still see the dame error:

root@imx8qxpmek:~# export XDG_RUNTIME_DIR=/tmp
root@imx8qxpmek:~# chmod 0700 -R /tmp
root@imx8qxpmek:~#
root@imx8qxpmek:~# weston --tty=7 --use-pixman
Date: 2020-07-25 UTC
[14:16:09.024] weston 8.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 8.0.0-34-g27cde525+
[14:16:09.024] Command line: weston --tty=7 --use-pixman
[14:16:09.024] OS: Linux, 5.4.24+gbabac008e5cf, #1 SMP PREEMPT Sun Jul 26 22:32:25 ACST 2020, aarch64
[14:16:09.025] Using config file '/etc/xdg/weston/weston.ini'
[14:16:09.025] Output repaint window is 16 ms maximum.
[14:16:09.025] Loading module '/usr/lib/libweston-8/drm-backend.so'
[14:16:09.050] initializing drm backend
[14:16:09.051] logind: failed to get session seat
[14:16:09.051] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[14:16:09.061] using /dev/dri/card0
[14:16:09.061] DRM: supports universal planes
[14:16:09.061] DRM: supports atomic modesetting
[14:16:09.061] DRM: supports picture aspect ratio
[14:16:09.062] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[14:16:09.101] 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(1245): 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(1245): FATAL: Failed to open device, errno=No such file or directory.
root@imx8qxpmek:~#

I wonder if I used the right repo . can you please send me the link to mx8qx auto build?

.

Best Regards

Sami

0 Kudos

1,257 Views
sriraman
Contributor I
were you able to find a solution ?
0 Kudos