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 DirectFBmodule init, we met 3 errors:
( 1 ) DirectFB/DirectFBCreate: Setting desktop resolution to 1920x1080failed!   
 -> 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 notregister itself 
after loading! Trying default module constructor...(!) 
DirectFB/gfxdrivers/dfb_stblit_accel: FB file descriptor = 3(*) 
DirectFB/Graphics: ST Microelectronics STAPI Blit based graphicacceleration 0.1 
(ST Microelectronics)(*) DirectFB/Core/WM: Default 0.3 (directfb.org)(!) 
DirectFB/DirectFBCreate: Setting desktop resolution to
 1920x1080failed!    -> 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".



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

= = = = = = = = = = = = = = = = = = = = 
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to