Or, as a quick-test option, you can try to modprobe (as root) your graphics kernel module.
On my system, this will cause udev to generate /dev/fb0 automatically.
Generally, these are kept separate from the X-accelerators, and for met it's: /lib/modules/2.6.24-26-generic/kernel/drivers/video/matrox/ matroxfb_base.ko (ubuntu 9.10)

Greets
Niels


Ian Harrold wrote:


On Thu, Feb 25, 2010 at 9:23 PM, Jack W. <[email protected] <mailto:[email protected]>> wrote:

    I just formatted the hard disk of my PC and reinstalled CentOS 5.4
    and directfb 1.4.1. But my old DirectFB programs can not run. I
    forget how I figured out the DirectFB setting issues a half year
    ago. The error is due to framebuffer device, I put them below.


    [r...@xpc070655 photowall]# ./showphotos
       ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.1
    |~~~~~~~~~~~~~~~~~~~~~~~~~~
            (c) 2001-2009  The world wide DirectFB Open Source Community
            (c) 2000-2004  Convergence (integrated media) GmbH
          ----------------------------------------------------------------

    (*) DirectFB/Core: Single Application Core. (2010-02-25 21:20)
    (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
        --> No such file or directory
    (!) DirectFB/FBDev: Error opening framebuffer device!
    (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER
    environment variable.
    (!) DirectFB/Core: Could not initialize 'system_core' core!
        --> Initialization error!
    (!) [ 3316:    0.069] --> Caught signal 11 (at 0x10, invalid
    address) <--
    Aborted
    [r...@xpc070655 photowall]#


    I am looking for the solution. Thanks a lot for any help!

    -Jack



    _______________________________________________
    directfb-users mailing list
    [email protected] <mailto:[email protected]>
    http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


Sorry for double posting, but perhaps I was too quick on my first reply. It appears you did run as root. I have never used CentOS, but here is some help from Ubuntu forums which may point you in the right direction.
http://ubuntuforums.org/showthread.php?t=652038
Ian ------------------------------------------------------------------------

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to