Poor performances with Spice and QXL and mouse in KVM

We entered the 21st century at work and got new workstations.

I decided to install Red Hat Enterprise 7 as a virtualization host, running my usual Linux Mint LMDE as guest.

I use virt-manager to connect to the guest over Spice.

It turns out, video performances were terrible. For some reason QXL drivers were not loaded on Linux Mint. It was impossible to load those drivers.

I could have been bothering recompiling those drivers and see if I could fix it that way, but I didn’t have to run Mint for any specific reason.

I decided to check Fedora 25 workstation. Under Gnome 3 it was somewhat faster, but still not blazing fast, and displaying artifacts like bad jpeg compression. The problem there was Wayland.

I haven’t been using Gnome in years anyway. I’ve been using i3 for about a year now, it runs on top of X11.

Now everything is great and fast under Fedora 25 with i3.

For best performances on the guest, this is what you should do:

On the guest, check those with:

Mouse doesn’t feel fast?

If you feel your mouse is laggish in your VM, make sure you have EvTouch USB Graphics Tablet as input device on your VM.




Thanks for reading this post!

If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!