[vfio-users] Win7: Mouse wheel stops working after installing nvidia drivers

Kyle Marek psppsn96 at gmail.com
Thu Jun 21 22:38:12 UTC 2018


Mouse issues, you say?

I've been preparing to write an email to this list myself about a
somewhat different but possibly related mouse issue.

Out of curiosity, does your entire screen seem to momentarily freeze any
time the mouse cursor changes? (like to the dual-arrow cursor when you
prepare to resize a window)

On 06/21/2018 06:28 PM, Mark wrote:
> Hello, I start a VM with UEFI and install windows 7.  Mouse wheel works.  I
> shutdown VM, add the nvidia GPU and start VM then install nvidia drivers.
> Shutdown again, modify the xml file via virsh and reboot.  Passthrough
> works but the scroll wheel has stopped working.  Driving me kinda bonkers I
> could really use some help here.  I don't know which log files to include,
> so I'll provide what I know might be helpful.
>
> Thanks
>
> Arch linux (up to date) with git packages:
> libvirt-git-4.4.0.262.g2b43314d8c-1-x86_64.pkg.tar.xz
> qemu-git-4:v2.12.0.r1408.g2ef2f16781-1-x86_64.pkg.tar.xz
>
> Nvidia GTX 750ti, driver 388.43
>
> /var/log/libvirt/qemu/7off.log:
>
> 2018-06-20 04:52:46.597+0000: shutting down, reason=shutdown
> 2018-06-20 04:54:53.435+0000: starting up libvirt version: 4.5.0, qemu
> version: 2.12.50v2.12.0-1408-g2ef2f16781-dirty, kernel: 4.16.13-2-ARCH,
> hostname: desk
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin QEMU_AUDIO_DRV=spice
> /usr/bin/qemu-system-x86_64 -name guest=7off,debug-threads=on -S -object
> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-10-7off/master-key.aes
> -machine pc-i440fx-3.0,accel=kvm,usb=off,vmport=off,dump-guest-core=off
> -cpu Haswell-noTSX-IBRS,hv_vendor_id=whatever,kvm=off -drive
> file=/usr/share/ovmf/x64/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on
> -drive
> file=/var/lib/libvirt/qemu/nvram/7off_VARS.fd,if=pflash,format=raw,unit=1
> -m 10240 -realtime mlock=off -smp 5,sockets=1,cores=5,threads=1 -uuid
> 022a208c-d7f9-492a-ba18-d638d4ca37b0 -no-user-config -nodefaults -chardev
> socket,id=charmonitor,fd=24,server,nowait -mon
> chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew
> -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global
> PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device
> ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4
> -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
> file=/dev/mapper/lvm-7on,format=raw,if=none,id=drive-ide0-0-0,cache=none,aio=native
> -device
> ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2,write-cache=on
> -drive if=none,id=drive-ide0-0-1,readonly=on -device
> ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,bootindex=1
> -netdev tap,fd=28,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:2d:7d:c1,bus=pci.0,addr=0x7
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=serial0 -chardev
> spicevmc,id=charchannel0,name=vdagent -device
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
> -spice
> port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
> -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
> -device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
> spicevmc,id=charredir0,name=usbredir -device
> usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1 -chardev
> spicevmc,id=charredir1,name=usbredir -device
> usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=2 -device
> vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x8 -device
> vfio-pci,host=01:00.1,id=hostdev1,bus=pci.0,addr=0x9 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -sandbox
> on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny
> -msg timestamp=on
> 2018-06-20T04:54:53.468736Z qemu-system-x86_64: -chardev
> pty,id=charserial0: char device redirected to /dev/pts/2 (label charserial0)
> main_channel_link: add main channel client
> red_qxl_set_cursor_peer:
> inputs_connect: inputs channel client create
> 2018-06-20T04:57:10.405151Z qemu-system-x86_64: terminating on signal 15
> from pid 470 (/usr/bin/libvirtd)
> red_channel_client_disconnect: rcc=0x7f73debeb970 (channel=0x7f766854eae0
> type=5 id=0)
> red_channel_client_disconnect: rcc=0x7f73e08147f0 (channel=0x7f766854eba0
> type=6 id=0)
> red_channel_client_disconnect: rcc=0x7f73dde70ff0 (channel=0x7f73de475950
> type=9 id=0)
> red_channel_client_disconnect: rcc=0x7f73de1547f0 (channel=0x7f73de475a20
> type=9 id=1)
> 2018-06-20 04:57:11.837+0000: shutting down, reason=shutdown
> 2018-06-20 05:01:08.392+0000: starting up libvirt version: 4.5.0, qemu
> version: 2.12.50v2.12.0-1408-g2ef2f16781-dirty, kernel: 4.16.13-2-ARCH,
> hostname: desk
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin QEMU_AUDIO_DRV=spice
> /usr/bin/qemu-system-x86_64 -name guest=7off,debug-threads=on -S -object
> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-11-7off/master-key.aes
> -machine pc-i440fx-3.0,accel=kvm,usb=off,vmport=off,dump-guest-core=off
> -cpu Haswell-noTSX-IBRS,hv_vendor_id=whatever,kvm=off -drive
> file=/usr/share/ovmf/x64/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on
> -drive
> file=/var/lib/libvirt/qemu/nvram/7off_VARS.fd,if=pflash,format=raw,unit=1
> -m 10240 -realtime mlock=off -smp 5,sockets=1,cores=5,threads=1 -uuid
> 022a208c-d7f9-492a-ba18-d638d4ca37b0 -no-user-config -nodefaults -chardev
> socket,id=charmonitor,fd=24,server,nowait -mon
> chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew
> -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global
> PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device
> ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4
> -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
> file=/dev/mapper/lvm-7on,format=raw,if=none,id=drive-ide0-0-0,cache=none,aio=native
> -device
> ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2,write-cache=on
> -drive if=none,id=drive-ide0-0-1,readonly=on -device
> ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,bootindex=1
> -netdev tap,fd=28,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:2d:7d:c1,bus=pci.0,addr=0x7
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=serial0 -chardev
> spicevmc,id=charchannel0,name=vdagent -device
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
> -spice
> port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
> -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
> -device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
> spicevmc,id=charredir0,name=usbredir -device
> usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1 -chardev
> spicevmc,id=charredir1,name=usbredir -device
> usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=2 -device
> vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x8 -device
> vfio-pci,host=01:00.1,id=hostdev1,bus=pci.0,addr=0x9 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -sandbox
> on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny
> -msg timestamp=on
> 2018-06-20T05:01:08.425248Z qemu-system-x86_64: -chardev
> pty,id=charserial0: char device redirected to /dev/pts/2 (label charserial0)
> main_channel_link: add main channel client
> red_qxl_set_cursor_peer:
> inputs_connect: inputs channel client create
> 2018-06-20T05:09:37.062147Z qemu-system-x86_64: terminating on signal 15
> from pid 470 (/usr/bin/libvirtd)
> red_channel_client_disconnect: rcc=0x7fb2553ebaf0 (channel=0x7fb4ded4eae0
> type=5 id=0)
> red_channel_client_disconnect: rcc=0x7fb2570144f0 (channel=0x7fb4ded4eba0
> type=6 id=0)
> red_channel_client_disconnect: rcc=0x7fb254671130 (channel=0x7fb254c75950
> type=9 id=0)
> red_channel_client_disconnect: rcc=0x7fb254954ff0 (channel=0x7fb254c75a20
> type=9 id=1)
> 2018-06-20 05:09:38.491+0000: shutting down, reason=shutdown




More information about the vfio-users mailing list