Mouse problem in vm

joker75

New Member
Nov 22, 2023
2
0
1
Hi, everybody!
I have installed Proxmox VE 8.0 on my HP laptop and am running Linux Mint 21.2 vm.
I am using the vm in gpu passthrough mode and have given it a keyboard, touchpad.
I use the laptop touchpad as a mouse.
My problem is that the mouse is behaving strangely.
As long as I drag the mouse, everything is fine, but if I lift my finger and then touch the touchpad again, the mouse cursor jumps to a completely different remote position than where it was last time.

Thanks for your help!
 
Try disabling "Use tablet for pointer" in the options of the VM
 
Try disabling "Use tablet for pointer" in the options of the VM
Thank you very much for your reply!

Can I set the "Use tablet for pointer" option in the vm conf file to "tablet: 0"?
If I use the "tablet: 0" setting, the mouse does not work, only the mouse cursor is displayed.

I use this setting for the vm (/etc/pve/qemu-server/100.conf):
args: -object input-linux,id=event10,evdev=/dev/input/event10 -object input-linux,id=kbd1,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd,grab_all=on,repeat=on
boot: order=scsi0;ide2
cores: 4
cpu: x86-64-v2-AES
hostpci0: 0000:00:02,x-vga=1
ide2: local:iso/linuxmint-21.2-cinnamon-64bit.iso,media=cdrom,size=2955482K
memory: 4096
meta: creation-qemu=8.0.2,ctime=1700519504
name: LinuxMint21
net0: virtio=32:F3:8D:82:C4:73,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=b5a66f06-7781-44be-81b4-3c112977b4d5
sockets: 1
vga: none
vmgenid: c1ff299f-296c-421f-a1ea-9d1b016e288a
tablet: 0

This is the output of the evtest:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event10: ELAN0791:00 04F3:30FD Touchpad
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: Intel HID events
/dev/input/event5: PC Speaker
/dev/input/event6: HP WMI hotkeys
/dev/input/event7: Intel HID 5 button array
/dev/input/event8: HP TrueVision HD Camera: HP Tru
/dev/input/event9: ELAN0791:00 04F3:30FD Mouse
 
Try disabling "Use tablet for pointer" in the options of the VM
When do you intend to resolve the problem given that it has been occurring for years, and this walkaround, although useful thanks, is not definitive?

Thanks and Best Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!