VirtGPU DRM Native Contexts Show Potential For Good VM Gaming Performance
At last week's XDC 2022 conference, Google engineer Rob Clark presented on VirtGPU DRM Native Contexts and the potential there for much better performance - especially for gaming - within virtual machines than using API-level virtualization like with Virgl.
With VirtGPU DRM native contexts, there can be near-native GPU performance within virtual machines using virglrenderer with DRM native contexts. The near-native performance can be "within a few percent or less" while also enjoying lower CPU overhead. This native context support though does involve some small changes to Mesa and the Virglrenderer.
This is already being worked on and used in the scope of Google's Chrome OS. There is also room for further improvement and optimization for those interested in the prospects of gaming within VMs on Linux.
Learn more about this DRM native context support with Virglrenderer via Rob's slides and the XDC 2022 presentation embedded below.
With VirtGPU DRM native contexts, there can be near-native GPU performance within virtual machines using virglrenderer with DRM native contexts. The near-native performance can be "within a few percent or less" while also enjoying lower CPU overhead. This native context support though does involve some small changes to Mesa and the Virglrenderer.
This is already being worked on and used in the scope of Google's Chrome OS. There is also room for further improvement and optimization for those interested in the prospects of gaming within VMs on Linux.
Learn more about this DRM native context support with Virglrenderer via Rob's slides and the XDC 2022 presentation embedded below.
22 Comments