Bug 1894411 - Mouse Stops Working After Installing Guest Drivers
Summary: Mouse Stops Working After Installing Guest Drivers
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virtio-win
Version: unspecified
Hardware: x86_64
OS: Windows
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kedzierski
QA Contact: dehanmeng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 08:20 UTC by adam.subanloewen
Modified: 2023-08-15 11:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
QEMU-KVM XML (7.98 KB, text/plain)
2020-11-04 08:20 UTC, adam.subanloewen
no flags Details

Description adam.subanloewen 2020-11-04 08:20:14 UTC
Created attachment 1726480 [details]
QEMU-KVM XML

Description of problem:

Mouse Stops Working After Installing Guest Drivers. When uninstalled, guest cursor can be released to host with Control-Alt, then captured again by clicking in the Virt-Manager window. After install (even if the virtio-input component is disabled), there is no guest mouse whatsoever, and clicking in the Virt-Manager window only captures the keyboard, not the mouse.

If the mouse device is passed through to the guest directly with Virt-Manager's "Redirect USB device", then the mouse works normally on an external display, but the cursor is not visible on the QXL display, although the mouse itself works (similar behaviour to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=985461).

Version-Release number of selected component (if applicable):

Guest: Windows 10 Version 2004
Host: Ubuntu 20.04.1 LTS Linux Kernel 5.4.0-52-generic
Displays: External display using VFIO PCI eGPU passthrough, as well as QXL display.

Guest drivers (signed binaries downloaded from fedora docs) ISO releases:
0.1.185 (stable)
0.1.189 (latest)

QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.8)
libvirtd (libvirt) 6.0.0

How reproducible:

On a fresh setup, install windows guest drivers.

Actual results:

Mouse stops working in guest.

Expected results:

No change in mouse behaviour - should still function in guest and release to host using Control-Alt.

Additional info:

QEMU-KVM XML: https://www.dropbox.com/s/yl334na90ng1vsn/broccoli_live.xml?dl=0
QEMU-libvirt log: https://www.dropbox.com/s/b9nloshf6lins7z/broccoli.log?dl=0

Comment 1 Marek Kedzierski 2021-05-24 15:10:32 UTC
Reproduced on RHEL 8.4 and Windows 10 2004 with AMD RX 550 Radeon VFIO passthrough (not eGPU but regular one).


The issue appears in QEMU when at least two video cards are installed and one of them is the VFIO passthrough. 
In such configuration even if there is a standard VGA card specified and Basic Display drivers is automatically 
installed for that card, the mouse cursor starts disappearing on one of the desktops.


It looks like to be a Windows system issue - Windows cannot handle correctly mouse cursor transition between 
desktops when each of them is being displayed by a different card.

Comment 4 Yonggang Luo 2022-05-12 07:53:36 UTC
I also faced this issue


Note You need to log in before you can comment on or make changes to this bug.