企鹅 | 12 Sep 12:47 2013

Failed run multi app on arm platform

Hill all.
I am trying to run directfb on arm platform with milti app support
I have built/installed linux-fusion-9.0.2 and and DirectFB 1.7.0

I have the /dev/fusion0 ../dev/fusion31 with crw------- rights
And /dev/fusion/0 .. /31 with crw-rw---- rights

When launching my second application a have the following log:

# ./simple --dfb:force-windowed
sh: nm: not found
(*) Direct/Thread: Started 'SigHandler' (145) [CRITICAL - OTHER/0] <8388608>...

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2012-2013  DirectFB integrated media GmbH
        (c) 2001-2013  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (2013-09-11 21:34) [ DEBUG ][ TRACE ]
(*) Direct/Memcpy: Using libc memcpy()
(*) Fusion/SHM: Using MADV_REMOVE (2.6.32.9 >= 2.6.19.2)
(*) Fusion/SHM: Shared root (0) is 1440 bytes [0x1000 <at> 0x20000000]
(*) Direct/Thread: Started 'Fusion Dispatch' (146) [MESSAGING - OTHER/0] <8388608>...
(*) Direct/Thread: Started 'Fusion Deferred' (147) [MESSAGING - OTHER/0] <8388608>...
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(!) [Main Thread     461.791] (  143) *** Assertion [(shared) != NULL] failed *** [fusion.c:105 in _fusion_fd()]
sh: nm: not found
(-) [  143: -STACK- 'Main Thread']
  #0  0x40405c6c in _fusion_fd () from /usr/directfb/dfb/libfusion-1.7.so.0 [0x403f8000]
  #1  0x4040fec8 in fusion_skirmish_prevail () from /usr/directfb/dfb/libfusion-1.7.so.0 [0x403f8000]
  #2  0x41f9a624 in ?? () from /usr/directfb/dfb/directfb-1.7-0//wm/libdirectfbwm_default.so [0x41f90000]
  #3  0x41f9b180 in ?? () from /usr/directfb/dfb/directfb-1.7-0//wm/libdirectfbwm_default.so [0x41f90000]
  #4  0x41fa9168 in ?? () from /usr/directfb/dfb/directfb-1.7-0//wm/libdirectfbwm_default.so [0x41f90000]
  #5  0x40234ed4 in dfb_wm_set_window_config () from /usr/directfb/dfb/libdirectfb-1.7.so.0 [0x40028000]
  #6  0x4021cedc in dfb_window_set_config () from /usr/directfb/dfb/libdirectfb-1.7.so.0 [0x40028000]
  #7  0x400eff80 in _ZN8DirectFB12IWindow_Real9SetConfigEPK22__DFB_CoreWindowConfigPK23DFBInputDeviceKeySymbolj20DFBWindowConfigFlags () from /usr/directfb/dfb/libdirectfb-1.7.so.0 [0x40028000]
  #8  0x400eb9c8 in CoreWindow_SetConfig () from /usr/directfb/dfb/libdirectfb-1.7.so.0 [0x40028000]
  #9  0x4025bf7c in ?? () from /usr/directfb/dfb/libdirectfb-1.7.so.0 [0x40028000]

(-) [Main Thread      461.830,193] (  143) Direct/Trap:               Raising signal 5 from Assertion...
(-) [Main Thread      461.830,683] (  143) Direct/Trap:               ...tgkill(5) on ourself returned, maybe blocked, calling abort()!
Aborted

Any idea on what I can be missing to make this work properly?

Regards

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Eric Trousset | 10 Sep 15:03 2013

Using shared memory

Hi all.

I am trying to share a Sureface between to application. I am usin Ubuntu Linux.

 

I have built/installed linux-fusion-9.0.2 and and DirectFB 1.4.2 as the other guys in the team use this version.

 

I have the /dev/fusion0 ../dev/fusion31 with crw------- rights

And /dev/fusion/0 .. /31 with crw-rw---- rights

 

When launching my application a have the following log :

 

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.2 |~~~~~~~~~~~~~~~~~~~~~~~~~~

        (c) 2001-2009  The world wide DirectFB Open Source Community

        (c) 2000-2004  Convergence (integrated media) GmbH

      ----------------------------------------------------------------

 

(*) DirectFB/Core: Multi Application Core. (2013-09-10 10:11) [ DEBUG ][ TRACE ]

(*) Fusion/SHM: Using MADV_REMOVE (3.8.0.0 >= 2.6.19.2)

(!!!)  *** WARNING [Fusion/SHM: Changing owner on /run/lock/fusion.1.1 failed... continuing on.] *** [heap.c:639 in __shmalloc_init_heap()]

(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>...

(!!!)  *** WARNING [Fusion/SHM: Changing owner on /run/lock/fusion.1.2 failed... continuing on.] *** [heap.c:639 in __shmalloc_init_heap()]

(!!!)  *** WARNING [Fusion/SHM: Changing owner on /run/lock/fusion.1.3 failed... continuing on.] *** [heap.c:639 in __shmalloc_init_heap()]

(!!!)  *** WARNING [Fusion/SHM: Changing owner on /run/lock/fusion.1.4 failed... continuing on.] *** [heap.c:639 in __shmalloc_init_heap()]

(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...

(!!!)  *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it has been calibrated using 'jscal -c'

] *** [joystick.c:99 in joystick_handle_event()]

(*) DirectFB/Input: Joystick (1) 0.9 (directfb.org)

(!) [Main Thread       0.042] ( 3742) *** Assertion [size > 0] failed *** [pool.c:298 in fusion_shm_pool_allocate()]

(!) [ 3742:    0.042] --> Caught signal 5 (unknown origin) <--

(!) [Main Thread       0.043] ( 3742) *** Assertion [(shared) != NULL] failed *** [fusion.c:96 in _fusion_fd()]

(!) [ 3742:    0.043] --> Caught signal 5 (unknown origin) <--

Trace/breakpoint trap (core dumped)

 

Any idea on what I can be missing to make this work properly?

 

Regards,

Eric

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Krzysztof Konopko | 6 Sep 16:33 2013

++DFB: Missing APIs

Hi,

I wonder whether APIs are added to ++DFB on a as-needed basis.  If that's the case, can you add `IDirectFBSurface::SetRenderOptions()` and `IDirectFBWindow::[GS]etApplicationID()`?

Patches attached.

I'd like to use ++DFB in a production environment but I miss these three methods.

Cheers,
Kris
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Picon

Naveen Kumar, please add me to your LinkedIn network

 
 
 
 
 
 
Hi Naveen Kumar,
 
I'd like to connect with you on LinkedIn.
 
Anouar Abdelbari
 
Ingénieur Téléinformatique
 
 
 
 
You are receiving Invitation emails. Unsubscribe.
 
This email was intended for Naveen Kumar B T (CPU Validation Engineer at Intel India). Learn why we included this. © 2013, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
 
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Sujatha | 20 Aug 16:44 2013
Picon

Surface Memory deallocation

Hi ,
 I used DFB 1.6.1 . I create surface using dfb->CreateSurface with DSDESC_PREALLOCATED. When the memory allocated through dfb_surface_buffer_create via CreateSurface is released. I don't see this memory getting released after dfb->release(surface). Please advice. Is there a API to release the memory?


Regards,
rthilag
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Zoran Plesivčak | 8 Aug 17:01 2013
Picon

Newer GNU toolchain doesn't compile directFB examples as it should?

Hello,

I've been trying to run directFB on Xilinx boards with Zynq-ARM processor. I've compiled the directFB with directFB-examples with the older Codesourcery compiler (arm-xilinx-linux-gnueabi toolchain; version 2011.09-50 of Xilinx SDK) and examples work flawlessly.

I've wanted to move to the newer compiler since the one I mentioned above is very old. When I compile directFB with newest compiler (2013.02 of Xilinx SDK) examples can't be started and "df_dok" example exits with this message:

    zynq> ./df_dok
    (*) Direct/Thread: Started 'SigHandler' (808) [CRITICAL - OTHER/0] <8388608>...

       ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
            (c) 2012-2013  DirectFB integrated media GmbH
            (c) 2001-2013  The world wide DirectFB Open Source Community
            (c) 2000-2004  Convergence (integrated media) GmbH
          ----------------------------------------------------------------

    (*) DirectFB/Core: Multi Application Core. (2013-08-08 09:10) [ DEBUG ]
    (*) Direct/Memcpy: Using libc memcpy()
    (*) Fusion/SHM: Using MADV_REMOVE (3.8.0.0 >= 2.6.19.2)
    (*) Fusion/SHM: Shared root (0) is 1440 bytes [0x1000 <at> 0x20000000]
    (*) Direct/Thread: Started 'Fusion Dispatch' (809) [MESSAGING - OTHER/0] <838860
    8>...
    (*) Direct/Thread: Started 'Fusion Deferred' (810) [MESSAGING - OTHER/0] <838860
    8>...
    (*) Direct/Thread: Started 'Linux Input' (811) [INPUT - OTHER/0] <8388608>...
    (*) DirectFB/Input: Logitech USB Keyboard (1) 0.1 (directfb.org)
    (*) Direct/Thread: Started 'Linux Input' (812) [INPUT - OTHER/0] <8388608>...
    (*) DirectFB/Input: Logitech USB Keyboard (2) 0.1 (directfb.org)
    (*) Direct/Thread: Started 'Hotplug with Linux Input' (813) [INPUT - OTHER/0] <8
    388608>...
    (*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
    ___ driver_probe accelerator_no = 0
    (*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
    (*) Direct/Thread: Started 'Dummy Display' (814) [OUTPUT - OTHER/0] <8388608>...
    (*) DirectFB/Core/WM: SaWMan 0.2 (directfb.org)
    (*) Direct/Thread: Started 'Genefx' (815) [DEFAULT - OTHER/0] <8388608>...
    (*) SaWMan: Initializing stack 0x2109a800 for tier 0x224b3000, 0x0, layer 0, con
    text 0x20091000 [537464864]...
    (*) SaWMan/Init: Layer  0:  8x8, ARGB, options: 0
    (*) SaWMan/Init: Border 0:  8x8, ARGB, options: 8
    (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
    (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
    /home/zplesivcak/build_scripts/directFB/DirectFB-examples-1.7.0/src/df_dok.c <18
    62>:
            (#) DirectFBError [dfb->CreateSurface( dfb, &dsc, &swirl )]: An invalid
    argument has been specified
     (!!!)  *** WARNING [Application exited without deinitialization of DirectFB!] *
    ** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/core/core.c:1635
    in dfb_core_deinit_check()]
    Interface instances remaining (9):
      - 'IDirectFB' at 0x2bbc0 (dfb) allocated in DirectFBCreate (/home/zplesivcak/b
    uild_scripts/directFB/DirectFB-1.7.0/src/directfb.c: 221)
      - 'IDirectFBEventBuffer' at 0x32ed8 (iface) allocated in IDirectFB_CreateInput
    EventBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectf
    b.c: 1362)
      - 'IDirectFBSurface' at 0x33610 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1020)
      - 'IDirectFBSurface' at 0x4da48 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBFont' at 0x4ef70 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBFont' at 0x60640 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBSurface' at 0x70d18 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBDataBuffer' at 0x60548 (iface) allocated in IDirectFB_CreateDataBu
    ffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 15
    37)
      - 'IDirectFBImageProvider' at 0x512c8 (imageprovider) allocated in IDirectFBIm
    ageProvider_CreateFromBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1
    .7.0/src/media/idirectfbimageprovider.c: 213)
    (!) DirectFB/Core: Some objects remain alive, application or internal ref counti
    ng issue!
    (-) [Main Thread       20.764,799] (  806) DirectFB/Core:               - Object
    s in 'GraphicsState Pool' -
    (-) [Main Thread       20.765,076] (  806) DirectFB/Core:                     0x
    20093800 [id 3] ref 0x20093820 (single 1) identity 1 owners[] {flags 0x00000000,
     modified 0x3f3fffff, mod_hw 0x00000000, dest NULL, source NULL}
    (-) [Main Thread       20.765,168] (  806) DirectFB/Core:                     0x
    20095000 [id 4] ref 0x20095020 (single 1) identity 1 owners[] {flags 0x00000000,
     modified 0x3f3fffff, mod_hw 0x00000000, dest NULL, source NULL}
    (-) [Main Thread       20.765,278] (  806) DirectFB/Core:                     0x
    20095800 [id 5] ref 0x20095820 (single 1) identity 1 owners[] {flags 0x00000000,
     modified 0x3f3fffff, mod_hw 0x00000000, dest NULL, source NULL}
    (-) [Main Thread       20.765,334] (  806) DirectFB/Core:               - Object
    s in 'Layer Context Pool' -
    (-) [Main Thread       20.765,407] (  806) DirectFB/Core:                     0x
    20091000 [id 1] ref 0x20091020 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.765,463] (  806) DirectFB/Core:                     0x
    20091400 [id 2] ref 0x20091420 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.765,499] (  806) DirectFB/Core:               - Object
    s in 'Layer Region Pool' -
    (-) [Main Thread       20.765,555] (  806) DirectFB/Core:                     0x
    20092000 [id 1] ref 0x20092020 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.765,610] (  806) DirectFB/Core:                     0x
    20092c00 [id 2] ref 0x20092c20 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.765,647] (  806) DirectFB/Core:               - Object
    s in 'Palette Pool' -
    (-) [Main Thread       20.765,684] (  806) DirectFB/Core:               - Object
    s in 'Surface Pool' -
    (-) [Main Thread       20.765,739] (  806) DirectFB/Core:                     0x
    20091c00 [id 1] ref 0x20091c20 (single 2) identity 1 owners[] {}
    (-) [Main Thread       20.765,794] (  806) DirectFB/Core:                     0x
    20094000 [id 2] ref 0x20094020 (single 3) identity 1 owners[] {}
    (-) [Main Thread       20.765,831] (  806) DirectFB/Core:                     0x
    20094800 [id 3] ref 0x20094820 (single 2) identity 1 owners[] {}
    (-) [Main Thread       20.765,887] (  806) DirectFB/Core:                     0x
    20096000 [id 4] ref 0x20096020 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.765,942] (  806) DirectFB/Core:                     0x
    20096800 [id 5] ref 0x20096820 (single 2) identity 1 owners[] {}
    (-) [Main Thread       20.765,979] (  806) DirectFB/Core:               - Object
    s in 'Surface Allocation Pool' -
    (-) [Main Thread       20.766,034] (  806) DirectFB/Core:                     0x
    20091800 [id 1] ref 0x20091820 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,089] (  806) DirectFB/Core:                     0x
    20094400 [id 3] ref 0x20094420 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,163] (  806) DirectFB/Core:                     0x
    20096c00 [id 4] ref 0x20096c20 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,218] (  806) DirectFB/Core:                     0x
    20096400 [id 5] ref 0x20096420 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,255] (  806) DirectFB/Core:               - Object
    s in 'Surface Buffer Pool' -
    (-) [Main Thread       20.766,310] (  806) DirectFB/Core:                     0x
    20092e00 [id 1] ref 0x20092e20 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,366] (  806) DirectFB/Core:                     0x
    20092a00 [id 2] ref 0x20092a20 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,421] (  806) DirectFB/Core:                     0x
    20092800 [id 3] ref 0x20092820 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,458] (  806) DirectFB/Core:                     0x
    20092600 [id 4] ref 0x20092620 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,513] (  806) DirectFB/Core:                     0x
    20092400 [id 5] ref 0x20092420 (single 1) identity 1 owners[] {}
    (-) [Main Thread       20.766,550] (  806) DirectFB/Core:               - Object
    s in 'Surface Client Pool' -
    (-) [Main Thread       21.099,933] (  806) DirectFB/Core:               - Object
    s in 'Window Pool' -
    Interface instances remaining (9):
      - 'IDirectFB' at 0x2bbc0 (dfb) allocated in DirectFBCreate (/home/zplesivcak/b
    uild_scripts/directFB/DirectFB-1.7.0/src/directfb.c: 221)
      - 'IDirectFBEventBuffer' at 0x32ed8 (iface) allocated in IDirectFB_CreateInput
    EventBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectf
    b.c: 1362)
      - 'IDirectFBSurface' at 0x33610 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1020)
      - 'IDirectFBSurface' at 0x4da48 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBFont' at 0x4ef70 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBFont' at 0x60640 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBSurface' at 0x70d18 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBDataBuffer' at 0x60548 (iface) allocated in IDirectFB_CreateDataBu
    ffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 15
    37)
      - 'IDirectFBImageProvider' at 0x512c8 (imageprovider) allocated in IDirectFBIm
    ageProvider_CreateFromBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1
    .7.0/src/media/idirectfbimageprovider.c: 213)
     (!!!)  *** WARNING [zombie 0x20092c00 [2], refs 1 (in Layer Region Pool) => ref
     id 0x20092c20] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib/
    fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20091000 [1], refs 1 (in Layer Context Pool) => re
    f id 0x20091020] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib
    /fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20091400 [2], refs 1 (in Layer Context Pool) => re
    f id 0x20091420] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib
    /fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20093800 [3], refs 1 (in GraphicsState Pool) => re
    f id 0x20093820] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib
    /fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20095000 [4], refs 1 (in GraphicsState Pool) => re
    f id 0x20095020] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib
    /fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20095800 [5], refs 1 (in GraphicsState Pool) => re
    f id 0x20095820] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib
    /fusion/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20094000 [2], refs 2 (in Surface Pool) => ref id 0
    x20094020] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib/fusio
    n/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20094800 [3], refs 2 (in Surface Pool) => ref id 0
    x20094820] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib/fusio
    n/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20096000 [4], refs 1 (in Surface Pool) => ref id 0
    x20096020] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib/fusio
    n/object.c:284 in fusion_object_pool_destroy()]
     (!!!)  *** WARNING [zombie 0x20096800 [5], refs 2 (in Surface Pool) => ref id 0
    x20096820] *** [/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/lib/fusio
    n/object.c:284 in fusion_object_pool_destroy()]
    Interface instances remaining (9):
      - 'IDirectFB' at 0x2bbc0 (dfb) allocated in DirectFBCreate (/home/zplesivcak/b
    uild_scripts/directFB/DirectFB-1.7.0/src/directfb.c: 221)
      - 'IDirectFBEventBuffer' at 0x32ed8 (iface) allocated in IDirectFB_CreateInput
    EventBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectf
    b.c: 1362)
      - 'IDirectFBSurface' at 0x33610 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1020)
      - 'IDirectFBSurface' at 0x4da48 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBFont' at 0x4ef70 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBFont' at 0x60640 (ifont) allocated in IDirectFBFont_CreateFromBuff
    er (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/media/idirectfbfo
    nt.c: 1017)
      - 'IDirectFBSurface' at 0x70d18 (iface) allocated in IDirectFB_CreateSurface (
    /home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 1100)
      - 'IDirectFBDataBuffer' at 0x60548 (iface) allocated in IDirectFB_CreateDataBu
    ffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1.7.0/src/idirectfb.c: 15
    37)
      - 'IDirectFBImageProvider' at 0x512c8 (imageprovider) allocated in IDirectFBIm
    ageProvider_CreateFromBuffer (/home/zplesivcak/build_scripts/directFB/DirectFB-1
    .7.0/src/media/idirectfbimageprovider.c: 213)


For reference, here is the successful run when compiled with older compiler:

    zynq> ./df_dok
    (*) Direct/Thread: Started 'SigHandler' (807) [CRITICAL - OTHER/0] <8388608>...

       ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
            (c) 2012-2013  DirectFB integrated media GmbH
            (c) 2001-2013  The world wide DirectFB Open Source Community
            (c) 2000-2004  Convergence (integrated media) GmbH
          ----------------------------------------------------------------

    (*) DirectFB/Core: Multi Application Core. (2013-07-31 14:40)
    (*) Direct/Memcpy: Using libc memcpy()
    (*) Fusion/SHM: Using MADV_REMOVE (3.8.0.0 >= 2.6.19.2)
    (*) Fusion/SHM: Shared root (0) is 1440 bytes [0x1000 <at> 0x20000000]
    (*) Direct/Thread: Started 'Fusion Dispatch' (808) [MESSAGING - OTHER/0] <838860
    8>...
    (*) Direct/Thread: Started 'Fusion Deferred' (809) [MESSAGING - OTHER/0] <838860
    8>...
    (*) Direct/Thread: Started 'VT Switcher' (812) [CRITICAL - OTHER/0] <8388608>...
    (*) Direct/Thread: Started 'VT Flusher' (813) [DEFAULT - OTHER/0] <8388608>...
    (*) DirectFB/FBDev: Found 'Xylon FB1' (ID 0) with frame buffer at 0x31fa4000, 25
    920k (MMIO 0x40030000, 24k)
    (*) Direct/Thread: Started 'Linux Input' (814) [INPUT - OTHER/0] <8388608>...
    (*) DirectFB/Input: Logitech USB Keyboard (1) 0.1 (directfb.org)
    (*) Direct/Thread: Started 'Linux Input' (815) [INPUT - OTHER/0] <8388608>...
    (*) DirectFB/Input: Logitech USB Keyboard (2) 0.1 (directfb.org)
    (*) Direct/Thread: Started 'Hotplug with Linux Input' (816) [INPUT - OTHER/0] <8
    388608>...
    (*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
    ___ driver_probe accelerator_no = 0
    (*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
    (*) DirectFB/Core/WM: SaWMan 0.2 (directfb.org)
    (*) Direct/Thread: Started 'Genefx' (817) [DEFAULT - OTHER/0] <8388608>...
    (*) SaWMan: Initializing stack 0x2109a800 for tier 0x224b3000, 0x0, layer 0, con
    text 0x20091000 [537464864]...
    (*) SaWMan/Init: Layer  0:  1024x768, ARGB, options: 0
    (*) SaWMan/Init: Border 0:  1024x768, ARGB, options: 8
    (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
    (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
    (*) FBDev/Mode: Setting 1024x768 ARGB
    (*) FBDev/Mode: Switched to 1024x768 (virtual 1024x768) at 32 bit (ARGB), pitch
    8192
    (*) Direct/Interface: Using 'GIF' implementation of 'IDirectFBImageProvider'.

    Benchmarking 256x256 on 1024x743 ARGB (32bit)...

    Anti-aliased Text                              3.039 secs (   88.845 KChars/sec)
     [100.3%]
    ^C(!) [SigHandler        35.468,834] (  807) Direct/Signals:                -->
    Caught signal 2 (sent by the kernel) <--
    Anti-aliased Text (blend)                      3.000 secs ( 1371.600 KChars/sec)
     [100.0%]
    ...

Can someone help me with detecting where is the problem?

Thank you very much,
Zoran
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Woody Wu | 29 Jul 05:39 2013
Picon

No supported modes found in /etc/fb.modes

Hi, List

I am trying to run some directfb examples programs on ARM platform. The
directfb libraries and examples binaries are come from buildroot and
also built by builtroot.  None of these examples can run with success,
they all reported the same error on my target machine: No supported
modes found in /etc/fb.modes.

I tried to dump my 'fbset' output the the /etc/fb.modes:

mode "800x480-535209"
        # D: 250000.000 MHz, H: 283125.708 kHz, V: 535209.278 Hz
        geometry 800 480 800 480 32
        timings 4 19 37 10 26 27 13
        accel false
        rgba 8/16,8/8,8/0,0/0
endmode

But, the error still the same. I also tried to input some basic settings
in /etc/directfbrc, also got the same error.

On the other hand, my frame buffer device /etc/fb0 should be okay, since
I can run other graphic programs on it, such as fbv (a framebuffer
picture viwer).

What's the most possible reason to cause the error?  I enclosed in the
email the whole 'strace' output when I run the example program, hope
someone can have a look into it.

Another relative question: why I saw that directfb trying to open
/dev/tty0? What does /dev/tty0 mean to frame buffer?

Thanks in advance.

-- 
I can't go back to yesterday - because I was a different person then
execve("/usr/bin/df_cpuload", ["df_cpuload"], [/* 23 vars */]) = 0
brk(0)                                  = 0x12000
uname({sys="Linux", node="FFC3", ...})  = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=4382, ...}) = 0
mmap2(NULL, 4382, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40052000
close(3)                                = 0
open("/usr/lib/libdirectfb-1.6.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340R\2\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=816604, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40127000
mmap2(NULL, 850636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4021f000
mprotect(0x402e1000, 32768, PROT_NONE)  = 0
mmap2(0x402e9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc2) = 0x402e9000
close(3)                                = 0
open("/usr/lib/libfusion-1.6.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\2642\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=40328, ...}) = 0
mmap2(NULL, 71880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400e3000
mprotect(0x400ed000, 28672, PROT_NONE)  = 0
mmap2(0x400f4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x400f4000
close(3)                                = 0
open("/usr/lib/libdirect-1.6.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\344W\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=109588, ...}) = 0
mmap2(NULL, 142320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40098000
mprotect(0x400b2000, 32768, PROT_NONE)  = 0
mmap2(0x400ba000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a) = 0x400ba000
mprotect(0xbe895000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\220Y\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=123655, ...}) = 0
mmap2(NULL, 127528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40001000
mprotect(0x40016000, 28672, PROT_NONE)  = 0
mmap2(0x4001d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0x4001d000
mmap2(0x4001f000, 4648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4001f000
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\316\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=130092, ...}) = 0
mmap2(NULL, 161608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400bb000
mprotect(0x400db000, 28672, PROT_NONE)  = 0
mmap2(0x400e2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0x400e2000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\210|\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1336444, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40041000
mmap2(NULL, 1377656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x402ef000
mprotect(0x40433000, 28672, PROT_NONE)  = 0
mmap2(0x4043a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143) = 0x4043a000
mmap2(0x4043d000, 9592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4043d000
close(3)                                =
0
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/tls/v5l/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/tls/v5l",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/tls/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/tls",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/v5l/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/v5l",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/direct/.libs",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/tls/v5l/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/tls/v5l",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/tls/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/tls",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/v5l/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/v5l",
0xbe895080) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs/libz.so.1",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/lib/fusion/.libs",
0xbe895080) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v5l/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v5l", 0xbe895080)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbe895080)      = -1 ENOENT (No such file or directory)
open("/usr/lib/v5l/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v5l", 0xbe895080)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200\27\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=72204, ...}) = 0
mmap2(NULL, 103616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40021000
mprotect(0x40033000, 28672, PROT_NONE)  = 0
mmap2(0x4003a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x4003a000
close(3)                                = 0
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0l\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18004, ...}) = 0
mmap2(NULL, 49364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400f5000
mprotect(0x400f9000, 28672, PROT_NONE)  = 0
mmap2(0x40100000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x40100000
close(3)                                = 0
open("/usr/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\360\26\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30600, ...}) = 0
mmap2(NULL, 61980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40102000
mprotect(0x40109000, 28672, PROT_NONE)  = 0
mmap2(0x40110000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x40110000
close(3)                                = 0
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\360Y\4\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=825308, ...}) = 0
mmap2(NULL, 883928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40128000
mprotect(0x401ed000, 28672, PROT_NONE)  = 0
mmap2(0x401f4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc4) = 0x401f4000
mmap2(0x401fa000, 23768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401fa000
close(3)                                = 0
open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340<\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=644684, ...}) = 0
mmap2(NULL, 676004, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40440000
mprotect(0x404dc000, 32768, PROT_NONE)  = 0
mmap2(0x404e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9c) = 0x404e4000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40112000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40200000
set_tls(0x402004c0, 0x40200ba8, 0x40097050, 0x402004c0, 0x40097050) = 0
mprotect(0x4043a000, 8192, PROT_READ)   = 0
mprotect(0x404e4000, 4096, PROT_READ)   = 0
mprotect(0x401f4000, 16384, PROT_READ)  = 0
mprotect(0x4001d000, 4096, PROT_READ)   = 0
mprotect(0x40110000, 4096, PROT_READ)   = 0
mprotect(0x40100000, 4096, PROT_READ)   = 0
mprotect(0x40096000, 4096, PROT_READ)   = 0
munmap(0x40052000, 4382)                = 0
set_tid_address(0x40200068)             = 1368
set_robust_list(0x40200070, 12)         = 0
futex(0xbe895a80, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbe895a80, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 402004c0) = -1 EAGAIN
(Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x400063f0, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x40006288, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x12000
brk(0x33000)                            = 0x33000
dup(2)                                  = 3
geteuid32()                             = 0
open("/etc/directfbrc", O_RDONLY|O_LARGEFILE) = 4
getcwd("/etc", 4096)                    = 5
chdir("/etc")                           = 0
fstat64(4, {st_mode=S_IFREG|0600, st_size=97, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4003b000
read(4, "mode=800x400\ndepth=32\ndisable-mo"..., 4096) = 97
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4003b000, 4096)                = 0
chdir("/etc")                           = 0
open("/root/.directfbrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/directfbrc.df_cpuload", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/root/.directfbrc.df_cpuload", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
futex(0x400babec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
gettid()                                = 1368
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE SEGV TERM XCPU XFSZ], NULL, 8) = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404e6000
mprotect(0x404e6000, 4096, PROT_NONE)   = 0
clone(child_stack=0x40ce4f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x40ce54c8, tls=0x40ce5920, child_tidptr=0x40ce54c8) = 1369
write(3, "\n   ~~~~~~~~~~~~~~~~~~~~~~~~~~| "..., 329
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2012-2013  DirectFB integrated media GmbH
        (c) 2001-2013  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

) = 329
write(3, "(*) DirectFB/Core: Single Applic"..., 64(*) DirectFB/Core: Single Application Core.
(2013-07-28 03:57) 
) = 64
futex(0x401010c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib/libdirectfb-1.6.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/directfb-1.6-0/systems",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fcntl64(4, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents64(4, /* 8 entries */, 32768)   = 296
open("/usr/lib/directfb-1.6-0/systems/libdirectfb_devmem.so", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0|\17\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=12260, ...}) = 0
mmap2(NULL, 43728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x40052000
mprotect(0x40055000, 28672, PROT_NONE)  = 0
mmap2(0x4005c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2) = 0x4005c000
close(5)                                = 0
open("/usr/lib/directfb-1.6-0/systems/libdirectfb_dummy.so", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\304\7\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=4800, ...}) = 0
mmap2(NULL, 36320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x40113000
mprotect(0x40114000, 28672, PROT_NONE)  = 0
mmap2(0x4011b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0) = 0x4011b000
close(5)                                = 0
open("/usr/lib/directfb-1.6-0/systems/libdirectfb_fbdev.so", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270\"\0\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=47492, ...}) = 0
mmap2(NULL, 78968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x40201000
mprotect(0x4020c000, 32768, PROT_NONE)  = 0
mmap2(0x40214000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xb) = 0x40214000
close(5)                                = 0
getdents64(4, /* 0 entries */, 32768)   = 0
close(4)                                = 0
munmap(0x40113000, 36320)               = 0
munmap(0x40052000, 43728)               = 0
mmap2(NULL, 516096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40ce6000
mmap2(NULL, 516096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40e0b000
clock_gettime(CLOCK_MONOTONIC, {8820, 414300002}) = 0
clock_gettime(CLOCK_MONOTONIC, {8820, 464300002}) = 0
clock_gettime(CLOCK_MONOTONIC, {8820, 464300002}) = 0
clock_gettime(CLOCK_MONOTONIC, {8820, 544300002}) = 0
write(3, "(*) Direct/Memcpy: Using libc me"..., 39(*) Direct/Memcpy: Using libc memcpy()
) = 39
munmap(0x40ce6000, 516096)              = 0
munmap(0x40e0b000, 516096)              = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40ce6000
mprotect(0x40ce6000, 4096, PROT_NONE)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
clone(child_stack=0x414e4f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x414e54c8, tls=0x414e5920, child_tidptr=0x414e54c8) = 1370
sched_setscheduler(1370, SCHED_OTHER, { 0 }) = 0
write(3, "(*) Direct/Thread: Started 'Fusi"..., 91(*) Direct/Thread: Started 'Fusion Dispatch' (-1)
[MESSAGING OTHER/OTHER 0/0] <8388608>...
) = 91
sched_getparam(1370, { 0 })             = 0
sched_getscheduler(1370)                = 0 (SCHED_OTHER)
futex(0x1615c, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x16178, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1617c, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1615c, FUTEX_WAKE_PRIVATE, 1)   = 0
open("/dev/fb0", O_RDWR|O_LARGEFILE)    = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
setsid()                                = 1368
open("/dev/tty0", O_RDONLY|O_NOCTTY|O_LARGEFILE) = 5
ioctl(5, VT_GETSTATE, 0xbe895708)       = 0
ioctl(5, VIDIOC_QUERYCAP or VT_OPENQRY, 0x1a360) = 0
ioctl(4, FBIOGET_CON2FBMAP, 0xbe8956f8) = 0
fstat64(4, {st_mode=S_IFCHR|0660, st_rdev=makedev(29, 0), ...}) = 0
ioctl(4, FBIOPUT_CON2FBMAP, 0xbe8956e8) = 0
ioctl(5, VT_ACTIVATE, 0x2)              = 0
ioctl(5, VT_WAITACTIVE, 0x2)            = 0
nanosleep({0, 40000000}, NULL)          = 0
open("/dev/tty2", O_RDWR|O_NOCTTY|O_LARGEFILE) = 6
ioctl(6, TIOCSCTTY, 0)                  = 0
ioctl(6, KDSKBMODE, 0x2)                = 0
ioctl(6, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon
echo ...}) = 0
ioctl(6, SNDCTL_TMR_CONTINUE or SNDRV_TIMER_IOCTL_GPARAMS or TCSETSF, {B38400 opost -isig -icanon
-echo ...}) = 0
write(6, "\33[?1;0;0c\0", 10)           = 10
ioctl(6, KDSETMODE, 0x1)                = 0
rt_sigaction(SIGRT_9, {0x4020982c, ~[RTMIN RT_1], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_10, {0x4020982c, ~[RTMIN RT_1], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
ioctl(6, VIDIOC_ENUM_FMT or VT_SETMODE, 0xbe8956d8) = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41533000
mprotect(0x41533000, 4096, PROT_NONE)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
clone(child_stack=0x41d31f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x41d324c8, tls=0x41d32920, child_tidptr=0x41d324c8) = 1373
sched_setscheduler(1373, SCHED_OTHER, { 0 }) = 0
write(3, "(*) Direct/Thread: Started 'VT S"..., 86(*) Direct/Thread: Started 'VT Switcher' (-1)
[CRITICAL OTHER/OTHER 0/0] <8388608>...
) = 86
sched_getparam(1373, { 0 })             = 0
sched_getscheduler(1373)                = 0 (SCHED_OTHER)
futex(0x41d32674, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x1a54c, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1a568, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1a56c, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1a54c, FUTEX_WAKE_PRIVATE, 1)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41d95000
mprotect(0x41d95000, 4096, PROT_NONE)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
clone(child_stack=0x42593f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x425944c8, tls=0x42594920, child_tidptr=0x425944c8) = 1374
sched_setscheduler(1374, SCHED_OTHER, { 0 }) = 0
futex(0x42594674, FUTEX_WAKE_PRIVATE, 1) = 1
write(3, "(*) Direct/Thread: Started 'VT F"..., 86(*) Direct/Thread: Started 'VT Flusher' (1374)
[DEFAULT OTHER/OTHER 0/0] <8388608>...
) = 86
sched_getparam(1374, { 0 })             = 0
sched_getscheduler(1374)                = 0 (SCHED_OTHER)
futex(0x1a674, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1a690, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1a694, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1a674, FUTEX_WAKE_PRIVATE, 1)   = 0
ioctl(4, FBIOGET_FSCREENINFO or FBIOPUT_CONTRAST, 0x1a060) = 0
write(3, "(*) DirectFB/FBDev: Found '' (ID"..., 97(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer
at 0x3b000000, 3000k (MMIO 0x00000000, 0k)
) = 97
mmap2(NULL, 3072000, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x4264a000
ioctl(4, FBIOGET_VSCREENINFO, 0x1a198)  = 0
ioctl(4, FBIOGET_CONTRAST or FBIOPUT_VSCREENINFO, 0x1a0f8) = 0
ioctl(4, FBIOGETCMAP, 0x1a244)          = 0
readlink("/sys/class/graphics/fb0/device", "../../../s3c-fb", 512) = 15
open("/sys/class/graphics/fb0/device/vendor", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/class/graphics/fb0/device/device", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/bus/pci/devices", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/directfb-1.6-0/inputdrivers",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 7
getdents64(7, /* 12 entries */, 32768)  = 512
open("/usr/lib/directfb-1.6-0/inputdrivers/libdirectfb_tslib.so", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\204\v\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=6796, ...}) = 0
mmap2(NULL, 38328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x40042000
mprotect(0x40044000, 28672, PROT_NONE)  = 0
mmap2(0x4004b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1) = 0x4004b000
close(8)                                =
0
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/tls/v5l/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/tls/v5l",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/tls/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/tls",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/v5l/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/v5l",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/home/woody/src/buildroot-2013.05/output/build/directfb-1.6.3/src/.libs",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/tls/v5l/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/tls/v5l",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/tls/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/tls",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/v5l/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/v5l",
0xbe8949f8) = -1 ENOENT (No such file or
directory)
open("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libts-1.0.so.0",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/home/woody/src/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib",
0xbe8949f8) = -1 ENOENT (No such file or directory)
open("/usr/lib/libts-1.0.so.0", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\24\n\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=6376, ...}) = 0
mmap2(NULL, 38920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x40113000
mprotect(0x40115000, 28672, PROT_NONE)  = 0
mmap2(0x4011c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1) = 0x4011c000
close(8)                                = 0
open("/usr/lib/directfb-1.6-0/inputdrivers/libdirectfb_ps2mouse.so", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`\f\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=9384, ...}) = 0
mmap2(NULL, 40884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x4004c000
mprotect(0x4004e000, 28672, PROT_NONE)  = 0
mmap2(0x40055000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1) = 0x40055000
close(8)                                = 0
write(3, "(*) Direct/Modules: suppress mod"..., 47(*) Direct/Modules: suppress module 'ps2mouse'
) = 47
munmap(0x4004c000, 40884)               = 0
open("/usr/lib/directfb-1.6-0/inputdrivers/libdirectfb_keyboard.so", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0x\f\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=9100, ...}) = 0
mmap2(NULL, 40564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x4011d000
mprotect(0x4011f000, 28672, PROT_NONE)  = 0
mmap2(0x40126000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1) = 0x40126000
close(8)                                = 0
write(3, "(*) Direct/Modules: suppress mod"..., 47(*) Direct/Modules: suppress module 'keyboard'
) = 47
munmap(0x4011d000, 40564)               = 0
open("/usr/lib/directfb-1.6-0/inputdrivers/libdirectfb_linux_input.so", O_RDONLY|O_CLOEXEC)
= 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340\20\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=20160, ...}) = 0
mmap2(NULL, 51800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x414e6000
mprotect(0x414eb000, 28672, PROT_NONE)  = 0
mmap2(0x414f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x4) = 0x414f2000
close(8)                                = 0
open("/usr/lib/directfb-1.6-0/inputdrivers/libdirectfb_serialmouse.so", O_RDONLY|O_CLOEXEC)
= 8
read(8, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\330\f\0\0004\0\0\0"..., 512) = 512
fstat64(8, {st_mode=S_IFREG|0755, st_size=8848, ...}) = 0
mmap2(NULL, 40312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x4011d000
mprotect(0x4011f000, 28672, PROT_NONE)  = 0
mmap2(0x40126000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x1) = 0x40126000
close(8)                                = 0
write(3, "(*) Direct/Modules: suppress mod"..., 50(*) Direct/Modules: suppress module 'serialmouse'
) = 50
munmap(0x4011d000, 40312)               = 0
getdents64(7, /* 0 entries */, 32768)   = 0
close(7)                                = 0
open("/dev/input/event0", O_RDWR|O_LARGEFILE) = 7
ioctl(7, 0x801f4506, 0xbe8955ac)        = 10
ioctl(7, 0x80044520, 0xbe895568)        = 4
ioctl(7, 0x80604521, 0xbe8954f8)        = 96
ioctl(7, 0x80084523, 0xbe895558)        = 8
ioctl(7, EVIOCGID, 0xbe895560)          = 0
close(7)                                = 0
open("/dev/input/event1", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event2", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event3", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event4", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event5", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event6", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event7", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event8", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event9", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event10", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event11", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event12", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event13", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event14", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event15", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/event0", O_RDWR|O_LARGEFILE) = 7
ioctl(7, 0x801f4506, 0xbe895714)        = 10
ioctl(7, 0x80044520, 0xbe8955f0)        = 4
ioctl(7, 0x80604521, 0xbe895580)        = 96
ioctl(7, 0x80084523, 0xbe8955e0)        = 8
ioctl(7, EVIOCGID, 0xbe8955e8)          = 0
ioctl(7, 0x80044531, 0xbe895618)        = 4
pipe([8, 9])                            = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42938000
mprotect(0x42938000, 4096, PROT_NONE)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
clone(child_stack=0x43136f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x431374c8, tls=0x43137920, child_tidptr=0x431374c8) = 1375
sched_setscheduler(1375, SCHED_OTHER, { 0 }) = 0
write(3, "(*) Direct/Thread: Started 'Linu"..., 83(*) Direct/Thread: Started 'Linux Input' (-1)
[INPUT OTHER/OTHER 0/0] <8388608>...
) = 83
sched_getparam(1375, { 0 })             = 0
sched_getscheduler(1375)                = 0 (SCHED_OTHER)
futex(0x25624, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x25640, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x25644, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x25624, FUTEX_WAKE_PRIVATE, 1)   = 0
write(3, "(*) DirectFB/Input: ft5x0x_ts 0."..., 49(*) DirectFB/Input: ft5x0x_ts 0.1 (directfb.org)
) = 49
ioctl(7, 0x80084523, 0xbe895630)        = 8
ioctl(7, 0x80184540, 0xbe895618)        = 0
ioctl(7, 0x80084523, 0xbe895630)        = 8
ioctl(7, 0x80184541, 0xbe895618)        = 0
pipe([10, 11])                          = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x431e5000
mprotect(0x431e5000, 4096, PROT_NONE)   = 0
sched_get_priority_min(SCHED_OTHER)     = 0
sched_get_priority_max(SCHED_OTHER)     = 0
clone(child_stack=0x439e3f98,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x439e44c8, tls=0x439e4920, child_tidptr=0x439e44c8) = 1376
sched_setscheduler(1376, SCHED_OTHER, { 0 }) = 0
write(3, "(*) Direct/Thread: Started 'Hotp"..., 96(*) Direct/Thread: Started 'Hotplug with Linux
Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
) = 96
sched_getparam(1376, { 0 })             = 0
sched_getscheduler(1376)                = 0 (SCHED_OTHER)
futex(0x1c604, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1c620, FUTEX_WAKE_PRIVATE, 1)   = 1
futex(0x1c624, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1c604, FUTEX_WAKE_PRIVATE, 1)   = 0
write(3, "(*) DirectFB/Input: Hot-plug det"..., 72(*) DirectFB/Input: Hot-plug detection enabled
with Linux Input Driver 
) = 72
open("/dev/input/tslib0", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib1", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib2", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib3", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib4", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib5", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib6", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib7", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib8", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib9", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib10", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib11", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib12", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib13", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib14", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/input/tslib15", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
munmap(0x40042000, 38328)               = 0
munmap(0x40113000, 38920)               = 0
openat(AT_FDCWD, "/usr/lib/directfb-1.6-0/gfxdrivers",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(3, "(*) DirectFB/Graphics: Generic S"..., 70(*) DirectFB/Graphics: Generic Software
Rasterizer 0.7 (directfb.org)
) = 70
open("/etc/fb.modes", O_RDONLY|O_LARGEFILE) = 13
fstat64(13, {st_mode=S_IFREG|0600, st_size=184, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4003b000
read(13, "\nmode \"800x480-535209\"\n\t# D: 250"..., 4096) = 184
ioctl(4, FBIOGET_CONTRAST or FBIOPUT_VSCREENINFO, 0xbe895558) = -1 EINVAL (Invalid argument)
read(13, "", 4096)                      = 0
close(13)                               = 0
munmap(0x4003b000, 4096)                = 0
ioctl(4, FBIOGET_CONTRAST or FBIOPUT_VSCREENINFO, 0xbe895558) = -1 EINVAL (Invalid argument)
write(3, "(!) DirectFB/FBDev: No supported"..., 94(!) DirectFB/FBDev: No supported modes found in
/etc/fb.modes and current mode not supported!
) = 94
write(3, "(!) DirectFB/FBDev: Current mode"..., 81(!) DirectFB/FBDev: Current mode's pixelformat:
rgba 8/16, 8/8, 8/0, 0/0 (32bit)
) = 81
write(3, "(!) DirectFB/Core/layers: Failed"..., 103(!) DirectFB/Core/layers: Failed to initialize
layer 0!
    --> A general initialization error occured
) = 103
write(3, "(!) DirectFB/Core: Could not ini"..., 106(!) DirectFB/Core: Could not initialize
'layer_core' core!
    --> A general initialization error occured
) = 106
write(9, " ", 1)                        = 1
close(8)                                = 0
close(9)                                = 0
close(7)                                = 0
gettid()                                = 1368
write(11, " ", 1)                       = 1
close(10)                               = 0
close(11)                               = 0
shutdown(12, SHUT_RDWR)                 = 0
close(12)                               = 0
munmap(0x414e6000, 51800)               = 0
brk(0x56000)                            = 0x56000
futex(0x15a9c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x15a98, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x15a80, FUTEX_WAKE_PRIVATE, 1)   = 1
ioctl(4, FBIOGET_CONTRAST or FBIOPUT_VSCREENINFO, 0x1a198) = 0
ioctl(4, FBIGET_COLOR or FBIOPUTCMAP, 0x1a244) = 0
munmap(0x4264a000, 3072000)             = 0
tgkill(1368, 1374, SIGRTMIN)            = 0
futex(0x425944c8, FUTEX_WAIT, 1374, NULL) = 0
ioctl(6, VIDIOC_ENUM_FMT or VT_SETMODE, 0x1a484) = 0
rt_sigaction(SIGRT_9, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
rt_sigaction(SIGRT_10, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0
tgkill(1368, 1373, SIGRTMIN)            = 0
ioctl(6, KDSETMODE, 0)                  = 0
write(6, "\33[?0;0;0c\0", 10)           = 10
ioctl(6, SNDCTL_TMR_CONTINUE or SNDRV_TIMER_IOCTL_GPARAMS or TCSETSF, {B38400 opost isig icanon echo
...}) = 0
ioctl(6, KDSKBMODE, 0x1)                = 0
ioctl(5, VT_ACTIVATE, 0x1)              = 0
ioctl(5, VT_WAITACTIVE, 0x1)            = 0
nanosleep({0, 40000000}, NULL)          = 0
fstat64(4, {st_mode=S_IFCHR|0660, st_rdev=makedev(29, 0), ...}) = 0
ioctl(4, FBIOPUT_CON2FBMAP, 0xbe8956e0) = 0
close(6)                                = 0
ioctl(5, VIDIOC_REQBUFS or VT_DISALLOCATE, 0x2) = 0
close(5)                                = 0
close(4)                                = 0
munmap(0x40201000, 78968)               = 0
futex(0x15a9c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x15a98, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
write(3, "(#) DirectFBError [DirectFBCreat"..., 84(#) DirectFBError [DirectFBCreate() failed]: A
general initialization error occured
) = 84
close(3)                                = 0
exit_group(2)                           = ?
+++ exited with 2 +++
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
VijayKumar N | 26 Jul 16:09 2013
Picon

direct_trace_lookup_symbol_at() is returning NULL in DFB-1.6.3 in multi-app mode

 I was successful in bringing up DFB-1.4.17 7 & DFB-1.5.3 with linux-fusion versions 8.7.0 & 8.10.4 respectively on Set Top Box platform.
Now I am bringing up DFB-1.6.3  in multi-app mode with linux-fusion-9.0.0 on the same platform.
While bringing up DFB-1.6.3,especially when master process is getting initialized, I found that the exported function Core_AsyncCall_Handler passed in as argument to  fusion_call_init() .In this function fusion_call_init() the handler is being resolved using direct_trace_lookup_symbol_at().However I am observing that the direct_trace_lookup_symbol_at() is returning NULL.This is happening for both enable-debug & disable-debug variants for all the shared functions exported using fusion_call_init() & fusion_call_init3().Later when slave process initializing DFB its invoking shared functions via fusion message loop thread.Now it doesn't execute the  shared functions.As a result all the fusionees are getting destroyed.


Master Logs:
.
.
 0  0:00:46 |(-) [Main Thread       45.523,159] ( 2547) Fusion/SHMPool:            fusion_shm_pool_allocate( 0x500100c4, 44, clear, 0x7fa50660 )
 0  0:00:46 |(-) [Main Thread       45.523,346] ( 2547) Fusion/SHMHeap:            __shmalloc_brk( 0x510a0000, 0 )
 0  0:00:46 |(-) [Main Thread       45.523,426] ( 2547) Fusion/SHMHeap:            _fusion_shmalloc( 0x510a0000, 44 )
 0  0:00:46 |(-) [Main Thread       45.523,920] ( 2547) Fusion/Call:               fusion_call_init3( 0x510a5034, 0x2b5443b8 <(null)>, 0xa0bf80, 0xa0bb98 )
 0  0:00:46 |(-) [Main Thread       45.524,311] ( 2547) Fusion/Call:                 -> call id 2
 0  0:00:46 |(-) [Main Thread       45.524,880] ( 2547) DirectFB/Core:             ICore_Real::Initialize()
 0  0:00:46 |(-) [Main Thread       45.525,468] ( 2547) Fusion/SHMPool:            fusion_shm_pool_create( 0xa0bb98 [0], 'DirectFB Data Pool', 16777216, 0x510a5030, non-debug )
 0  0:00:46 |(-) [Main Thread       45.525,623] ( 2547) Fusion/SHMPool:              -> index 2
 0  0:00:46 |(-) [Main Thread       45.525,700] ( 2547) Fusion/SHMPool:            init_pool( 0xa0bbd0, 0xa0bc0c, 0x5001010c, 'DirectFB Data Pool', 16777216, non-debug )
 0  0:00:46 |(-) [Main Thread       45.525,886] ( 2547) Fusion/SHMHeap:            __shmalloc_init_heap( 0xa0bbd0, '/dev/fusion.0.3', 0x514b0000, 16777216, 0x7fa50580 )
 0  0:00:46 |(-) [Main Thread       45.526,163] ( 2547) Fusion/SHMHeap:              -> opening shared memory file '/dev/fusion.0.3'...
 0  0:00:46 |(-) [Main Thread       45.526,454] ( 2547) Fusion/SHMHeap:              -> mmaping shared memory file... (53248 bytes)
 0  0:00:46 |(-) [Main Thread       45.526,654] ( 2547) Fusion/SHMHeap:              -> done.
.
;
.

Slave Logs:
0  0:04:16 |(-) [Fusion Dispatch  255.333,177] ( 2859) Fusion/Main/Dispatch:        -> FMT_CALL3...
 0  0:04:16 |(-) [Fusion Dispatch  255.345,238] ( 2859) Fusion/Call:               _fusion_call_process3( call_id 2, msg 0xa0e6e8, ptr 0xa0e708)
 0  0:04:16 |(-) [Fusion Dispatch  255.356,294] ( 2859) Fusion/Call:                 -> (null)
 0  0:04:16 |(-) [Fusion Dispatch  255.361,110] ( 2859) DirectFB/CoreDFB:          CoreDFBDispatch::CoreDFBDispatch__Dispatch( 0xa0bf80 )
 0  0:04:16 |Closing connection. No data.

Does anyone have any idea on why this is happening?

Thanks & Regards,
Kumar
_______________________________________________
directfb-dev mailing list
directfb-dev@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
jojo | 17 Jun 07:35 2013
Picon

error(Invalid argument!) about for create surface with preallocated memory if the "dsc.preallocated[0].pitch < 0"

Hi,
I want to use directfb to Blit/StretchBlit with my preallocated memory, my preallocated memory's stride is negative (src_stride < 0) and the address "src_data"

is end of source data.

It return error from "CreateSurface", my steps and environment is following:

DFB version : 1.4.0
DFBSurfaceDescription dsc = {0};
     dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT | DSDESC_PREALLOCATED | DSDESC_CAPS;
     dsc.pixelformat = DSPF_RGB32;
     dsc.caps = DSCAPS_SYSTEMONLY;

     dsc.width = src_width;
     dsc.height = src_height;
     dsc.preallocated[0].data = src_data;
     dsc.preallocated[0].pitch = src_stride;

     ret = dfb->CreateSurface(dfb, &dsc, &src );
     if (ret != DFB_OK) {
         printf("CreateSurface(src) error(%s)\n", DirectResultString(ret));
         return;
     }

Anyone have ideas about for this ?

Thanks,

- Jojo

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
gianluca | 10 Jun 16:08 2013
Picon

Hello to the list

Hello everybody!
I am new to this list, so first of all A VERY BIG HELLO TO EVERYBODY!

Now the little (for you experienced users of DirectFB) question:

* PREAMBLE *
I am trying to run DirectFB program in a windowed mode in X11, using my 
Desktop running Linux Mint 13 - Debian.
I installed everything (from -dev packages to libs...) so I can compile 
and run examples in a windowed mode over Xorg Desktop running MATE 
Desktop (A successor of Gnome).
I created a directfbrc file as following:

system=x11
force-windowed
mode=800x480
scaled=800x480

and the every application seems to run fine, with a strange behaviour 
when grabbing the mouse.
I clearly see two mouse arrows: one jumping aroud the application window 
and another one is following my mouse movement.
I can say my cursor is giving the application the event, but it is very 
annoying to see two (or even more) objects onto screen when I move the 
mouse.

Any help, clue, or what ever to disable this "feature"?

The same problem occurs when I run Qt-Embedded DirectFB window mode 
application with -qws option, so I can say it is a DirectFB issue and 
not Qt issue.

Best regards
-- 
            ,,,
           (o o)
======oOO==(_)==OOo======

Gianluca Renzi
R&D
phone: +39.0542.609120
fax:   +39.0542.609212

       .oooO  Oooo.
======(   )==(   )=======
        \ (    ) /
         \_)  (_/

===================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
  \ source code!  /
   ---------------
     ¯\_(".)_/¯
_______________________________________________
directfb-users mailing list
directfb-users <at> directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
jojo | 8 Jun 09:03 2013
Picon

[directfb-users] error(segmentation fault) about for touching(read/write) the data buffer of surface in external without Lock()

Hi,
I use the Lock() to get the data pointer of surface, and the data pointer also is as real data pointer in the external graphics controller.

It's normal when i StretchBlit() if i create the "system only" source surface.
But if i create the  source surface with acceleration, "segmentation fault" happened in context of external graphics controller,
so i want to know wether the data pointer of surface could be changed when in operation of "gfxcard" which as StretchBlit(), Blit() and so on ?

In my case, i need a static data pointer of surface when it's be created and it's used in context of external graphics controller,
someone have any ideas ?

Thanks,

- Jojo

_______________________________________________
directfb-dev mailing list
directfb-dev@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Gmane