From: Håvard W. <haa...@if...> - 2008-04-09 09:11:42
|
Hi, > ---------- Forwarded Message ---------- > > Subject: Re: [Gumstix-users] Anyone ever build the Qtopia core with -plugin-gfx-directfb option? > Date: Tuesday 08 April 2008 > From: Hal Glenn <hg...@2g...> > To: "General mailing list for gumstix users." <gum...@li...> > > Hey Tom, I kind of started over, (but this time with 4.4.0 RC1 instead > of the beta I had) and it all seemed to work! > > here is the config line i used to setup QT/core, i relize there is > probably a lot of other options i could be passing in to speed things > up, but this is what i used. > ./configure -release -embedded arm -no-webkit -prefix /qtopia > -plugin-gfx-directfb -v > > More or less, QT/core started up and displayed the demo app with > -display directfb option finnaly at least. The mice and robot looked to > behave the same soooo. Unfortunately I didn't get time to complete all the optimizations for 18-bit for the release candidate, so Qt-4.4.0 will still be slow in this screen mode (but use less memory though). I'm aiming at fixing this for 4.4.1 though. (I could possibly send a patch to this list as well if people need something before that.) [...] > (!) DirectFB/Genefx: Could not lock destination! > --> Out of video memory! > (!) DirectFB/Genefx: Could not lock source! > --> Out of video memory! > I don't have a gumstix available at the moment so I haven't tested this myself, but here's a thing you could try: In src/plugins/gfxdrivers/directfb/directfb.pro there's a list of DEFINES += commented out. Try uncommenting the one with QT_NO_DIRECTFB_WM and recompile/reinstall the plugin. If that doesn't help, try uncommenting the line with QT_NO_DIRECTFB_LAYER as well. Please let me know whether this work or not. If it doesn't I'll see if I can get hold on a gumstix and look into this further. If you're able to make the directfb driver work, then you could experiment with the 'flip' option and see if that have any impact on performance. E.g: ./dragdroprobot -qws -display directfb:flip=blit,onsync Regards, -- hw |