Language Selection

English French German Italian Portuguese Spanish

Untangling The Linux Graphics Stack

Filed under

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

Leftovers: Software

  • Easy, Automated Benchmarking On Linux With PTS
    It's easy to run benchmarks on Linux as well as Solaris, BSD, and other operating systems, using our own Phoronix Test Suite open-source benchmarking software. For those that haven't had the opportunity to play with the Phoronix Test Suite for Linux benchmarking, it's really easy to get started. Aside from the official documentation, which is admittedly limited due to time/resource constraints, there are a few independent guides, Wiki pages, and other resources out there to get started.
  • LibreOffice 5.3 Alpha Tagged, New Features Inbound
    The first alpha release of the upcoming LibreOffice 5.3 open-source office suite was tagged a short time ago in Git. LibreOffice 5.3 is a major update to this distant fork of LibreOffice 5.3.0 is planned to be officially released in late January or early February while this week's alpha one is just the first step of the process. The hard feature freeze on 5.3 is at the end of November followed by a series of betas and release candidates. Those interested in more details on the release schedule can see this Wiki page.
  • MPV 0.21 Player Adds CUDA, Better Raspberry Pi Support
    MPV Player 0.21 is now available as the latest version of this popular fork of MPlayer/MPlayer2. MPV 0.21 adds support for CUDA and NVDEC (NVIDIA Decode) as an alternative to VDPAU. The NVIDIA decode support using CUDA was added to make up for VDPAU's current lack of HEVC Main 10 profile support. Those unfamiliar with NVDEC can see NVIDIA's documentation.
  • MPV 0.21.0 Media Player Adds Nvidia CUDA Support, Raspberry Pi Hardware Decoding
    Today, October 20, 2016, MPV developer Martin Herkt proudly announced the release of another maintenance update of the very popular MPV open-source and cross-platform media player software based on MPlayer. Looking at the release notes, which we've also attached at the end of the story for your reading pleasure, MPV 0.21.0 is a major update that adds a large amount of new features, options and commands, but also addresses dozens of bugs reported by users since the MPV 0.20.0 release, and introduces other minor enhancements. Among the most important new features, we can mention the ability to allow profile forward-references in the default profile, as well as support for Nvidia CUDA and cuvid/NvDecode, which appears to be a welcome addition to GNU/Linux distributions where HEVC Main 10 support is missing.
  • anytime 0.0.4: New features and fixes
    A brand-new release of anytime is now on CRAN following the three earlier releases since mid-September. anytime aims to convert anything in integer, numeric, character, factor, ordered, ... format to POSIXct (or Date) objects -- and does so without requiring a format string. See the anytime page for a few examples.

KDE Leftovers

  • Choose Your Own Experience in Plasma 5.8 and beyond
    One of the key points of Plasma is while giving a simple default desktop experience, not limiting the user to that single, pre-packed one size fits all UI.
  • KDevelop 5.0.2 released for Windows and Linux
    Four weeks after the release of KDevelop 5.0.1, we are happy to announce the availability of KDevelop 5.0.2, a second stabilization release in the 5.0 series. We highly recommend to update to version 5.0.2 if you are currently using version 5.0.1 or 5.0.0.
  • Wayland improvements since Plasma 5.8 release
    Two weeks have passed since the Plasma 5.8 release and our Wayland efforts have seen quite some improvements. Some changes went into Plasma 5.8 as bug fixes, some changes are only available in master for the next release. With this blog post I want to highlight what we have improved since Plasma 5.8.
  • Wayland For KDE Plasma 5.9 Should Shape Up Quite Nicely
    Plasma 5.8 was only released at the beginning of October but already there has been a number of Wayland improvements queuing up for the next milestone, Plasma 5.9. KWin maintainer Martin Gräßlin wrote a blog post yesterday about some of the early Wayland changes coming for Plasma 5.9. Some of this early work for the next KDE Plasma 5 release includes resize-only borders, global shortcut handling, support for keyboard LEDs via libinput, relative pointer support, the color scheme syncing to the window decoration, window icon improvements, multi-screen improvements, panel imporvements, and more.
  • Autumn Sale in the Krita Shop
  • .

Linux/FOSS Events

  • FOSDEM Desktops DevRoom 2016 all for Participation
    FOSDEM is one of the largest (5,000+ hackers!) gatherings of Free Software contributors in the world and happens each February in Brussels (Belgium, Europe). Once again, one of the tracks will be the Desktops DevRoom (formerly known as “CrossDesktop DevRoom”), which will host Desktop-related talks. We are now inviting proposals for talks about Free/Libre/Open-source Software on the topics of Desktop development, Desktop applications and interoperability amongst Desktop Environments. This is a unique opportunity to show novel ideas and developments to a wide technical audience.
  • LatinoWare
    Yesterday, Wednesday 19 oct, was the first day of LatinoWare thirteen edition hosted in the city of Foz do Iguaçu in Parana state with presence of 5155 participants and temperature of 36ºC. Currently this is the biggest event of free software in Brazil.
  • Attending a FUDcon LATAM 2016
    From my experience I will share my days at FUDcon 2016 held on Puno last week. There were 3 core days, and 2 more days to visit around.

Linux Graphics