Virglrenderer Sees Some New Micro-Optimizations

Written by Michael Larabel in Mesa on 17 May 2021 at 01:19 PM EDT. 10 Comments
Virglrenderer that is part of the open-source Linux effort to provide accelerated OpenGL to guest virtual machines has been enjoying some new micro-optimizations.

Gert Wollny outlined how making use of Perfetto for run-time profiling of Virglrenderer they were able to gain new insight into areas of Virglrenderer to focus on for micro-optimizations.

Following these Virglrenderer micro-optimizations, Unigine Heaven benefited the most of the tested games/programs with a 6.2% improvement, taking it from 60.7 to 64.5 FPS. Other software like additional Unigine demos, the Xonotic open-source game, and other graphics tests were in the 1~3% range.

"A number of micro-optimizations were applied to virglrenderer that each taken on their own would probably not give a notable performance improvement, but all taken together show a increase in performance for most of the selected benchmarks. With these changes, perf no longer shows any performance hot-spots in the code that can easily be optimized," more details on this Virglrenderer optimization effort via this Collabora blog post.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week