foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.56k stars 1.14k forks source link

Mouse not working in virt-manager even if properly configured #556

Open TamFishe opened 2 years ago

TamFishe commented 2 years ago

Hi there, whenever i try to move around my mouse being captured in the virt-manager macOS window, the pointer doesn't want to work at all... Perhaps should i boot this in QEMU first for the main installation?

notAperson535 commented 2 years ago

@SallyTheUnknownMan add a USB tablet connection to virt-manager

TamFishe commented 2 years ago

@SallyTheUnknownMan add a USB tablet connection to virt-manager

I did that, still not working..

notAperson535 commented 2 years ago

@SallyTheUnknownMan if you have a gpu passed through, disconnect it

TamFishe commented 2 years ago

Well I don't have a GPU passed through since I don't have even an dedicated gpu

notAperson535 commented 2 years ago

@SallyTheUnknownMan Switch the display type from QXL to Virtio in the virt-manager vm settings

TamFishe commented 2 years ago

@SallyTheUnknownMan Switch the display type from QXL to Virtio in the virt-manager vm settings

I might try it, though it might be an issue from my hardware due to my CPU not supporting VT-d technology

kanwarplaha commented 1 year ago

I had this issue with Mojave VM and I had to switch to USB 2 from USB 3 under "Controller USB 0".

ipatch commented 1 year ago

I had this issue with Mojave VM and I had to switch to USB 2 from USB 3 under "Controller USB 0".

for my particular use case, switching from qxl video mode to the default std allows me to interact with the vm (mojave), but am unable to "auto" grab the mouse on hover unfortunately.

goussous0 commented 3 months ago

In my case I was using win7 ultimate as the vm, I changed the tablet type from VirtIO to EvTouch USB Graphics Tablet, found the answer at stackoverflow

Video mode: QXL Display: Spice server Controller USB 0: USB 2