Language Selection

English French German Italian Portuguese Spanish

Untangling The Linux Graphics Stack

Filed under
Software

As I tried to explain this a few times in the past to others and had trouble myself, when I started using Linux, I thought I take some time today and write down what parts comprise the Linux graphics stack and how they interact.

Let us start our little journey in the kernel. There, in a directory named gpu you'll find the drm directory, which contains all DRM drivers. In this post, we'll focus on those. The drivers in that directory are the kernel side of the Direct Rendering Infrastructure (DRI) and are responsible for managing concurrent access to the graphics hardware. They also provide interfaces to pass commands and data to the GPU. The DRI wiki explains the three main purposes of the DRM modules.

The DRM module is also the part that decides whether KMS or UMS is used. Other acronyms you might hear with regard to graphics acceleration on Linux and are referring to the Kernel part are:

rest here




More in Tux Machines

Android Leftovers

Ubuntu 18.04 LTS is out

Ubuntu 18.04 LTS has been released. The new version of Ubuntu is available in Desktop, Server, Cloud and core variants, and it is a long-term support release which means that the Desktop, Server, Core and Kylin releases will be supported for five years until April 2023. You can download the release version by following links in the release notes. The main Ubuntu website and download pages have yet to be updated. Ubuntu systems running Ubuntu 16.04 LTS or Ubuntu 17.10 can be upgraded in the following way: Read more

What Stratis learned from ZFS, Btrfs, and Linux Volume Manager

The reasons vary. First, let's consider ZFS. Originally developed by Sun Microsystems for Solaris (now owned by Oracle), ZFS has been ported to Linux. However, its CDDL-licensed code cannot be merged into the GPL-licensed Linux source tree. Whether CDDL and GPLv2 are truly incompatible is a subject for debate, but the uncertainty is enough to make enterprise Linux vendors unwilling to adopt and support it. Btrfs is also well-established and has no licensing issues. For years it was the "Chosen One" for many users, but it just hasn't yet gotten to where it needs to be in terms of stability and features. So, fuelled by a desire to improve the status quo and frustration with existing options, Stratis was conceived. Read more

3 questions about Kata Containers answered

Kata Containers is a new open source project licensed under Apache 2.0 and governed by the OpenStack Foundation that combines the speed of containers with the security of virtual machines. Kata Containers will be featured in a number of upcoming sessions at OpenStack Summit and KubeCon EU. Can't make it to either of those events? We've brought you answers to three of the top questions we hear from users. Read more