<html><body><div style="font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div> I think the mouse issue are similar to <a href="https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/13">https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/13</a> and<br></div><div><a href="https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/8">https://gitlab.freedesktop.org/spice/win32/vd_agent/-/issues/8</a>.<br></div><div>In other word for some combination of displays the agent is not able to handle mouse events<br></div><div>causing the events to get discarded. The solution would be for the agent to either handle all<br></div><div>cases or being able to tell the server that is not capable to handle the mouse allowing<br></div><div>the server to fall back to server mouse.<br></div><div><br></div><div>I think you can see the display using the "console vnc" feature that allows Qemu<br></div><div>to use spice to send "frames".<br></div><div><br></div><div>Ole, what's your configuration for the guest/host or the mediated device?<br></div><div>Software installed on the host?<br></div><div>Type of Nvidia card/setup?<br></div><div><br></div><div>Thanks,<br></div><div> Frediano<br></div><div><br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><br></div><div>Well, I just create a VM with a mediated device, run it, set up Nvidia drivers, and after VM reboot its window can be shown with remote-viewer. When display is set to "none", just nvidia window appears, when QXL display is set, two windows appear.</div><div><br></div><div><br></div><div>02.06.2020, 17:30, "Uri Lublin" <uril@redhat.com>:</div><blockquote><p>On 6/2/20 4:50 PM, <a href="mailto:ole-krutov@yandex.ru" target="_blank" data-mce-href="mailto:ole-krutov@yandex.ru">ole-krutov@yandex.ru</a> wrote:<br></p><blockquote class="210e7a848e8fcb45wmi-quote"> Hi,<br> No, I do not use spice-streaming-agent with windows VM at all.<br></blockquote><p><br>How do you see the NVIDIA window on the client ?<br></p><div><br></div><blockquote class="210e7a848e8fcb45wmi-quote"> 01.06.2020, 22:24, "Uri Lublin" <<a href="mailto:uril@redhat.com" target="_blank" data-mce-href="mailto:uril@redhat.com">uril@redhat.com</a>>:<br><div><br></div> On 6/1/20 6:59 PM, <a href="mailto:ole-krutov@yandex.ru" target="_blank" data-mce-href="mailto:ole-krutov@yandex.ru">ole-krutov@yandex.ru</a><br> <mailto:<a href="mailto:ole-krutov@yandex.ru" target="_blank" data-mce-href="mailto:ole-krutov@yandex.ru">ole-krutov@yandex.ru</a>> wrote:<br><div><br></div> Now I have tried different combinations of vd-agent state and<br> mouse<br> cursor type. In no case mouse cursor was visible on nvidia display<br> window. With dual display, qxl+nvidia, stopping vd-agent made<br> cursor<br> visible on qxl window. Reaction to mouse events was seen on nvidia<br> window too, but with invisible mouse cursor.<br><div><br></div><br><div><br></div> Hi,<br><div><br></div> I assume you have your own spice-streaming-agent plugin.<br><div><br></div> Does it support the display_info interface ?<br><div><br></div> Uri<br><div><br></div> 01.06.2020, 17:27, "Frediano Ziglio" <<a href="mailto:fziglio@redhat.com" target="_blank" data-mce-href="mailto:fziglio@redhat.com">fziglio@redhat.com</a><br> <mailto:<a href="mailto:fziglio@redhat.com" target="_blank" data-mce-href="mailto:fziglio@redhat.com">fziglio@redhat.com</a>>>:<br><div><br></div> Hi all,<br> when just qxl adapter is attached to VM all works<br> well. But<br> when Nvidia GRID<br> instance is attached and its drivers are running,<br> mouse cursor<br> is never<br> shown on its display window. Sometimes it's just<br> invisible but<br> active and<br> reacting to mouse movements, clicks and wheel scrolling,<br> sometimes it's<br> totally missing. This behaviour is a bit dependent of is<br> Nvidia adapter<br> alone or together with qxl. Just sometimes mouse<br> cursor is<br> visible on qxl<br> display but it's very unstable and totally unusable.<br> Similar<br> behaviour is<br> under linux VM too. Is it normal "won't fix" state,<br> or can I<br> provide some<br> additional info? Windows has latest vd-agent and<br> spice-agent<br> installed.<br><div><br></div><br> Hi,<br> recently we got similar reports. Can you try to see<br> what's happen if<br> you disable the agent?<br><div><br></div> It seems that in these conditions the agent is not able to<br> handle<br> the mouse<br> so mouse events are "lost".<br><div><br></div> Another test would you could do is to use the "spicy"<br> utility. This<br> utility<br> has an option to switch manually the mouse mode<br> (server/client). It<br> would be<br> helpful to understand different behaviour using the 2 modes.<br><div><br></div> Frediano<br><div><br></div><br> _______________________________________________<br> Spice-devel mailing list<br> <a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank" data-mce-href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br> <mailto:<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank" data-mce-href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>><br> <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank" data-mce-href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br><div><br></div></blockquote><p><br></p></blockquote></blockquote><div><br></div></div></body></html>