Il giorno lun, 28/01/2008 alle 21.48 -0800, nammoo ha scritto: > Hi~ i've Question~ > > i use DirectFB 1.1.1 version, to embedded system on RHEL4. > > i set DirectFB on RHEL4, on 4 units of our Products. > > so, 3 units are good, RGB24, but One unit is RGB32. > > and, i need RGB24 devel environment, but i'm busy..(?)..... > > terriabley, I'm Fresh man in my Company..., so, I have to do quickly. > > i need your help, RGB32 -> RGB24. > > Is there 'RGBxx setting, Command' ? > > i didn't find it.. > > No source code, just i need command...just.. cmd.. >
$ echo "pixelformat=RGB24" >> ~/.directfbrc (or /etc/directfbrc) or, alternatively, from DFBTerm you can run the following command $ dfblayer --format RGB24 > > p.s my directfb msg > > (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 12461)... > (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) > (*) DirectFB/Genefx: MMX detected and enabled > (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) > (*) DirectFB/Core/WM: Default 0.3 (directfb.org) > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Surface: Allocated 640x480 32bit RGB32 buffer at offset 0 and > pitch 5120. > (*) FBDev/Mode: (Post)Setting 640x480 RGB32 > (*) FBDev/Mode: Switched to 1280x1024 (1280x1024) at 32 bit RGB32 (wanted > RGB32). > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: (Post)Setting 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Testing 640x480 RGB32 > (*) FBDev/Mode: Preparing switch to 640x480 RGB32 > (*) FBDev/Mode: Switched to 1280x1024 (1280x1024) at 32 bit RGB32 (wanted > RGB32). > (*) FBDev/Surface: Allocated 1280x1024 32bit RGB32 buffer at offset 0 and > pitch 5120. > (*) FBDev/Mode: (Post)Setting 640x480 RGB32 > (*) FBDev/Mode: Switched to 1280x1024 (1280x1024) at 32 bit RGB32 (wanted > RGB32). > (*) Direct/Interface: Loaded 'JPEG' implementation of > 'IDirectFBImageProvider'. > (!) [12379: 0.000] --> Caught signal 11 (at 0xffffffff8b9d558b, invalid > address) <-- > (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 > in fusion_object_pool_destroy()] > (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** > [object.c:241 in fusion_object_pool_destroy()] > (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in > fusion_object_pool_destroy()] > Abort (core dumped) Mmmh.. build DirectFB with trace support to debug this crash. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev