maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   PSX4All Maemo Edition (https://talk.maemo.org/showthread.php?t=47904)

bonapart 2011-01-05 19:23

Re: PSX4All Maemo Edition
 
Kevstacey: Notaz and summeli not interested in maemo platform, so we can't talk about real help... it's look like i've to port their ports...

Kevstacey 2011-01-05 19:25

Re: PSX4All Maemo Edition
 
good luck pal :)

hope all goes well :)

Magik 2011-01-05 19:29

Re: PSX4All Maemo Edition
 
Quote:

Magik: absolute pathes to bin! /home/user/MyDocs/game.bin
Ba :p Thanks.
Hmm with final fantasy 8 no errors:
Code:

maemo init - hildon_init2
Started
GL init
GLES Window Opened

As I said game just "hangs" on the black screen and sound of "playstation game starting" loops...

bonapart 2011-01-05 19:29

Re: PSX4All Maemo Edition
 
Magik: use -runcd swith
Nokia-N900:/opt/maemo/usr/games/psx4m -runcd -cyclemult 3 /home/user/MyDocs/Need.For.Speed.3.Russian.img

Magik 2011-01-05 19:37

Re: PSX4All Maemo Edition
 
Quote:

use -runcd swith
*facepalms* of course :D

As you said it's "SGX mem" thingy. It just displays it over and over.

mthmob 2011-01-05 19:46

Re: PSX4All Maemo Edition
 
Any chance you can make a deb package?

I get this when i try and run psx4m from terminal:

Quote:

/opt/maemo/usr/games/psx4m: error while loading shared libraries: libGLES_CM.so: cannot open shared object file: No such file or directory
Anyways thanks for the great work your doing :)

edit: Thanks, that did the trick :)
\/ \/

bonapart 2011-01-05 19:50

Re: PSX4All Maemo Edition
 
try to
apt-get install libgles1

i think it should help ;-)

mthmob 2011-01-05 19:56

Re: PSX4All Maemo Edition
 
Quote:

Originally Posted by bonapart (Post 912502)
try to
apt-get install libgles1

i think it should help ;-)

Thanks :)

My personal PAL Tony Hawks 2 iso dump displays the SGX mem loop.

bonapart 2011-01-05 19:58

Re: PSX4All Maemo Edition
 
sorry, but i have no ideas about "SGX Out of mem event". google can't say something about this (found something about bug in Power VR SGX accelerator in glScissor, removed all, nothing changed)

//upd.
i use SDK for pr1.2, can this be a reason of GLES fails? i start updating, will get an answer after updating

mthmob 2011-01-06 04:19

Re: PSX4All Maemo Edition
 
Well.. maybe if we can find what the "SGX out of mem" have in common when starting up, we could get an idea... but dont know how to analyze runnig psx games. Anyone know of a psx emu for PC, that can show some sort of output of whats going on when a psx game is starting/running?

Edit: Ok, so Tony Hawks 2 Runs with -runcd command, with that command i dont get SGX out of mem. I cant reproduce the SGX Out of Memory bug when using -runcd in any game. However, without -runcd i get SGX Out of Memory on Tony hawks 2, Gran tourismo and Tekken 2. (those are the only 3 games i have to test with)

So could "SGX Out of Memory" be related to something in the psx BIOS? whats diffrent when not running the -runcd command??

But Tony Hawks 2 has the same gfx glitches as before GLES, in wich the textures dissappear from surfaces when i come near them. Whats diffrent is the game menu, its started flickering alot, didnt do that before.

Tekken 2 also has the same gfx glitches where the models spike out like crazy.

Gran tourismo just hangs on black screen with the -runcd command. (nothing happens in terminal)

But i defenetly saw performance gain in Tony Hawks 2. It was extremely playable even with the missing textures :D I was running cycle multiplier 0, yet the game ran at full speed. But how much performance gain, i cant say, btw im clocked at 950.

tabris 2011-01-06 09:00

Re: PSX4All Maemo Edition
 
hi bonapart amazing work you did there!^^
FF IX runs with opengl es but video is verry slow and stutterry and ingame allot of texture issues and it seems to be slower than software renderer.

Radicalz38 2011-01-06 09:18

Re: PSX4All Maemo Edition
 
Could anyone here guide me of where to learn GL-ES? Perhaps I could help after a month or so... I'm a coder also but stuck as a system developer. I know c++ and also QT(only for desktop apps) and know nothing about GL or GL-ES but interested in learning. All I need is just a starting point or a road to guide my way. :p

bonapart 2011-01-06 09:23

Re: PSX4All Maemo Edition
 
Radicalz38: google for Mobile.3D.Graphics.with.OpenGL.ES.and.M3G book
in fact i doesn't touch any part's of gles-gpu, just our window initialization

from good news, i compiled pcsx-rearmed from Notaz, it's work; work like my first gles release;without any input; will try to make some changes to fix this in nearest time
from bad: it doesn't handle keys, block any input and i should restart my n900 =( ; it doesn't handle our sound system - nosound mode. initial movies looks like a crap

Radicalz38 2011-01-06 09:37

Re: PSX4All Maemo Edition
 
Thanks! will download it later after work.

bonapart 2011-01-06 17:59

Re: PSX4All Maemo Edition
 
as a said before i got working pcsx-rearmed
i described all bugs and possibilities in readme


READ README IN ARCHIVE BEFORE ANY KIND OF USAGE
feel free to test: http://maemo.team16.ru/pcsx.zip (1.4mb)

also i include 2 gpu - unai(very simular to ours in latest repos builds) and gles-gpu(by eq, used in latest nightly builds of psx4m) but i unsure how to change it cuz menu doesn't work at all =), if somebody have pandora plz test original version and send pcsx.conf file ... (i'm too lazy to read sources about it)

cyclemult and frameskip options is unavailable cuz menu doesn't work...

samipower 2011-01-06 19:49

Re: PSX4All Maemo Edition
 
hello i tried

Installation:
Unpack it to any dir (i use /opt/maemo/usr/games/pcsx)
in x-term type
root
cd /opt/maemo/usr/games/pcsx
chmod 777 *

cd /opt/maemo/usr/games/pcsx
./pcsx -cdfile /home/user/MyDocs/mk4rip.bin mortal kombat

and black screen

psx bios in MyDocs?
how select graphic plugin?

i tried
cd /opt/maemo/usr/games/pcsx
./pcsx

and start but black screen

i have nokia n900 pr 1.3 kernel 46

bonapart 2011-01-06 19:53

Re: PSX4All Maemo Edition
 
do you read about that you MUST use ssh ?
first run of emu disable screen and fail
second one will be successful,but from x-term you can't do second one cuz screen already black and kbd is disabled...

bios doesn't used, read original Notaz announce about pcsx-rearmed
now to select? i don't know, i wrote about it in announce post

samipower 2011-01-06 20:02

Re: PSX4All Maemo Edition
 
1-open active wifi and conect with my pc with winscp by ssh
2-xterminal cd /opt/maemo/usr/games/pcsx and ./pcsx
3-i have black screen
4-now close emu by ssh ¿how do i get it?
5-open emu and now it will start well??

is it correct?

or

1-open active wifi and conect with my pc with winscp by ssh
2-xterminal cd /opt/maemo/usr/games/pcsx and ./pcsx
3-i have black screen
5- open xterminal and close emulator but if i have black screen , i can not see xterminal for i can write

steps exactly please? thanks for your job ,

bonapart 2011-01-06 20:08

Re: PSX4All Maemo Edition
 
apt-get install ssh-server

1) from PC open putty(windows) or ssh(linux)
2) connect to n900 from ssh-client
3) in ssh-client (on PC) type
# cd /opt/maemo/usr/games/pcsx
# ./pcsx -cdfile /home/user/.....
in case of black screen push ctrl+c
and try last command one's more

log that you see in ssh-client you can post here if you unsure what's going on

samipower 2011-01-06 20:27

Re: PSX4All Maemo Edition
 
yes , thanks , mortal kombat running and run well with n900 600mhz with default plugin graphic

it is more faster , i tried tekken game, it was slow forever, now it are running very fast , i am doing tests , and run well

, i can play with your instructions and , with top and kill pid or n900 off and on , run well all

bonapart 2011-01-06 21:06

Re: PSX4All Maemo Edition
 
samipower: it'll be nice if you can test more games
i want to make three packages - psx4m, psx4m\gless and pcsx-rearmed with one gui to select underlaying emu\gpu and configure keys
so now i have small todo:
- configuring keys in psx4m\gles and pcsx
- porting spu from psx4m to pcsx
- some changes in gui to select gpu\emu
if somebody can help it'll be nice ;-)

nesrazz 2011-01-06 22:02

Re: PSX4All Maemo Edition
 
fia world rally
super

http://img442.imageshack.us/img442/9...1010623053.png

bonapart 2011-01-06 22:03

Re: PSX4All Maemo Edition
 
nesrazz: it's psx4m\gles or pcsx ?

Reffyyyy 2011-01-07 02:05

Re: PSX4All Maemo Edition
 
I get "cannot init fb0" and then the command automatically terminates. Have to reboot to get rid of black screen.

pcsx.

Nvm, got it working. Had to run the application as root.

nesrazz 2011-01-07 03:39

Re: PSX4All Maemo Edition
 
Quote:

Originally Posted by bonapart (Post 913706)
nesrazz: it's psx4m\gles or pcsx ?


speed super
psx4m\gles

Reffyyyy 2011-01-07 03:49

Re: PSX4All Maemo Edition
 
Ok. pcsx runs Final Fantasy 7 full speed and is incredibly aesthetically pleasing. The intro video looks screwed up though.

Final Fantasy 9 is full speed up until a battle commences. At which point, I get this error:


Compile at bogus memory address: a000dfac

bonapart 2011-01-07 03:59

Re: PSX4All Maemo Edition
 
Reffyyyy: it's known problem of recompiler, Notaz already know about it
also, all error of pcsx-rearmed like Compile at bogus memory address: a000dfac i'll just post to http://www.gp32x.com/board/index.php.../page__st__195 and nothing more ;-)

Reffyyyy 2011-01-07 04:03

Re: PSX4All Maemo Edition
 
bonapart: Ok. I'll try and test more games. Thanks for taking time out of your day to create/port these applications.

bonapart 2011-01-07 06:29

Re: PSX4All Maemo Edition
 
from reading pcsx-rearmed code i learn that we can write to pcsx.cfg (should be placed near pcsx in hidden derectory(appear after first run) ) next variables
Bios,Gpu,Spu,Cdr - string type
scaling,g_layer_x,g_layer_y,g_layer_w,g_layer_h,fi lter,state_slot,cpu_clock,g_opts,iUseDither, UseFrameSkip,UseFrameLimit,dwActFixes,iUseReverb, iUseInterpolation, iXAPitch,iSPUIRQWait,iUseTimer - boolean type (0 or 1)
so you can try to run pcsx with other GPU and enable framiskiping
i grant no guarantee to this

bonapart 2011-01-07 10:53

Re: PSX4All Maemo Edition
 
updated PCSX-rearmed, with sound support and closing by pushing menu key(space)
read previous pages to get archive and read about installation\in game process

jimmybonsaville 2011-01-07 14:13

Re: PSX4All Maemo Edition
 
great to see some real improvements here :D well done Bonna. It looks a little too advanced for me to try tho haha think ill have to wait for the gui version haha

Boemien 2011-01-07 14:48

Re: PSX4All Maemo Edition
 
Quote:

great to see some real improvements here well done Bonna. It looks a little too advanced for me to try tho haha think ill have to wait for the gui version haha
Agree with you dude ;)!! Why not rewrite a complete tutorial for those who want to test it :cool:?
I'm a bit lost into posts:eek:!
some say about pcsx, some about pcsx rearmed instead we are in PSX4ALL thread:eek:!
seriously, i'm completely lost!:(
So please, write a tuto for the noobs like me :cool: who want to test it, pleaaassseeee!!! :D:D

Radicalz38 2011-01-07 14:53

Re: PSX4All Maemo Edition
 
bonapart is using 2 atm... pcsx and psx4m(all gles version)
pcsx rearm = pcsx

Well I suggest that if you don't know how to use it I suggest to stick with the current build. Coz believe me after you install the test builds you would either get to have another ton of questions coming or you would be completely lost to another path.

Boemien 2011-01-07 15:11

Re: PSX4All Maemo Edition
 
Quote:

Well I suggest that if you don't know how to use it I suggest to stick with the current build. Coz believe me after you install the test builds you would either get to have another ton of questions coming or you would be completely lost to another path.
Yeah but those questions will maybe be useful in order to help! Anyway bonapart or somebody else is free to publish or not a tutorial. we will simply wait the final release.

bonapart 2011-01-07 15:18

Re: PSX4All Maemo Edition
 
Boemien: from 245 page is nightly builds of psx4m with experemenal gles support known as hardware accelerated graphics
from 250 page is port of pcsx-rearmed( which is port of pcsx to pandora) to maemo
why i don't write normal manual? answer is simple: test build's shouldn't be installed by everyone(especially pcsx) and i got a lot of bug's by myself and really i don't need any testing of pcsx; psx4m with gles support have only one bug, and i don't know how to fix it yet; so this build is only some kind of reporting about progress and nothing more, they also have no support from my side(cuz bugs of pcsx is maemo specific(except memory bogus) Notaz willn't take care about it too)

when gles version will support keymapping it will be published in repository and run from gui

for pcsx i have more long list todo before publish:
remove a lot of segfaults, take care about all options that emu have(frameskiping, selecting gpu,disabling cda,xa,all sounds etc), make screen and keyboard working after closing emu, and fix first run bug and create keymapping too

Boemien 2011-01-07 15:24

Re: PSX4All Maemo Edition
 
:eek: It seems to be a lot of work! even I did not understand all! lool Okay, so the best way would be to wait for the stable (maybe) release in repo! hmm! Okay, let's wait!

bonapart 2011-01-08 09:34

Re: PSX4All Maemo Edition
 
look's like we can't get menu working because https://bugs.maemo.org/show_bug.cgi?id=5449

samipower 2011-01-08 14:31

Re: PSX4All Maemo Edition
 
and with other kernel? for example with latest kernel 46?

bonapart 2011-01-08 14:35

Re: PSX4All Maemo Edition
 
i found some workaround to restore display

root
echo "U:800x480p-57"> /sys/class/graphics/fb0/mode

nesrazz 2011-01-08 19:13

Re: PSX4All Maemo Edition
 
Black screen error
help.
ssh installed
pcsx no installed

cd /opt/maemo/usr/games/pcsx
./pcsx -cdfile /home/user/MyDocs/......


All times are GMT. The time now is 01:59.

vBulletin® Version 3.8.8