Open mmatviyiv opened 1 year ago
Another strange observation that could be related - SSH, FTP (probably other protocols as well, hadn't tested them) had stopped working unexpectedly today on my MM+, Onion was just dropping connections despite having been working just fine yesterday. Reboot, wifi reconnection, re-enabling them in tweaks were not helping. Worked again after I reinstalled the tweaks app. Really odd.
It's likely to do with save states. You can usually fix this by disabling some settings in retroarch.cfg (below pasted from schmurtz in discord here: https://discord.com/channels/529983248114122762/1087760354278387722/1102962957563985971)
playing with RA options a little :
==============================
always working (but losing automatic savestates in Onion is not a good idea) :
savestate_auto_save = "false"
Working (probably the best solution for now, implemented in the current 4.2.0 beta https://github.com/OnionUI/Onion/commit/6a1cdcf5c0f1e62a4dde89392036cdf2ca823e1f):
savestate_auto_save = "true"
savestate_file_compression = "true"
savestate_thumbnail_enable = "false"
Freeze (previous 4.2.0 config) :
savestate_auto_save = "true"
savestate_file_compression = "false"
savestate_thumbnail_enable = "true"
Freeze :
savestate_auto_save = "true"
savestate_file_compression = "false"
savestate_thumbnail_enable = "false"
crash :
savestate_auto_save = "true"
savestate_file_compression = "true"
savestate_thumbnail_enable = "true"
Which is being addressed by this PR: https://github.com/OnionUI/Onion/pull/1140
thanks for the reply @XK9274 state autosave params options were the first things I tried. Unfortunately, none of these combinations worked for me, it just drops the connection despite it being disabled or enabled, so must something else
thanks for the reply @XK9274 state autosave params options were the first things I tried. Unfortunately, none of these combinations worked for me, it just drops the connection despite it being disabled or enabled, so must something else
That's an odd one then, alright:
- When you changed the settings did you modify the .cfg or do it through RA?
- What core are you using?
- What ROM? (CRC is fine)
- Does easy netplay work for you? (If you have 2 MMP)
1) Through RA, then saving the current config to .cfg via menu
2) The latest PicoDrive 1.99, tried different ARMv7 builds along with the Onion's precompiled one
3) Tested with several Sega MD roms, for example Contra - Hard Corps (USA, Korea)
, CRC C579F45E
4) Ordered the second device a few days ago, it may take a while since it's an international shipment
Oh, seems I found the disconnection reason, finally have managed to get Netplay logs and here's the error:
[INFO] [Netplay] Connected to: "Anonymous"
[ERROR] [Netplay] Netplay state load with an unexpected save state size.
[INFO] [Netplay] Netplay disconnected
That's quite interesting since all auto-save and state compressions are disabled on both Host and Client, so sizes must match.
Would be much appreciated if anyone could test a cross-platform connection and try to reproduce that. Wounder whether it's a global MM issue or not.
I've seen this error a few times while testing something else and i'm pretty sure it was with the same game. Have you tried adjusting any settings on the other platforms? I've had PC -> MM+ Netplay working in the past but i ended up changing some save state settings (compression etc) on both platforms IIRC.
Checklist
Onions OS Version
4.2.0-RC
Miyoo Firmware Version
202306282128
Provide a clear and concise description of the issue
Hi folks, I know Retroarch-related bugs should be addressed to their repo, but looks like it's something related to Onion's network component.
So, I have Retroarch (same 1.15 version, same picodrive core, same ROM file) running on Mac, PS Vita, and MM+. State autosave settings are disabled as Wiki describes. All devices in the local WIFI network. I've managed to pair Mac and Vita, Netplay worked just perfectly there. But unfortunately, none of them can connect to MM+.
I've tried Relay mode and direct connection by IP, the outcome is the same - it connects and then gets disconnected in a second without any errors. The same result if MM+ is connecting as a client and the Host.
I checked Retroarch log file, nothing useful there, unfortunately:
To me it seems like Onion just drops the connection at the very last moment for some reason. Would be much appreciated for your thoughts and help.
Steps to Reproduce
Just connect with Onion device to any other via Netplay.
Provide any additional context or information that may help us investigate your issue
Provided above