Why does the mouse go wrong when SPICE QXL is enabled ?

shodan

Active Member
Sep 1, 2022
159
45
33
Hi,

I have documented the issue here

https://www.youtube.com/watch?v=sJLgTIMSnDM

So the mouse just goes wonky with SPICE enabled

I have mouse "Use tablet for pointer" enabled
I have qemu guest agent enabled in proxmox and installed in the virtual machine

Looking at this page
https://gist.github.com/plembo/21d4a1579850f7fe84301a90f4fcdf9a

They claim that you need SPICE vdagent in addition to qemu guest agent ?

Does SPICE vdagent exist for a windows VM ?

while researching this question I have now found these following resources

https://gitlab.freedesktop.org/spice/win32/vd_agent
https://gitlab.freedesktop.org/spice/win32/qxl
https://gitlab.freedesktop.org/spice/win32/qxl-wddm-dod
https://gitlab.gnome.org/GNOME/phodav/-/tree/master

I will give https://gitlab.freedesktop.org/spice/win32/vd_agent a try and also try that QXL driver ...
 
The spice vd agent, I could not find it in a usable format for windows.
Appears to be source code only and maybe not even possible to compile for windows ?!

That is very unclear

I did get NoVNC and SPICE client virt-viewer and Sunshine+Moonlight at the same time

You can see what this is like here

https://youtu.be/q20Xxe-lic4

The problem I had earlier is different now ?
The mouse mostly works in virt-viewer, but way off in NoVNC

sunshine works the best as usual, but put extra strain on the proxmox server due to software based video compression.

I find virt-viewer extremely spartan

The first and most important problem I need to solve is that it captures the mouse, which I find extremely irritating

It was not obvious at all, but the mouse release key is CTRL+ALT+R, despite many people online saying it is "CTRL+ALT" or shift+F12 or whatever else.

I have searched but I still cannot find where to make it NOT CAPTURE THE MOUSE !

This makes this method unusable for me. I can't leave these windows around then they're going to capture my mouse cursor all the time.
I really hope this feature can be disabled and windows behave like windows...

Is virt-viewer the only windows SPICE client out there ?

And where is the SPICE vdagent binary for windows ?

Also even though it "works" the cursor clicks in the wrong place

As you can see below, drawing this box, the corner of the box should be at the tip of the cursor, but it is not !

1738647773307.png

1738647889641.png

Wait this is weird, in the screenshot it shows the box ending at the cursor ?!!


But if I make a video recording from outside the VM
And take a still ....

1738647960341.png
Ah, now you can see, the box is not in the right place.

So it is like there is a fake cursor on top, and this cursor is offset from the real position !?

All these issues combine to make SPICE largely unusable at the moment !
 
Last edited: