Linux Format

Running a virtual GPU

We’ve seen that virtualisation (with appropriate hardware support) is much faster than conventional emulation. And we’ve seen that when using paravirtualised VirtIO devices we can speed that up even more. But we can go further. What if, for example, we gave a virtual machine its own physical graphics card?

This technique, known generally as VFIO, has been around for a while. For the particular case of using PCI passthrough with graphics cards, the result is that VMs can run graphically intensive applications to within a hair’s breadth of native speeds. This enables Linux usersto run Windows VMs and play games without taking a performance hit. This is an alternative to , albeit one which is a little tricky to set up and requires that the host machine has (at least) two graphics cards. We covered this in .

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format10 min read
Answers
I was originally using the Cinnamon version of Linux Mint 21.3. I heard good things about MATE, so I did a new installation to try out MATE. After several months, I decided that I would like to go back to Cinnamon. I am not sure how to switch back wi
Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format11 min read
Enhance Email With A Better Thunderbird
Think email client and the obvious example is Mozilla’s Thunderbird. But whether you’re a T long-time Thunderbird user or looking for a new email client, you may find that Betterbird is – if you’ll excuse the pun – a better fit. That’s particularly t

Related Books & Audiobooks