Onion icon indicating copy to clipboard operation
Onion copied to clipboard

Blank screen when game state set to empty and returning to Main menu

Open stiivgiaco opened this issue 4 years ago • 19 comments

Checklist

  • [X] I am reporting a bug in the Onion OS (Note that Onion devs can’t fix inherited issues with RA Cores)
  • [X] I have reviewed the Onion Wiki and did not find the answer
  • [X] I have searched the existing (open and closed) issues to ensure I do not log a duplicate

Onions OS Version

V4.0.1

Miyoo Firmware Version

20220419

Provide a clear and concise description of the issue

When removing the last game switcher state thus having it set to empty, when trying to go back to Main menu (by Start or B) user is presented with blank screen other than loading back to the Main menu. User has to perform a force power off

Steps to Reproduce

  1. Open game
  2. During Gameplay press Game switcher button
  3. From Game switcher menu remove state
  4. Having no Game switcher state try to return to Main menu using Start or B button

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

Tested on onion V4.0.0 and V4.0.1

stiivgiaco avatar Sep 14 '22 06:09 stiivgiaco

Same issue. Blank screen confirmed.

bloodykean avatar Sep 14 '22 10:09 bloodykean

I can't reproduce this.

Please give more information:

  • how did you install Onion?
  • which game and core/emu are you using?

Might need more, but let's start with this.

Aemiii91 avatar Sep 14 '22 13:09 Aemiii91

Fresh install on a new sd card 256gb formated to fat32 Encountered using PS Rom/Snes Rom/ GBA Rom

stiivgiaco avatar Sep 14 '22 13:09 stiivgiaco

Could you try removing (moving to another folder) Saves/CurrentProfile/saves/playActivity.db and see if the problem persists.

Aemiii91 avatar Sep 14 '22 14:09 Aemiii91

not sure if thats a possibility as this will only happen once when you delete the last game state. If i reboot the device it will not stay on the blank screen regardless if there are any states

stiivgiaco avatar Sep 14 '22 15:09 stiivgiaco

So after a reboot, the GameSwitcher exits without problems?

Aemiii91 avatar Sep 14 '22 15:09 Aemiii91

yes

stiivgiaco avatar Sep 14 '22 17:09 stiivgiaco

Can you share a video of it happening? Including launching a game and clearing GS. Maybe I can spot if there's anything out of the ordinary.

Aemiii91 avatar Sep 14 '22 18:09 Aemiii91

https://mega.nz/file/taAgkAaC#wHhWv-HJdXk3xrwWGRAtbLk_Aq8U1hzLKpl0a4d3IBg

stiivgiaco avatar Sep 14 '22 18:09 stiivgiaco

Thank you! Unfortunately I couldn't spot anything out of the ordinary (except the black screen of course).

Aemiii91 avatar Sep 14 '22 18:09 Aemiii91

I did a clean install of 4.0.1 tonight and I'm running into the same problem with SNES and PSX games, but not NES or GBA games. I've tested and encountered the bug with Link to the Past, Super Mario World, Wayne's World (SNES), and Gran Turismo 2.

Replication steps would be to start with an empty game switcher list (not sure if this makes a difference) and launch a SNES game like Link to the Past. After loading into the game, press the menu button once, then press X to remove the game from the game switcher. You should see the "Empty" message in the switcher, then if you press either B or the menu button to return to the games list, it will go to a black screen instead of the games list.

I also tried renaming playActivity.db and restarting. I confirmed that it's properly recreating the file, but I still get a black screen if I repeat the steps above.

lanserver avatar Sep 15 '22 04:09 lanserver

Thank you @lanserver, I'm now able to reproduce! Now we're getting somewhere.

Aemiii91 avatar Sep 15 '22 06:09 Aemiii91

This is now fixed for next release (9b6af63), please install the development build to confirm.

Aemiii91 avatar Sep 15 '22 08:09 Aemiii91

in testing

stiivgiaco avatar Sep 15 '22 09:09 stiivgiaco

I can confirm that the issue is resolved in dev build 9b6af63

Tested using PSX Rom and SNES Rom

Thank you @Aemiii91

stiivgiaco avatar Sep 15 '22 11:09 stiivgiaco

Thank you @stiivgiaco !

Aemiii91 avatar Sep 15 '22 11:09 Aemiii91

Thank you for the quick fix @Aemiii91

stiivgiaco avatar Sep 15 '22 11:09 stiivgiaco

It was a nice challenge

Aemiii91 avatar Sep 15 '22 11:09 Aemiii91

Wow, that was fast. I'll give the new build a look later today. Thanks @Aemiii91!

lanserver avatar Sep 15 '22 13:09 lanserver