> Running the df_window example on my stb225 device fails in a strange way. > What's stange is that the mode seems to be set ok and the background is > painted fine. It only seems to fail when it does a layer->CreateWindow() > :-( > > Any ideas? Note that df_neo example seems to work fine (which I don't > think > calls CreateWindow()).
As far as I remember, the driver on the stb225 doesn't implement the directfb windowing system (and unfortunately it doesn't return a correct error code making it possible to recover from this gracefully). So basically you need to avoid this functionality on this device. -- hw > > Cheers, > > Tom > > > root:$ df_window > > =======================| 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-06-20 09:28) > (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1199)... > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1202)... > (*) DirectFB/Input: Mitsumi Electric Apple Extended (1) 0.1 (directfb.org) > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1203)... > (*) DirectFB/Input: Mitsumi Electric Apple Extended (2) 0.1 (directfb.org) > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1204)... > (*) DirectFB/Input: Logitech USB Optical Mouse (3) 0.1 (directfb.org) > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1205)... > (*) DirectFB/Input: STB225 Infra-red (4) 0.1 (directfb.org) > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1206)... > (*) DirectFB/Input: STB225 Front Panel Keyboard (5) 0.1 (directfb.org) > (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1207)... > (*) DirectFB/Input: Keyboard 0.9 (directfb.org) > (*) DirectFB/Graphics/STB225: /dev/fb0 is the NXP STB225 Framebuffer > Device > (*) DirectFB/Graphics/STB225: Acceleration enabled! > (*) DirectFB/Graphics: STB225 PNX8335 0.1 (STB225) > (*) DirectFB/Cor/WM: Default 0.3 (directfb.org) > (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. > (*) Direct/Interface: Loaded 'STB225' implementation of > 'IDirectFBImageProvider'. > (!) DirectFB/FBDev: Could not set video mode (FBIOPUT_VSCREENINFO)! > --> Bad file descriptor > (!) DirectFB/core/layers: AllocateSurface() failed! > (!) DirectFB/core/layers: Could not set layer context config! > --> General failure! > df_window.c <234>: > (#) DirectFBError [layer->CreateWindow( layer, &desc, &window1 )]: > General failure! > (!!!) *** WARNING [Application exited without deinitialization of > DirectFB!] > *** [core.c:775 in dfb_core_deinit_check()] > > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users