skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 345 forks source link

Playstation Vita Port [$50] #850

Open RinMaru opened 8 years ago

RinMaru commented 8 years ago

Would the Vita be capable of Dreamcast Emulation? Is the Vita in the cards for Porting?

--- There is a **[$50 open bounty](https://www.bountysource.com/issues/27322404-playstation-vita-port?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github).
AbandonedCart commented 8 years ago

There is no longer a stable method to test and / or release. Sony did away with the open development support and the new generation of CFW is more or less a bunch of low-level hack support.

RinMaru commented 8 years ago

Is this possible in the future when the vita is hacked again. It cant be completely out of the question.

RinMaru commented 8 years ago

Would the Vita even be capable?

fixed_techs

Holzhaus commented 8 years ago

I think the hardware should suffice to run reicast.

RinMaru commented 8 years ago

So just gotta wait till we can get inside it?

Holzhaus commented 8 years ago

Or call the Sony customer support and tell them how angry you are that you can't run custom software anymore. Maybe they give in and bring open development support back, I'm not really optimistic though.

RinMaru commented 8 years ago

Lol well some hacker is bound to open it up in time until then i'm just glad it possibly could be done.

RinMaru commented 8 years ago

https://bitbucket.org/cirne/vita-toolchain/ https://github.com/vitasdk Dont really now much but perhaps this would be somthing to keep an eye on.

Heres the official sdk https://psm.playstation.net/static/general/all/en/psm_sdk.html

AbandonedCart commented 8 years ago

The various methods they are currently using to launch custom software either require you have an older version and exploit the unpublished Unity development tools or security holes that allow a simulated crash to run unsigned code. It would infer that any variation not using the official method of registering with Sony as a software development company is a hack. Usually that means they will target the software to prevent it.

RinMaru commented 8 years ago

With sony slowly killing off the Vita it's not going to be long before we can all have our way with it. At the moment a vita port is not a priority I guess but it doesn't mean it can't happen since the Vita is more than capable of running Riecast?

AbandonedCart commented 8 years ago

They're not killing it off, though. It's actually a requirement that all PS4 games support remote play and many see releases of a title alongside a PS4 version. It will never be as simple as a port.

RinMaru commented 8 years ago

is it possible though would Vita handle it? thats all im asking at the moment.

AbandonedCart commented 8 years ago

That depends on how much of the hardware is available to the method used to deploy it

RinMaru commented 8 years ago

The full power of the Vita should handle it though correct?

AbandonedCart commented 8 years ago

Until some method for actual tests, the only answer you will get is speculation. Maybe it can, but specs on paper may not reflect specs available per app. Regardless of how the question is worded, the answer remains "uncertain"

liz-desartiges commented 6 years ago

The ps vita is now fully hacked (you can run homebrew on 3.60/3.65/3.67/3.68 firmware with henkaku http://henkaku.xyz/). OpenGL has been port (https://github.com/Rinnegatamante/vitaGL/). The cpu is a ARM Cortex-A9 MPCore clocked at 333 MHz that can be overclock to 444Hz. The gpu is a PowerVR SGX543MP4+ clocked at 166 MHz (up to 222MHz)

skmp commented 6 years ago

Intruiging, thanks

On Wed, 11 Jul 2018 at 10:32, striker-san notifications@github.com wrote:

The ps vita is now fully hacked (you can run homebrew on 3.60/3.65/3.67/3.68 firmware with henkaku http://henkaku.xyz/). OpenGL has been port (https://github.com/Rinnegatamante/vitaGL/). The cpu is a ARM Cortex-A9 MPCore clocked at 333 MHz that can be overclock to 444Hz. The gpu is a PowerVR SGX543MP4+ clocked at 166 MHz (up to 222MHz)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/reicast/reicast-emulator/issues/850#issuecomment-404088961, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYAMvdm4uyV2nHmdMoBfHvtV_6toW4lks5uFbgIgaJpZM4GMsZJ .

-- ~skmp

AbandonedCart commented 6 years ago

Note: You need 3.65 or lower to make it a permanent CFW.

liz-desartiges commented 6 years ago

@LoungeKatt on newer firmware you have to reapply the hack after every boot

AbandonedCart commented 6 years ago

@frstrikerman That is correct.

Komsiuto commented 6 years ago

This would be amazing, h-encore will allow us to play it

liz-desartiges commented 6 years ago

I posted this issue in the vitasdk chat and its seams that vitagl is lacking features we will need like shaders

jmota commented 5 years ago

Has there been any process on this? Is there a need for funding this effort?

dmiller423 commented 5 years ago

PSVita doesn't have the hardware specs to run this emulator.

skmp commented 5 years ago

it actually does, just barely, but it’s too much of an exotic platform to be important atm

On Tue, 9 Apr 2019 at 17:36, Jhon M... notifications@github.com wrote:

Has there been any process on this? Is there a need for funding this effort?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/reicast/reicast-emulator/issues/850#issuecomment-481304602, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYAMvOIYM1d8s3w45CN6XS_SzdXcHWzks5vfLOLgaJpZM4GMsZJ .

RinMaru commented 5 years ago

think this can be closed at this point hard to believe i was requesting this back then lol

Rinnegatamante commented 5 years ago

I posted this issue in the vitasdk chat and its seams that vitagl is lacking features we will need like shaders

I'm actually working on vitaGL for new features for some projects i have in mind (final target would be to make sure that vitaGL is ready for a DS emulator port). I think this will make vitaGL more suitable for a reicast port too. As for shaders, frangarcj (the main dev for the Retroarch Vita port) has a working prototype for SceShacccg module usage on Vita (SceShacccg is a runtime shader compiler made by Sony and bundled inside PSM Runtime app. Users will need to run a dumper to extract said module from the DRM Free PSM Runtime pkg and then they'll be able to use said runtime shader compiler with vitaGL (i plan to integrate sceShacccg into the lib as soon as frangarcj releases his working prototype publicly).

dmiller423 commented 5 years ago

@skmp not at @ ~400mhz it doesn't, and it doesn't have a real opengl solution. Gxm is ...

Not to mention using a wrapper gl lib like was used on ps4 port is just not going to cut it. Which is what vitagl is ( partial gl -> gxm ).

Whoever is backing this madness, I'd do it but it wouldn't run fullspeed even if vita can be 'overclocked' to it's real theoretical cortex-a9 speed or at least close > 1.5ghz.

I do not however have a vita || pstv and the bounty wouldn't be enough to even recoup the $ one would cost.

skmp commented 5 years ago

This time I'll agree. The 'lets do all crazy ports' era is over :p

On Sat, 10 Aug 2019, 02:10 David Miller, notifications@github.com wrote:

@skmp https://github.com/skmp not at @ ~400mhz it doesn't, and it doesn't have a real opengl solution. Gxm is ...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/reicast/reicast-emulator/issues/850?email_source=notifications&email_token=AADAAMQ7RJMGEZ6RZ7ZLFELQDX2MNA5CNFSM4BRSYZE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD377PSY#issuecomment-520091595, or mute the thread https://github.com/notifications/unsubscribe-auth/AADAAMQ2DG5BTYQNFDATD2LQDX2MNANCNFSM4BRSYZEQ .

sadptech commented 4 years ago

People who are saying that Vita's hardware is not enough are wrong.

I have tested reicast on my old Galaxy S2 Plus, which has dual core Cortex-A9 (Broadcom BC28155CPU). The most recent Reicast build works on it, even if I underclock it to 600mhz.

From my testings it is not like there is that much of difference between 600mhz vs. 1,6 ghz overclock on that Cortex A9 core. Yes on 1,6 Ghz its faster, but its not night and day difference. Even on 1,6 Ghz it cannot get 60FPS on SoulCalibur, maybe I was GPU bound? But on 600 mhz you can get 30-40 fps in that game. On Ikaruga it is also not full speed, but playable at 30fps

GPU on that SOC is Broadcom BC28155, Vita's PowerVR SGX543MP4+ seems to be more powerful than that, in some tests it gets more than 30% performance increase and in others double performance and in others its pretty much on par.

https://www.notebookcheck.net/Broadcom-VideoCore-IV.116484.0.html https://www.notebookcheck.net/PowerVR-SGX543MP4.115852.0.html

Vita has 4 core CPU while phone I have tested has 2 core CPU. Phone runs Android 5.1 (CM 12.1 ROM) and it eats a lot of resources on that old hardware.

I do not know how much of a difference we could get on Vita's game OS with 4 CPU cores and 30% stronger GPU, but I think some games would be playable for sure (maybe not at full speed, but still). Also we do not know how performance would drop without fully utilizing Vita's GPU and relying on VitaGL, but its not like its impossible, it is possible, just need to port this thing and try it out, maybe this emu would make some games playable on our beloved Vita's.

With recent Deadalus X64 VitaGL port, and seeing that Super Mario 64, Mario Kart 64, Wave Race 64 and some other games run pretty good at Vita's resolution with 4X MSAA, I have hopes that some DC games could possibly run on Vita, we just need some love, its not like crazy ports era is over. Think about it, we can even run N64 on Vita now, even without using its GPU to its full potential. Why not try to port reicast?

Rinnegatamante commented 4 years ago

The major problem for vitaGL usage is that vitaGL is basically GL1 (there are some features from GL2.x subsets like precompiled shaders support but it's mostly GL1) whilst reicast renderer requires at least GL3 if i'm not mistaken (except for the soft renderer but i'm not even considering it due to the fact it would be a slideshow fiesta on Vita's CPU). I would be more than interested in helping working on a Vita port however if someone's willing to pick the task.

Being able to play RE:CV on Vita would be indeed dope.

ChrisDG776 commented 4 years ago

i am willing its just i cant find any one to help with this port.

ChrisDG776 commented 4 years ago

so any one wants to help on the reicast port on psvita?