Hello,,,

I think I was sending the email to the wrong address... Please consider
following problems, and solutions...




On Sun, Apr 18, 2010 at 9:11 PM, mobi phil <[email protected]> wrote:

> Hello,
>
> 1. was evaluating agar, things worked fine with 1.3.X, but all the
> test/demo apps the 1.4 crashes with following stackframe:
>
> #0  0x40183430 in pthread_mutex_lock () from /lib/libpthread.so.0
> #1  0x400dd778 in AG_ObjectDetach (pChld=<value optimized out>) at
> object.c:494
> #2  0x4008c23c in AG_DriverClose (drv=0xd4) at drv.c:123
> #3  0x40039b90 in AG_InitGraphics (spec=0x0) at gui.c:392
> #4  0x00008ff0 in main (argc=1, argv=0xbeaf1cf4) at objmgr.c:38
>
> 2. it is not straightforward to crosscompile... The build system is also a
> bit strange.. Why don't you use standard autotools...
>
> 3. make -j does not work properly... it seams that you launch a make
> process for each file, that makes make from root quite slow if only one file
> need to be rebuild
>
>
> the rest is the best.. I mean framework is quite promissing, intending to
> use it for at least for proof of concept for the unfamous openmoko
> freerunner device
>
>
>
i found the reason in agare < 1.4, one could pass the size of the video to
AG_InitGraphics, but with redesign that opportunity is gone..
AG_InitGraphics (spec=0x0) at gui.c:364 tries to set it to a
not-by-all-cards-supported-640x480 value and that makes the init fail....

What I would suggest is to do SDL_  do SDL_GetVideoInfo() and set w and h
attributes of the driver.....




-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com



-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to