Hi, Deng XueFeng, I mean that you could try to add "accel" to the kernel command line.
Edit the /etc/grub.conf like this /////////////////////////////////////////////////////////// kernel /vmlinuz...... video=davincifb, accel /////////////////////////////////////////////////////////// Best regards, chiachen [EMAIL PROTECTED] 2008-08-13 ======= 2008-08-13 09:31, your message: Re: [directfb-dev] How to use directfb 1.2.0 on Davinci board.======= > Hi, Deng XueFeng, > > how to enable acceleration with c64x.ko? > > #dfbinfo > --dfb:system=devmem,video-phys=0x83000000,video-length=691200,accelerator=6400 > > > Though you add "accelerator=6400" at the end of the command line ,I don't > think it will work when you run a new program or open a new terminal. May be > you could try to add --dfb......... every time ,when you run a program, and > make sure DirectFBInit(&argc, &argv) does work. > > Another way ,you could try davincifb,accel instead of davincifb. the up two davincifb have any difference? where to get? My msn is: [EMAIL PROTECTED] Could you add me? > > Good Luck! > > > > Best regards, > chiachen > [EMAIL PROTECTED] > 2008-08-13 > > ======= 2008-08-12 21:23, your message: Re: [directfb-dev] How to use > directfb 1.2.0 on Davinci board.======= > > thanks. the output is: > (c) 2001-2008 The world wide DirectFB Open Source Community > (c) 2000-2004 Convergence (integrated media) GmbH > ---------------------------------------------------------------- > > (*) DirectFB/Core: Single Application Core. (2008-08-05 08:39) > (*) Davinci/Driver: Mapped fb0 with length 1658880 at 0x86e00000 to > 0x4126c000 > (*) Davinci/Driver: Mapped fb1 with length 2488320 at 0x86800000 to > 0x41401000 > (*) Davinci/Driver: Mapped fb2 with length 442368 at 0x86a80000 to 0x41661000 > (*) Davinci/Driver: Mapped fb3 with length 2488320 at 0x86400000 to > 0x416cd000 > (!) 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) > (!) davinciGetScreenSize: FBIO_GET_TIMING (fb16) failed! > --> Invalid argument > (!!!) *** WARNING [could not determine mixer/screen dimension of layer 0] *** > [layer_context.c:1720 in screen_rectangle()] > > > 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 > --------------------------------------------------------------------------------------------------------------------- > > still some warnings. I'am using the default davincifb in the mv 4.0 kernel. > but when i > search the maillist, I found there is a davincifb: > http://www.directfb.org/downloads/Misc/davincifb_2.6.10.tar.bz2 > should i use this one and apply the patch in gfxdrivers/davinci? > > and another question is how to enable acceleration with c64x.ko? > seems need a dsp firmware? > > thanks a lot. > > > Deng XueFeng wrote: > > > [EMAIL PROTECTED]:~# dfbinfo --dfb:system=devmem > > > --dfb:video-phys=0x83000000 --dfb:video-length=691200 > > > > Please try > > dfbinfo > > --dfb:system=devmem,video-phys=0x83000000,video-length=691200,accelerator=6400 > > > > > > > > The additional accelerator setting avoids the probing in the Davinci > > driver. > > > > -- > > Best regards, > > Denis Oliver Kropp > > > > .------------------------------------------. > > | DirectFB - Hardware accelerated graphics | > > | http://www.directfb.org/ | > > "------------------------------------------" > > -- > Deng XueFeng > > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > . > > > = = = = = = = = = = = = = = = = = = = = -- Deng XueFeng . = = = = = = = = = = = = = = = = = = = =
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev