<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mohamed+Beltagy</id>
	<title>Yocto Project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mohamed+Beltagy"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/Special:Contributions/Mohamed_Beltagy"/>
	<updated>2026-05-15T13:25:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Wayland&amp;diff=40376</id>
		<title>Wayland</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Wayland&amp;diff=40376"/>
		<updated>2018-07-16T08:48:03Z</updated>

		<summary type="html">&lt;p&gt;Mohamed Beltagy: /* Environment setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Status ==&lt;br /&gt;
&lt;br /&gt;
Wayland protocol libraries and the reference Weston compositor are integrated as packages in the core-oe meta/ layer.&lt;br /&gt;
The packages can be build against targets that accept mesa-dri. For example, intel-specific emgd drivers that override&lt;br /&gt;
mesa-dri cannot be used to build Weston. &lt;br /&gt;
&lt;br /&gt;
=== Enable Wayland in a image ===&lt;br /&gt;
&lt;br /&gt;
The wayland compositor can be enabled by listing it as a DISTRO_FEATURE; there are two steps: &lt;br /&gt;
&lt;br /&gt;
==== Enable building ====&lt;br /&gt;
&lt;br /&gt;
* Wayland - If &amp;quot;wayland&amp;quot; flag in DISTRO_FEATURES is set, Mesa builds the wayland-egl platform&lt;br /&gt;
* Weston compositor - &lt;br /&gt;
** If &amp;quot;wayland flag in DISTRO_FEATURES is set, Weston will build with KMS support. &lt;br /&gt;
** Also, if X11 is enabled, as in the x11 DISTRO_FEATURES flag is set, weston will be build with X11 support.&lt;br /&gt;
&lt;br /&gt;
The preferred way to enable building is&lt;br /&gt;
&lt;br /&gt;
DISTRO_FEATURES_append = &amp;quot; wayland x11&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Enable installing in an image ====&lt;br /&gt;
&lt;br /&gt;
To set installation in an image, you need to add the following parameters in conf/local.conf:&lt;br /&gt;
&lt;br /&gt;
* CORE_IMAGE_EXTRA_INSTALL += &amp;quot;wayland weston&amp;quot; &lt;br /&gt;
&lt;br /&gt;
=== Running Weston ===&lt;br /&gt;
&lt;br /&gt;
To run Weston inside X11, simply adding weston to the image will be sufficient.  Under Sato there will be a Weston launcher in the Utility category.  &lt;br /&gt;
&lt;br /&gt;
Wayland/Weston work in still developer-oriented. The best way to run them is through CLI. As we fine tune the way to run Weston and setting policies,&lt;br /&gt;
scripts to automate this work will be provided.&lt;br /&gt;
&lt;br /&gt;
==== Environment setup ====&lt;br /&gt;
&lt;br /&gt;
Please do export XDG_RUNTIME_DIR:&lt;br /&gt;
&lt;br /&gt;
* mkdir -p /tmp/$USER-weston&lt;br /&gt;
* chmod 0700 /tmp/$USER-weston&lt;br /&gt;
* export XDG_RUNTIME_DIR=/tmp/$USER-weston&lt;br /&gt;
&lt;br /&gt;
==== Launch ====&lt;br /&gt;
&lt;br /&gt;
* weston&lt;br /&gt;
&lt;br /&gt;
== Current working status ==&lt;br /&gt;
&lt;br /&gt;
=== QEMU ===&lt;br /&gt;
&lt;br /&gt;
Weston 1.0.3 will not run directly on the emulated QEMU hardware, due to lack of EGL support.&lt;br /&gt;
&lt;br /&gt;
Weston will run under X emulation without issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Physical Machines ===&lt;br /&gt;
&lt;br /&gt;
There is no embedded-class physical machine yet verified to run Weston to top of hardware.&lt;br /&gt;
Current efforts focus on enabling FRI2. &lt;br /&gt;
&lt;br /&gt;
== Plan ==&lt;br /&gt;
&lt;br /&gt;
* Upgrade Weston to a version that can run only on framebuffer (e.g. pixman)&lt;br /&gt;
* Image that boots Weston on KMS&lt;br /&gt;
* Enable GTK+ 3 Wayland support&lt;br /&gt;
* Enable Qt Wayland support&lt;br /&gt;
* Enable Clutter Wayland support&lt;/div&gt;</summary>
		<author><name>Mohamed Beltagy</name></author>
	</entry>
</feed>