linux.conf.au 2014

Perth, Western Australia - 6th to 10th January 2014

linux.conf.au


<-- Back to schedule

Zero-Copy Compositing—Research to Reality

Project: X.org, Linux, Mesa, Gnome

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.

Keith Packard

Keith Packard has been developing open source software since 1986,
focusing on the X Window System since 1987, designing and implementing
large parts of the current implementation. He is currently a
Principal Engineer with Intel's Open Source Technology Center. Keith
received a Usenix Lifetime Achievement award in 1999, an O'Reilly Open
Source award in 2011 and sits on the X.org foundation board.