Hi to all,
Greetings of the day!!!

I am new to directfb, i am trying to run sample code of directfb in
Ubuntu,but i got listed error please help me


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

(*) DirectFB/Core: Single Application Core. (2011-12-04 07:36)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
<8388608>...
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Power Button (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Power Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Microsoft  Microsoft Basic Opti (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Video Bus (5) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: HDA Intel Line (6) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: HDA Intel Rear Mic (7) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: HDA Intel Line-Out (8) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Surface: Allocated 640x480 32 bit LUT8 buffer (index 0) at offset
0 and pitch 5760.
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 8 bit (LUT8),
pitch 5760
(*) FBDev/Surface: Allocated 640x480 8 bit LUT8 buffer (index 0) at offset
0 and pitch 5760.
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x960) at 8 bit (LUT8),
pitch 5760
 (!!!)  *** WARNING [unable to adjust heap offset] ***
[../../../systems/fbdev/surfacemanager.c:167 in
dfb_surfacemanager_adjust_heap_offset()]
(*) FBDev/Surface: Allocated 640x480 8 bit LUT8 buffer (index 1) at offset
2764800 and pitch 5760.
(!) DirectFB/FBDev: Panning display failed (x=0 y=480 ywrap=0 vbl=0)!
    --> Invalid argument
#########   width 640  hight 480  ###
sample-1.c <59>:
    (#) DirectFBError [primary->SetColor (primary, 0x80, 0x80, 0xff,
0xff)]: Invalid argument!
 (!!!)  *** WARNING [Application exited without deinitialization of
DirectFB!] *** [../../../src/core/core.c:859 in dfb_core_deinit_check()]
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
[../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
[../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] ***
[../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]


this is command i try to run
#dfbinfo,dfblayer


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

(*) DirectFB/Core: Multi Application Core. (2014-04-11 10:32)
(*) Direct/Memcpy: Using libc memcpy()
(*) Fusion/SHM: Using MADV_REMOVE (3.2.0.0 >= 2.6.19.2)
(!) Direct/Util: Opening '/dev/fusion0' and '/dev/fusion/0' failed!
    --> The specified file has not been found
(!) Fusion/Init: Opening fusion device (world 0) as 'any' failed!
    --> No such file or directory
(#) DirectFBError [DirectFBCreate() failed]: A general initialization error
occured


Thanks & Regards
Pintu sakariya
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to