Pedro Aguilar ha scritto:
> 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;
>> }
>>
I've done a little step further.
# fbset
mode "320x240-58"
# D: 6.220 MHz, H: 14.201 kHz, V: 57.963 Hz
geometry 320 240 320 240 24
timings 160771 68 20 1 1 30 3
accel false
rgba 8/0,8/8,8/16,0/0
endmode
# ./provarm
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-01-09 23:33)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 334)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 335)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
Couldnt open tslib config file: No such file or directory
(*) Direct/Thread: Running 'Linux Input' (INPUT, 336)...
(*) DirectFB/Input: encodrv (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 337)...
(*) 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)
(!) DirectFB/FBDev: Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0
(16bit)
(!!!) *** WARNING [unknown format] *** [fbdev.c:1966 in
dfb_fbdev_set_mode()]
(!!!) *** ONCE [unsupported destination format] *** [generic.c:6642
in gAcquire()]
eth0: TX underrun, resetting buffers
(!!!) *** ONCE [unsupported source format] *** [generic.c:6699 in
gAcquire()]
(provarm:330): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion
`cmap == NULL || gdk_drawable_get_depth (drawable) ==
cmap->visual->depth' failed
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 338)...
Why DirectFB claims Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0
(16bit)
when fbset say we are running with 24bit ?
TIA
/marco
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users