Wayland Gets Hardware-Accelerated Screen Capturing

Written by Michael Larabel in Wayland on 23 August 2013 at 05:00 PM EDT. 31 Comments
WAYLAND
The DRM compositor back-end for Wayland's Weston now has a patch that provides hardware-accelerated screen capturing support by using VA-API with drivers that support this video decode/encode acceleration mechanism.

With X.Org right now, screen capturing can be choppy and a pain, but with Wayland/Weston it can show off new possibilities by tapping the VA-API library with the DRM compositor back-end for offloading the intensive process to the GPU. Intel's Ander Conselvan de Oliveira published a patch on Friday for providing this support.

Right now though the support is a bit buggy for at least Intel Sandy Bridge graphics and there's some other matters to work through in improving the process. With a simple key sequence, an H.264 video of the captured screen contents can be dumped and then muxed to other formats using GStreamer. Only the DRM compositor is supported right now as the implementation allows it to bypass a copy when submitting the front-buffer to libva.

The patch with more than one thousand lines of new code can be found for now on the wayland-devel list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week