[Spice-devel] [PATCH] Don't close all but one display during reboot.

Christophe Fergeau cfergeau at redhat.com
Thu Feb 23 12:43:26 UTC 2017


On Thu, Feb 23, 2017 at 11:58:53AM +0100, Christophe de Dinechin wrote:
> Hi Daimon,
> 
> 
> In a real system, the connected monitors and their EDID provide information to the OS about how many monitors are available, the resolution they support, etc. That information is persistent for the OS, i.e. it is still there even when the OS is down. Where do you plan to get the “available number of monitors” information from in step 2?
> 
> My understanding is that we can’t simply use the number of QXL
> devices, since one device can be multihead. Today, there is no
> persistent configuration of the number of monitors that I know of,
> only a hint regarding the number of channels based on the number of
> QXL instances.
> 
> What is the rationale behind the different recommendation for Windows
> and Linux (Windows: 1 QXL device per head; Linux: 1 multi-head QXL
> device) ?

Back in the days, it was multiple devices in all cases. I believe this
was more or less a requirement even for physical cards on win2k or such
(or maybe that's totally wrong??).
On Linux, multiple devices meant using xinerama rather than xrandr,
which was not the way forward, so we switched to 1 multi-head QXL in
order to add xrandr support.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170223/56fec9dc/attachment.sig>


More information about the Spice-devel mailing list