[Spice-devel] New xrandr multi-mon / arbitrary resolution support issues

Alon Levy alevy at redhat.com
Mon Aug 27 03:09:09 PDT 2012


On Mon, Aug 27, 2012 at 11:20:09AM +0200, Hans de Goede wrote:
> Hi,
> 
> So I've been playing around with this more, and except for the issues
> when going fullscreen with multiple monitors (the one where the 2 windows end up
> on the same monitor), things look good.
> 
> There are some issues with the agent which need some looking into though IMHO:
> 
> 1) Sometimes messages like this one show up in the logs:
> Aug 27 10:52:50.318895 spice-vdagent[1064]: err: delete_mode of in use mode, setting crtc to NULL mode

You cannot delete an in use mode, that's all the message is about - It
should be a warning, not an "err:".

> I think this happens when using multiple monitors inside the guest (so having multiple remote-viewer windows)
> 
> This one is easy to reproduce, I would appreciate if someone can take a look soon, as I want to do
> a new spice-vdagent release upstream soon. If this does not get fixed I'll do a release with this
> issue, since it seems mostly harmless.
> 
> 
> 2) Some weird vdagent-# modes show up in xrandr output (may be related to 1):
> qxl-0 connected 1712x962+0+0 0mm x 0mm
>    1712x962       60.0*+
>    2560x1600      60.0
>    <snip>
>    vdagent-0       0.1

The wierd thing is that there are two modes, one named 1712x962 and
another named vdagent-0. I don't remember writing code to create the
first. But maybe Marc-Andre's changes which I didn't pay too much
attention to. (or maybe something I did and I'm confused). The vdagent-0
mode is the one that I meant to be created (in general vdagent-x where x
is the output number), which also explains why crtc needs to be set to
NULL (no) mode before deleting and creating it as a new resolution.

> qxl-1 connected 400x373+1712+0 0mm x 0mm
>    400x373        60.0*+
>    2560x1600      60.0
>    2560x1440      60.0
>    <snip>
>    vdagent-1       0.1
> qxl-2 disconnected
>    400x373        60.0
> qxl-3 disconnected
> 
> 
> 3) When adding new monitors through the view->displays menu of remote-viewer, and then removing them again,
> the agent does not disable / disconnect the monitors which have been removed, so the guest thinks it has
> more monitors then remote-viewer is displaying

That's a bug.

> 
> 
> Note I've been only testing with Linux guests, since my main interest in this is testing the linux agent
> code.
> 
> Regards,
> 
> Hans
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list