[Spice-devel] two monitors with linux and libvirtd

Christophe Fergeau cfergeau at redhat.com
Thu Sep 26 01:16:57 PDT 2013


Hey,

On Wed, Sep 25, 2013 at 01:16:21PM -0400, David Mansfield wrote:
> Here is exactly what isn't working:
> 
> Environment:
> F19 host, F19 guest both fully updated, with or without virt-preview
> repository.  F19 remote-viewer. I've also tried adjusting ram and
> vram setting a few times but currently it's ram=131072 and
> vram=65536.
> 
> Issues:
> When opening the "second" monitor via the remote-viewer menu, it
> stays "waiting for graphics server" (or some such)
> 
> If, in a terminal window in the vm, I run xrandr with no arguments,
> the second "monitor" begins to display the entire desktop (two
> monitors worth), albeit somewhat shrunken to fit into the
> remote-viewer window.
> 
> If I open a third monitor via remote-viewer window, the second
> "monitor" begins to show the correct data, but the third shows the
> entire desktop (three monitors worth), shrunken to fit.

Fwiw, this is working fine with a f19 client/f19 host/f20 alpha live cd
guest, could be worth testing this to try to narrow which part of the
equation is having issues.

> The actual mouse cursor position is offset (by about -8 x -8) from
> where the displayed mouse cursor is (you must move your mouse right
> and down from where you want to click).

I've seen that in some VMs, I think there's a bug for it in bugzilla.

> More Information:
> I have subsequently tried doing this exact same test with Centos6
> host, Centos6 guest, Centos6 client.  This basically works (maybe
> some rough edges which are completely unrelated).
> 
> I have then tried F19 remote-viewer connecting to centos6 guest,
> Centos6 host - it doesn't work, but it's better.  Changing
> resolutions (using the "monitors" control panel in the guest)
> produces strange and incorrect overlaps of displayed desktop area /
> mouse positions etc., but if you set things up using centos6 client
> then connect from F19 things basically work.  Hard to really explain
> the problems here except that clearly the guest and client are not
> communicating "monitor" dimensions and offsets correctly.

This is a bit similar to what is being discussed in
https://www.redhat.com/archives/virt-tools-list/2013-September/msg00111.html
There's a bug describing the behaviour you see I think.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130926/bc4a8ce2/attachment.pgp>


More information about the Spice-devel mailing list