IMX8 Debian XWayland

From Variscite Wiki

Running X11 based applications on wayland backend on IMX8 Platforms via xwayland.

1 Installing Xwayland

Please follow the below steps (tested on buster) on debian.

# apt-get update; apt-get install -y xwayland

2 Starting Xwayland server

Edit : /etc/xdg/weston/weston.ini and make sure it has below two highlighted params:


Your weston.ini should look like below

# cat /etc/xdg/weston/weston.ini
# i.MX: Disable idle timeout


3 Restart Weston

#systemctl stop weston
#systemctl start weston

4 Install X11 based application

Here below chromium as and example, On Debian buster chromium only supports X11 backend, ozone is not supported from buster repository.

#apt-get install -y chromium
#export GDK_BACKEND=x11
#export DISPLAY=:0
#/usr/bin/chromium --ignore-gpu-blacklist --no-sandbox

You can safely ignore the warnings, but as far as I can see, the acceleration is provided using LLVMPIPE, no Vivante integration is available.