RetroArch
RetroArch copied to clipboard
RetroAchievements on PS Vita prevents any games from loading.
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
- Enable RetroAchievements and provide username and password.
- Launch a game.
- Game will hang.
Version/Commit
You can find this information under Information/System Information
- RetroArch: 1.10.3
Environment information
- OS: PS Vita 2000 (3.65 Henkaku 2)
Sounds like an issue with the threading/task code. The only changes I see that seem possibly related are de-macroifying the slock_ calls. Can you provide a log and/or narrow down when this started happening?
I was unable to reproduce on the latest Windows build. What flags is the Vita build compiled with?
@tomrwaller Please bisect the issue and tell us a version where this did not yet happen. And preferably not too far back.
Sounds like an issue with the threading/task code. The only changes I see that seem possibly related are de-macroifying the
slock_calls. Can you provide a log and/or narrow down when this started happening?I was unable to reproduce on the latest Windows build. What flags is the Vita build compiled with?
I just used the existing VPK - I didn't compile myself.
@LibretroAdmin - apologies, not entirely sure I understand. Do you mean try a previous version? I sure can do that no problem.
@LibretroAdmin - apologies, not entirely sure I understand. Do you mean try a previous version? I sure can do that no problem.
Yes, guess it's better than absolutely nothing. Go through the previous nightly versions first. If you've exhausted those, then try the latest stable.
@LibretroAdmin - OK, version 1.9.10 stable seems to work. At least I can launch games with RetroAchievements enabled. I do however get an error message 'Error retrieving achievement data: Credentials invalid (0)'. I assume that is because I copied my config from latest stable, but certainly seems to launch games fine.
Have you tried any more recent version? Because that is a very long time ago. Backtracking that would be nearly impossible going back that far.
Have you tried any more recent version? Because that is a very long time ago. Backtracking that would be nearly impossible going back that far.
I can go newer, not a problem. Do you know what stable build number was before the de-macrofying slock stuff was? Maybe that would be a good version to test.
Do you know what stable build number was before the de-macrofying slock stuff was?
I highly doubt it is that. And it is after 1.10.3 stable anyway (the most current version).
any feedback yet?
@Cthulhu-throwaway you might want to keep an eye on this thread too since its networking related
No update just yet. I’m hoping to try some newer builds this weekend. Definitely working in 1.9.10 as reported earlier though.
On Sat, 9 Jul 2022 at 19:22, LibretroAdmin @.***> wrote:
any feedback yet?
@Cthulhu-throwaway https://github.com/Cthulhu-throwaway you might want to keep an eye on this thread too since its networking related
— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/14156#issuecomment-1179585600, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABISZ5TR7KOOKIZD7KMXXCLVTG7NPANCNFSM53AZ2N5Q . You are receiving this because you were mentioned.Message ID: @.***>
@LibretroAdmin - Tried a newer release. 1.10.0. This one also crashes (with a clean install and config file to be sure). Although this crash exhibits slightly differently. This time I launch a game, and I get a pop-up indicating I have sucessfully signed in to RetroAchievements, but then I get a full Vita game crash, as opposed to it just hanging. The message reads:
An error has occured in the following application.
(C2-12828-1)
Saved Core File Succeeded.
ux0:data/psp2core-1657533667-0x0008472bf5-snes9x2005_plus_libretro.
self.psp2dmp
RetroArch
Try the current unstable instead of the stable build. There were a bunch of issues with the networking code for the Vita written by the previous contributor to this platform.
I don't have a Vita nor do I develop for it, so I never tested whether my fixes were enough to solve all networking related problems for the platform.
Try the current unstable instead of the stable build. There were a bunch of issues with the networking code for the Vita written by the previous contributor to this platform.
I don't have a Vita nor do I develop for it, so I never tested whether my fixes were enough to solve all networking related problems for the platform.
@Cthulhu-throwaway, @LibretroAdmin - Tried the latest nightly (2022-07-12_RetroArch.vpk) and it exhibits the same issue as the latest Stables. Launch game, hangs on horizontal game title bar (with no text, just the console logo) and the graphical widget half in the screen at the bottom.
Could you try netplaying (with NAT Traversal enabled) and see if that works? Using the nightly, of course. Make sure to disable achievements, though.
Could you try netplaying (with NAT Traversal enabled) and see if that works? Using the nightly, of course. Make sure to disable achievements, though.
@Cthulhu-throwaway - Unfortunately I don't really have a way to test this as I don't have any content available matching people on Netplay - however, if it helps, I could see other users in the lobby list.
There is a SNES test suite available from the Content Downloader. You can use snes9x to run it and then host it from the Vita, while using another device to connect through the Lobby to see if it works. You can switch controllers between devices by moving one device to spectator, so it's generally a decent tool to test netplay.
With that being said, I don't think your problem is caused by my networking changes, as I am pretty sure the HTTP code doesn't use them (HTTP is how you get the lobby list and how you communicate with RetroAchievements). The reason 1.9.10 doesn't deadlock is likely because it fails to complete authentication with RetroAchivements and abort achievements initialization altogether.
hey i just wanted to say my vita works fine on latest stable build with retro achievements...but i cant get netplay to work ...i can provide any other information as requested.
hey i just wanted to say my vita works fine on latest stable build with retro achievements...but i cant get netplay to work ...i can provide any other information as requested.
Netplay will likely not work without my fixes available in the unstable build. Vita's netplay tests should therefore be performed on the unstable build, with all stable networking issues ignored as many of Vita's networking code on stable is outright broken.
are you fixes in the nightly builds or do you have a precompiled vpk with your fixes I could try? how could i addd your fixes to the latest stable build is that possible? TIA
latest nightly on vita system freeze when netplay host is selected, have to force exit retroarch then reload
https://github.com/quyen194/RetroArch/releases
Netplay seems to work in this older modded version....but i dont have another device with 1.8.9 ...I could see the vita as host but my other device is on retoarch 10.0.3 so i was unable to connect to the vita.....can someone please merge (https://github.com/quyen194/RetroArch/releases)...with the latest release? and i can try it on the vita TIA
latest nightly on vita system freeze when netplay host is selected, have to force exit retroarch then reload
What do you mean by "when host is selected"? Does it freeze when you try to join a host through the lobby or when you try to host netplay?
When I go to the netplay option I select the option to be the host and the whole application freezes..
On Mon, Jul 18, 2022, 2:34 PM Cthulhu-throwaway @.***> wrote:
latest nightly on vita system freeze when netplay host is selected, have to force exit retroarch then reload
What do you mean by "when host is selected"? Does it freeze when you try to join a host through the lobby or when you trying to host netplay?
— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/14156#issuecomment-1188216637, or unsubscribe https://github.com/notifications/unsubscribe-auth/APM2L3NLS3LFXLUH6XAKOGDVUWWSPANCNFSM53AZ2N5Q . You are receiving this because you commented.Message ID: @.***>
https://github.com/quyen194/RetroArch/releases
Netplay seems to work in this older modded version....but i dont have another device with 1.8.9 ...I could see the vita as host but my other device is on retoarch 10.0.3 so i was unable to connect to the vita.....can someone please merge (https://github.com/quyen194/RetroArch/releases)...with the latest release? and i can try it on the vita TIA
Those changes are super outdated and they either have already been implemented in a better way or they are personal choices (like changing the default port for the Vita).
Only two things could be taken from that repo:
- Enable HAVE_NETPLAYDISCOVERY for Vita builds, this way you can scan your LAN for hosts.
- Add net_ifinfo support for the Vita. Won't affect netplay, but you will be able to see your network address in "Network Information".
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: https://github.com/libretro/RetroArch/issues/13869#issuecomment-1106432399
See if that fixes the issue.
Still freezing with the suggestions on the 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: @.***>
I'm still having the same issue with hang up when RetroAchievements is enabled. I just tried to disable the option for 'Publically announce host' in Settings > Network but to no avail. Here is a screenshot of where it hangs after attempting to load a game. I am back on the latest stable now.
FWIW - I also tried the fix in the comment referenced above (https://github.com/libretro/RetroArch/issues/13869#issuecomment-1106432399). Still no joy.
Still freezing with the suggestions on the latest nightly
Network -> Settings: Try with both Use Relay Server ON (picking a relay server in the list below) and Use Relay Server OFF. Tell me if one of these works. Does the freezing happens when content is loaded or even when there is no content loaded and you just enable netplay hosting?
Tagging @quyen194. Can you see anything in the current RetroArch's codebase that would cause netplay/network problems for the Vita?