Hi Amit! You will need to get your Framebuffer up and running before you can use DFB.
Any Framebuffer, including the "vesa" framebuffer will do, but to get accellerated graphics operations you will need a framebuffer driver specific to your hardware (eg nvidiafb for Nvidia cards, intelfb for Intel Graphics adapters, etc...). The Framebuffer driver is a kernel module, and has to be configured in your kernel. When the kernel loads you can load the framebuffer driver by passing the right argument to the kernel from grub or lilo. Eg (video=intelfb,mode:[EMAIL PROTECTED] or something like that, see the documentation for the framebuffer driver). You can also load the framebuffer driver later, once the system has booted (eg modprobe intelfb). If you have only one screen, ie if you want to use the same screen for the command line and for the framebuffer, you will need to include "framebuffer console" in your kernel as well. See the Framebuffer HOWTO at: http://tldp.org/HOWTO/Framebuffer-HOWTO.html Regards, Richard Unger > -----Ursprüngliche Nachricht----- > Von: amit bag [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 07. März 2007 12:29 > An: Unger Richard > Betreff: Re: [directfb-users] help > > hi , > I try the command cat /proc/fb but don't get any out put > . Is that mean there is no framebuffer loaded. If yes then > how to load the frambuffer . > > Unger Richard <[EMAIL PROTECTED]> wrote: > > Hi! > > Just because the device file exists does not mean the > framebuffer is running. > > Check: > > cat /proc/fb > > And see what the output is. There should be some info > about your framebuffer driver, at least ist name... > If there is no output there is no framebuffer loaded. > > Regards, > > Richard Unger > > > > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im > Auftrag von amit bag > > Gesendet: Mittwoch, 07. März 2007 07:25 > > An: [email protected] > > Betreff: [directfb-users] help > > > > Hi, > > I was trying to write a small C application to use DirectFB > > to draw a horizontal line on RedHat 9 machine, but get the > > following error during runtime... > > =======================| DirectFB 1.0.0-rc4 > |======================= > > (c) 2001-2006 United Cultures of Earth - go for > > outer space! > > (c) 2000-2004 Convergence (integrated media) GmbH > > > > > ---------------------------------------------------------------- > > > > (*) DirectFB/Core: Single Application Core. (2007-02-27 07:33) > > (!) Direct/Util: opening '/dev/fb0' failed > > --> No such device > > (!) DirectFB/FBDev: Error opening framebuffer device! > > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER > > environment variable. > > (!) DirectFB/Core: Could not initialize 'system' core! > > --> Initialization error! > > src/directfb.c <25>: > > (#) DirectFBError [DirectFBCreate (&dfb)]: > > Initialization error! > > > > I tried 'fbset -i' on my system > > to get: > > > fbset -i > > open /dev/fb0: No such device > > > > When I do ls /dev/fb0 I get /dev/fb0. > > > > But does this mean that I don't have a frame buffer device > > installed or running? > > So please help in running the program > > . > > Is there any DirectFB configuration which might help the case? > > regards > > Amit Kumar Bag > > > > ________________________________ > > > > Here's a new way to find what you're looking for - Yahoo! > > Answers > > > > hoo.com/> > > > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > > > > Regards > Amit Kumar Bag > > > ________________________________ > > Here's a new way to find what you're looking for - Yahoo! > Answers > <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.ya > hoo.com/> > _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
