RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1919947 - [virtio-win][viogpudo][win10+]The cursor is not prominent and position deviation
Summary: [virtio-win][viogpudo][win10+]The cursor is not prominent and position deviation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virtio-win
Version: 8.4
Hardware: x86_64
OS: Windows
high
high
Target Milestone: rc
: 8.0
Assignee: Vadim Rozenfeld
QA Contact: dehanmeng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-25 12:47 UTC by dehanmeng
Modified: 2021-07-30 06:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 16:25:58 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
before install viogpudo driver (307.50 KB, image/png)
2021-01-25 12:50 UTC, dehanmeng
no flags Details
After install viogpudo driver(1) (1.59 MB, image/jpeg)
2021-01-25 12:51 UTC, dehanmeng
no flags Details
After install viogpudo driver(2) (893.75 KB, image/jpeg)
2021-01-25 12:52 UTC, dehanmeng
no flags Details

Description dehanmeng 2021-01-25 12:47:29 UTC
Description of problem:
The cursor is not prominent and position deviation, it means couldn't use mouse normally that the position is not what I wanted to point at. and I even couldn't find cursor.

 
Version-Release number of selected component (if applicable):
qemu-kvm-4.2.0-40.module+el8.4.0+9278+dd53883d.x86_64
virtio-win-prewhql-193
kernel-4.18.0-270.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Start guest with virtio-vga device and virtio-win-prewhql driver iso
/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1'  \
    -sandbox on  \
    -machine q35 \
    -device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 \
    -device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0  \
    -nodefaults \
    -m 13312  \
    -device virtio-vga,id=video0 \                                               
    -smp 24,maxcpus=24,cores=12,threads=1,dies=1,sockets=2  \
    -cpu 'Skylake-Server',hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0xfff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,+kvm_pv_unhalt \
    -chardev socket,path=/tmp/avocado_9ms7xm0w/monitor-qmpmonitor1-20210105-032815-BLpNoZnG,id=qmp_id_qmpmonitor1,nowait,server  \
    -mon chardev=qmp_id_qmpmonitor1,mode=control \
    -chardev socket,path=/tmp/avocado_9ms7xm0w/monitor-catch_monitor-20210105-032815-BLpNoZnG,id=qmp_id_catch_monitor,nowait,server  \
    -mon chardev=qmp_id_catch_monitor,mode=control \
    -device pvpanic,ioport=0x505,id=idXAAXfN \
    -chardev socket,path=/tmp/avocado_9ms7xm0w/serial-serial0-20210105-032815-BLpNoZnG,id=chardev_serial0,nowait,server \
    -device isa-serial,id=serial0,chardev=chardev_serial0 \
    -chardev socket,path=/tmp/avocado_9ms7xm0w/serial-org.qemu.guest_agent.0-20210105-032815-BLpNoZnG,id=chardev_org.qemu.guest_agent.0,nowait,server \
    -device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 \
    -device virtio-serial-pci,id=virtio_serial_pci0,bus=pcie-root-port-1,addr=0x0 \
    -device virtserialport,id=org.qemu.guest_agent.0,name=org.qemu.guest_agent.0,chardev=chardev_org.qemu.guest_agent.0,bus=virtio_serial_pci0.0,nr=1  \
    -chardev socket,id=seabioslog_id_20210105-032815-BLpNoZnG,path=/tmp/avocado_9ms7xm0w/seabios-20210105-032815-BLpNoZnG,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20210105-032815-BLpNoZnG,iobase=0x402 \
    -device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 \
    -device qemu-xhci,id=usb1,bus=pcie-root-port-2,addr=0x0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
    -device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pcie-root-port-3,addr=0x0 \
    -blockdev node-name=file_image1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=win8-64-virtio-scsi.qcow2,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_image1,driver=qcow2,read-only=off,cache.direct=on,cache.no-flush=off,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1,write-cache=on \
    -device pcie-root-port,id=pcie-root-port-4,port=0x4,addr=0x1.0x4,bus=pcie.0,chassis=5 \
    -device virtio-net-pci,mac=9a:53:3e:06:b0:47,id=idKpQvyY,netdev=idpFCo1s,bus=pcie-root-port-4,addr=0x0  \
    -netdev tap,id=idpFCo1s,vhost=on \
    -blockdev node-name=file_cd1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/iso/windows/winutils.iso,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_cd1,driver=raw,read-only=on,cache.direct=on,cache.no-flush=off,file=file_cd1 \
    -device scsi-cd,id=cd1,drive=drive_cd1,write-cache=on \
    -blockdev node-name=file_virtio,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=virtio-win-prewhql-0.1-193.iso,cache.direct=on,cache.no-flush=off \
    -blockdev node-name=drive_virtio,driver=raw,read-only=on,cache.direct=on,cache.no-flush=off,file=file_virtio \
    -device scsi-cd,id=virtio,drive=drive_virtio,write-cache=on  \
    -device pcie-root-port,id=pcie-root-port-5,port=0x5,addr=0x1.0x5,bus=pcie.0,chassis=6 \   
    -device virtio-gpu-pci,id=video1,bus=pcie-root-port-5,addr=0x0 \  
    -vnc :1  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot menu=off,order=cdn,once=c,strict=off \
    -enable-kvm \
2.install virtio-vga driver from virtio-win.iso
Device Management ->right-click on on Video Controller ->Update Driver Software... ---->Browse my computer for driver software---->Browse to the location of the driver

Actual results:
cursor changed became hard to see and the position is deviation.

Expected results:
viogpudo driver can be installed successfully, the cursor and all devices for display can work well.

Additional info:

Comment 1 dehanmeng 2021-01-25 12:50:11 UTC
Created attachment 1750505 [details]
before install viogpudo driver

Comment 2 dehanmeng 2021-01-25 12:51:44 UTC
Created attachment 1750506 [details]
After install viogpudo driver(1)

Comment 3 dehanmeng 2021-01-25 12:52:35 UTC
Created attachment 1750507 [details]
After install viogpudo driver(2)

Comment 4 dehanmeng 2021-01-25 12:59:04 UTC
As shown in the images attachment above, the cursor got a little problems after viogpudo driver was installed.
[1]attachment 1750505 [details]: show the cursor is acting normally before viogpudo is installed..
[2]attachment 1750506 [details]: the cursor became invisible after installation.
[3]attachment 1750507 [details]: the cursor no longer looks like a cursor.

Comment 5 dehanmeng 2021-02-01 02:12:00 UTC
(In reply to dehanmeng from comment #0)

>     -blockdev
> node-name=file_image1,driver=file,auto-read-only=on,discard=unmap,
> aio=threads,filename=win8-64-virtio-scsi.qcow2,cache.direct=on,cache.no-
> flush=off \

Correct a point that this issue was hit on win10-like guest. not on win8-guest. please notice that, thanks.

Comment 6 Vadim Rozenfeld 2021-02-02 06:07:38 UTC
Can you please give a try to drivers from build 194
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1484340 ?

Comment 7 dehanmeng 2021-02-02 15:18:35 UTC
Hi Vadim,
For win2019 guest issues becomes slightly that the cursor is visible now, but it split into two cursors like following attachment:
For win2016 guest it hit issue sort of like bz_1922012. the screen response nothing.

still try to verify this issue on win-10-like guest, will update other guest and more accurate comments.
thanks for your effort again.

Comment 8 Vadim Rozenfeld 2021-02-02 20:51:06 UTC
(In reply to dehanmeng from comment #7)
> Hi Vadim,
> For win2019 guest issues becomes slightly that the cursor is visible now,
> but it split into two cursors like following attachment:
> For win2016 guest it hit issue sort of like bz_1922012. the screen response
> nothing.
> 
> still try to verify this issue on win-10-like guest, will update other guest
> and more accurate comments.
> thanks for your effort again.

Thanks a lot Dehan,
Can it be that you are experiencing some sort of cursor delayed update, that 
happen with VNC viewer, when you start moving mouse rapidly and in different directions 
and as the result you can see two cursors - one is local (rendered by VM) and 
another one that belongs to host.

Best,
Vadim.

Comment 9 dehanmeng 2021-02-05 02:42:38 UTC
reproduce it on win10-like guest with virtio-win-prewhql-193.iso 
step to reproduce as comment0

Actual results:
cursor changed became hard to see and the position is deviation.

Expected results:
viogpudo driver can be installed successfully, the cursor display can work well.

Verified it on win10-like guest with version virtio-win-prewhql-194.iso
step to verify as comment0 as well

Actual results:
like comment8 said, the cursor sort of delayed update. the original issue do disappear. viogpudo driver can be installed successfully and cursor display works well.

Expected results:
viogpudo driver can be installed successfully, the cursor display can work well.

Comment 12 errata-xmlrpc 2021-05-18 16:25:58 UTC
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 (virtio-win bug fix and enhancement update), 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-2021:1959


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