<div dir="ltr"><div>Hi,</div><div>with a guest set up as in the following example mouse behavior breaks:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">    <graphics type='spice' port='5901' autoport='no' listen='0.0.0.0'>
</span><br>      <listen type='address' address='0.0.0.0'/>
<br>      <gl enable='no'/>
<br>    </graphics>
<br>   <video>
<br>      <model type='qxl' ram='65536' vram='16384' vgamem='16384' heads='1' primary='yes'/>
<br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
<br>    </video>
<br>    <video>
<br>      <model type='qxl' ram='65536' vram='16384' vgamem='16384' heads='1'/>
<br>      <address type='pci' domain='0x0000' bus='0x08' slot='0x01' function='0x0'/>
<br>    </video><br>
<br></span></div><div>Please note that this is for illustration purposes as this everyone can easily retry.</div><div>I originally had QXL + GPU as mediated device, where the behavior is the same.</div><div><br></div><div>If I know connect to that via spice, spice is smart and opens both displays:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">  $ virt-viewer --connect qemu+ssh://<a href="http://ubuntu@10.246.115.255/system">ubuntu@10.246.115.255/system</a> guestname</span><br></span></div><div><br></div><div>But while with one display mouse integration (to move in/out smoothly) and positioning of the mouse pointer is fine.</div><div>It is broken with this double display setup.</div><div>What I see is:</div><div>- no mouse integration anymore (falls back to capture the mouse)</div><div>- often the mouse can not move upwards anymore</div><div>- sometimes "left" also doesn't work</div><div><br></div><div>Let me know if someone wants  a video in case the description is still too odd.</div><div><br></div><div>I have tried spice-client-gtk and virt-viewer, but both behave the same way.</div><div><br></div><div>If I take away one of the displays it works well again.</div><div>So I'm wondering how virtual-multi-monitor is supposed to work, are there known bugs or tweaks that would apply here?</div><div><br></div><div>In my original case I wanted to take away the QXL device, to jst keep the Mdev as one screen (and the one I really want).</div><div>But due to [1] the video section is re-added automatically.</div><div><br></div><div>Maybe this comes down to not re-adding that default video entry if a hostdev has display=on set?</div><div><br></div><div>I'd appreciate any pointers if this rings a bell or a discussion on not-auto-adding-video if display=on is present.</div><div><br></div><div>Kind Regards,</div><div>Christian</div><div><br></div><div>P.S. I tried VNC but that just has "other" issues. It only shows 1 of 2 displays and on the one I see over amplifies the mouse movement by the amount the other display adds to ther overall desktop size.</div><div><br></div>P.P.S. Sorry for cross posting, at least I avoided cross posting even further (spice-devel / qemu-devel) hoping that libvirt & virt-tools would be involved enough that if someone recognizes this he can point me to the right place.<div><div><br></div><div>[1]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=707439">https://bugzilla.redhat.com/show_bug.cgi?id=707439</a></div></div></div>