Vulkan VirGL Ends The Summer Being Able To Execute A Compute Shader
Written by Michael Larabel in Vulkan on 28 August 2018 at 12:14 PM EDT. 3 Comments
One of the most interesting projects we've seen attempted for Google Summer of Code 2018 was adding Vulkan support to VirGL for allowing Vulkan access within guest virtual machines.

The VirGL stack has been getting into great shape with its OpenGL 4 support while up until this summer there wasn't much effort on getting the Vulkan graphics/compute API handled by this stack that leverages Mesa, VirtIO-GPU, and the "virglrenderer" component to make all of this magic happen.

Student developer Nathan Gauër took up the effort to start on the Vulkan support in VirGL this summer. He was successful in getting the effort going, but it's not yet in a state for end-users. Vulkan VirGL with currently branched code is capable of running a sample Vulkan compute application, reading/writing data to/from the server, and executing a basic compute shader. This is done with his forks of the virglrenderer, Mesa, and a Vulkan test application. There are pull requests pending for some of the Virglrenderer bits but not yet merged.

So far just the basics needed for compute shaders are supported by this stack and not the entire Vulkan API, including the graphics portions. Those interested in the basic work achieved can find the details via this Gist on GitHub.
Related News
About The Author
Author picture

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 or contacted via

Popular News This Week