<div>Hi,</div><div>first of all: I know that a mode when no QXL device is present is "side effect" and maybe is not supported. But I don't see an opportunity to use Nvidia hardware on KVM linux guest other than via spice and spice-streaming-agent.</div><div>So, I try to make it work, but there are troubles with mouse support, screen resizing, and it seems that it is because of spice-vdagent not working. ('connection reset by peer' in spice-vdagent status output)</div><div>No mouse cursor, no mouse buttons reactions.</div><div> </div><div>My config:</div><div>- Centos 8</div><div>- nvidia vGPU with proprietary driver is the only video adapter.</div><div>- spice-vdagent v.0.20 and qemu-guest-agent are installed.</div><div>- /run/spice-vdagentd/spice-vdagent-sock is present and has access mode is srw-rw-rw-.</div><div>- QEMU Tablet may be present or not, same effect.</div><div> </div><div>What must be interoperability between spice vdagent socket and video driver? Is there an opportunity to use mouse with nvidia non-free driver at all?</div><div> </div><div>`systemctl status spice-vdagent.socket` says:</div><div> </div><div>```</div><div><div><div>◠spice-vdagentd.socket - Activation socket for spice guest agent daemon</div><div>  Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.socket; static; vendor preset: disabled)</div><div>  Active: active (running) since Mon 2021-08-23 16:22:43 MSK; 16min ago</div><div>  Listen: /run/spice-vdagentd/spice-vdagent-sock (Stream)</div><div>  Tasks: 0 (limit: 36416)</div><div>  Memory: 0B</div><div>  CGroup: /system.slice/spice-vdagentd.socket</div><div> </div><div>Aug 23 16:22:43 localhost.localdomain systemd[1]: Listening on Activation socket for spice guest agent daemon.</div><div>```</div><div>`systemctl status spice-vdagent.service` says: (error "No QXL devices found" appears when virtual video device is set to virtual VGA or cirrus too, but agent is working and mouse, screen resizing  work as expected)</div><div> </div><div>```</div><div><div><div>◠spice-vdagentd.service - Agent daemon for Spice guests</div><div>  Loaded: loaded (/etc/systemd/system/spice-vdagentd.service; indirect; vendor preset: enabled)</div><div>  Active: active (running) since Mon 2021-08-23 16:22:49 MSK; 15min ago</div><div> Process: 2100 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS (code=exited, status=0/SUCCESS)</div><div> Main PID: 2102 (spice-vdagentd)</div><div>  Tasks: 2 (limit: 36416)</div><div>  Memory: 1.3M</div><div>  CGroup: /system.slice/spice-vdagentd.service</div><div>      └─2102 /usr/sbin/spice-vdagentd</div><div> </div><div>Aug 23 16:22:49 localhost.localdomain systemd[1]: Starting Agent daemon for Spice guests...</div><div>Aug 23 16:22:49 localhost.localdomain systemd[1]: spice-vdagentd.service: Can't open PID file /run/spice-vdagentd/spice-vda></div><div>Aug 23 16:22:49 localhost.localdomain systemd[1]: Started Agent daemon for Spice guests.</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: opening vdagent virtio channel</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: Set max clipboard: 104857600</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: No QXL devices found, not generating xorg.conf</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: Set max clipboard: 104857600</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: No QXL devices found, not generating xorg.conf</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: Error receiving data: Connection reset by peer</div><div>Aug 23 16:22:49 localhost.localdomain spice-vdagentd[2102]: closed vdagent virtio channel</div><div>```</div><div> </div><div>Xorg.conf: (I commented out mouse related input in the hope that X server will somehow manage mouse but no luck)</div><div>```</div><div><div><div># nvidia-xconfig: X configuration file generated by nvidia-xconfig</div><div># nvidia-xconfig:  version 460.73.01</div><div> </div><div>Section "ServerLayout"</div><div>  Identifier   "Layout0"</div><div>  Screen    0  "Screen0"</div><div>#   InputDevice   "Keyboard0" "CoreKeyboard"</div><div>#   InputDevice   "Mouse0" "CorePointer"</div><div>EndSection</div><div> </div><div>Section "Files"</div><div>EndSection</div><div> </div><div># Section "InputDevice"</div><div>  # generated from default</div><div>#   Identifier   "Mouse0"</div><div>#   Driver     "mouse"</div><div>#   Option     "Protocol" "auto"</div><div>#   Option     "Device" "/dev/input/mice"</div><div>#   Option     "Emulate3Buttons" "no"</div><div>#   Option     "ZAxisMapping" "4 5"</div><div>#EndSection</div><div> </div><div>#Section "InputDevice"</div><div>  # generated from default</div><div>#   Identifier   "Keyboard0"</div><div>#   Driver     "kbd"</div><div>#EndSection</div><div> </div><div>Section "Monitor"</div><div>  Identifier   "Monitor0"</div><div>  VendorName   "Unknown"</div><div>  ModelName    "Unknown"</div><div>  Option     "DPMS"</div><div>EndSection</div><div> </div><div>Section "Device"</div><div>  Identifier   "Device0"</div><div>  Driver     "nvidia"</div><div>  VendorName   "NVIDIA Corporation"</div><div>  BusID      "PCI:7:0:0"</div><div>EndSection</div><div> </div><div>Section "Screen"</div><div>  Identifier   "Screen0"</div><div>  Device     "Device0"</div><div>  Monitor     "Monitor0"</div><div>  DefaultDepth   24</div><div>  SubSection   "Display"</div><div>    Depth    24</div><div>  EndSubSection</div><div>EndSection</div><div>```</div></div></div></div></div></div></div>