-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RetroAchievements on PS Vita prevents any games from loading. #14156
Comments
Sounds like an issue with the threading/task code. The only changes I see that seem possibly related are de-macroifying the 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. |
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. |
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 |
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. |
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
<#14156 (comment)>,
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:
|
Try the current unstable instead of the stable build. 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. |
@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. 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). |
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. |
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 |
What do you mean by "when host is selected"? |
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
<#14156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APM2L3NLS3LFXLUH6XAKOGDVUWWSPANCNFSM53AZ2N5Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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:
|
Try one of the solutions from this comment: #13869 (comment) 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)
<#13869 (comment)>
See if that fixes the issue.
—
Reply to this email directly, view it on GitHub
<#14156 (comment)>,
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 (#13869 (comment)). Still no joy. |
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. Tagging @quyen194. Can you see anything in the current RetroArch's codebase that would cause netplay/network problems for the Vita? |
Port is ignored when using relays because you are not listening for connections. You connect to the relay server with the OS binding an ephemeral port for you and then you receive connection requests through this connection. Right, I forgot that HAVE_SOCKET_LEGACY platforms don't show this notification. I don't own a Vita nor do I develop for it. I could attempt a fix for the early freezing and netplay not starting when started before content, but to fix functions relying on epoll (client connection, relay servers, etc), I'll need someone able to compile RetroArch so that I can better debug the situation. |
I don't think I can do that....I haven’t been formally trained in this. I'm a server admin trying to learn new things....4 kids and a wife don't make it simple. Is it something I can do in visual studio code? I usually make adjustments to source code I download from github for my 3d printer FW... I learned how to do that from youtube. not sure if what you’re asking would be along the same lines. |
https://docs.libretro.com/development/retroarch/compilation/psvita/ Vita SDK and instructions can be found here: https://vitasdk.org/ Also, can you give me the log for those "netplay disconnected" when connecting through the LAN? |
Either way, it's going to be a pain to support netplay for the Vita. The core updater isn't available for the Vita (since RetroArch is statically linked to each core), but core/content reload is standardized to happen regardless. Those console platforms are nothing but trouble when it comes to networking/netplay, and depending on those "netplay disconnected" logs, I might decide to go for a "won't fix" and suggest to deprecate and hide netplay for the Vita until someone who actually develops for those platforms can come along and try to fix this. |
Funny that you mentioned #14149 I had read through it the other night...and I meant to ask you if that could be the current possible issue...the build you sent ...does it have different cores then stable?.... should I be using a nightly data folder based on the build you sent..... maybe the nightly has different cores from stable??? I like the idea you proposed in #14149 seems like it would be the most logical way....but I can also understand people not wanting to increase their work load. I think a way to solve it is to remove the functionality to update cores from the UI...do beta release with disclaimer for users that want to test out....and stable build with the function removed from the UI ....like the vita currently |
I don't know. I need the logs from both the host and the client to figure this out, although if this is a core incompatibility issue, the log from the client is enough. Content reload can be disabled for the Vita, since content is always going to be initialized with netplay enabled (assuming I patch the process's fork to include netplay arguments), but then we still have those netplay disconnected errors and epoll not working. |
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. |
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. |
LAN logs with port 19426 one with port 55435 and one where I tried relay again. [INFO] === Build ======================================= |
ps vita as client freeze the system content loaded or not loaded [INFO] === Build ======================================= |
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 ======================================= |
this is the log of the client device that was able to connect to the vita with TMNT 2 a google pixel 3 === Build ======================================= |
genesis core on client device trying to connect to vita......worked on NES core === Build ======================================= |
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 RetroArch/network/netplay/netplay_frontend.c Lines 1034 to 1046 in 3cf7e88
|
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 ======================================= |
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? |
Not a bug, just like I explained above: Lines 11638 to 11641 in 3cf7e88
|
Yes. Vita doesn't have netplay LAN discovery enabled. |
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. |
Can you try this? I've disabled reloading of content for the host, but make sure you start netplay before loading content. Only Snes9x2010 is packed for obvious size reasons. |
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 pixel 3 log 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. |
@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. I'll post new instructions there in a bit about the problem you've described above. |
@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. |
@tomrwaller Tested it yet? |
@tomrwaller Did you test the latest stable version yet? 11.1.1? |
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)
<#13869 (comment)>
See if that fixes the issue.
—
Reply to this email directly, view it on GitHub
<#14156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APM2L3PYSN2PHNQEPYF2K6TVUW2L7ANCNFSM53AZ2N5Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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
Version/Commit
You can find this information under Information/System Information
Environment information
The text was updated successfully, but these errors were encountered: