Mesa Threading Support Is Slow, Still Being Developed

In addition to David Airlie's talk about RandR 1.4 / PRIME and Daniel Stone on the real story behind Wayland and X, another interesting Linux graphics related talk at last week's Linux.Conf.Au was by Intel's Eric Anholt. Eric talked about the ongoing work by Intel's open-source team to better optimize their Mesa DRI driver for running Valve's Linux titles and other games.
Most of Eric's presentation is the same as what he talked about last summer for Intel Linux gaming and Mesa. He did provide though an update on threading support for Mesa.
The planned threading support comes down to having an extra layer between the game/application and the actual OpenGL implementation for offloading the GL calls into a batch-buffer that are then handled by a separate CPU thread. This has been one of the feature requests made by Valve's Linux developers. Last year NVIDIA made Linux OpenGL threaded optimizations too as part of the Valve Linux gaming push.
While code has been written for Mesa, right now it's "not fast enough yet" according to Anholt. For those wanting to see the latest work being done for the Mesa threading support, the latest branch was made in January in glthread-3.
Those wanting to watch the entire LCA 2013 presentation by Intel's Eric Anholt can find it at linux.org.au (Ogg Video).
3 Comments