Return to Level1Techs.com

Guest cursor misbehaving

Hey All,

I’m seeing strange behavior with the guest cursor (Windows 10) and not sure what to try to fix it.

When the cursor is uncaptured, it’ll jump from a random spot in the guest area to a spot in the host area in the direction I was moving.
When captured, it seems to stick along an invisible edge. Flicking the mouse away and back toward the “edge” rapidly will sometime get it to move further, slow movements will not.
If I SCRL+DEL to -9 while captured, the cursor is limited to a tiny area in the center of the guest.

I’ve removed the Tablet device and added VirtIO Keyboard and Mouse, and installed the drivers:

<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<input type="mouse" bus="virtio">
  <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
</input>
<input type="keyboard" bus="virtio">
  <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
</input>

System details are:

  • Fedora 33
  • QEMU emulator version 5.1.0 (qemu-5.1.0-8.fc33)
  • libvirtd (libvirt) 6.6.0
  • Looking Glass (B2-78-g5802bfb5eb) - built off master

The only options passed in are size=2560x1440 and grabKeyboardOnFocus=no from the ini.

Any ideas?

Known issue, mouse handing code is going through a rewrite at the moment. Just for completeness though, are you using Wayland or Xorg? And what is your Window Manager?

Ah, good to know, thanks! :slight_smile:

Gnome 3.38.2 at the moment, X11/Xorg.