I think I`v made one step forward.
I`v compiled directfb with following configuration options:

--with-gfxdrivers=none --with-tests --enable-shared --enable-static --enable-debug --enable-fbdev

Now I get following error by starting an directfb app like df_dok or df_fire:

root [ ~ ] $ df_dok

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

(*) DirectFB/Core: Single Application Core. (2011-07-14 11:58) [ DEBUG ]
(*) Direct/Thread: Started 'VT Switcher' (719) [CRITICAL OTHER/OTHER 0/0] <8388608>... (*) Direct/Thread: Started 'Keyboard Input' (720) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(!) [ 716: 0.000] --> Caught signal 11 (at 0x402bd054, invalid address) <--
(!) DirectFB/core/vt: Unable to disallocate VT!
    --> Device or resource busy
Aborted

I also tried to add "trace" and "no-*vt*-switch", with no success.

Thanks!
Best regards

Dominik Schröder

Am 14.07.2011 14:59, schrieb haithem rahmani:
can you provide a full trace output?

add "trace" to the /etc/directfbrc



On Thu, Jul 14, 2011 at 12:42 PM, Dominik Schröder <dominik.schroe...@bh-informativ.de <mailto:dominik.schroe...@bh-informativ.de>> wrote:

    Hello Haithem

    Thanks for your response. Unfortunately this was no help... :-(

    ls -R /usr/lib/directfb-1.2-0 gives me:

    root [ ~ ] $ ls -R /usr/lib/directfb-1.2-0/
    /usr/lib/directfb-1.2-0/:
    inputdrivers  interfaces    systems       wm

    /usr/lib/directfb-1.2-0/inputdrivers:
    libdirectfb_joystick.la <http://libdirectfb_joystick.la>
    libdirectfb_ps2mouse.la <http://libdirectfb_ps2mouse.la>
    libdirectfb_joystick.so     libdirectfb_ps2mouse.so
    libdirectfb_keyboard.la <http://libdirectfb_keyboard.la>
    libdirectfb_serialmouse.la <http://libdirectfb_serialmouse.la>
    libdirectfb_keyboard.so     libdirectfb_serialmouse.so
    libdirectfb_linux_input.la <http://libdirectfb_linux_input.la>
    libdirectfb_sonypi.la <http://libdirectfb_sonypi.la>
    libdirectfb_linux_input.so  libdirectfb_sonypi.so
    libdirectfb_lirc.la <http://libdirectfb_lirc.la>
    libdirectfb_tslib.la <http://libdirectfb_tslib.la>
    libdirectfb_lirc.so         libdirectfb_tslib.so
    libdirectfb_mutouch.la <http://libdirectfb_mutouch.la>
    libdirectfb_ucb1x00_ts.la <http://libdirectfb_ucb1x00_ts.la>
    libdirectfb_mutouch.so      libdirectfb_ucb1x00_ts.so
    libdirectfb_penmount.la <http://libdirectfb_penmount.la>
    libdirectfb_wm97xx_ts.la <http://libdirectfb_wm97xx_ts.la>
    libdirectfb_penmount.so     libdirectfb_wm97xx_ts.so

    /usr/lib/directfb-1.2-0/interfaces:
    IDirectFBFont           IDirectFBImageProvider  IDirectFBVideoProvider

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBFont:
libidirectfbfont_default.la <http://libidirectfbfont_default.la> libidirectfbfont_dgiff.so
    libidirectfbfont_default.so libidirectfbfont_ft2.la
    <http://libidirectfbfont_ft2.la>
libidirectfbfont_dgiff.la <http://libidirectfbfont_dgiff.la> libidirectfbfont_ft2.so

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider:
    libidirectfbimageprovider_dfiff.la
    <http://libidirectfbimageprovider_dfiff.la>
    libidirectfbimageprovider_jpeg.la
    <http://libidirectfbimageprovider_jpeg.la>
    libidirectfbimageprovider_dfiff.so  libidirectfbimageprovider_jpeg.so
    libidirectfbimageprovider_gif.la
    <http://libidirectfbimageprovider_gif.la>
    libidirectfbimageprovider_png.la
    <http://libidirectfbimageprovider_png.la>
    libidirectfbimageprovider_gif.so    libidirectfbimageprovider_png.so

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBVideoProvider:
    libidirectfbvideoprovider_gif.la
<http://libidirectfbvideoprovider_gif.la> libidirectfbvideoprovider_gif.so

    /usr/lib/directfb-1.2-0/systems:
    libdirectfb_devmem.la <http://libdirectfb_devmem.la>
    libdirectfb_fbdev.la <http://libdirectfb_fbdev.la>
    libdirectfb_devmem.so  libdirectfb_fbdev.so

    /usr/lib/directfb-1.2-0/wm:
libdirectfbwm_default.la <http://libdirectfbwm_default.la> libdirectfbwm_default.so

    So I think the modules are installed in the right way. After this
    I updated my directfbrc:
    root [ ~ ] $ cat /etc/directfbrc
    system=fbdev
    fbdev=/dev/fb0
    mode=1024x768
    depth=24
    module-dir=/usr/lib/directfb-1.2-0
    log-file=/var/log/directfb.log

    Is that right!?

    But as I mentioned, df_dok already breaks directly after start...

    Thank!
    Best regrads

    Dominik Schröder


    Am 14.07.2011 12:56, schrieb haithem rahmani:
    for example on my linux machine I have the 1.2.9 installed.

    the directfb modules are under:/usr/lib/directfb-1.2-0:
    doing :

    $>ls -R /usr/lib/directfb-1.2-0/

    /usr/lib/directfb-1.2-0/:
    gfxdrivers  inputdrivers  interfaces  systems  wm

    /usr/lib/directfb-1.2-0/gfxdrivers:
libdirectfb_ati128.so libdirectfb_i810.so libdirectfb_matrox.so libdirectfb_nvidia.so
     libdirectfb_sis315.so     libdirectfb_vmware.so
libdirectfb_cyber5k.so libdirectfb_i830.so libdirectfb_neomagic.so libdirectfb_radeon.so libdirectfb_tdfx.so
    libdirectfb_ep9x.so     libdirectfb_mach64.so  libdirectfb_nsc.so
          libdirectfb_savage.so  libdirectfb_unichrome.so

    /usr/lib/directfb-1.2-0/inputdrivers:
libdirectfb_joystick.so libdirectfb_lirc.so libdirectfb_ps2mouse.so libdirectfb_tslib.so libdirectfb_keyboard.so libdirectfb_mutouch.so libdirectfb_serialmouse.so libdirectfb_vncinput.so
    libdirectfb_linux_input.so  libdirectfb_penmount.so
     libdirectfb_sonypi.so       libdirectfb_wm97xx_ts.so

    /usr/lib/directfb-1.2-0/interfaces:
    IDirectFBFont  IDirectFBImageProvider  IDirectFBVideoProvider

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBFont:
    libidirectfbfont_default.so  libidirectfbfont_dgiff.so
     libidirectfbfont_ft2.so

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider:
    libidirectfbimageprovider_dfiff.so
     libidirectfbimageprovider_gif.so
     libidirectfbimageprovider_jpeg.so  libidirectfbimageprovider_png.so

    /usr/lib/directfb-1.2-0/interfaces/IDirectFBVideoProvider:
    libidirectfbvideoprovider_gif.so  libidirectfbvideoprovider_v4l.so

    /usr/lib/directfb-1.2-0/systems:
    libdirectfb_devmem.so  libdirectfb_fbdev.so  libdirectfb_vnc.so

    /usr/lib/directfb-1.2-0/wm:
    libdirectfbwm_default.so  libdirectfbwm_unique.so


    check for such a directory on your target and then update your
    directfbrc

    module-dir=<the path of your directory>
    On Thu, Jul 14, 2011 at 11:48 AM, haithem rahmani
    <haithem.rahm...@gmail.com <mailto:haithem.rahm...@gmail.com>> wrote:

        Hi,

        may be your "module-dir" is not well set.
        where did you install the directfb modules?

            one more background information:

            My file /etc/directfbrc looks like this:

            system=fbdev
            fbdev=/dev/fb0
            mode=1024x768
            depth=24
            log-file=/var/log/directfb.log

            My framebuffer is working good, if I type:

            dd if=/dev/urandom of=/dev/fb0

            I get the random noise on my screen...
            But starting df_dok already breaks with:

               ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.6
            |~~~~~~~~~~~~~~~~~~~~~~~~~~

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

            (*) DirectFB/Core: Single Application Core. (2009-06-01
            01:17)
            (!) DirectFB/core/system: No system found!
            df_dok.c <1457>:
                    (#) DirectFBError [DirectFBCreate( &dfb )]: No
            (suitable) implementation found!

            Any ideas!?

            Thanks!
            Best regards

            Dominik Schröder

            Am 14.07.2011 11:34, schrieb Dominik Schröder:
            Hello again,

            does there nobody have an idea!?
            Unfortunately I`m struggling on this problem until now...
            Which parameters do I have to configure with
            directfb-config!? And how do I have to configure them!?

            Thanks for any help!

            Best regards

            Dominik Schröder

            Am 12.07.2011 17:26, schrieb Dominik Schröder:

            Hello all

            I want to use directfb on an marvell pxa168 ARM
            processor. What do I have to do!?

            At the moment I have cross-compiled the packages
            DirectFB-1.2.0 and DirectFB-examples-1.2.0. Then I have
            installed /bin and /lib to my target rootfs.

            But if I try to start for example df_dok on my target,
            I get:

               ~~~~~~~~~~~~~~~~~~~~~~~~~~| 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. (2011-07-12
            13:50)

            (!) DirectFB/core/system: No system found!

            df_dok.c <1457>:

                    (#) DirectFBError [DirectFBCreate( &dfb )]: No
            (suitable) implementation found!

            I use version 1.2.0 because I think marvell is working
            with this version, too. There should be an hardware
            acceleration for directfb.

            But I think, then I must use directfb sources /
            directfb.patch from marvell!?

            Has anybody on this list a running system with an
            PXA168 who can help me!?

            Best regards

            Dominik Schröder


            _______________________________________________
            directfb-users mailing list
            directfb-users@directfb.org  <mailto:directfb-users@directfb.org>
            http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


            _______________________________________________
            directfb-users mailing list
            directfb-users@directfb.org  <mailto:directfb-users@directfb.org>
            http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


            _______________________________________________
            directfb-users mailing list
            directfb-users@directfb.org
            <mailto:directfb-users@directfb.org>
            http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users




-- *
        /"If you ask a question - you will be a fool for 5 minutes,
        otherwise ignorant for rest of your life"/
        *




-- *
    /"If you ask a question - you will be a fool for 5 minutes,
    otherwise ignorant for rest of your life"/
    *


    _______________________________________________
    directfb-users mailing list
    directfb-users@directfb.org  <mailto:directfb-users@directfb.org>
    http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


    _______________________________________________
    directfb-users mailing list
    directfb-users@directfb.org <mailto:directfb-users@directfb.org>
    http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users




--
*
/"If you ask a question - you will be a fool for 5 minutes, otherwise ignorant for rest of your life"/
*


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

Reply via email to