Hi, Xie, Weihong (NSN - US/Redmond), You could try "dfblayer" in the terminal. To get how many layers you can use: #dfbinfo To judge the resalution it supportted or not: #dfblayer -l 0 -m 1024x768 0 is the ID of the layer, if it has mutiple layers, the ID should be 0,1,2....
Best regards, chiachen [EMAIL PROTECTED] 2008-10-08 ======= 2008-10-08 01:08, your message: [directfb-users] Error: surface->Lock(surface, DSLF_WRITE, &surface_data, &pitch)]: Not supported!======= We are using directFB on an EIP settopbox. It runs fine for resolution 720X480, but when trying to change the resolution to 1280X720, it gives the above the error. Here is the complete log, anybody has any idea, thanks. =======================| DirectFB 1.1.1 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-03-12 13:19) (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1231)... (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1232)... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1233)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) (!) Direct/Modules: Could not find module directory in path! --> No such file or directory (*) DirectFB/Graphics: Generic 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 2880. (*) FBDev/Mode: (Post)Setting 640x480 RGB32 (*) FBDev/Mode: Switched to 640x480 (640x480) 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 1280x720 RGB32 (*) FBDev/Mode: Testing 1280x720 RGB32 (*) FBDev/Mode: Preparing switch to 1280x720 RGB32 (*) FBDev/Mode: Testing 1280x720 RGB32 (*) FBDev/Mode: Preparing switch to 1280x720 RGB32 (*) FBDev/Mode: Testing 1280x720 RGB32 (*) FBDev/Mode: Preparing switch to 1280x720 RGB32 (*) FBDev/Mode: Testing 1280x720 RGB32 (*) FBDev/Mode: Preparing switch to 1280x720 RGB32 (*) FBDev/Surface: Allocated 1280x720 32bit RGB32 buffer at offset 0 and pitch 2560. (*) FBDev/Mode: (Post)Setting 1280x720 RGB32 (*) FBDev/Mode: Switched to 1280x720 (1280x720) at 32 bit RGB32 (wanted RGB32). (#) DirectFBError [surface->Lock(surface, DSLF_WRITE, &surface_data, &pitch)]: Not supported! (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] Weihong Xie = = = = = = = = = = = = = = = = = = = =
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users