OnionUI / Onion

OS overhaul for Miyoo Mini and Mini+
https://onionui.github.io
GNU General Public License v3.0
3.39k stars 213 forks source link

Game Switcher Slow When RetroAchievements Enabled #848

Open davetansley opened 1 year ago

davetansley commented 1 year ago

Checklist

Onions OS Version

4.2 beta 4

Miyoo Firmware Version

202303262339

Provide a clear and concise description of the issue

With wifi connected and RetroAchievements enabled, the game switcher becomes slow and unresponsive. This manifests in a few ways:

1) When loading a game from the game switcher, the "0%: Loading State" message will be visible for a long time, slowly counting up over the course of around 30 seconds. 2) The ROM will usually load without the game state (ie, normal loading) before the game state finally arrives. 3) When pressing the menu button to trigger the game switcher within a game, the device will freeze for about thirty seconds before the game switcher interface appears (presumably saving the state). 4) RetroAchievements will then login and operate as normal. 5) With RetroAchievements disabled, the game switcher operates as expected.

This seems to be wifi network dependent:

1) When connected to my home network (mesh network, otherwise fast and stable) it occurs 2) When connected to my phone hotspot it seems to be less prominent (still see the "double load" of the rom then the game state, but it happens a lot faster)

Steps to Reproduce

1) Enable wifi and connect to a wifi network 2) Enable RetroAchievements and provide login 3) From the main menu, press the menu button and select a game state 4) (observe time taken to load game state) 5) From within the game, press the menu button 6) (observe time taken to load game switcher)

Provide any additional context or information that may help us investigate your issue

This issue was present on 4.2 beta 2 as well.

Hardcore mode is disabled.

Aemiii91 commented 1 year ago

Possibly related to #845