Thank you ...Shivakumar .....

May be I would get few more question while porting....would you me
out....Shivakumar......This is entry level for me on DirectFB  in the
graphic  Domain. So I may get few query....please help me ....



Thanks,

Madhukumar.



From: Shivakumar Mishra [mailto:shivajeeku...@gmail.com]
Sent: Thursday, April 22, 2010 11:02 AM
To: Manjanna Madhu (WT01 - Product Engineering Services)
Cc: ujjals...@tataelxsi.co.in; amitpan...@tataelxsi.co.in;
directfb-dev@directfb.org
Subject: Re: [directfb-dev] DirectFB/core/system: No system found!





On Wed, Apr 21, 2010 at 5:47 PM, <manjanna.ma...@wipro.com> wrote:

Hi All,

    As I have to port INTEL broad which include  Display driver and
DirectFB driver.  As in the Intel architecture,  DirectFB  module is top
of display driver and graphic driver.  I have to write HAL for the ATSC
middleware.   Related  to this I would like to ask you few query on
this, would you help me out,



 There are couple of query :

1. DirectFB  API   can be used for the implementation of HAL layer :

  Go through www.directfb.org

  Directfb is a complete hardware abstraction layer with software
fallbacks for every graphics operation.

        2.  Can we use DirectFBAPI  for the Implementation of HAL Layer
and Give example for basic implementation of Direct API.



 yes, link is http//www.directfb.org/docs/DirectFB_Tutorials/



        3.  DirectFB Dirver is depend on the Display driver.. ...as my
understanding that ..Display driver  is installed , configure  and top
of this I would able to used DirectFB API.

         yes



        Thanks,

        Madhukumar.







        From: directfb-dev-boun...@directfb.org
[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Shivakumar
Mishra
        Sent: Wednesday, April 21, 2010 3:09 PM


        To: Ujjal Saha
        Cc: Amit Pandya; directfb-dev@directfb.org

        Subject: Re: [directfb-dev] DirectFB/core/system: No system
found!



        comment out this line
        //      DFBCHECK (dfb->SetCooperativeLevel (dfb,
DFSCL_FULLSCREEN));
        and check it It should work.

        On Wed, Apr 21, 2010 at 2:48 PM, Ujjal Saha
<ujjals...@tataelxsi.co.in> wrote:

        I am running a Test Code from DFBTutorials-0.5.0.

        Filename: Simple.c



        Code Snippet follows:



        int main (int argc, char **argv)

        {

        DFBSurfaceDescription dsc;

        DFBCHECK (DirectFBInit (&argc, &argv));

        DFBCHECK (DirectFBCreate (&dfb));

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

        dsc.flags = DSDESC_CAPS;

        dsc.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;

        DFBCHECK (dfb->CreateSurface( dfb, &dsc, &primary ));

        DFBCHECK (primary->GetSize (primary, &screen_width,
&screen_height));

        DFBCHECK (primary->FillRectangle (primary, 0, 0, screen_width,
screen_height));

        DFBCHECK (primary->SetColor (primary, 0x80, 0x80, 0xff, 0xff));

        DFBCHECK (primary->DrawLine (primary, 0, screen_height / 2,

        screen_width - 1, screen_height / 2));

        DFBCHECK (primary->Flip (primary, NULL, 0));

        sleep (5);

        primary->Release( primary );

        dfb->Release( dfb );

        return 23;

        }

        Program is crashing on DFBCHECK (DirectFBCreate (&dfb));





        Regards,
        Ujjal

                ----- Original Message -----

                From: Shivakumar Mishra <mailto:shivajeeku...@gmail.com>


                To: Ujjal Saha <mailto:ujjals...@tataelxsi.co.in>

                Cc: directfb-dev@directfb.org ; Amit Pandya
<mailto:amitpan...@tataelxsi.co.in>

                Sent: Wednesday, April 21, 2010 2:29 PM

                Subject: Re: [directfb-dev] DirectFB/core/system: No
system found!




                which application you are running and tell me your
surface description flag and cooperative level of your application

                On Wed, Apr 21, 2010 at 2:23 PM, Ujjal Saha
<ujjals...@tataelxsi.co.in> wrote:



                I have successfully cross compiled Directfb for TI
DaVinci DM365.



                But when I try to run Directfb Tutorial example
applications on board .I am getting the following errors.......

                ~~~~~~~~~~~~~~~~~~~~~~~~~~| 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. (2010-04-21
05:54)

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

                simple.c <96>:

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



                Hello,



                For cross compilation, I am doing following steps



                1) configure



                ./configure CC=arm_v5t_le-gcc
LDFLAGS="-L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/lib/"
CFLAGS="-I/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/include/"
PKG_CONFIG=/home/Harris/workdir/filesys/usr/lib/pkgconfig/
--prefix=/home/Harris/workdir/filesys/usr
--exec-prefix=/home/Harris/workdir/filesys/usr --build=i686
--host=arm-linux --enable-x11=no --with-gfxdrivers=davinci
--with-inputdrivers=none --enable-fbdev=yes --enable-png=no
--enable-freetype=no --enable-jpeg=no

                where, /home/Harris/workdir/filesys is out target file
system.



                2) make ; make install



                I have also checked putting data on /dev/fb0 [echo
"aaaaaaaaaaaaaaaaaaaa" >/dev/fb0]

                I am able to see the data after wrinting on int. [cat
/dev/fb0]





                Please Help...!!!





                Thanks,

                Ujjal




                _______________________________________________
                directfb-dev mailing list
                directfb-dev@directfb.org

http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev




                --
                "The best way to find yourself is to lose yourself in
the service of others".

                Shiva The Great




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




        --
        "The best way to find yourself is to lose yourself in the
service of others".

        Shiva The Great

        Please do not print this email unless it is absolutely
necessary.

        The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.

        WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence
of viruses. The company accepts no liability for any damage caused by
any virus transmitted by this email.

        www.wipro.com




--
"The best way to find yourself is to lose yourself in the service of
others".

Shiva The Great


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to