Wayland's Weston Gets Patch For High Priority GPU Support

Written by Michael Larabel in Wayland on 1 March 2018 at 06:06 AM EST. 9 Comments
WAYLAND
Last year Intel open-source developers squared away priority GPU scheduling support within their kernel DRM driver and from Mesa are exposing support for "high priority" GPU processes via the EGL_IMG_context_priority extension. There hasn't been any major real-world user of this support yet, but a patch would allow Wayland's Weston OpenGL renderer to make use of it.

Chris Wilson of Intel who was also involved in the driver's GPU priority scheduling support has now added support to libweston's OpenGL renderer code to make use of EGL_IMG_context_priority when available.

This makes sense here for trying to eliminate input-output jitter and a smoother user-interface by trying to ensure the compositor's rendering process gets higher priority access on the GPU in order to minimize output latency.

The patch is straight-forward and will hopefully be merged soon for libweston. The EGL_IMG_context_priority extension only provides a hint though to the GPU that it wants high priority access and the GPU can always decide to assign normal priority depending upon the conditions.

Update: The work has now been merged into Weston master on 1 March.
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