[Spice-devel] keyboard and Mouse Fails....

Naga Mohan Pothula nagamohan.pothula at yahoo.com
Fri Dec 30 03:44:40 PST 2011


Hi Arnon,
 
Please find the attached VDAgent, VDService logs. I know RHEV Spice Agent is for handling Auto-conf for resolution adjustment, mouse support for multi-head monitors, and Clipboard functionality. In what scenarios Keyboard lock happens?
 
Keyboard/Mouse lock issue happens only with Windows guest connecing from Linux Spice client..(This is major issue that need to do system restart or close Xwindows session to restart Spice session)
 
Black screen issue happens with Windows/Linux guests connecting from Linux Spice client.
 
Can you please forward scratch build for vdagent? I see whether it may fix the issues at my environment.
 
 
Thanks,
Mohan.
 
 


________________________________
From: Arnon Gilboa <agilboa at redhat.com>
To: Naga Mohan Pothula <nagamohan.pothula at yahoo.com> 
Cc: Alon Levy <alevy at redhat.com>; David Jaša <djasa at redhat.com>; "spice-devel at lists.freedesktop.org" <spice-devel at lists.freedesktop.org>; Christophe Fergeau <cfergeau at redhat.com> 
Sent: Thursday, December 29, 2011 8:22 AM
Subject: Re: [Spice-devel] keyboard and Mouse Fails....

Hi Mohan, see below.

Naga Mohan Pothula wrote:
> Hi Alon,
> 
> Please refer my inline comments.
> 
> Thanks/Mohan.
> 
> 
> ________________________________
>  From: Alon Levy <alevy at redhat.com>
> To: Naga Mohan Pothula <nagamohan.pothula at yahoo.com> Cc: David Jaša <djasa at redhat.com>; "spice-devel at lists.freedesktop.org" <spice-devel at lists.freedesktop.org>; Christophe Fergeau <cfergeau at redhat.com> Sent: Wednesday, December 28, 2011 5:54 AM
> Subject: Re: [Spice-devel] keyboard and Mouse Fails....
>  On Tue, Dec 27, 2011 at 12:04:28PM -0800, Naga Mohan Pothula wrote:
>  
>>    Can anyone please respond on this?
>>    Thanks/Mohan.
>> 
>>    --------------------------------------------------------------------------
>> 
>>    From: Naga Mohan Pothula <nagamohan.pothula at yahoo.com>
>>    To: David Jaša <djasa at redhat.com>
>>    Cc: "spice-devel at lists.freedesktop.org"
>>    <spice-devel at lists.freedesktop.org>; Christophe Fergeau
>>    <cfergeau at redhat.com>
>>    Sent: Thursday, December 22, 2011 12:13 PM
>>    Subject: Re: [Spice-devel] keyboard and Mouse Fails....
>>    Hi,
>>    I'm facing severe below issues when connecting Windows guests from Linux
>>    clients with Full-screen+Auto-Config only        1.)    Keyboard/mouse lock issue happens when session is connected
>>    from guestגs shutdown/restart state.    
> 
> Are you running an agent in the guest? does this happen when not running
> an agent in the guest?
> Agent is running in the guest. These two Issues do not happen when Agent is not running in the guest.  
We have a patch fixing agent crash on connection during guest startup (on rare cases) and I can send you a scratch build.
Do you think it's the case? the agent crash locks the mouse but should have no effect on keyboard. Can you give more details about it?
Posting your %windir%\temp\vdagent.log & vdservice.log may help.
>  
>>        2.)    Black screen appears when session is reconnected from guestגs
>>    disconnected state.
>>    
> What does this mean? what's disconnected state? no client connected? so
> you connect from a linux client to a windows guest and you get a black
> screen? It means Spice client is not connected to guest. we don't see this issue if we specify "./spicec -h <ip addr> -p 5924"
> we see it only when we specify "./spicec -h <ip addr> -p 5924 --full-screen=auto-conf"
>  
Seems like for some reason the client doesn't get auto-conf ack from the guest agent. Does it timeout & exit after 30 sec?
This can also be the case if the agent crashed during startup. However, you say that without the --full-screen=auto-conf it works.
Please check in all cases if vdservice & vdagent processes are up.
> if that is the case can you give more details on the guest and
> 
> client, version of client, version of driver in guest, agent existance
> and if so version.
> Guest:
>        Windows 7 32/64 bit          QXL driver: built the code taken from spice git repository (v1.4.1.1)
>          VDAgent: built the code taken from spice git repository(v1.1.0.1009)
> Client:
>      Spice Client: v0.10.0
>      Client machine: Fedora14 Live image loaded into RAM.
> 
>  
>>    This issue would not be reproducible all the time from Linux Desktops but
>>    can be reproducible consistently if we load Fedora14 Live Image into RAM
>>    and launch Spice connection.
>>    Thanks,
>>    Naga.
>>    
> 
> I don't understand the last part - you only get those two issues when
> running a client from a fedora 14 live image? or is fedora14 related to the guest, in which case it contradicts the guest being windows?
> Yes. These two issues happen when Spice client running from Fedora 14 Live image connecting to Windows 7 guest.
> Steps to reproduce:
> 1.)Fedora14 Live image is loaded into RAM thru "live_ram" option for booting. we may not see these issues if we don't load into RAM.
> 2.)Spice session is launched with Full-Screen+Auto-config only.
>    ./spicec -h <ip addr> -p 5924 --full-screen=auto-conf        (we see issues)
>    ./spicec -h <ip addr> -p 5924                                            (we don't see issues)
>  
I will try to repro from F14 and update you.
>  
>>    --------------------------------------------------------------------------
>> 
>>    From: David Jaša <djasa at redhat.com>
>>    To: Naga Mohan Pothula <nagamohan.pothula at yahoo.com>
>>    Cc: Christophe Fergeau <cfergeau at redhat.com>;
>>    "spice-devel at lists.freedesktop.org" <spice-devel at lists.freedesktop.org>
>>    Sent: Tuesday, December 20, 2011 2:50 AM
>>    Subject: Re: [Spice-devel] keyboard and Mouse Fails....
>>    Naga Mohan Pothula píše v Po 19. 12. 2011 v 10:13 -0800:
>>    > We can move mouse over the guest but the guest doesn't respond for
>>    > user actions like mouse click.
>> 
>>    I've seen something similar that was caused by agent. Keyboard worked
>>    fine so I used it to restart agent service and everything started
>>    working normally. I was not able to make clear reproducer for this
>>    however, so if you have a reliable step-by-step one, it would be great
>> 
>>    David
>>    >
>>    > In the same way for keyboard actions. Client machine needs to get
>>    > restarted or close Xwindows to reconnect guest.
>>    > This issue happens only when we connect windows guest in fullscreen
>>    > mode with auto-conf from linux client(but not from windows client).
>>    > It doesn't happen if we connect guest in windowed mode.
>>    >
>>    >
>>    >
>>    >
>>    > Thanks/Mohan.
>>    >
>>    >
>>    >
>>    > ______________________________________________________________________
>>    > From: Christophe Fergeau <[1]cfergeau at redhat.com>
>>    > To: Naga Mohan Pothula <[2]nagamohan.pothula at yahoo.com>
>>    > Cc: "[3]spice-devel at lists.freedesktop.org"
>>    > <[4]spice-devel at lists.freedesktop.org>
>>    > Sent: Monday, December 19, 2011 3:20 AM
>>    > Subject: Re: [Spice-devel] keyboard and Mouse Fails....
>>    >
>>    > On Mon, Dec 19, 2011 at 12:32:47AM -0800, Naga Mohan Pothula wrote:
>>    > > Hi,
>>    > >
>>    > > Keyboard and Mouse failure happens when windows guests are connected
>>    > from linux client.
>>    >
>>    > What do you mean exactly by keyboard and mouse failures? You can't
>>    > type
>>    > anything nor move the mouse? Or do you observe a different kind of
>>    > failure?
>>    >
>>    > Christophe
>>    >
>>    >
>>    >
>>    > _______________________________________________
>>    > Spice-devel mailing list
>>    > [5]Spice-devel at lists.freedesktop.org
>>    > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>> 
>>    --
>> 
>>    David Jaša, RHCE
>> 
>>    SPICE QE based in Brno
>>    GPG Key:    22C33E24
>>    Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
>> 
>>    _______________________________________________
>>    Spice-devel mailing list
>>    [6]Spice-devel at lists.freedesktop.org
>>    [7]http://lists.freedesktop.org/mailman/listinfo/spice-devel
>> 
>> References
>> 
>>    Visible links
>>    1. mailto:cfergeau at redhat.com
>>    2. mailto:nagamohan.pothula at yahoo.com
>>    3. mailto:spice-devel at lists.freedesktop.org
>>    4. mailto:spice-devel at lists.freedesktop.org
>>    5. mailto:Spice-devel at lists.freedesktop.org
>>    6. mailto:Spice-devel at lists.freedesktop.org
>>    7. 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
>>    ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> 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/20111230/9b1eb356/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdagent.log
Type: application/octet-stream
Size: 8452 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111230/9b1eb356/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdservice.log
Type: application/octet-stream
Size: 2118 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111230/9b1eb356/attachment-0003.obj>


More information about the Spice-devel mailing list