Waiting for a Dummy HDMI Plug I now hooked up a 1080p monitor.
As soon as I boot the VM with it I get a completely unusable mouse (the mouse just feaks out all over the place).
I believe I removed the Tablet that people refered to with similar issues but I can’t be sure. The virtual PS/2 mouse in virt-manager can not be removed apparently.
Thanks, I simply wanted it to confirm your versioning and hardware :).
Are you using wayland? It’s known to have some odd issues and is not supported.
If not, what version of Qemu do you have installed? The PS/2 mouse device in older versions was bugged.
You can not remove the PS/2 device as it’s part of the i440 and q35 PC standard, without it you do not have a valid PC. Normally I suggest people add the VirtIO mouse device and install the drivers from the RedHat ISO for it. When it’s added it takes priority over the PS/2 device even though both are added.
I doubt that I am using Wayland already since I am on an Ubuntu-based Linux Mint 20 (with the newest RC kernel – as of yesterday – 5.9.0-050900rc8-generic).
Also
env | grep -i wayland
does not yield any output which suggests that I am indeed not running on Wayland (even in 2020 … But yeah year 2222 will probably be the Year of GNU Hurd and Wayland )
If that was a common bug that might be it…
Let’s see the Qemu version via
dpkg -s qemu-kvm | grep Version
puts out:
Version: 1:4.2-3ubuntu6.6
Maybe too old?
Do I need to compile a newer one – since there doesn’t seem to be anything newer in my repos, or do you know of a PPA?
As for the VirtIO mouse device… Do you mean the Virtio Tablet Device which is the one Virt-Manager let’s me add? In which case I would need a pointer to the driver you are speaking of, if not I fear I have no idea were to start looking for that one
Thank you SO MUCH for the quick answers by the way. Makes this process so much more enjoyable. I like to tinker with things but sometimes I seem to just get lost on my own
Great, just getting the easy issues out of the way.
4.2-3ubuntu6.6
That is quite old, not sure if the PS/2 fix was in that release, but most of use are now on QEMU 5 or later.
I am sorry, I do not use Ubuntu.
No, this device causes all manner of issues due to the way Windows prioritizes input devices. If you’re using libvirt, it might be called vfio mouse, IDR which sorry as I use QEMU directly on the command line.
No problem at all, however, I have to step out for a bit, but your questions have fallen during the day time in my Timezone (Sydney AU), and I like to keep an eye on the LG topic here since it’s my project .
Let me know if you get a newer version of qemu working successfully. I’m on Linux Mint 20 as well. I used a combination of the qemu build instructions and Mathias Hueber’s guide to use 5.1.50., but after doing so, my guest wouldn’t boot.
edit Got it working. I accidentally ended up with some incorrectly symlinked files in /usr/local/share/qemu, but it worked fine after I wiped and recopied.
Hi there,
my mouse is freaking out as well as long as I do not have scroll lock enabled. However I am on up-to-date Manjaro with qemu 5.1.0-1 and libvirt 6.5.0-2. I am using Looking Glass version B2.
I have only the generic PS2 mouse, the generic PS2 keyboard an the virtio keyboard attached as input devices.
Is the cause of this problem already known or can I somehow help to identify the problem by providing logs or anything?
Small update for the record: Updating Qemu did infact help with my issue as long as I lock Keyboard and Mouse in the VM they appear to behave themselves as I need them to do.