Bug 1782370
Summary: | vioinput: high resolution host mouse does not work with "virtio-mouse-pci" and "input-linux" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | ybendito |
Component: | virtio-win | Assignee: | ybendito |
virtio-win sub component: | virtio-win-prewhql | QA Contact: | Peixiu Hou <phou> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | ddepaula, lijin, lmiksik |
Version: | 8.0 | ||
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 16:05:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ybendito
2019-12-11 14:35:07 UTC
Fixed in upstream https://github.com/virtio-win/kvm-guest-drivers-windows/commit/0102e5bf8ddfb99d801056095f47f3e7da8d4e12 Fixed in virtio-win-pre-whql 174 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1035685 Hi Yuri, I cannot reproduce it with our lab used mouse device, just connect it to vm, maybe my steps has some problem, so could you help provide some simple reproduce steps to reproduce it? I used command as: -enable-kvm \ -device virtio-mouse-pci,id=input_input1,bus=pcie.0,addr=0x5 \ -monitor stdio -qmp tcp:0:5888,server,nowait \ -vga qxl \ -spice port=3001,disable-ticketing -soundhw hda \ -device virtio-serial,bus=pcie.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent \ Thanks a lot~ Peixiu (In reply to Peixiu Hou from comment #3) > Hi Yuri, > > I cannot reproduce it with our lab used mouse device, just connect it to vm, > maybe my steps has some problem, so could you help provide some simple > reproduce steps to reproduce it? > > I used command as: > -enable-kvm \ > -device virtio-mouse-pci,id=input_input1,bus=pcie.0,addr=0x5 \ > -monitor stdio -qmp tcp:0:5888,server,nowait \ > -vga qxl \ > -spice port=3001,disable-ticketing -soundhw hda \ > -device virtio-serial,bus=pcie.0 -chardev > spicevmc,id=vdagent,debug=0,name=vdagent \ > The problem happens with vioinput (In reply to Peixiu Hou from comment #3) > Hi Yuri, > > I cannot reproduce it with our lab used mouse device, just connect it to vm, > maybe my steps has some problem, so could you help provide some simple > reproduce steps to reproduce it? > > I used command as: > -enable-kvm \ > -device virtio-mouse-pci,id=input_input1,bus=pcie.0,addr=0x5 \ > -monitor stdio -qmp tcp:0:5888,server,nowait \ > -vga qxl \ > -spice port=3001,disable-ticketing -soundhw hda \ > -device virtio-serial,bus=pcie.0 -chardev > spicevmc,id=vdagent,debug=0,name=vdagent \ > The repro procedure is described in the referenced issue, involved virio-input and input-linux. But this requires also high resolution mouse (not an usual one). Hi Yuri, I reproduced this issue with build virtio-win-prewhql-173, tested with a mouse support 1000/1200/1600 DPI on win2019 guest, when set mouse DPI to 1600 and change the display resolution to 2560*1600(keep the display refresh rate 64Hz, due to we cannot adjust it in guest vm), can reproduce this issue easily, the mouse move similar with the video for https://github.com/virtio-win/kvm-guest-drivers-windows/issues/385. Steps as: 1. Boot a guest vm up with virtio-mouse-pci device, I did not use command "-object input-linux,id=mouse1,evdev=/dev/input/by-id/***": /usr/libexec/qemu-kvm \ -name 'avocado-vt-vm1' \ -machine pc \ -nodefaults \ -device VGA,bus=pci.0,addr=0x2 \ -m 8192 \ -smp 24,maxcpus=24,cores=12,threads=1,dies=1,sockets=2 \ -cpu 'Skylake-Server',hv_stimer,hv_synic,hv_vpindex,hv_reset,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv-tlbflush,+kvm_pv_unhalt \ -device pvpanic,ioport=0x505,id=idAHFs9n \ -device qemu-xhci,id=usb1,bus=pci.0,addr=0x3 \ -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 \ -drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/win2019-64-virtio-scsi.qcow2 \ -device scsi-hd,id=image1,drive=drive_image1 \ -device virtio-net-pci,mac=9a:79:5b:20:70:4a,id=idP1WKM0,netdev=idfheR18,bus=pci.0,addr=0x5 \ -netdev tap,id=idfheR18,vhost=on \ -drive id=drive_cd1,if=none,snapshot=off,aio=threads,cache=none,media=cdrom,file=/home/kvm_autotest_root/iso/windows/winutils.iso \ -device scsi-cd,id=cd1,drive=drive_cd1 \ -vnc :0 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off,strict=off \ -enable-kvm -qmp tcp:0:4448,server,nowait \ -device virtio-mouse-pci,id=input2,bus=pci.0,addr=0xb \ -monitor stdio 2. Change the display resolution to 2560*1600(guest supported maximum is this). 3. Change the mouse DPI to 1600. 4. Fast move mouse to left/right. ---will saw the mouse messy drift. Tried tested with build virtio-win-prewhql-174, cannot reproduce this issue, the mouse can move normally. As above results, this bug seems can be verified, just I'm not sure if my steps are correct, because I didn't use "-object input-linux" command. Could you help to confirm if correct? If yes, I'll change this issue to verified. BTW, we don't test with "-object input-linux" before, does it supported by downstream and what is this role? and it seems also used qemu simulation, not same with virtio input device pass-trough, if any update we need added to our test plan for this? Thanks and Best Regards~ Peixiu Yes, thank you, this test procedure is also correct. In both cases (one I described and one you use) the same events come to the driver. (In reply to ybendito from comment #7) > Yes, thank you, this test procedure is also correct. > In both cases (one I described and one you use) the same events come to the > driver. Ok, thanks for your confirm~ I changed the bug to verified~ Thanks~ Peixiu Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:1757 |