In my understanding, Looking Glass host for capturing frame buffer of Linux VMs is currently unsupported. I tried installing the version for Linux from AUR but the install didn’t work and the app doesn’t launch. I have seen previous posts from the LG dev stating that this is not a use case that is supported, and that it is well served elsewhere.
However, I just want to briefly present a case / request for formally supporting the host app on Linux VMs as I have explored a couple alternate options and they are not working out well.
My setup is i5 12400 with GTX 1080, 32GB RAM. Host is Arch Linux on UHD 730, and Guest VM is also Arch Linux with GTX 1080 passed through (the VM being primarly geared towards gaming/ gpu intensive tasks etc.).
-
First thing I tried is switching monitor display using ddcutil in libvirt script, but unfortunately discovered that my LG monitor does not support input switching using ddc.
-
Thought I’d switch monitor physical input only when I want to do heavy gaming, and at other times I would use VirGL for accessing the VM. However, the performance of VirGL on UHD 730 is abysmal.
-
Finally tried out the combo of Moonlight + Sunshine. This performs the best among my options, and has good image quality plus decent latency. However, the use of NVENC for encoding via Sunshine on the VM has a huge impact on the FPS, about 23% FPS loss on average FPS and even more on the 1% lows.
I imagine Looking Glass would be much more performant as it directly copies the frame buffer over to the host, where my Intel UHD 730 iGPU might be sufficient to display it in time.
Are there any other suggestions for what I should explore using my setup, and has anyone got the latest version of Looking-glass-host working on Linux VMs?