maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] ppsspp (psp-emulator) for maemo5 (https://talk.maemo.org/showthread.php?t=89576)

AapoRantalainen 2013-03-23 19:01

[Announce] ppsspp (psp-emulator) for maemo5
 
1 Attachment(s)
PPSSPP is psp-emulator, upstream: http://www.ppsspp.org/

Discussion started here (but I wanted my own announcement-thread):
http://talk.maemo.org/showthread.php?t=87812

You need libstdc++6 (>= 4.7.2-0+cssu0) installed on device to use ppsspp. You can get it from here:
Ppsspp can't be pushed to the extras-devel because it needs new cmake (2.8.8) and new gcc (4.7), which are not available on autobuilder. I have cooperated with ppsspp-authors (upstream) and maemo modifications are now merged in.

Here are optified debs http://www.cs.helsinki.fi/u/rantalai/ppsspp/


Video running "cube-test": http://youtu.be/NMwtiBAsoDk


----
If you want build ppsspp yourself, you need scratchbox with:
*gcc-4.7 (instructions: http://wiki.maemo.org/CSSU-thumb_too....7.2-linaro%29)
*newer cmake (e.g. 2.8.9 from http://www.cs.helsinki.fi/u/rantalai/ppsspp/)
*debianization for ppsspp (from:http://www.cs.helsinki.fi/u/rantalai/ppsspp/)
*maybe some trivial packages (from nokia, extras, extras-devel)


Then run:
Code:

git clone https://github.com/hrydgard/ppsspp.git
cp -r debian ppsspp
cd ppsspp
git submodule update --init

fakeroot dpkg-buildpackage

**************
If you want build your own cmake:
Code:

dget https://launchpad.net/ubuntu/+archiv...9-0ubuntu1.dsc
tar xvf cmake_2.8.9.orig.tar.gz
tar xvf cmake_2.8.9-0ubuntu1.debian.tar.gz
mv debian/ cmake-2.8.9
cd cmake-2.8.9

Patch these:
Code:

debian/rules
-        $(call $(flag_action),CTEST_USE_XMLRPC,ON)

override_dh_auto_test:
        -HOME="`pwd`/Build" dh_auto_test -- ARGS="-E CTestTestUpload"
        +#HOME="`pwd`/Build" dh_auto_test -- ARGS="-E CTestTestUpload"

debian/control
-debhelper (>= 9), libcurl4-gnutls-dev,
+debhelper (>= 7), libcurl4-openssl-dev,
-libxmlrpc-core-c3-dev | libxmlrpc-c3-dev

debian/compat
-9
+7

debian/cmake.postinst
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

debian/cmake.postrm
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

debian/cmake.preinst
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

run:
Code:

fakeroot dpkg build-package

bandora 2013-03-23 19:32

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
We need one for Harmattan too!!! :)

EDIT: It seems that libstdc is missing.. :/

kownas 2013-03-23 21:33

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
crash when i chose cube test

Code:

Nokia-N900:~# ppsspp.sh
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : assets/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : /root/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/NativeApp.cpp:195: I: Logman: 0x1b7ed0
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:232: I: Prefix match:  (ui_atlas.zim) -> ui_atlas.zim
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:202: I: ZIM loaded: 1 levels
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:233: I: Gen-binding texture
Pixels: 800 x 480
Virtual pixels: 800 x 480
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //floppy
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user/MyDocs
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user/MyDocs/instalki
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:482: I: Selected: 5 : //home/user/MyDocs/instalki/cube.elf
MemoryMap_Setup: Failed finding a memory base.


same crash as user
Code:

$ ppsspp.sh
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : assets/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : /home/user/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/NativeApp.cpp:195: I: Logman: 0x1b7f18
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:232: I: Prefix match:  (ui_atlas.zim) -> ui_atlas.zim
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:202: I: ZIM loaded: 1 levels
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:233: I: Gen-binding texture
Pixels: 800 x 480
Virtual pixels: 800 x 480
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:482: I: Selected: 5 : /home/user/MyDocs/instalki/cube.elf
MemoryMap_Setup: Failed finding a memory base.


AapoRantalainen 2013-03-24 06:33

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by bandora (Post 1331187)
We need one for Harmattan too!!! :)

EDIT: It seems that libstdc is missing.. :/

It is compiled with g++-4.7.2 so you need libstdc++6_4.7.2 from here:
http://maemo.merlin1991.at/cssu/deve...rmel/packages/

Quote:

Originally Posted by kownas (Post 1331214)
crash when i chose cube test

Code:

MemoryMap_Setup: Failed finding a memory base.
same crash as user

I can't reproduce it.

I found row in source code: Common/MemArena.cpp:390 but I don't have any idea about it.

I suggest to not run applications with root-access (unless there are reason). I tested root-access and cube test works with it too.

panjgoori 2013-03-24 06:44

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
AapoRantalainen you are awesome. Anyone tried playing games with it ?

kownas 2013-03-24 08:50

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
works cube test to anybody else?

ace1000 2013-03-24 10:37

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I just installed and tried running the cube demo and I get the same memorymap error as kownas.

guilledoc 2013-03-24 11:26

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I don't find even the cube test don't have the /home/user/ppsspp directory :(

kownas 2013-03-24 11:57

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
you have to download cube.elf file from ppsspp.org and then load this file via ppsspp emulator

guilledoc 2013-03-24 13:20

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
downloaded the cube.elf same problem here

crail 2013-03-24 13:24

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by guilledoc (Post 1331321)
I don't find even the cube test don't have the /home/user/ppsspp directory :(

yeah somethings wrong. there is no home/user/ppsspp folder

samipower 2013-03-24 15:14

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
hi, I tried original psp-emulator 0.6.1 in nitdroid
https://www.youtube.com/watch?v=cd4lGR6PcC8

And now I tried this latest version of maemo 0.7 and nothing , are not working, select any game and crashes emulator.

until pre-beta emulator. Are sure that in the future .....it will be good;)

Good project, go go go ,

ace1000 2013-03-25 07:43

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I found the issue. You need to create the directory /home/user/.ppsspp.
My cube is now spinning :)

Also tried puzzle bobble and it works fine but skips frames a lot even at 1.15 ghz (as I expected)

guilledoc 2013-03-25 09:49

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by ace1000 (Post 1331542)
I found the issue. You need to create the directory /home/user/.ppsspp.
My cube is now spinning :)

Also tried puzzle bobble and it works fine but skips frames a lot even at 1.15 ghz (as I expected)

Didn't work for me
I created the directory with doc"." and the emulator doesn't read it and without de "." it crashes when trying to run the cube!

AapoRantalainen 2013-03-25 09:57

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by ace1000 (Post 1331542)
I found the issue. You need to create the directory /home/user/.ppsspp.

Thanks. Fixed on version: 0.7-maemo2

kownas 2013-03-25 11:05

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
works for me too. fps = ~25
like ace1000 wrote must create (create as user. when i create as root it doesnt work) directory /home/user/.ppsspp

in settings we must tick only:
buffered rendering
hardware transform
(on screen touch controls)

game working:
GTA Vice City (3fps)
GTA Liberty City Stories (3fps)
Tekken 6 (some kind of loop so cant start menu)
Dragon Ball Evolution (game menu starts but cant start playing)
Boble Puzzle (menu starts, game doesnt start)
Tales of Eternia (10fps)

overlocking: 600 - 1150mhz

ace1000 2013-03-25 12:27

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I find JIT helps the speed a bit and so can frame skip. The main option not to use is vertex cache which causes the program to crash for me.

kownas 2013-03-25 14:38

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
cube test with JIT and frame skip = 60 fps

http://youtu.be/k5tj2iL9sDg

samipower 2013-03-25 15:03

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Dragon ball evolution working in ppsspp Maemo version .

Keyboard n900 buttons working

Works-platable but slow equal than android.

cpu 1150mhz and dsp 430 mhz slow
cpu 1000mhz and dsp 600mhz and slow .

For increase dsp (graphic card) :
sudo gainroot
kernel-config load dsp


Fast-mem enable option crashes with dbz evolution.

For run well : double core and sgx 540 in kindle fire hd run well.

kownas 2013-03-25 20:19

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
i have tried games with 125mhz-600mhz. same fps results like 600mhz-1150mhz so if we want to increase fps someone must upgrade application code


....i think :)


this is same problem like early ps1 emulators

samipower 2013-03-26 12:40

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by kownas (Post 1331801)
i have tried games with 125mhz-600mhz. same fps results like 600mhz-1150mhz so if we want to increase fps someone must upgrade application code


....i think :)


this is same problem like early ps1 emulators

You are wrong. I am sure because in ps1 emulator with 1150mhz or 600mhz the games run slow or very fast .

But upgrade apliccation code wille be good .

misiak 2013-03-26 14:30

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
@Aapo: did you manage to compile the Qt version or did you give up? I saw you were advised to do that in thread http://forums.ppsspp.org/showthread.php?tid=842 but I also saw you wrote you had some problems you could not solve. What's the current situation? What finally blocked you?

Edit: didn't want to sound rude or disrespectful, I respect your work on this and other projects, wrote this comment in a hurry (I hope you understand and don't feel angry or resentful, keep up the good work!:)).

samipower 2013-04-02 20:58

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Thanks for the new version r3

kownas 2013-04-02 23:13

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
thanks for working

r3 version work a little better. cube test = ~30fps without frame skip

tommorow i will check games working

AapoRantalainen 2013-04-03 06:22

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by misiak (Post 1331966)
@Aapo: did you manage to compile the Qt version or did you give up? What finally blocked you?

I gave up: http://talk.maemo.org/showpost.php?p...9&postcount=20

Quote:

Originally Posted by misiak (Post 1331966)
Edit: didn't want to sound rude or disrespectful, I respect your work on this and other projects, wrote this comment in a hurry (I hope you understand and don't feel angry or resentful, keep up the good work!:)).

No need to use more words than necessary =)

seanmcken 2013-04-03 08:52

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
did anyone tried nfs most wanted ?

panjgoori 2013-04-03 10:13

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
anyone tried any games ? may be a wiki page is needed if games are working. If anyone can run games on it then i will start checking different games.

kownas 2013-04-03 15:34

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Lord of the Rings ~3fps (game not start)
Dantes Inferno ~3fps (game not start)
GTA Liberty City ~4fps (graphic bugs)
God Of War - Chains of Olympus ~3fps (only menu starts)
Tales of Eternia ~10-15 fps
Ultra Puzzle Bobble Pocket - menu start, game not
Crash Tag Team Racing - not work
Dragon Ball Evolution - ~10fps
GTA Vice City - ~5fps (graphic bugs)

Dhicky 2013-04-04 04:41

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
tapping ppsspp icon from desktop makes cubetest.elf crash, but using ppsspp.sh it runs well in 30fps :p this is project an amazing project! keep up the great work!

lonk 2013-04-05 07:43

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
it doesn't install for me, I get this message:

Code:

~/MyDocs/.documents $ sudo dpkg -i ppsspp_0.7-maemo3_armel.deb
Selecting previously deselected package ppsspp.
(Reading database ... 41487 files and directories currently installed.)
Unpacking ppsspp (from ppsspp_0.7-maemo3_armel.deb) ...
dpkg: dependency problems prevent configuration of ppsspp:
 ppsspp depends on libstdc++6 (>= 4.7.2-0+cssu0); however:
  Version of libstdc++6 on system is 4.6.1-maemo6.
dpkg: error processing ppsspp (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ppsspp

I have cssu testing installed

kownas 2013-04-05 08:48

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
pls try

apt-get -f install

you have to old version of libstc

mdbxh 2013-04-06 12:18

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
wati meego version....

Narukay 2013-04-07 18:58

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
https://github.com/hrydgard/ppsspp

lonk 2013-04-07 23:46

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by kownas (Post 1334236)
pls try

apt-get -f install

you have to old version of libstc

thanks, that solved it



ok here are my testings: PPSSPP v0.7 maemo3



Tekken 5 Dark Ressurection [Usa] X

I get
Code:

SGX Out of mem even
showing in the terminal, repeating in loop, the screen is black

Tekken 6 X

I get as far as the now loading screen, but nothing happens. I think I waited for 10 minutes yesterday so I doubt it'll get past that

Spectral Souls O

Black screen, but up you press x and start a few times the menu will show, start a new game and finally something that runs for me! not playable though.

3-10 fps and 30 fps with frameskip but extremely choppy @950MHZ


Soul Calibur X

gets to menu, when I select quick match I get segmentation fault and any othr mode gives SGX Out of mem event

samipower 2013-04-10 01:32

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by lonk (Post 1334719)
thanks, that solved it



ok here are my testings: PPSSPP v0.7 maemo3



Tekken 5 Dark Ressurection [Usa] X

I get
Code:

SGX Out of mem even
showing in the terminal, repeating in loop, the screen is black

Tekken 6 X

I get as far as the now loading screen, but nothing happens. I think I waited for 10 minutes yesterday so I doubt it'll get past that

Spectral Souls O

Black screen, but up you press x and start a few times the menu will show, start a new game and finally something that runs for me! not playable though.

3-10 fps and 30 fps with frameskip but extremely choppy @950MHZ


Soul Calibur X

gets to menu, when I select quick match I get segmentation fault and any othr mode gives SGX Out of mem event


Look the official compatibility list

Dragon ball evolution run well in android version in dual core mobiles with good graphic card.

Test this game , dynarec and fast memory enabled, others off.

And n900 850cpu 600dsp for example or only 1150cpu .

recluse 2013-04-13 14:48

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Now available for Meego Harmattan.

kownas 2013-04-13 15:44

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by recluse (Post 1335819)
Now available for Meego Harmattan.

so how does it works on n9?

recluse 2013-04-13 15:52

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I added support about 5 months ago when I added Symbian support. It seems no one was interested though.

Someone just requested it in an email, so I fixed it up again and made a new version.

It's based on the Qt UI I made for PPSSPP.

Maemo is using the SDL UI.

By the way guys, GPU is most important for PPSSPP. The CPU needs to be able to keep up of course but the GPU is the main issue to get higher FPS. Frame skipping will give you nice VPS but the game will still be quite choppy unless you get 20-30 FPS at least.

Unfortunately the GPU on the N900 and N9 really sucks :( SGX 530. If you are able to overclock the GPU, that would be beneficial.
Nokia N8 gets better FPS in most games, let alone the 808 (which is getting full speed on hundreds of games).


Quote:

Originally Posted by kownas (Post 1333943)
Lord of the Rings ~3fps (game not start)
Dantes Inferno ~3fps (game not start)
GTA Liberty City ~4fps (graphic bugs)
God Of War - Chains of Olympus ~3fps (only menu starts)
Tales of Eternia ~10-15 fps
Ultra Puzzle Bobble Pocket - menu start, game not
Crash Tag Team Racing - not work
Dragon Ball Evolution - ~10fps
GTA Vice City - ~5fps (graphic bugs)

This is really sad FPS :( I don't think these games will ever be playable sorry.
The Nokia N8 gets about 2-4x these frame rates (without frameskip) in every game.
My 808 gets about 3-6x those FPS too.
And you should be able to get 60 FPS on the Cube test with interpreter (rather than JIT). Something doesn't sound right there.

http://cs319124.vk.me/v319124279/9b6a/B0qh7PuV74w.jpg

Quote:

Originally Posted by samipower (Post 1331937)
You are wrong. I am sure because in ps1 emulator with 1150mhz or 600mhz the games run slow or very fast .

But upgrade apliccation code wille be good .

The reason why is because the PSX emulator does not use the GPU.
The GPU plugin uses NEON code.

For some reason, no one ever made a GLES2 plugin to take advantage of the GPU. Don't ask me why. It's the #1 reason why you don't see a proper Symbian PSX emulator. The CPU on those devices is too weak to do everything by itself.

Narukay 2013-04-14 17:36

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Please porting new version 0.7.5 :)
http://ppsspp.org
https://github.com/hrydgard/ppsspp

kownas 2013-04-14 20:16

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
so...... if anybody want to play ppsspp emulator needs to have (what kind/minimum phone)

i have interested sony xperia active (able to overclock to 2GHz)


All times are GMT. The time now is 02:14.

vBulletin® Version 3.8.8