Uploaded December 2023 | Updated December 2026, 3 hours ago
Many embedded Linux systems that feature a display, nowadays, use a Wayland compositor as the base for the GUI. Using standard desktop technology simplifies application development and increases consistency across products. However, as a significant difference to desktops, the system developer – not the user – decides how to arrange the surfaces on the screen.
Various Wayland compositors and shells address the embedded use case in different ways and with varying complexity: The Weston kiosk-shell, cage, the agl-compositor, the Weston IVI-shell, and phosh are just a few examples. Each shell comes with its own set of hard-coded assumptions, and the trade-offs and suitability for a certain use case may not be obvious at a first glance. Often, developers end up forking the compositor and hacking the shell until it fits the use case, causing an additional maintenance burden and further fragmentation of the ecosystem.
I will give an overview of use cases and requirements of different GUIs in embedded systems, highlight the differences between the existing shells, and spark a discussion, how to improve the flexibility and reuse of Wayland shells for future embedded use cases.
indico.freedesktop.org/event/4/contributions/200
Many embedded Linux systems that feature a display, nowadays, use a Wayland compositor as the base for the GUI. Using standard desktop technology simplifies application development and increases consistency across products. However, as a significant difference to desktops, the system developer – not the user – decides how to arrange the surfaces on the screen.
Various Wayland compositors and shells address the embedded use case in different ways and with varying complexity: The Weston kiosk-shell, cage, the agl-compositor, the Weston IVI-shell, and phosh are just a few examples. Each shell comes with its own set of hard-coded assumptions, and the trade-offs and suitability for a certain use case may not be obvious at a first glance. Often, developers end up forking the compositor and hacking the shell until it fits the use case, causing an additional maintenance burden and further fragmentation of the ecosystem.
I will give an overview of use cases and requirements of different GUIs in embedded systems, highlight the differences between the existing shells, and spark a discussion, how to improve the flexibility and reuse of Wayland shells for future embedded use cases.
indico.freedesktop.org/event/4/contributions/200
![XDC 2023 | October 19 | dGPU prime on VM | Julia Zhang and Ray Huang
The dGPU prime feature allows an integrated GPU (iGPU) to display output data rendered by a discrete GPU(dGPU). This is a collection of features in the Linux kernel[1], mesa[2] and various drivers under Linux system. The dGPU exports its render buffer to iGPU so that iGPU can display it. This allows switching between iGPU and dGPU to handle more use cases requiring different levels of performance. Usually on bare metal, iGPU and dGPU would use native drivers that support dma-buf operations so this feature works fine. But on XEN guest VM, the iGPU is using the virtio-gpu driver and the passthrough dGPU is using a native driver, so the iGPU cannot import the output data that rendered by the passthrough dGPU directly. This talk introduces our design and implementation of the dGPU prime feature on XEN guest VMs.It creates the display buffer on the iGPU and lets the passthrough dGPU import it as linear buffer and blit the rendered data to it for display. With this, we can now run applications which require high performance on the passthrough dGPU and display on the iGPU in a XEN guest VM.
References:
[1] https://lore.kernel.org/dri-devel/20230705035622.2841499-1-julia.zhang@amd.com/
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23896
https://indico.freedesktop.org/event/4/contributions/189/ XDC 2023 | October 19 | dGPU prime on VM | Julia Zhang and Ray Huang](https://i.ytimg.com/vi/QiVY9W3FH3Y/mqdefault.jpg)









