Hello Everybody,

I am able to compile the DirectFB programs with SDL support in my /etc/directfbrc file as including stmt "system=sdl".

My "dfbinfo -i" output is:

(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        ------------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2006-02-09 07:40)
(*) Direct/Memcpy: Forced to use MMXEXT optimized memcpy()
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'SDL Input' (INPUT, 5213)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)

Screen (00) SDL Primary Screen              (primary screen)
   Caps:

     Layer (00) SDL Primary Layer               (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE

Input (00) SDL Input                       (primary keyboard)
   Type: KEYBOARD MOUSE JOYSTICK
   Caps: KEYS AXES BUTTONS
   Max. Axis: 0
   Max. Button: 0

Now, I have enabled my Frame Buffer device by making changes in kernel of 2.6.10 in Fedora Core-3.
[EMAIL PROTECTED] ~]# ls -all /dev/fb*
lrwxrwxrwx  1 root root     3 Feb 20  2006 /dev/fb -> fb0
crw-------  1 root root 29, 0 Feb 20  2006 /dev/fb0
crw-------  1 root root 29, 1 Feb 20  2006 /dev/fb1

After this, i have disable the sdl stmt from DirectFB configuration file, and make sure the support for the Frame Buffer to run programs.
But this gives following Errors:
[EMAIL PROTECTED] programs]# ./df_window
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2006-02-09 07:40)
(*) Direct/Memcpy: Forced to use MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 5348)...
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 5349)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 5350)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 5351)...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!
(!) DirectFB/FBDev: Current mode's pixelformat: rgba 6/0, 6/0, 6/0, 0/0 (4bit)
(!) DirectFB/Core/layers: Failed to initialize layer 0!
    --> Initialization error!
(!) DirectFB/Core: Could not initialize 'layers' core!
    --> Initialization error!
df_window.c <56>:
        (#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error!

I have changed the fb.modes file with DirectFB package file, but no use.
And i have tried other alternative to make sure the fb.modes are valid, but got the same result.

So, Please could tell me where the problem lies, what are the possibilities to solve this.

Thanks 2 Everybody,
Vikas S
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to