Linux Graphics / GPU / X / Wayland Architecture

What is Wayland Architecture?

Homepage:

http://wayland.freedesktop.org/

From wiki:

http://en.wikipedia.org/wiki/Wayland_(display_server_protocol)

To quote:

Wayland is a protocol that specifies the communication between the display server and its clients.[3] It was initially designed by Kristian Høgsberg as a replacement for the X Window System. In stark contrast to the latter, Wayland specifies that the clients are responsible for the drawing of their window borders and their decorations and the clients will render without detour directly into their own buffer located in the graphics memory, through the use of EGL with some additional Wayland-specific extensions to EGL.

And the details are partly shown below:


① The evdev module of the Linux kernel gets an event and sends it to the Wayland compositor.
② The Wayland compositor looks through its scenegraph to determine which window should receive the event. The scenegraph corresponds to what’s on screen and the Wayland compositor understands the transformations that it may have applied to the elements in the scenegraph. Thus, the Wayland compositor can pick the right window and transform the screen coordinates to window local coordinates, by applying the inverse transformations. The types of transformation that can be applied to a window is only restricted to what the compositor can do, as long as it can compute the inverse transformation for the input events.
③ As in the X case, when the client receives the event, it updates the UI in response. But in the Wayland case, the rendering happens by the client via EGL, and the client just sends a request to the compositor to indicate the region that was updated.
④ The Wayland compositor collects damage requests from its clients and then re-composites the screen. The compositor can then directly issue an ioctl to schedule a pageflip with KMS

More resources below:

Wayland Input Method System Proposal

https://wiki.maliit.org/Wayland_Input_Method_System_Proposal

The Wayland Compositor Architecture

https://01.org/linuxgraphics/sites/default/files/documentation/wayland-osts.pdf

What does EGL do in the Wayland stack

http://ppaalanen.blogspot.sg/2012/03/what-does-egl-do-in-wayland-stack.html

Introduction to Wayland

https://www.tizen.org/sites/default/files/lfcs2012_barnes.pdf

How to embrace wayland for Tizen

http://download.tizen.org/misc/media/conference2013/slides/TDC2013-How_to_Embrace_Wayland_for_Tizen.pdf

Why Wayland is better:

http://askubuntu.com/questions/11537/why-is-wayland-better

Compositing after X KWin on the Road to Wayland

https://community.kde.org/images.community/0/01/KWin_Wayland.pdf

Wayland Vs X Server Architecture (in Greek, can use Google Chrome to view, which will allow you to translate)

http://osarena.net/hacks-guides/wayland-vs-x-server-architecture.html

Wayland: Choosing a better input method architecture

http://mirrors.ustc.edu.cn/kde-application/akademy/2012/slides/Wayland_Choosing_a_Better_Input_Method_Architecture_-_Michael_Hasselmann.pdf

David Airlie: Teaching the X server new tricks (LCA 2013)

Latest:

Welcome to Chromium’s Ozone-Wayland (September 18, 2013)

http://vignatti.com/2013/09/18/welcome-to-chromiums-ozone-wayland/

http://vignatti.com/2013/03/05/ui-customization-on-wayland/

http://vignatti.com/2012/10/17/the-damn-small-wayland-api/

http://vignatti.com/2012/06/13/x-on-wayland/

http://vignatti.com/2012/01/18/starting-on-wayland-development/

http://unix.stackexchange.com/questions/40979/why-need-drivers-for-both-x-server-and-the-linux-kernel

http://www.freiesmagazin.de/mobil/freiesMagazin-2011-08-bilder.html

Wayland on Android:

http://ppaalanen.blogspot.sg/2012/07/wayland-on-android-snapshot-release.html

Wayland’s 1.0 milestone fixes graphics protocol

http://m.h-online.com/open/news/item/Wayland-s-1-0-milestone-fixes-graphics-protocol-1734638.html?view=zoom;zoom=2

http://worldofgnome.org/gnome-wayland/

X on Wayland

http://vignatti.com/2012/06/13/x-on-wayland/

Wayland prototype for rendering software that runs remotely

http://www.h-online.com/open/news/item/Wayland-prototype-for-rendering-software-that-runs-remotely-1715463.html

One response to this post.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Astr0baby's not so random thoughts _____ rand() % 100;

@astr0baby on Twitter for fresh randomness

WildML

Artificial Intelligence, Deep Learning, and NLP

The Data Explorer

playing around with open data to learn some cool stuff about data analysis and the world

Conorsblog

Data | ML | NLP | Python | R

quyv

Just a thought

IFT6266 - H2017 Deep Learning

A Graduate Course Offered at Université de Montréal

Deep Learning IFT6266-H2017 UdeM

Philippe Paradis - My solutions to the image inpainting problem

IFT6266 – H2017 DEEP LEARNING

Pulkit's thoughts on the course project

ML/AI

Machine learning. Artificial Intelligence

the morning paper

a random walk through Computer Science research, by Adrian Colyer

The Spectator

Shakir's Machine Learning Blog

Everything about Data Analytics

big data, data analytics

Microcontrollers Lab

Microcontrollers tutorials and projects

%d bloggers like this: