> Why DirectFB claims Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0 
> (16bit)
> when fbset say we are running with 24bit ?

that error was caused by wrong settings on target, now replaced with:

# cat /etc/directfbrc
debug
banner
no-vt-switch
no-hardware
depth=24
mode=320x240
pixelformat=RGB24


# dfbinfo

      =======================|  DirectFB 1.0.1  |=======================
           (c) 2001-2007  The DirectFB Organization (directfb.org)
           (c) 2000-2004  Convergence (integrated media) GmbH
         ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-01-09 23:33)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 370)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 371)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
Couldnt open tslib config file: No such file or directory
(*) Direct/Thread: Running 'Linux Input' (INPUT, 372)...
(*) DirectFB/Input: encodrv (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 373)...
(*) DirectFB/Input: ADS784x Touchscreen (2) 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 320x240 failed!
      -> Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
      -> Using default format.
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
      -> No virtual resolution support or not enough memory?
         Falling back to system back buffer.
(!) DirectFB/DirectFBCreate: Setting system memory desktop back buffer 
failed!
      -> Using front buffer only mode.


Screen (00) FBDev Primary Screen            (primary screen)
    Caps: VSYNC POWER_MANAGEMENT

      Layer (00) FBDev Primary Layer             (primary layer)
         Type:    GRAPHICS
         Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION


Input (00) Keyboard                        (primary keyboard)
    Type: KEYBOARD
    Caps: KEYS

Input (01) ADS784x Touchscreen             (primary mouse)
    Type: MOUSE
    Caps: AXES
    Max. Axis: 1


But when I do something more trying to put something on the screen I get 
errors:

# df_drivertest

      =======================|  DirectFB 1.0.1  |=======================
           (c) 2001-2007  The DirectFB Organization (directfb.org)
           (c) 2000-2004  Convergence (integrated media) GmbH
         ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-01-09 23:33)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 403)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 404)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
Couldnt open tslib config file: No such file or directory
(*) Direct/Thread: Running 'Linux Input' (INPUT, 405)...
(*) DirectFB/Input: encodrv (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 406)...
(*) DirectFB/Input: ADS784x Touchscreen (2) 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 320x240 failed!
      -> Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
      -> Using default format.
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
      -> No virtual resolution support or not enough memory?
         Falling back to system back buffer.
(!) DirectFB/DirectFBCreate: Setting system memory desktop back buffer 
failed!
      -> Using front buffer only mode.
(!) DirectFB/core/layers: Could not set primary region config!
     --> Not supported!
df_drivertest.c <90>:
         (#) DirectFBError [dfb->GetDisplayLayer( dfb, DLID_PRIMARY, 
&layer )]: Not supported!
  (!!!)  *** WARNING [Application exited without deinitialization of 
DirectFB!] *** [core.c:813 in dfb_core_deinit_check()]
  (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** 
[object.c:231 in fusion_object_pool_destroy()]


Any ideas what I've done wrong/how I should go about fixing it?
TIA

/marco

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

Reply via email to