Hello chiachen,

Do you know how to change DFB default format. I think the default format is 
RGB16 now, and I want to change to ARGB1555. Thanks

Mike




________________________________
发件人: "chiachen " " <[EMAIL PROTECTED]>
收件人: [email protected]
已发送: 2008/11/26(周三), 上午11:31:26
主题: Re: [directfb-users] DirectFB/DirectFBCreate: Setting desktop       
resolution to 1920x1080 failed!

Hi, Mike Yuan, 

If you want to test the graphic  layer support the resolution.

You could run this in the  terminal:

#dfblayer -l 0 -m 1920x1080

-l means wich layer you want  to test, sometimes you could see multiple layers 
by "dfbinfo"
-m meas  the you resolution you want to set

Usually, if it set the resolution  successfully, it will display the details.
by contraries, it will tell you  "not surport".



Best regards, 
chiachen 
[EMAIL PROTECTED] 
2008-11-26 

======= 2008-11-26 10:50, your  message: [directfb-users] 
DirectFB/DirectFBCreate: Setting desktop resolution to  1920x1080 
failed!======= 

 
Hello All,

I use DirectFB on Linux2.6 and want to set graphics layer resolution to 
1920x1080(mode is 1920x1080-50i), but when DirectFB
module init, we met 3 errors:


( 1 ) DirectFB/DirectFBCreate: Setting desktop resolution to 1920x1080
failed!
    -> Using default resolution..
( 2 ) DirectFB/DirectFBCreate: Setting desktop format failed!
    -> Using default format.
( 3 ) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
    -> No virtual resolution support or not enough memory?
       Falling back to system back buffer.



Following is the whole log info of DirectFB:

    =======================|  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, 1415)...
(*) Direct/Modules: suppress module 'keyboard'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 1416)...
(*) DirectFB/Input: LIRC Device 0.2 (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.1 (ST Microelectronics)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to

 1920x1080
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.
(*) Direct/Interface: Loaded 'JPEG' implementation of
'IDirectFBImageProvider'.
(*) Direct/Interface: Using 'PNG' implementation of
'IDirectFBImageProvider'.
Actually in file /etc/fb.modes, we have mode "1920x1080-50i".

________________________________
 好玩贺卡等你发,邮箱贺卡全新上线!

= = = = = = = =  = = = = = = = = = = = = 



      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to