WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 21 Jul 2010 18:01:28 -0700
Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 21 Jul 2010 18:02:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100619175040.GQ17817@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BE49501.6000408@xxxxxxxx> <alpine.DEB.2.00.1005101537310.11380@kaball-desktop> <4BE86945.9050408@xxxxxxxx> <alpine.DEB.2.00.1005111154050.11380@kaball-desktop> <20100619154145.GM17817@xxxxxxxxxxx> <4C1CE6DE.8000602@xxxxxxxx> <20100619162213.GO17817@xxxxxxxxxxx> <4C1D00FA.2060907@xxxxxxxx> <20100619175040.GQ17817@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
On 06/19/2010 10:50 AM, Pasi Kärkkäinen wrote:
> On Sat, Jun 19, 2010 at 06:40:10PM +0100, Jeremy Fitzhardinge wrote:
>   
>> On 06/19/2010 05:22 PM, Pasi Kärkkäinen wrote:
>>     
>>> On Sat, Jun 19, 2010 at 04:48:46PM +0100, Jeremy Fitzhardinge wrote:
>>>   
>>>       
>>>> On 06/19/2010 04:41 PM, Pasi Kärkkäinen wrote:
>>>>     
>>>>         
>>>>> On Tue, May 11, 2010 at 11:56:38AM +0100, Stefano Stabellini wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> On Mon, 10 May 2010, Jeremy Fitzhardinge wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> On 05/10/2010 07:41 AM, Stefano Stabellini wrote:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> On Fri, 7 May 2010, Jeremy Fitzhardinge wrote:
>>>>>>>>   
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>>> On one of my host machines, in PV guests using pvfb I get proper
>>>>>>>>> absolute mouse tracking.
>>>>>>>>>
>>>>>>>>> On another host machine, I get relative tracking in pvfb-using guests.
>>>>>>>>>
>>>>>>>>> Both are using identical versions of Fedora 12, identical domain
>>>>>>>>> configs, and toolstacks and kernels built from the same source.  The 
>>>>>>>>> log
>>>>>>>>> files of the X servers are more or less identical.
>>>>>>>>>
>>>>>>>>> Help?  Any clues?
>>>>>>>>>
>>>>>>>>>     
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> relative vs absolute depends on a node on xenstore called
>>>>>>>> "request-abs-pointer" that defaults to 0 and has to be written by the
>>>>>>>> guest.
>>>>>>>>   
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>> OK, it looks like it is being set, but the guest is still showing
>>>>>>> relative behaviour:
>>>>>>>
>>>>>>>     vkbd = ""
>>>>>>>      0 = ""
>>>>>>>       backend = "/local/domain/0/backend/vkbd/5/0"
>>>>>>>       backend-id = "0"
>>>>>>>       state = "4"
>>>>>>>       page-ref = "1137660"
>>>>>>>       event-channel = "11"
>>>>>>>       request-abs-pointer = "1"
>>>>>>>
>>>>>>> Does this mean qemu-dm's vnc server is not doing the right thing?
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>  
>>>>>> I think is probably xenfb (that is the framebuffer backend in qemu) that
>>>>>> is not doing the right thing.
>>>>>> Try adding some debug output in hw/xenfb.c:input_connect.
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> Jeremy: Did you figure this out? I'm again seeing this problem on my 
>>>>> Fedora 13 + Xen 4.0.1-rc3-pre box..
>>>>>   
>>>>>       
>>>>>           
>>>> Yes, that should be fixed in current xen-unstable - it was a xenbus
>>>> race-condition.  What guest are you seeing it in?  I've found that I
>>>> still don't get absolute pointers in Centos guests.
>>>>
>>>>     
>>>>         
>>> Yeah, it's a CentOS 5.5 guest that gets relative pointer on my Fedora 13 
>>> dom0.
>>> On a CentOS5 dom0 it gets absolute though..
>>>
>>> Fedora 13 guest gets absolute pointer on my Fedora 13 dom0..
>>>   
>>>       
>> Huh, that is interesting.  Maybe there's still a race or something there...
>>
>>     
> Yeah.. maybe. Note that I'm running Xen 4.0.1-rc3-pre and not xen-unstable..
>   

I just got a Win7 hvm domain working for the first time in a while, and
found that it *isn't* getting proper abs updates.  I even set
usbdevice='tablet' in its config...

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel