[Spice-devel] Mouse not working with agent

Damien Churchill damoxc at gmail.com
Fri Sep 23 03:04:39 PDT 2011


On 23 September 2011 10:28, Hans de Goede <hdegoede at redhat.com> wrote:
> Hi,
>
> On 09/23/2011 11:10 AM, Damien Churchill wrote:
>>
>> On 22 September 2011 22:48, Marc-André Lureau
>> <marcandre.lureau at gmail.com>  wrote:
>>>
>>> So if the server is slow or hanging, you'll most likely get this
>>> message. In theory, the ack messages are indepedent of the agent, as
>>> they are handled directly by spice server (before the event is
>>> forwarded to the agent or handled by a tablet etc..). But I might miss
>>> a more complex case.
>>>
>>> Feel free to give us more details on how you reached that warning.
>>>
>>
>> Unfortunately I can't seem to be able to reproduce this specific
>> error. Examining a log I have from where it has hung completely
>> (keyboard, mouse and display updates) I'm seeing this error but as you
>> said that'll be due to the connection hanging.
>>
>> Could it be possible that the channel for the agent stops responding.
>> I noticed that if I used the keyboard to disable the vdagent service
>> then it was possible to use the server-based mouse. Just as soon as
>> the agent was enabled the mouse events stopped propagating and the
>> SPICE_INPUT_MOTION_ACK_BUNCH messages started spewing.
>>
>> Sorry I'm not really able to give many more details than that. The log
>> containing the run up the complete hang including those messages is
>> available though, if it's any use you can find it at:
>> http://damoxc.net/vviewer-last-hang.log.gz
>
> Hmm, which version / build of qemu are you using, home build? And if so
> from where? Or distro packages and if so from which distro and which
> version?
>
> Regards,
>
> Hans
>

This is using Ubuntu 11.04, I've built my own version of
qemu-kvm-0.15, updating the package available to 0.15 and installed
that way. SPICE is version 0.9.1, spice-gtk is 0.7. vdagent and qxl
are both the latest available for download on spice-space.org. Guest
is Windows 7 SP1 x64. All the packages are available on Launchpad [0],
not that that matters.

I was about to try adding the patches from
http://cgit.freedesktop.org/~jwrdegoede/qemu to my package to see if
that improves things. I've been experiencing the spice_chr_write:
Assertion `s->datalen == 0' failed error intermittently as well so
worth it just for that.

Thanks,
Damien

[0] https://launchpad.net/~ukplc-team/+archive/ppa/+packages


More information about the Spice-devel mailing list