Hi,

I just had the same problem, gtk reports wrongly that there's a problem with
the layer, but it could be a problem with the input device.
GTK+ needs a keyboard and mouse, otherwise it complains and refuses to
start, the problem is that the DirectFB backend reports this lack of input
device as a layer issue instead of an input issue.

If you have disable-module=keyboard and/or disable-module=ps2mouse in
directfbrc, remove them. This should solve it.

Regards,
--
Pedro Aguilar

> Hello,
> I'm using an ARM based board with DirectFB and GTK
> the df_cpuload and df_fire samples work smoothly, but when Y try my
> sample source code I face to an error I'm unable to understand.
>
> /*
>  Sample program
> */
> #include <gtk/gtk.h>
>
> int main (int argc, char *argv[])
> {
>     GtkWidget *window;
>
>     gtk_init (&argc, &argv);
>
>     window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
>     gtk_widget_show (window);
>
>     gtk_main ();
>
>     return 0;
> }
>
> This is my result:
>
>      =======================|  DirectFB 1.0.1  |=======================
>           (c) 2001-2007  The DirectFB Organization (directfb.org)
>           (c) 2000-2004  Convergence (integrated media) GmbH
>         ------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2007-12-21 17:16)
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 340)...
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 341)...
> (*) DirectFB/Input: encodrv (1) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 342)...
> (*) DirectFB/Input: ADS784x Touchscreen (2) 0.1 (directfb.org)
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (#) DirectFBError [gdk_display_open: GetDisplayLayer]: Requested ID not
> found!
>
> What does the last error message mean ?
> Any ideas what I've done wrong/how I should go about fixing it?
> TIA
>
> /marco
>
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to