[Spice-devel] Display resizing question

Alex Roithman kaperang07 at gmail.com
Thu Oct 15 11:09:29 PDT 2015


Changes between debug-logs exist. Virt-viewer debug-log don't contains
resizing messages:

.....

setNewSize 1228 887

(process:10292): GSpice-DEBUG: channel-main.c:1090 main-1:0: monitor
config: #0 1228x887+0+0 @ 32 bpp

(process:10292): GSpice-DEBUG: channel-main.c:1026 #0 +0+0-1228x887

configured true

setNewSize 1229 888

(process:10292): GSpice-DEBUG: channel-main.c:1090 main-1:0: monitor
config: #0 1229x888+0+0 @ 32 bpp

(process:10292): GSpice-DEBUG: channel-main.c:1026 #0 +0+0-1229x888

configured true

....

What does it mean?

On 15 October 2015 at 19:25, Alex Roithman <kaperang07 at gmail.com> wrote:

> But virt-viewer (Remote-viewer, based on spice-gtk-widget) process the
> resizing correctly with same one guest.
>
> On 15 October 2015 at 19:17, Jonathon Jongsma <jjongsma at redhat.com> wrote:
>
>> Ah, so does this mean you are using MATE as the desktop environment? At
>> the moment, I believe that GNOME shell is the only desktop environment
>> that handles the resize hotplug events properly.
>>
>>
>> On Thu, 2015-10-15 at 19:03 +0300, Alex Roithman wrote:
>> > This is the log with more quickly resizing...
>> > http://fpaste.org/279609/
>> >  The guest OS: Fedora-22-MATE LiveCD(x86_64).
>> >
>> > I am embarrassed that the "decode-glz.c: 374 decode_header: 1024x768,
>> > id 0, ref 0" is the size that the display has at initialization.
>> >
>> >
>> > On 15 October 2015 at 18:29, Jonathon Jongsma <jjongsma at redhat.com>
>> > wrote:
>> > > On Thu, 2015-10-15 at 16:14 +0300, Alex Roithman wrote:
>> > > >  I can not to change the size of the display, using the API:
>> > > > https://github.com/F1ash/qt-virt-manager/blob/master/src/vm_viewe
>> > > r/qs
>> > > > pice_widgets/qspicewidget.cpp#L607-L631
>> > > >
>> > > > For debugging i use:
>> > > > spice_util_set_debug(true);
>> > > >
>> > > > Then i get this log:
>> > > > http://fpaste.org/279494/
>> > >
>> > > I see from this log that you are attempting to resize the display
>> > > by 1
>> > > pixel increments. Does it also fail if you try slighty more
>> > > significant
>> > > changes? What is your guest OS?
>> > >
>> > >
>> > > >
>> > > > We can see that channel-main is processed the new size data and
>> > > > configured the new size for display (see tail of log),
>> > > > but i can't see nothing changes in widget, nothing emitted
>> > > signals
>> > > > for this.
>> > > > How work with it?
>> > > > _______________________________________________
>> > > > Spice-devel mailing list
>> > > > Spice-devel at lists.freedesktop.org
>> > > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>> > >
>> > _______________________________________________
>> > Spice-devel mailing list
>> > Spice-devel at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151015/7149935a/attachment.html>


More information about the Spice-devel mailing list