Confused on Steam Play and Proton? Be sure to check out our guide.
We do often include affiliate links to earn us some pennies. See more here.

Accelerated OpenGL in a virtual machine is advancing with virglrenderer

By - | Views: 19,465

Collabora put out a fresh technical blog post today to talk a little about virglrenderer, with the latest version 0.8.0 (released recently) enabling a big leap for accelerated OpenGL within a virtual machine.

The work they talk about, which Collabora took the lead on this dev cycle with help from Google Chrome OS team, is aimed at essentially creating a virtual 3D GPU for use in QEMU virtual machines (more on that here). Quite a different approach to GPU Passthrough!

As an example of it, they showed off multiple Linux games using QEMU with virglrenderer. These include: Tomb Raider 2013, Alien Isolation, Outlast, Metro Last Light Redux, The Talos Principle Legacy, Shadow Warrior and Portal in the below video that went up today:

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

Of course, it's nowhere near done and work continues on performance especially for newer and more demanding games. However, the possibilities that work like this could enable are quite exciting don't you think?

See their blog post on it here for the full tech details and another video showing off an alternative method. I'll admit some of the finer points are a little lost of me right now, as I've not followed any of this until today. As always, it's a learning process and hopefully some will find this news tip interesting—I certainly did.

Article taken from GamingOnLinux.com.
Tags: Misc, OpenGL
8 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
6 comments

Shmerl Aug 28, 2019
Helps to run Linux guests with accelerated desktop instead of falling back to llvmpipe.
johndoe Aug 28, 2019
Nice to read that this project is advancing.
But the problem I have with it is that it does ONLY work locally.

Until virgl does not work remotely over SPICE it is useless for ME - but I clearly see the advantage for developers.


Last edited by johndoe on 29 August 2019 at 9:22 am UTC
Xaero_Vincent Aug 28, 2019
Very cool. I think this feature is mainly for Chrome OS users running Linux inside a Crostini VM but can be useful for Linux desktop users running Linux VMs. Chromebooks will need big GPU performance upgrades to make vGPU an acceptable experience. The integrated Intel graphics are poor and even worse when emulating a GPU in software and factoring in the overhead.

What I really want to see is DirectX 11 support for Windows guests with a virtual GPU, so that Easy Anti-Cheat protected games can be played on Linux.


Last edited by Xaero_Vincent on 28 August 2019 at 10:44 pm UTC
johndoe Aug 29, 2019
Quoting: Guest[Actually, if I read correctly, this is indeed something that might become possible (or at least more easily possible).
(also, I'm not sure exactly what you mean by SPICE, which to me was always integrated circuit logic simulation software, but a bit of googling tells me it might be some remote virtual machine access software....so I'm guessing you mean that).

I mean the "virtual machine access" software which runs over the SPICE protocol - mainly developed by Redhat (soon IBM).
I use it on a daily basis for my work and it is incredibly useful.

You can simply drag and drop files from your linux desktop into the SPICE client window and the file lands on your windows VM desktop - very usefull and works vice versa.
With SPICE there are also no barriers when it comes to virtual desktop resolution (qxl driver and spice-vdagent installed in guest). You can have a virtual desktop of 859x736 (for example) in size if you want - simply resize the window.
I know of NO other client that can do this.
In my opinion SPICE could BE the MS-RDP KILLER, but the guys at Redhat are simply blind or stupid.


Last edited by johndoe on 29 August 2019 at 9:23 am UTC
14 Aug 29, 2019
View PC info
  • Supporter Plus
Ooo, this is really sweet. Yes, SPICE would be a fantastic next step. Imagine Raspberry Pi as a thin client... I guess Steam Link is the same thing. Still, it would still be very useful to me if it was local only. I run VirtualBox and libvirtd locally to tinker with stuff besides my dedicated hypervisor.
johndoe Aug 29, 2019
Quoting: 14Ooo, this is really sweet. Yes, SPICE would be a fantastic next step. Imagine Raspberry Pi as a thin client... I guess Steam Link is the same thing. Still, it would still be very useful to me if it was local only. I run VirtualBox and libvirtd locally to tinker with stuff besides my dedicated hypervisor.

I don't know if SPICE is supported by the VirtualBox hypervisor but for sure with XEN and KVM.
Here you can read more about SPICE and it's features...

https://www.spice-space.org/features.html
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.