Mesa 19.2's Virgl Sees Huge Performance Win Around Buffer Copy Transfers

Written by Michael Larabel in Mesa on 8 June 2019 at 10:18 AM EDT. 8 Comments
MESA
For those using Virgl to enjoy Gallium3D-based OpenGL acceleration to guest virtual machines on Linux, the Mesa 19.2 release paired with the latest Virgl renderer library should provide a very significant speed-up.

The virglrenderer code picked up support for copy transfers last month so the guest can avoid waiting if it needs to write to a busy resource. Alexandros Frantzis of Collabora who landed the Virglrenderer work has now seen his Mesa-side Virgl code merged to Mesa 19.2 Git.

Being able to avoid the waits by using a staging buffer range to guarantee it's never busy provides a big performance advantage. Alexandros found one Steam Play Proton game (Twilight Struggle) running at about 7 FPS but now with this optimization is running at 25 FPS.

As another example, the OpenGL glmark2 basic test was running at 38 FPS but now runs at 331 FPS with this buffer copy transfer work.

The work makes for a damn fine addition in Mesa 19.2 for anyone leveraging Virgl.
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