Author Topic: Visualboy Advance  (Read 4843 times)

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« on: October 15, 2005, 01:08:38 pm »
i used the VisualBoy Advance 1.7.1  from zaurus.spy.org/feeds/davonz and i tried Tekken Advance and it run damn slow it say that it run on 40-60%(@624MHZ) it run like crap.
Some questions:
1.does it`s iwmmxt enable?
2.how to disable sound coz it is crapy and it can speed up the emulation?
3.does someone had better preformence that what i had(like full speed or almost full speed)?
4.i am using feeds SDL,does a special SDL exisit?

i tried to compile it with native sdk with swap of 56M and when compilling GBA.c it crash saying something about cc1plus internal bug.

other good side is Quake2 i runned it on 320x240@416Mhz fullscreen(Fn+2) and it ran just fine it is really amazing that a 3D game run that smooth without optimazion and only iwmmxt compile.
great work Shasz and Laze!(and all contriburs)

thx

Uriel
« Last Edit: October 15, 2005, 01:10:50 pm by urielka »

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Visualboy Advance
« Reply #1 on: October 15, 2005, 01:23:10 pm »
Quote
i used the VisualBoy Advance 1.7.1  from zaurus.spy.org/feeds/davonz and i tried Tekken Advance and it run damn slow it say that it run on 40-60%(@624MHZ) it run like crap.
Some questions:
1.does it`s iwmmxt enable?
2.how to disable sound coz it is crapy and it can speed up the emulation?
3.does someone had better preformence that what i had(like full speed or almost full speed)?
4.i am using feeds SDL,does a special SDL exisit?

i tried to compile it with native sdk with swap of 56M and when compilling GBA.c it crash saying something about cc1plus internal bug.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99503\"][{POST_SNAPBACK}][/a][/div]

i added GBA to builder, that will available in official feed in next rc. For compilation GBA.c that need more large swap than 56 M  that why you got cc1plus internal error
1) for enable iwmmx optimization use options -mcpu=iwmmxt -mtune=iwmmxt
4) try run in non X11 console

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #2 on: October 15, 2005, 01:32:41 pm »
where i put -mcpu=iwmmxt and -mtune=iwmmxt in ./configure args?
does puting swap on my SD is safe? coz i got a 1GB SD 133x and it`s realy not cheap card nither say a very good card.
how much mem i need 64 ,128?
it take GBA.c ages to compile it`s ok?
and i am porting Pcsx(already port it now porting softGPU plugin) in softGPU plugin when i compile a file named draw.c it takes ages too and dies coz lack of memory.
SoftGPU: http://prdownloads.sourceforge.net/peops/P...tar.gz?download

i made some tweaks on Makefile based on Pcsx for X/Qt for getting compiled and support for iwmmxt i can post them here if you need.

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #3 on: October 15, 2005, 07:23:03 pm »
added 128M swap compile SDL version with -O3 -mcpu=wimmxt -mtune=iwmmxt
and still hang on GBA.c file (Version 1.7.2)
Questions:
1.should i go down in versions like 1.7.1 or 1.7?
2.in the native SDK i tried to use it but gcc uses iconv but Gentoo is glibc based(which means that no use of iconv coz it is inside glibc) so how can i run the SDK(which is libc based in my system(gentoo 2005.1))

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #4 on: October 15, 2005, 08:22:09 pm »
i can compile it with -g -mcpu=iwmmxt -mtune=iwmmxt
but no -O1,2,3 it still hangs until he eat all my mem this happen also in softGPU(didn`t try -g in softgpu but i will try).
i got -g idea in INSTALL file in VGBA which sais that -g or -O0 is to avoid a bug that exsist on 2.9 GCC but no on GCC 3.X so what the heck is going here?

by the way:
i saw a posts about gulyhem special kernel and special libSDL can it be ported to PdaXrom atleast special libSDL

jiangtao9999

  • Newbie
  • *
  • Posts: 32
    • View Profile
Visualboy Advance
« Reply #5 on: October 15, 2005, 10:01:49 pm »
Quote
2.in the native SDK i tried to use it but gcc uses iconv but Gentoo is glibc based(which means that no use of iconv coz it is inside glibc) so how can i run the SDK(which is libc based in my system(gentoo 2005.1))
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99524\"][{POST_SNAPBACK}][/a][/div]
You can compile it manual .
same as make's output , but add /usr/lib/libiconv.so in gcc command line .
then it will be compiled succeed
And re-make .
It will not recompile the .c file which you compile it manual .
I'm sorry my poor English .....:unsure:

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #6 on: October 15, 2005, 10:08:45 pm »
gcc doesn`t work coz it use iconv (which is libc) so i can`t install libiconv coz it will break my system

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Visualboy Advance
« Reply #7 on: October 16, 2005, 01:03:07 am »
Quote
i used the VisualBoy Advance 1.7.1  from zaurus.spy.org/feeds/davonz and i tried Tekken Advance and it run damn slow it say that it run on 40-60%(@624MHZ) it run like crap.
Some questions:
1.does it`s iwmmxt enable?

the davonz stuff is old ... davonz seems to disappear for extended periods of time.  I haven't seen him around in a long time.  I am pretty certain that the items compiled there are at the fringe of compatibility and certainly will not have optimizations for pxa270, etc.

Scott

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #8 on: October 16, 2005, 04:42:58 am »
so where i can get the fastest vba build?

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #9 on: October 16, 2005, 08:15:12 am »
i am trying to build a iwmmxt enabled libsdl but i get some relocation error about DSP_bootstrap when i try to start SDL apps like vba,snes9x,quake2.
what are the configure options used with the build in rc12 feed

crstophr

  • Newbie
  • *
  • Posts: 18
    • View Profile
Visualboy Advance
« Reply #10 on: October 18, 2005, 01:05:34 pm »
There is a known issue in VisualBoyAdvance that will cause a memory leak when you get to GBA.c.  To fix this go into the SDL directory and edit the Makefile.  After you have run configure, find the lines containing CCFLAGS and CXXFLAGS and remove any refrence to -O2 or -O anything.  You can leave the other Makefiles alone.  This will get you past that problem.

That being said I still haven't managed to compile an IWMMX enabled VBA... yet.

--Chris

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #11 on: October 18, 2005, 06:07:32 pm »
i have a VBA enabled iwmmx on my Z it is slower than VBA from zaurus.spy.org i guess it coz i don`t have any -O flag the zaurus.spy.org is not iwmmxt enabled but is faster.
maybe if all the emu will compile in -O3 mode and the GBA.c in -O0(without flag  ).
will try it now.

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Visualboy Advance
« Reply #12 on: October 18, 2005, 06:51:06 pm »
i did it! it is compiled with O3 and changed the Makefile in src/sdl to NO -O flag.
no more speed (i think) it`s slow i don`t know why.
i attach to this post the .cfg(sound disabled) and the binary.