EmulationStation gets "stuck" when launching ROMs...?
-
I've run into a very specific problem that I'm having a terrible time figuring out how to fix.
I have a ton of roms and emulators fully functional via a RetroPie setup. The games all show up in EmulationStation, organized into menus with all the details. But when I go to actually launch a game, EmulationStation refuses to get out of the way. Digging into the active processes, EmulationStation is running runcommand properly, but it doesn't exit to allow the rom to actually come to the foreground and become playable.
If I SSH in and kill the emulationstation PID, runcommand will instantly take over and the rom will run successfully. Of course, when I exit the rom it just goes to a command prompt at the point because I have killed the emulationstation process.
If I run the roms at the terminal via runcommand directly, everything works great, minus emulationstation.
The real kicker is that this ONCE IN A WHILE I am able to launch games from EmulationStation just fine. It will launch the rom and return to EmulationStation when I exit the rom, like it's supposed to. But that's only like 10% of the time. And it's never consistent with which games work, which emulators work, or any other details.
It's not that the whole system is freezing. The game video preview still plays. The system background music continues to play. But the controls lock up in EmulationStation as soon as I launch the game, sort of trapping it in this limbo state.
I'm running RetroPie on a Pi3+.
Any idea how I can diagnose this better? Thanks!
-
@thericky said in EmulationStation gets "stuck" when launching ROMs...?:
I have a ton of roms and emulators fully functional via a RetroPie setup. The games all show up in EmulationStation, organized into menus with all the details. But when I go to actually launch a game, EmulationStation refuses to get out of the way. Digging into the active processes, EmulationStation is running runcommand properly, but it doesn't exit to allow the rom to actually come to the foreground and become playable.
EmulationStation doesn't exit when running
runcommand
, it merely goes into background. That's never been an issue on any RetroPie version or more recently.
Not sure what's your setup, so please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first. Note that running ES over the desktop environment is not a supported configuration. -
@mitu Thanks. Further digging has shown me the problem is specific to omxplayer and video previews for roms.
When a video preview is playing on screen, EmulationStation locks up when trying to launch a game. When the video is not playing, it launches the game just fine.
Someone else told me this could be a permissions issue where EmulationStation is unable to close omxplayer properly. I'm not sure if that's it or not. Any further thoughts here?
-
All fixed.
It was a permissions issue. Needed to run:
sudo chown -R pi:pi /home/pi
sudo chown -R pi:pi /opt/retropie/configs
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.