libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.09k stars 1.81k forks source link

RetroAchievements on PS Vita prevents any games from loading. #14156

Open tomrwaller opened 2 years ago

tomrwaller commented 2 years ago

RetroAchievements on PS Vita prevents any games from loading.

On the latest build with a PS Vita with a fresh install of 3.65 h-encore2, everytime a game is launched (tried both gpSP and SNES 2005 Plus cores) with RetroAchievements enabled, the game will not load. The screen hangs with the image of the console gamepad and banner that usually displays the game title, with a graphical popup stuck coming into the bottom of the screen. Turning off RA enhancements like sound on achievement or hardcore mode has no effect. The only way to get games to launch again is via disabling RA. I have also tried turning off graphical widgets but this has no effect.

Expected behavior

Games to launch with RetroAchievements enabled.

Actual behavior

Game does not launch.

Steps to reproduce the bug

  1. Enable RetroAchievements and provide username and password.
  2. Launch a game.
  3. Game will hang.

Version/Commit

You can find this information under Information/System Information

Environment information

FinalSlice commented 2 years ago

well it sound like RIP.... vita netplay :(

well if anything comes up let me know, I'll always be down to get netplay working on the vita. its by far my favorite portable its almost perfect portable console imo...netplay with retro games is the only thing its lacking.

ghost commented 2 years ago

Well, I've asked for those logs three times now; I can't do anything on platforms that I don't have access to while those reporting issues won't follow with my requests.

FinalSlice commented 2 years ago

LAN logs with port 19426 one with port 55435 and one where I tried relay again.

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [ERROR] [Netplay] Failed to bind port. [ERROR] [Netplay] Failed to set up netplay sockets. [ERROR] [Netplay] Failed to initialize netplay. [ERROR] [Netplay] Failed to connect to relay server. [ERROR] [Netplay] Failed to set up netplay sockets. [ERROR] [Netplay] Failed to initialize netplay. [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] =================================================

FinalSlice commented 2 years ago

ps vita as client freeze the system content loaded or not loaded

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] =================================================

FinalSlice commented 2 years ago

maybe a little success.....this is VITA as LAN host with NES core....most of my testing is always on a genesis core....but for some reason it was only one player maybe i have a 1player version of a two player rom???

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [ERROR] [State]: Failed to load state from "ux0:/data/retroarch/savestates/Teenage Mutant Ninja Turtles II - The Arcade Game.state.auto". [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] =================================================

FinalSlice commented 2 years ago

this is the log of the client device that was able to connect to the vita with TMNT 2 a google pixel 3

=== Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] =================================================

FinalSlice commented 2 years ago

genesis core on client device trying to connect to vita......worked on NES core

=== Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= [Netplay] Failed to connect to host 10.0.0.102 on port 19426. [Netplay] Failed to set up netplay sockets. [Netplay] Failed to initialize netplay. === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] =================================================

ghost commented 2 years ago

Are you manually trimming those logs? There is no way the logs are this short.

Also, Genesis Plus GX is platform dependent: https://github.com/ekeeke/Genesis-Plus-GX/blob/master/libretro/libretro.c#L3379 You can't netplay between two different platforms with it, but you would've been able to connect to it, eventually erroring out here: https://github.com/libretro/RetroArch/blob/3cf7e881ec1c02298ffe1c70e843f235f024d980/network/netplay/netplay_frontend.c#L1034-L1046

FinalSlice commented 2 years ago

no im not touching the logs at all just copy and paste

here is the genesis core loaded on the vita in lan wheni tried to connect the pixel 3

[INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] ================================================= [ERROR] [Netplay] This core does not support inter-architecture netplay

FinalSlice commented 2 years ago

when VITA isa in LAN host mode i can not direct connect from client with vita ip...for some reason i see the vita in the relay list as anonymous ...is that normal to not see it in the lan list but in the relay list with other host?

ghost commented 2 years ago

This core does not support inter-architecture netplay

Not a bug, just like I explained above: https://github.com/libretro/RetroArch/blob/3cf7e881ec1c02298ffe1c70e843f235f024d980/intl/msg_hash_us.h#L11638-L11641

ghost commented 2 years ago

when VITA isa in LAN host mode i can not direct connect from client with vita ip...for some reason i see the vita in the relay list as anonymous ...is that normal to not see it in the lan list but in the relay list with other host?

Yes. Vita doesn't have netplay LAN discovery enabled.

FinalSlice commented 2 years ago

so two vitas in the same LAN or even with relay should play nice together ?....i have another vita i can try but ill have to order a new battery for it ...so it might be a few days. let me know in the mean time if i can provide anything else.

ghost commented 2 years ago

so two vitas in the same LAN or even with relay should play nice together ?....i have another vita i can try but ill have to order a new battery for it ...so it might be a few days. let me know in the mean time if i can provide anything else.

Relay servers have nothing to do with how a core operates. It merely forwards data through a relay server in the middle in order to bypass NAT, CGNAT and firewalls; it's nothing more than a tunnel.

And no, you don't need to go through all this trouble; just run a core that doesn't exhibit the platform dependent quirk when netplaying through different (incompatible) platforms.

ghost commented 2 years ago

retroarch_vita.zip

Can you try this? I've disabled reloading of content for the host, but make sure you start netplay before loading content. This should give you an UPnP message now (make sure relay is disabled).

Only Snes9x2010 is packed for obvious size reasons.

FinalSlice commented 2 years ago

i didn't get the UPnP message ...the Vita log file comes out blank....i started host before loading content but when the content loaded i didnt get any messages....i then went to the RA menu with content loaded and started host....it told me i joined as player 1 waiting for client ...then a few seconds says my room is not reachable from the internet .....i tried to connect by direct ip from my pixel 3 and i got a core mis match message....(FYI i had to DL the core on pixel 3 this morning as i did not already have it).......

vita log [INFO] === Build ======================================= [INFO] Capabilities: NEON [INFO] Built: Jul 7 2022 [INFO] Version: 1.10.3 [INFO] =================================================

pixel 3 log === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] ================================================= [Netplay] A netplay peer is running a different core. Cannot connect. === Build ======================================= Capabilities: ASIMD [INFO] Built: May 2 2022 [INFO] Version: 1.10.3 [INFO] Git: 102abb0 [INFO] =================================================

I just accidentally noticed that the zip you sent installed a separate version of RA... usually it just writes over the current... anyways.... when I tried it I did notice the core you mentioned preload at the bottom left ... but....when you try to load a SNES ROM it says no core available.... browsing around the menu and it says the same thing no core installed although you can see it says SNES 2010 etc etc at the bottom left... pretty weird. When click host is says netplay will start when content is loaded...but with no core no content will load.

ghost commented 2 years ago

@FinalSlice I've opened a new issue for this, since this is clearly netplay-related only and it's stealing the focus for the original issue here. Please, move our conversation there from now on: https://github.com/libretro/RetroArch/issues/14193

I'll post new instructions there in a bit about the problem you've described above.

ghost commented 2 years ago

@tomrwaller is this issue still around with the latest nightly? Many changes have occurred since that could have an impact on your issue.

tomrwaller commented 2 years ago

@tomrwaller is this issue still around with the latest nightly? Many changes have occurred since that could have an impact on your issue.

Thanks @Cthulhu-throwaway - I'll try it out later tonight. Haven't had a chance to test recently.

LibretroAdmin commented 2 years ago

@tomrwaller Tested it yet?

LibretroAdmin commented 1 year ago

@tomrwaller Did you test the latest stable version yet? 11.1.1?

FinalSlice commented 1 year ago

Should I try this in the lastest stable or latest nightly?

On Mon, Jul 18, 2022, 3:06 PM Cthulhu-throwaway @.***> wrote:

When I go to the netplay option I select the option to be the host and the whole application freezes..

Try one of the solutions from this comment: #13869 (comment) https://github.com/libretro/RetroArch/issues/13869#issuecomment-1106432399

See if that fixes the issue.

— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/14156#issuecomment-1188248925, or unsubscribe https://github.com/notifications/unsubscribe-auth/APM2L3PYSN2PHNQEPYF2K6TVUW2L7ANCNFSM53AZ2N5Q . You are receiving this because you commented.Message ID: @.***>