Looking Glass - Windows in Linux

October 24, 2021 15:16

At the time of testing the mouse and keyboard support was… Lets call it non-deterministic.

Prepare PCIe

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF …so the vm could restart and reset own GPU for that. Otherwise cold VM boot needed.

Windows install

Looking glass

  • Used release was R1
  • General guide: https://looking-glass.hostfission.com/wiki/Installation
  • Start client with ./looking-glass-client -k -M -a -S -d
  • If eGL error 0x3005: AMD has dropped support of OpenGL ES in propertary drivers -> revert back to MESA drivers
  • Make sure to add a SPICE display and e.g. cirrus video adapter, which should be disabled (QEMU 4+ alklows none as type)
  • The passed trough GPU should have a monitor attached: Use a dummy DP / HDMI plug

If Looking glass is not used…

…consider something like evdev passthrough.

NVIDIA error 43

https://passthroughpo.st/apply-error-43-workaround/

No sound?

https://passthroughpo.st/how-to-patch-qemu-and-fix-vm-audio/