Hi Shrikanth,

 Thanks for the reply, After giving dfbinfo with the said arguments i am
getting the following output with no change on screen.


# ./dfbinfo --dfb:system=devmem --dfb:video-phys=0x83000000
--dfb:video-length=691200

     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-12-28 13:56) [ DEBUG ]
(!) Davinci/Driver: FBIO_GET_TIMING failed!
    --> Invalid argument
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) IDirectFB_Construct: No layers available! Missing driver?
(#) DirectFBError [DirectFBCreate() failed]: Not supported!
Interface instances remaining (1):
  - 'IDirectFB' at 0x1a2d8 (dfb) allocated in DirectFBCreate (directfb.c:
197)
 #


Please tell me what do you mean by "No Layers available ! Missing driver ?."
Where do we get the driver/firmware for davinci platforms ?

regards,
Srini...


On Dec 31, 2007 11:40 PM, Srikanth Nori <[EMAIL PROTECTED]> wrote:

> On Dec 31, 2007 4:07 PM, Srinivas Rao M Hamse <[EMAIL PROTECTED]> wrote:
> > Hi everyone,
> >
> >   I am trying to cross compile DirectFB 1.1.1 on TI Davinci platform
> using
> > the following configure options:
> >
> >
> > export LDFLAGS="-L/home/srinirao/davinci/freetype_eq" && export
> > CPPFLAGS="-I/home/srinirao/libpng/include -I/home/srinirao/zlib/include
> > -I/home/srinirao/davinci/freetype_eq/include" && ./configure
> > --host=arm-linux --prefix=/home/srinirao/directfb --disable-fbdev
> > --enable-devmem --disable-x11 --with-inputdrivers=keyboard
> > --with-gfxdrivers=davinci --disable-video4linux2 --disable-sysfs
> > --disable-multi --disable-sdl --disable-video4linux
> > --datadir=/home/srinirao/directfb/usr/lib --with-png=yes
> --with-freetype=yes
> > --disable-debug --disable-debug-support
> >
> >
> > After the compilation when i try to run the ./bin/dfbinfo test
> application i
> > get the following error dumped on the console:
> >
> >   # cd /sr/directfb/
> >  # cd bin/
> >  # ./dfbinfo
> >
> >      =======================|  DirectFB 1.1.1  |=======================
> >            (c) 2001-2007  The DirectFB Organization (directfb.org)
> >           (c) 2000-2004  Convergence (integrated media) GmbH
> >         ------------------------------------------------------------
> >
> >  (*) DirectFB/Core: Single Application Core. (2007-12-28 13:56) [ DEBUG
> ]
> > (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2042)...
> > (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2043)...
> >  (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
> > (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 ( directfb.org)
> > (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> > (*) FBDev/Mode: Testing 720x480 RGB16
> > (*) FBDev/Mode: Preparing switch to 720x480 RGB16
> > (*) FBDev/Mode: Testing 720x480 RGB16
> > (*) FBDev/Mode: Preparing switch to 720x480 RGB16
> > (*) FBDev/Mode: Testing 720x480 RGB16
> > (*) FBDev/Mode: Preparing switch to 720x480 RGB16
> > (*) FBDev/Mode: Testing 720x480 RGB16
> > (*) FBDev/Mode: Preparing switch to 720x480 RGB16
> > (*) FBDev/Mode: Testing 720x480 RGB16
> > (*) FBDev/Mode: Preparing switch to 720x480 RGB16
> >  (!!!)  *** UNIMPLEMENTED [fusion_skirmish_lock_count] *** [lock.c:593]
> >  (!) [Main Thread       0.000] ( 2026) *** Assertion
> > [fusion_skirmish_lock_count( &surface->lock, &lock_count ) == DFB_OK] ]
> > (!) [ 2026:    0.000] --> Caught signal 5 (sent by pid 2026, uid 0) <--
> >  (!!!)  *** 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()]
> > (!) [Main Thread       0.003] ( 2026) *** Assumption [state->destination
> ==
> > NULL] failed *** [state.c:134 in dfb_state_des]
> >  Trace/breakpoint trap
> >
> >
> > Please tell me as to why am i getting this assertion failure. Am i
> missing
> > out anything trivial in my configure options ?.
> > regards,
>
>
> I believe the davinci driver supports only devmem now, so you need to
> tell dfbinfo to use that system. You will have to give the
> video-length and video-phys addresses also.
>
> Your command to run dfbinfo should look like
> ./dfbinfo --dfb:system=devmem --dfb:video-phys=<hexaddress>
> --dfb:video-length=<bytes>
>
> Regards,
> Srikanth Nori
>



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

Reply via email to