LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-27-2009, 12:25 AM   #1
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Rep: Reputation: 15
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
 
Old 02-27-2009, 01:19 AM   #2
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 02-27-2009, 02:10 AM   #3
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
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()]
 
Old 03-01-2009, 09:32 PM   #4
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK on DFB mSaiyesh Linux - Software 5 05-07-2008 11:11 PM
Error running displayconfig-gtk BuilderQ Linux - Software 1 10-18-2007 05:47 PM
Installing Direct DFB 0.9.24 over Qt3.2.1 Jitu4321 Linux - Software 0 09-11-2006 09:36 AM
Error running Gramps (GTK based) fazaman Linux - Software 1 02-10-2005 04:47 PM
UT 2003 demo error Eponick Linux - Software 8 01-27-2004 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration