IMX8 Debian XWayland: Difference between revisions

From Variscite Wiki
Line 38: Line 38:


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

Revision as of 21:39, 27 April 2020

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

Installing Xwayland

https://wayland.freedesktop.org/xserver.html

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

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

Starting Xwayland server

Edit : /etc/xdg/weston/weston.ini and make sure it has below two highlighted params:
[core]
xwayland=true

[xwayland]
path=/usr/bin/Xwayland

Your weston.ini should look like below

# cat /etc/xdg/weston/weston.ini
[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
xwayland=true

[xwayland]
path=/usr/bin/Xwayland

Restart Weston

#systemctl stop weston
#systemctl start weston

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 DISPLAY=:0
#/usr/bin/chromium --ignore-gpu-blacklist --no-sandbox

You can safely ignore the warnings, the acceleration is provided using LLVMPIPE, no Vivante GPU integration is available.

Note: