[Pkg-directfb-devel] Bug#500564: directfb: DirectFB fails to start ("Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0 (16bit)") (BGR555)

Xerxes Ranby xerxes at zafena.se
Mon Sep 29 12:08:30 UTC 2008


Package: libdirectfb-1.0-0
Version: 1.0.1-11
Severity: important
File: directfb

DirectFB fails to start on embedded ARM systems based on Atmel AT91SAM9263 with TFT-LCD controller design.
Tested systems: Atmel AT91SAM9263-EK devkit and Ronetix PM9263 starterkit.
The LCD-TFT module is a HITACHI TX09D70VM1CCA.

On startup DirectFB fail with the message that the pixelformat rgba 5/0, 5/5, 5/10, 0/0 (16bit) is unsupported. 
(A BGR555 pixelformat with red and blue swapped compared to normal RGB)
This error makes the directfb package and all programs that depends on directfb unusable on systems using the BGR555 pixelformat.
This pixelformat is supported in the upstream version of DirectFB. 

A patch file to add support for BGR555 to directfb can be found in the upstream GIT tree:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=eaea0e34702b7bcb8839b6df0397cbe313d4dd7f

Output from directfb programs:

     =======================|  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-08-18 13:04)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3774)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3775)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 3776)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3777)...
(*) DirectFB/Input: ADS784x Touchscreen (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3778)...
(*) DirectFB/Input: Microsoft Comfort Curve Keyboar (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3779)...
(*) DirectFB/Input: Microsoft Comfort Curve Keyboar (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 3780)...
(*) DirectFB/Input: Dell Dell USB Mouse (4) 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0 (16bit)
 (!!!)  *** WARNING [unknown format] *** [../../../systems/fbdev/fbdev.c:1966 in dfb_fbdev_set_mode()]
 (!!!)  *** ONCE [unsupported destination format] *** [../../../../src/gfx/generic/generic.c:6642 in gAcquire()]
(!) [ 3771:    0.000] --> Caught signal 2 (sent by the kernel) <--
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [../../../lib/fusion/object.c:231 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [../../../lib/fusion/object.c:231 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [setting window->stack = NULL] *** [../../../wm/default/default.c:2805 in wm_close_stack()]
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [../../../lib/fusion/object.c:231 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [../../../lib/fusion/object.c:231 in fusion_object_pool_destroy()]

ronetix-armel:/home/xerxes# fbset

mode "240x320-55"
    # D: 4.976 MHz, H: 17.835 kHz, V: 55.389 Hz
    geometry 240 320 240 320 16
    timings 200964 1 33 1 0 5 1
    hsync high
    vsync high
    rgba 5/0,5/5,5/10,0/0
endmode

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: armel (armv5tejl)

Kernel: Linux 2.6.23.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdirectfb-1.0-0 depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-1  GCC support library
ii  libsysfs2                     2.1.0-5    interface library to sysfs
ii  libts-0.0-0                   1.0-4      touch screen library

libdirectfb-1.0-0 recommends no packages.

libdirectfb-1.0-0 suggests no packages.

-- no debconf information





More information about the Pkg-directfb-devel mailing list