Hi notaz and all those interested in ARM emulation stuff (thats you reading this too, no doubt)!
I originally created this same thread over on the GP2X forums which is where notaz's contact page still says he prefers to be contacted by but a member of said forums has informed me I'm much more likely to catch his attention on the Pandora forums hence this thread.
TI recently released their updated SGX xorg drivers for Ubuntu 12.04 (armhf) on the Pandaboard and so I went on the hunt for apps that may be able to make good use of the Open GL ES 2 and NEON features of my Pandaboard. As far as emus are concerned, it would seem that PCSX ReARMed is one of the best I might hope to get running on my Panda but I'm having probs in getting it running.
I have tried pcsxr from the Ubuntu Precise repos and that does work but its slow as hell - maybe quarter speed (at best) and thats when I enable the 'performance' CPU governor. I have not tried any OGLES video plugins with pcsxr - I don't even know if there are any that might work for Pandaboard users?
AFAIK pcsxr won't have any of the ARM specific optimizations present in pcsx rearmed and I know my Panda can do much better as I also have a Xperia Play and I get (very close to) full speed PSX emulation on that via FPse and the Xperia only has a single core CPU for a start.
Anyway, I have downloaded the latest PCSX reARMed git code and I can get it to compile if I configure it with --enable-neon and then I edit config.mak and change softfp to hard for the -mfloat-abi options but when I try to run strider2.bin for example I get:
0x53e05 has LSB set (hundreds of times over)
Loading memory card ./.pcsx/memcards/card1.mcd
Loading memory card ./.pcsx/memcards/card2.mcd
filter opendir: No such file or directory
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/font.png
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/selector.png
menu_load_config: failed to open: ./.pcsx/pcsx.cfg
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/background.png
plugin: plugins/builtin_gpu
plugin: plugins/builtin_spu
plugin: plugins/builtin_pad
plugin: plugins/builtin_pad
Plugins loaded.
Loaded CD Image: /home/dan/src/pcsx_rearmed/../../psx/strider2.bin[+toc].
Track 01 (DATA) - Start 00:02:00, Length 43:23:31
Home directory /home/dan not ours.
Audio open error: Invalid argument
CD-ROM Label: STRIDER HIRYU2
CD-ROM ID: SLPS02621
ari64_reset
0x59bcd has LSB set (again, hundreds of times)
-> 0x0 1.3
sudo: /usr/pandora/scripts/op_lcdrate.sh: command not found
Illegal instruction (core dumped)
So it looks to me like if you compile with NEON support enabled atm it presumes you are running on Pandora hence depends upon certain Pandora specific scripts. If I copy the required scripts to the correct locations may I get pcsx rearmed to work or could you potentially make a few changes to the codebase so that Pandaboard users can run PCSX reARMed too please notaz?
Thanks!
Dan
PS I'm also keen to try mupen64plus-arm on the Pandaboard but I can't find the source anywhere, git repo doesn't work etc so if anyone has any hints for that I'd be grateful too but maybe that requires a thread to itself?
I originally created this same thread over on the GP2X forums which is where notaz's contact page still says he prefers to be contacted by but a member of said forums has informed me I'm much more likely to catch his attention on the Pandora forums hence this thread.
TI recently released their updated SGX xorg drivers for Ubuntu 12.04 (armhf) on the Pandaboard and so I went on the hunt for apps that may be able to make good use of the Open GL ES 2 and NEON features of my Pandaboard. As far as emus are concerned, it would seem that PCSX ReARMed is one of the best I might hope to get running on my Panda but I'm having probs in getting it running.
I have tried pcsxr from the Ubuntu Precise repos and that does work but its slow as hell - maybe quarter speed (at best) and thats when I enable the 'performance' CPU governor. I have not tried any OGLES video plugins with pcsxr - I don't even know if there are any that might work for Pandaboard users?
AFAIK pcsxr won't have any of the ARM specific optimizations present in pcsx rearmed and I know my Panda can do much better as I also have a Xperia Play and I get (very close to) full speed PSX emulation on that via FPse and the Xperia only has a single core CPU for a start.
Anyway, I have downloaded the latest PCSX reARMed git code and I can get it to compile if I configure it with --enable-neon and then I edit config.mak and change softfp to hard for the -mfloat-abi options but when I try to run strider2.bin for example I get:
0x53e05 has LSB set (hundreds of times over)
Loading memory card ./.pcsx/memcards/card1.mcd
Loading memory card ./.pcsx/memcards/card2.mcd
filter opendir: No such file or directory
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/font.png
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/selector.png
menu_load_config: failed to open: ./.pcsx/pcsx.cfg
frontend/common/readpng.c: failed to open: /home/dan/src/pcsx_rearmed/skin/background.png
plugin: plugins/builtin_gpu
plugin: plugins/builtin_spu
plugin: plugins/builtin_pad
plugin: plugins/builtin_pad
Plugins loaded.
Loaded CD Image: /home/dan/src/pcsx_rearmed/../../psx/strider2.bin[+toc].
Track 01 (DATA) - Start 00:02:00, Length 43:23:31
Home directory /home/dan not ours.
Audio open error: Invalid argument
CD-ROM Label: STRIDER HIRYU2
CD-ROM ID: SLPS02621
ari64_reset
0x59bcd has LSB set (again, hundreds of times)
-> 0x0 1.3
sudo: /usr/pandora/scripts/op_lcdrate.sh: command not found
Illegal instruction (core dumped)
So it looks to me like if you compile with NEON support enabled atm it presumes you are running on Pandora hence depends upon certain Pandora specific scripts. If I copy the required scripts to the correct locations may I get pcsx rearmed to work or could you potentially make a few changes to the codebase so that Pandaboard users can run PCSX reARMed too please notaz?
Thanks!
Dan
PS I'm also keen to try mupen64plus-arm on the Pandaboard but I can't find the source anywhere, git repo doesn't work etc so if anyone has any hints for that I'd be grateful too but maybe that requires a thread to itself?