Could someone please help verify this freerdp DirectFB cursor behavior
for me?
Steps to duplicate:
install directfb and a vncviewer using your packager
# clone and build freerdp as usual
mkdir <temporary build directory>
cd to <temporary build directory>
git clone https://github.com/FreeRDP/FreeRDP.git
cd FreeRDP
sh autogen.sh
./configure --with-dfb --with-x=no --with-xkbfile=no
--with-debug=no
make
su -c "make install"
# create a ~/.directfbrc file with this content:
depth=32
system=X11
mode=1024x768
autoflip-window
force-windowed
# might need this, I did:
# pixelformat=RGB24
# run
dfb/dfbfreerdp -a 16 --gdi sw SERVER
# in another terminal:
vncviewer :0
What cursor behavior do you see?
Thanks,
Gerry
On 06/06/2011 01:17 AM, Gerry Reno wrote:
> Tried every one of the mouse-protocol options in ~/.directfbrc.
>
> Still no go. They all produce this same behavior.
>
> The x-position follows perfectly and causes the y movement as well.
>
> The y-position does nothing in response to y-movement.
>
>
> Suggestions anyone?
>
>
>
>
> On 06/05/2011 11:54 PM, Gerry Reno wrote:
>
>> This call to a DirectFB function:
>>
>> dfb/dfb_event.c:40: dfbi->layer->GetCursorPosition(dfbi->layer,
>> &cursor_x, &cursor_y);
>>
>> is producing the strange results.
>>
>> The pointer follows a path on the screen somewhat like this in response
>> to mouse movements:
>>
>> ----------------------------------------------
>> |x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | x |
>> | xxxxxxxxxxxxxxxxxxxxxxxx|
>> ----------------------------------------------
>>
>> It's like it has the mouse inputs wrong.
>>
>>
>> Gerry
>>
>>
>>
>>
>>
>> On 06/05/2011 10:28 PM, Gerry Reno wrote:
>>
>>
>>> Still have the cursor problem.
>>>
>>> Does anything look abnormal with this DirectFB session?
>>>
>>> dfbfreerdp session:
>>>
>>> $ dfb/dfbfreerdp -a 16 --gdi sw 192.168.2.49
>>> starting thread 1 to 192.168.2.49:3389
>>> run_dfbfreerdp:
>>> keyboard_layout: 0
>>> connecting to 192.168.2.49:3389
>>> connecting to 192.168.2.49:3389
>>> connecting to 192.168.2.49:3389
>>> Standard RDP encryption negotiated
>>> 0000 00 00 00 00 73 01 21 00 00 00 0a 00 00 00 00 00 ....s.!.........
>>> 0010 00 00 00 00 67 00 72 00 65 00 6e 00 6f 00 00 00 ....g.r.e.n.o...
>>> 0020 00 00 00 00 00 00 02 00 1a 00 31 00 39 00 32 00 ..........1.9.2.
>>> 0030 2e 00 31 00 36 00 38 00 2e 00 31 00 2e 00 32 00 ..1.6.8...1...2.
>>> 0040 35 00 00 00 40 00 43 00 3a 00 5c 00 57 00 69 00 [email protected].:.\.W.i.
>>> 0050 6e 00 64 00 6f 00 77 00 73 00 5c 00 53 00 79 00 n.d.o.w.s.\.S.y.
>>> 0060 73 00 74 00 65 00 6d 00 33 00 32 00 5c 00 6d 00 s.t.e.m.3.2.\.m.
>>> 0070 73 00 74 00 73 00 63 00 61 00 78 00 2e 00 64 00 s.t.s.c.a.x...d.
>>> 0080 6c 00 6c 00 00 00 00 00 00 00 45 00 44 00 54 00 l.l.......E.D.T.
>>> 0090 2c 00 20 00 53 00 74 00 61 00 6e 00 64 00 61 00 ,. .S.t.a.n.d.a.
>>> 00a0 72 00 64 00 20 00 54 00 69 00 6d 00 65 00 00 00 r.d. .T.i.m.e...
>>> 00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 00d0 00 00 00 00 00 00 00 00 00 00 c4 ff ff ff 45 00 ..............E.
>>> 00e0 44 00 54 00 2c 00 20 00 53 00 75 00 6d 00 6d 00 D.T.,. .S.u.m.m.
>>> 00f0 65 00 72 00 20 00 54 00 69 00 6d 00 65 00 00 00 e.r. .T.i.m.e...
>>> 0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0130 00 00 00 00 00 00 07 00 00 00 00 00 ............
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.9
>>> |~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> (c) 2001-2008 The world wide DirectFB Open Source Community
>>> (c) 2000-2004 Convergence (integrated media) GmbH
>>> ----------------------------------------------------------------
>>>
>>> (*) DirectFB/Core: Single Application Core. (2009-09-01 08:13)
>>> (*) Direct/Memcpy: Using Generic 64bit memcpy()
>>> (*) DirectFB/Input: VNC Input 0.1 (Leonard Schneider)
>>> (*) DirectFB/Genefx: MMX detected and enabled
>>> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
>>> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
>>> 05/06/2011 21:43:23 Listening for VNC connections on TCP port 5900
>>> (*) Direct/Thread: Started 'VNC Output' (-1) [OUTPUT OTHER/OTHER
>>> 0/0] <10485760>...
>>> (*) Direct/Thread: Started 'EventBufferFeed' (-1) [MESSAGING
>>> OTHER/OTHER 0/0] <10485760>...
>>> 0000 b0 01 13 00 ec 03 ea 03 01 00 ea 03 06 00 9a 01 ................
>>> 0010 4d 53 54 53 43 00 0f 00 00 00 01 00 18 00 01 00 MSTSC...........
>>> 0020 03 00 00 02 00 00 00 00 0d 04 00 00 00 00 00 00 ................
>>> 0030 00 00 02 00 1c 00 08 00 01 00 01 00 01 00 00 04 ................
>>> 0040 00 03 00 00 01 00 01 00 00 01 01 00 00 00 03 00 ................
>>> 0050 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 X...............
>>> 0060 00 00 00 00 00 00 01 00 14 00 00 00 01 00 00 00 ................
>>> 0070 2a 00 01 01 01 01 00 00 00 00 01 01 00 00 00 00 *...............
>>> 0080 00 00 01 00 01 01 00 00 01 00 01 00 00 01 00 00 ................
>>> 0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 00a0 00 00 e4 04 00 00 13 00 28 00 02 00 00 03 78 00 ........(.....x.
>>> 00b0 00 00 78 00 00 00 50 01 00 00 00 00 00 00 00 00 ..x...P.........
>>> 00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 ................
>>> 00d0 08 00 06 00 00 00 07 00 0c 00 00 00 00 00 00 00 ................
>>> 00e0 00 00 05 00 0c 00 00 00 00 00 02 00 02 00 08 00 ................
>>> 00f0 0a 00 01 00 14 00 14 00 09 00 08 00 00 00 00 00 ................
>>> 0100 0d 00 58 00 35 00 00 00 00 00 00 00 00 00 00 00 ..X.5...........
>>> 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>>> 0150 00 00 00 00 00 00 00 00 0f 00 08 00 02 00 00 00 ................
>>> 0160 0c 00 08 00 01 00 00 00 0e 00 08 00 01 00 00 00 ................
>>> 0170 11 00 0c 00 01 00 00 00 00 1e 64 00 10 00 34 00 ..........d...4.
>>> 0180 fe 00 04 00 fe 00 04 00 fe 00 08 00 fe 00 08 00 ................
>>> 0190 fe 00 10 00 fe 00 20 00 fe 00 40 00 fe 00 80 00 ...... ...@.....
>>> 01a0 fe 00 00 01 40 00 00 08 40 00 00 08 02 00 00 00 ....@...@.......
>>> 0000 16 00 17 00 ec 03 ea 03 01 00 00 01 08 00 1f 00 ................
>>> 0010 00 00 01 00 ea 03 ......
>>> 0000 1a 00 17 00 ec 03 ea 03 01 00 00 01 0c 00 14 00 ................
>>> 0010 00 00 04 00 00 00 00 00 00 00 ..........
>>> 0000 1a 00 17 00 ec 03 ea 03 01 00 00 01 0c 00 14 00 ................
>>> 0010 00 00 01 00 00 00 00 00 00 00 ..........
>>> 0000 1a 00 17 00 ec 03 ea 03 01 00 00 01 0c 00 27 00 ..............'.
>>> 0010 00 00 00 00 00 00 03 00 32 00 ........2.
>>> DBG process_new_pointer_pdu (1062):
>>> DBG process_color_pointer_common (1001): cursor = -402446064
>>>
>>> DBG cache_put_cursor (354):
>>> DBG process_cached_pointer_pdu (1024):
>>> DBG process_new_pointer_pdu (1062):
>>> DBG process_color_pointer_common (1001): cursor = -402462992
>>>
>>> DBG cache_put_cursor (354):
>>> DBG process_cached_pointer_pdu (1024):
>>> 05/06/2011 21:43:32 Got connection from client 127.0.0.1
>>> 05/06/2011 21:43:32 other clients:
>>> 05/06/2011 21:43:32 Client Protocol Version 3.8
>>> 05/06/2011 21:43:32 Protocol version sent 3.8, using 3.8
>>> 05/06/2011 21:43:32 rfbProcessClientSecurityType: executing handler
>>> for type 1
>>> 05/06/2011 21:43:32 rfbProcessClientSecurityType: returning
>>> securityResult for client rfb version >= 3.8
>>> 05/06/2011 21:43:32 Pixel format for client 127.0.0.1:
>>> 05/06/2011 21:43:32 32 bpp, depth 24, little endian
>>> 05/06/2011 21:43:32 true colour: max r 255 g 255 b 255, shift r 16
>>> g 8 b 0
>>> 05/06/2011 21:43:32 Enabling full-color cursor updates for client
>>> 127.0.0.1
>>> 05/06/2011 21:43:32 Enabling NewFBSize protocol extension for client
>>> 127.0.0.1
>>> 05/06/2011 21:43:32 rfbProcessClientNormalMessage: ignoring
>>> unsupported encoding type Enc(0xFFFFFECC)
>>> 05/06/2011 21:43:32 rfbProcessClientNormalMessage: ignoring
>>> unsupported encoding type Enc(0xFFFFFECD)
>>> 05/06/2011 21:43:32 Enabling LastRect protocol extension for client
>>> 127.0.0.1
>>> 05/06/2011 21:43:32 Using image quality level 8 for client 127.0.0.1
>>> 05/06/2011 21:43:32 Using tight encoding for client 127.0.0.1
>>> DBG dfb_process_event (41): cursor_x: 100
>>> DBG dfb_process_event (42): cursor_y: 384
>>> ...
>>>
>>>
>>>
>>> And here's the vnc client session:
>>>
>>> $ vncviewer localhost:0
>>>
>>> TigerVNC Viewer for X version 0.0.90 - built May 21 2009 08:32:39
>>> Copyright (C) 2002-2005 RealVNC Ltd.
>>> Copyright (C) 2000-2006 TightVNC Group
>>> Copyright (C) 2004-2009 Peter Astrand for Cendio AB
>>> See http://www.tigervnc.org for information on TigerVNC.
>>>
>>> Sun Jun 5 21:58:54 2011
>>> CConn: connected to host localhost port 5900
>>> CConnection: Server supports RFB protocol version 3.8
>>> CConnection: Using RFB protocol version 3.8
>>> TXImage: Using default colormap and visual, TrueColor, depth 24.
>>> CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
>>> CConn: Using Tight encoding
>>>
>>>
>>>
>>>
>>> Gerry
>>>
>>>
>>>
>>>
>>> On 06/05/2011 08:21 PM, Gerry Reno wrote:
>>>
>>>
>>>> On 06/05/2011 08:10 PM, Gerry Reno wrote:
>>>>
>>>>
>>>>
>>>>> Is anyone else running the latest code and DirectFB?
>>>>>
>>>>> When I access the DirectFB VNC session the cursor Y-axis moves opposite
>>>>> of the pointer motion. X-axis is fine.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Correction:
>>>> cursor motion on Y-axis results in no movement of pointer.
>>>> cursor motion on X-axis results in diagonal movement of pointer
>>>> (top-left to bottom-right)
>>>>
>>>>
>>>>
>>>>
>>>>> Can anyone verify this behavior with current tree?
>>>>>
>>>>>
>>>>> Gerry
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Simplify data backup and recovery for your virtual environment with
>>>>> vRanger.
>>>>> Installation's a snap, and flexible recovery options mean your data is
>>>>> safe,
>>>>> secure and there when you need it. Discover what all the cheering's about.
>>>>> Get your free trial download today.
>>>>> http://p.sf.net/sfu/quest-dev2dev2
>>>>> _______________________________________________
>>>>> Freerdp-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> Simplify data backup and recovery for your virtual environment with
>>>> vRanger.
>>>> Installation's a snap, and flexible recovery options mean your data is
>>>> safe,
>>>> secure and there when you need it. Discover what all the cheering's about.
>>>> Get your free trial download today.
>>>> http://p.sf.net/sfu/quest-dev2dev2
>>>> _______________________________________________
>>>> Freerdp-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>>>
>>>>
>>>>
>>>>
>>> ------------------------------------------------------------------------------
>>> Simplify data backup and recovery for your virtual environment with vRanger.
>>> Installation's a snap, and flexible recovery options mean your data is safe,
>>> secure and there when you need it. Discover what all the cheering's about.
>>> Get your free trial download today.
>>> http://p.sf.net/sfu/quest-dev2dev2
>>> _______________________________________________
>>> Freerdp-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>>
>>>
>>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Discover what all the cheering's about.
>> Get your free trial download today.
>> http://p.sf.net/sfu/quest-dev2dev2
>> _______________________________________________
>> Freerdp-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Freerdp-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Freerdp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel