IMX8 Debian XWayland: Difference between revisions
From Variscite Wiki
Tag: Undo |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Running X11 | {{PageHeader| Running X11 applications on wayland backend via xwayland}} | ||
{{DocImage|category1=Debian|category2=DART-MX8M}} [[Category:DART-MX8M-MINI]] [[Category:VAR-SOM-MX8X]] [[Category:VAR-SOM-MX8]] | |||
== | |||
= Xwayland introduction / reference = | |||
https://wayland.freedesktop.org/xserver.html | https://wayland.freedesktop.org/xserver.html | ||
= Installing Xwayland = | |||
= | |||
# apt-get update | |||
# apt-get install xwayland | |||
= Starting the Xwayland server = | |||
[core] | Edit the /etc/xdg/weston/weston.ini file and make sure it has the two highlighted params below:<br> | ||
'''[core]''' | |||
# i.MX: Disable idle timeout | # i.MX: Disable idle timeout | ||
idle-time=0 | idle-time=0 | ||
#use-g2d=1 | #use-g2d=1 | ||
xwayland=true | '''xwayland=true''' | ||
[xwayland] | '''[xwayland]''' | ||
path=/usr/bin/Xwayland | '''path=/usr/bin/Xwayland''' | ||
= Restart Weston = | |||
# systemctl restart weston | |||
#systemctl | |||
= Install and run an X11 based application = | |||
We'll use Chromium as an example:<br> | |||
On Debian | On Debian Buster Chromium only supports the X11 backend (chromium-ozone is not in the Debian Buster repository).<br> | ||
# apt-get install -y chromium | |||
#apt-get install -y chromium | # export DISPLAY=:0 | ||
#export DISPLAY=:0 | # /usr/bin/chromium --no-sandbox | ||
#/usr/bin/chromium | 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 | <br> | ||
'''Note:''' | |||
'''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. | ||
* |
Latest revision as of 14:06, 27 April 2023
Running X11 applications on wayland backend via xwayland
Xwayland introduction / reference
https://wayland.freedesktop.org/xserver.html
Installing Xwayland
# apt-get update # apt-get install xwayland
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
Restart Weston
# systemctl restart weston
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.