HI I got answer for my 3rd question.. i had to remove all keyboard input
statements and
i had to remove

  DFBCHECK (dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN));

because  i was using

layer->SetCooperativeLevel( layer, DLSCL_ADMINISTRATIVE );

but dont know the reason :(

So another question arises that if i am using devmem y  cant i use any
inputs .. like keyboard and mouse
Thanks


On Thu, Aug 28, 2008 at 5:06 PM, Deepak Mundra <[EMAIL PROTECTED]>wrote:

> Hi i am using Davinci boardtry to run directfb 1.2.0 so first thing the
> output of ./dfbinfo is
>
>
> ./dfbinfo --dfb:system=devmem --dfb:video-phys=0x83000000
> --dfb:video-length=691200
>
>
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0
> |~~~~~~~~~~~~~~~~~~~~~~~~~~=720x576
>         (c) 2001-2008  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2008-08-25 09:50)
> (*) Davinci/Driver: Mapped fb0 with length 1658880 at 0x87400000 to
> 0x402e5000
> (*) Davinci/Driver: Mapped fb1 with length 3760128 at 0x87000000 to
> 0x4047a000
> (*) Davinci/Driver: Mapped fb2 with length 1658880 at 0x87600000 to
> 0x40810000
> (*) Davinci/Driver: Mapped fb3 with length 3760128 at 0x86c00000 to
> 0x409a5000
> (!) Direct/Util: opening '/dev/c64x' failed
>     --> No such device or address
>  (!!!)  *** WARNING [running without DSP acceleration] ***
> [davinci_gfxdriver.c:238 in driver_init_driver()]
> (*) DirectFB/Graphics: Texas Instruments Davinci 0.4 (Telio AG)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
>
>
> Screen (00) TI Davinci Screen               (primary screen)
>    Caps: VSYNC
>
>      Layer (00) TI Davinci OSD                  (primary layer)
>         Type:    GRAPHICS
>         Caps:    SURFACE OPACITY ALPHACHANNEL SRC_COLORKEY SCREEN_POSITION
>
>      Layer (01) TI Davinci Video
>         Type:    VIDEO STILL_PICTURE
>         Caps:    SURFACE SCREEN_LOCATION SCREEN_POSITION SCREEN_SIZE
>
>
> My questions :)
>
> 1]   how/where can find video-phys= ,,, video-length=   Values in dfbinfo i
> used the values which i found in directfb mailing list :)
> so out put is as above
>
> 2]In above output why i am not seeing any keyboard or mouse interface .. is
> that mean i cant use keyboard or mouse if i am using system=devmem ???
> because with sytem=sdl it allows keyboard and mouse ..
>
> 3] I am trying to run one of my example code...
>     with system=sdl it is working fine but with
>
> ./image_example  --dfb:system=devmem --dfb:video-phys=0x83000000
> --dfb:video-length=691200
>
> it is giving following output  ... is there any necessity of mentioning
> 720x576 resolution
> PS: please notice the first line unknown config
>
>
> (!) DirectFB/Config: Unknown option ''!
>
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2001-2008  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2008-08-25 09:50)
> (*) Davinci/Driver: Mapped fb0 with length 1658880 at 0x87400000 to
> 0x402e5000
> (*) Davinci/Driver: Mapped fb1 with length 3760128 at 0x87000000 to
> 0x4047a000
> (*) Davinci/Driver: Mapped fb2 with length 1658880 at 0x87600000 to
> 0x40810000
> (*) Davinci/Driver: Mapped fb3 with length 3760128 at 0x86c00000 to
> 0x409a5000
> (!) Direct/Util: opening '/dev/c64x' failed
>     --> No such device or address
>  (!!!)  *** WARNING [running without DSP acceleration] ***
> [davinci_gfxdriver.c:238 in driver_init_driver()]
> (*) DirectFB/Graphics: Texas Instruments Davinci 0.4 (Telio AG)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) DirectFB/Genefx: Could not lock destination!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/LayerRegion: Could not lock region surface for SetRegion()!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/LayerRegion: realize_region() in dfb_layer_region_flip_update()
> failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (*) Direct/Interface: Loaded 'PNG' implementation of
> 'IDirectFBImageProvider'.
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) DirectFB/Genefx: Could not lock destination!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) DirectFB/Genefx: Could not lock destination!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) DirectFB/Genefx: Could not lock destination!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/SurfBuffer: Allocation in '/dev/mem' failed!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/LayerRegion: Could not lock region surface for SetRegion()!
>     --> UNKNOWN RESULT CODE TYPE!
> (!) Core/LayerRegion: realize_region() in dfb_layer_region_flip_update()
> failed!
>     --> UNKNOWN RESULT CODE TYPE!
> mydfb.c <128>:
>         (#) DirectFBError [primary->Flip (primary, NULL,
> DSFLIP_WAITFORSYNC)]: Out of video memory!
>  (!!!)  *** WARNING [Application exited without deinitialization of
> DirectFB!] *** [core.c:859 in dfb_core_deinit_check()]
>  (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
> [object.c:241 in fusion_object_pool_destroy()]
>  (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
> [object.c:241 in fusion_object_pool_destroy()]
>  (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in
> fusion_object_pool_destroy()]
>
> Thanks
>
>
>
>
>
>
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to