Hi, ChiaChen,

Thanks very much for your help.

I tried the dfblayer command as you suggested, and here is what I get.
Is that means the underlying graphics plane can only support up to
720x576? Is this a hardware limitation or other driver software? I am
just wondering if is there anyway to change it. Thanks.

# ./dfblayer

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

(*) DirectFB/Core: Single Application Core. (2007-12-07 13:08)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1072)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1073)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1074)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(!) Direct/Modules: Module 'libdirectfb_stblit_accel.so' did not
register itself after loading! Trying default module constructor...
(!) DirectFB/gfxdrivers/dfb_stblit_accel: FB file descriptor = 3
(*) DirectFB/Graphics: ST Microelectronics STAPI Blit based graphic
acceleration 0.2 (ST Microelectronics / Siemens Switzerland Ldt.)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)

STM Graphics Plane

Width       720
Height      576
Format      ARGB
Buffermode  BACKVIDEO
Options     ALPHA CHANNEL       OPACITY

# ./dfblayer -m 1280x720

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

(*) DirectFB/Core: Single Application Core. (2007-12-07 13:08)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1080)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1081)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1082)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(!) Direct/Modules: Module 'libdirectfb_stblit_accel.so' did not
register itself after loading! Trying default module constructor...
(!) DirectFB/gfxdrivers/dfb_stblit_accel: FB file descriptor = 3
(*) DirectFB/Graphics: ST Microelectronics STAPI Blit based graphic
acceleration 0.2 (ST Microelectronics / Siemens Switzerland Ldt.)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 720x576
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.

STM Graphics Plane

(#) DirectFBError [IDirectFBDisplayLayer::TestConfiguration() failed]:
Not supported!


Weihong.


________________________________

From: ext chiachen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 07, 2008 5:36 PM
To: Xie, Weihong (NSN - US/Redmond)
Cc: [email protected]
Subject: Re: [directfb-users] Error: surface->Lock(surface, DSLF_WRITE,
&surface_data, &pitch)]: Not supported!


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
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to