[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Mouse cursor sometimes can't pass the invisible border on

From: Mikhail Akushsky
Subject: [Qemu-discuss] Mouse cursor sometimes can't pass the invisible border on the right side of the screen
Date: Wed, 28 Feb 2018 20:44:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


I'm using qemu 2.11 on Gentoo Linux, with configured GPU passthrough
(Radeon RX580) to the guest Windows 10.
This configuration is alive for last 4 years, this time I changed a lot
qemu, linux kernel and windows versions, changed GPU and always all was
working as expected. I always used standard PS/2 mouse emulation and
that was enough for me.

Now, I bought two new monitors, instead of old one, and setup them as
one logical monitor, using technology called Eyefinity - it's a part of
standard Radeon software. Now Windows thinks, that I have one monitor
with resolution 2160x1920 (I bought Dell monitors with a thin borders
and use them in portrait mode).

Windows uses it without any problems, but mouse become crazy - sometimes
(~3 times from each 5) I can't move cursor to the right border of the
screen, it looks like the invisible vertical border. I spent really huge
amount of time to understand, which component is the root of problem and
found, that it's really a mouse. I tried all possible variants
(standard, tablet, virtio-mouse-pci, virtio-tablet-pci), and found, that
in both mouse variants bug is reproducing, and in both tablet variants -
cursor stuck near all real borders and corners, so it's not a variant too.
The only working variant becomes passing real USB port to my VM and
insert second mouse to this port. So, now it's working, but I have two
mice on my working place, which doesn't seems very useful.

Here is my command line:

QEMU_AUDIO_DRV=pa QEMU_PA_SAMPLES=4096 qemu-system-x86_64 -enable-kvm -M
q35 -m 12168 -cpu host,kvm=off -smp 4,sockets=1,cores=4 \
-bios /usr/share/qemu/bios.bin -rtc base=localtime -vga none -device
secondary-vga \
id=virtiocd,if=none,format=raw,file=/home/akushsky/virtio-win-0.1.141.iso \
-device driver=ide-cd,bus=ide.1,drive=virtiocd \
ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device virtio-scsi-pci,id=scsi \
-device scsi-hd,drive=disk,id=scsi0 \
-device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-usb -usbdevice host:046d:c52b

All in all, I checked on Windows 7 and Windows 10, and on qemu 2.10 and
2.11 - bug is always reproducible.

Also it's described here in bugreport:

Best regards, Michael Akushsky.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]