LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   the error when running the GTK-DFB Demo (https://www.linuxquestions.org/questions/linux-desktop-74/the-error-when-running-the-gtk-dfb-demo-707888/)

keika 02-27-2009 12:25 AM

the error when running the GTK-DFB Demo
 
hi.all
I installed GTK-DFB Package according https://wiki.mozilla.org/Mobile/DFBPorting.

But when I run the application under gtk+-2.12.9/tests directory.I got the following error:
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-02-27 02:50)
(!) Direct/Util: opening '/dev/fb/0' failed
--> 没有那个设备或地址
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
(#) DirectFBError [gdk_display_open: DirectFBCreate]: Initialization error!

(gtk-demo:14246): Gtk-WARNING **: cannot open display: :0.0


I did not find the /dev/fb/0!

Any suggestions would be great appreciated!
Thanks!
Richard

keika 02-27-2009 01:19 AM

but after I set the enviromental virable
export FRAMEBUFFER=/dev/fb
there sure is a file name fb under /dev directory
and I got different error below:

(*) DirectFB/Core: Single Application Core. (2009-02-27 02:50)
(!) DirectFB/FBDev: Error opening '/dev/fb'!
--> no such equipment
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Not supported!
(#) DirectFBError [gdk_display_open: DirectFBCreate]: Not support

keika 02-27-2009 02:10 AM

There is a little progress.
after I edit the /etc/grup/grub.conf,added vga=0x314 at the end of kernel ......
reboot
then I run the demo
the sreen went black,after a two or three seconds I got the follwing information:

(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=1)!
--> invalide parameter
(*) GDK/DirectFB: System visual LUT8
(!) [ 3275: 0.000] --> Caught signal 11 (at 0xc, 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()]

keika 03-01-2009 09:32 PM

hi,everyone!
the problem has been resolve.
Because I should put the .directbrc under ~

I made a stupid mistake.

hope you guys don't make the same mistakes also!


All times are GMT -5. The time now is 06:44 AM.