Hi, here is VM startup log:
starting up libvirt version: 7.0.0, package: 3 (Andrea Bolognani <eof@xxxxxxxxxx> Fri, 26 Feb 2021 16:46:34 +0100), qemu version: 5.2.0Debian 1:5.2+dfsg-10, kernel: 5.9.0-2-amd64, hostname: 7b3153da-adae-42e5-b277-faa309ae1fe3
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
HOME=/var/lib/libvirt/qemu/domain-9-bddf9b39-4015-42a2-8 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-9-bddf9b39-4015-42a2-8/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-9-bddf9b39-4015-42a2-8/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-9-bddf9b39-4015-42a2-8/.config \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=bddf9b39-4015-42a2-8de1-358fbfe39dae,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-9-bddf9b39-4015-42a2-8/master-key.aes \
-machine pc-q35-5.2,accel=kvm,usb=off,dump-guest-core=off \
-cpu Broadwell-IBRS,vme=on,ss=on,vmx=on,pdcm=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaveopt=on,pdpe1gb=on,abm=on,ibpb=on,amd-stibp=on,amd-ssbd=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,hv-vendo
r-id=ecpveilcloud \
-m size=5242880k,slots=16,maxmem=65849344k \
-overcommit mem-lock=off \
-smp 4,sockets=1,dies=1,cores=4,threads=1 \
-object memory-backend-ram,id=ram-node0,size=5368709120 \
-numa node,nodeid=0,cpus=0-3,memdev=ram-node0 \
-uuid bddf9b39-4015-42a2-8de1-358fbfe39dae \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=41,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc \
-no-shutdown \
-boot strict=on \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
-device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \
-device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \
-device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \
-device pcie-root-port,port=0xe,chassis=7,id=pci.7,bus=pcie.0,addr=0x1.0x6 \
-device pcie-pci-bridge,id=pci.8,bus=pci.1,addr=0x0 \
-device nec-usb-xhci,id=usb,bus=pci.3,addr=0x0 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.4,addr=0x0 \
-blockdev '{"driver":"file","filename":"/storages/zfs/zfs_fc/c3dbf329-92ba-4436-8b46-5f2dee6148ca/vdisk.qcow2","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-2-storage","backing":null}' \
-device virtio-blk-pci,bus=pci.5,addr=0x0,drive=libvirt-2-format,id=virtio-disk0,bootindex=1,write-cache=on,serial=c3dbf329-92ba-4436-8 \
-blockdev '{"driver":"file","filename":"/storages/local/default/_ISO/CentOS-8.4.2105-x86_64-boot.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.0,drive=libvirt-1-format,id=sata0-0-0,bootindex=2 \
-netdev tap,fd=46,id=hostnet0,vhost=on,vhostfd=48 \
-device virtio-net-pci,host_mtu=1446,netdev=hostnet0,id=net0,mac=02:ff:f0:22:02:f3,bus=pci.2,addr=0x0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \
-chardev spiceport,id=charchannel2,name=org.spice-space.stream.0 \
-device virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=org.spice-space.stream.0 \
-chardev socket,id=charchannel3,fd=49,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=4,chardev=charchannel3,id=channel3,name=org.qemu.guest_agent.0 \
-chardev socket,id=charchannel4,fd=52,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=5,chardev=charchannel4,id=channel4,name=org.mashtab.veil \
-spice port=50002,addr=0.0.0.0,agent-mouse=on,image-compression=auto_glz,jpeg-wan-compression=auto,zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,seamless-migration=on \
-vnc 0.0.0.0:44103,share=allow-exclusive,password \
-device intel-hda,id=sound0,bus=pci.8,addr=0x1 \
-device hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 \
-device vfio-pci-nohotplug,id=hostdev0,sysfsdev=/sys/bus/mdev/devices/9fff359d-5610-495f-bcd2-ebf571a0fbba,display=on,bus=pci.6,addr=0x0,ramfb=on \
-device virtio-balloon-pci,id=balloon0,bus=pci.7,addr=0x0 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
23.08.2021, 20:39, "Uri Lublin" <uril@xxxxxxxxxx>:
Hi,What Victor said but also more below.On Mon, Aug 23, 2021 at 6:34 PM Victor Toso <victortoso@xxxxxxxxxx> wrote:Hi,
On Mon, Aug 23, 2021 at 05:14:00PM +0300, ole-krutov@xxxxxxxxx wrote:
> - nvidia vGPU with proprietary driver is the only video
> adapter.
This is a know issue. NVIDIA driver does not provide a guest
cursor. You can probably verify it with VNC too.
The proper fix is to NVIDIA implement this feature, otherwise all
we have is workarounds.
You can try running a spice-gtk based client like remote-viewer
with SPICE_DEBUG_CURSOR=1 as that might give you something
rendered in the client side.Yeah, it's the same for VNC.Recently a command line option was added to virt-viewer/remote-viewer for VNC.
You could also try to set "HWCursor" "off" in the xorg
configuration file.
> - spice-vdagent v.0.20 and qemu-guest-agent are installed.
You should try v0.21 as I recall people were doing work around
testing NVDIA and Wayland based systems, although I can't
pinpoint something that would fix the logs I see.
I think the problem is not with spice-vdagent, but that SPICE gets nocursor data from NVIDIA.What qemu-kvm command line option do you use for connecting with the NVIDIA GPU ?Uri