[Spice-devel] [PATCH vdagent-win] vdagent: enable disabled monitor with default resolution

Christophe Fergeau cfergeau at redhat.com
Thu Apr 18 11:30:44 PDT 2013


Hey Arnon,

On Thu, Apr 18, 2013 at 08:58:30PM +0300, Arnon Gilboa wrote:
> When enabling a disabled monitor, init_dev_mod() "failed to create DC",
> and therefore due to the custom resolution received, in set_displays()
> "No suitable mode found for display".

Looking at init_dev_mode(), I don't really think this is related to the
custom resolution. If I'm reading init_dev_mode() properly, the "failed to
create DC" error is returned before trying to use the custom resolution. My
guess would be that this function fails because the monitor is
disabled/turned off.
This patch is pointing at the part of the code that is problematic, but it
looks like it's papering over the real issue.

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/20130418/ce2b1de5/attachment.pgp>


More information about the Spice-devel mailing list