Zero-Copy Compositing—Research to Reality
Channel: Linux.conf.au 2014 -- Perth, Australia
Date: 2014-01-17

Presenter(s): Keith Packard
URL: https://lca2014.linux.org.au/schedule/30050/view_talk

       Zero-Copy Compositing—Research to Reality
       Keith Packard
   Intel Open Source Technology Center
     keithp@keithp.com
       

Last year at LCA, I presented some interesting research results that
used the Intel Graphics Translation Table to eliminate copies when
doing windowed double buffer updates for GL applications. Since then,
two X extensions have been written which provide the necessary
infrastructure to make that possible in a composited desktop
environment. This is a cross-project system involving:

 * Linux KernelAPIs for performing low-level graphics page table
   manipulations.

 * Two new X extensions, DRI3 and Present that together replace DRI2
   and allow these performance improvements.

 * Mesa OpenGL system additions, both for basic DRI3/Present
   support as well as the necessary viewport offset changes.

 * Gnome Shell modifications to take advantage of DRI3/Present.

This presentation will describe the changes that were necessary across
the full software stack, from Linux kernel, through the DRI, Mesa, X
server and Gnome Shell compositing manager. A full demonstration of
the completed system will be presented along with performance data
describing the benefits of the new architecture.

http://lca2014.linux.org.au - http://www.linux.org.au
CC BY-SA - http://creativecommons.org/licenses/by-sa/4.0/legalcode.txt