Difference between revisions of "IMX8 Debian XWayland"

From Variscite Wiki
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
= Installing Xwayland =
 
= Installing Xwayland =
  
  # apt-get update; apt-get install -y xwayland
+
  # apt-get update
 +
# apt-get install xwayland
  
 
= Starting the Xwayland server =
 
= Starting the Xwayland server =
Line 28: Line 29:
 
  # apt-get install -y chromium
 
  # apt-get install -y chromium
 
  # export DISPLAY=:0
 
  # export DISPLAY=:0
  # /usr/bin/chromium --ignore-gpu-blacklist --no-sandbox
+
  # /usr/bin/chromium --no-sandbox
 
You can safely ignore the warnings. The acceleration is provided using LLVMPIPE - no Vivante GPU integration is available.<br>
 
You can safely ignore the warnings. The acceleration is provided using LLVMPIPE - no Vivante GPU integration is available.<br>
 
<br>
 
<br>
 
'''Note:'''
 
'''Note:'''
 
* While other X11 based application may work, not all X11 applications in the Debian repository are tested by Variscite.
 
* While other X11 based application may work, not all X11 applications in the Debian repository are tested by Variscite.
 +
* Chromium built by Debian repo does not support Video Decoding acceleration.

Latest revision as of 15:13, 4 May 2020

Running X11 applications on wayland backend via xwayland

1 Xwayland introduction / reference

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

2 Installing Xwayland

# apt-get update
# apt-get install xwayland

3 Starting the Xwayland server

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

[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
xwayland=true

[xwayland]
path=/usr/bin/Xwayland

4 Restart Weston

# systemctl restart weston

5 Install and run an X11 based application

We'll use Chromium as an example:
On Debian Buster Chromium only supports the X11 backend (chromium-ozone is not in the Debian Buster repository).

# apt-get install -y chromium
# export DISPLAY=:0
# /usr/bin/chromium --no-sandbox

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

Note:

  • While other X11 based application may work, not all X11 applications in the Debian repository are tested by Variscite.
  • Chromium built by Debian repo does not support Video Decoding acceleration.