Advice before starting over VFIO + Looking Glass

Hello fellow linux fiddlers,

I tried one year ago to set up my computer to use QEMU/KVM + Looking Glass on Ubuntu Studio 18.04, but although I succeeded in the first part (i.e. getting a proper W10 VM), I failed the Looking Glass part, and had issues with a bad GTX 1050 on top of it.

But I’m still eager to getting it to work. I’m planning to use it for a few things where linux is not yet on par (a few specific games to play with my kids, and also Fusion360, which kinda works on linux through wine, but lags, has graphics bugs and sometimes crashes on me). And I could use it also when teleworking, which I do more and more.

Here is my current configuration:

  • MSI X370 GAMING PRO CARBON
  • Ryzen 1800X
  • 16Gb G.Skill F4-3200C14D-16GFX DDR4 (2x8Gb)
  • SSD Samsung 960 EVO M.2 PCIe NVMe - 250Gb (Host)
  • SSD Samsung 850 EVO - 250Gb (guest)
  • HDD SATA 3Tb (mass data)
  • Inno3D GeForce GTX 1080 Twin X2 - 8 Go

I have two screens:

*AOC Q3279VWF (QHD 2560x1440) on display port
*Iiyama ProLite XU2492HSU-B1 (HD 1920x1080) on HDMI

I would like to set up Looking Glass to get the most out of the hardware.
So, I’m thinking of putting a cheap RX 550 as the primary graphics card for Linux, then dedicate the GTX 1080 to the Windows VM.

I have several questions:

1- shall I go up to 32Gb on the host? (this may be obvious, would not hurt but if I can start with 16Gb, that’s €110 less on the bill)

2- is the RX 550 sufficient to drive my two screens QHD properly when not using the VM? If not, any recommendation at a reasonnable price tag?

3- would the VM be able to use the QHD screen rather than the HD one?

4- I’m currently running Ubuntu Studio 20.04 (i.e. low latency kernel), would that be an impediment to running QEMU/KVM + Looking Glass, shall I revert to a standart Ubuntu 20.04?

Thanks a lot in advance for your kind advice!

  1. yes, but expect potato performamce. 16GB of memory may work, but it’s far from ideal. 32GB of memory should certainly give much better VM performance.

  2. yes, but GPU accelerated tasks (like games) at that resolution might be sub-par in framerate.

  3. yes. the VM should be able to use whatever display it’s graphics card is connected to.

  4. there are many factors that can play into that, depending on how the VM is configured. i encourage you to try both options and see which performs better. there’s a decent chance it wont make any noticeable difference.

Thanks for the advice.

In the meantime, I’ve finally settled for a quite beefier RX570 for the host, this way I will probably have no issues handling all screens. And I’ve also found an extra 16Gb (2x8) with the exact same specs as my previous 2x8Gb CL14 at a reasonnable price, so I’ll go for 32Gb CL14, which should help for the performance.

I’ll probably post again when I start banging my head on Looking Glass configuration :slight_smile: (IOMMU groups and VFIO set up was ok for me last time I tried so, fingers crossed).