Emulation Station crashes after exiting game
-
Hardware: x86 64bit laptop: Acer Extensa 5220 (CPU Celeron 530, GPU Intel Mobile GM965/GL960, 1GB RAM)
RetroPie version:uqlel@acer-debian:~/RetroPie-Setup$ git show commit 0bcf01d46926de78609980e8661da5c971189ab8 (grafted, HEAD -> master, origin/master, origin/HEAD) Author: Jools Wills <buzz@exotica.org.uk> Date: Sun May 21 23:52:27 2023 +0100 Merge pull request #3720 from joolswills/ags_dependencies ags - add missing libsdl2-dev and cmake dependencies diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..bdc4607 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +patreon: retropie +custom: https://retropie.org.uk/donate/ diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..18b6e4c --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md
Built from: Source on top of existing OS - Debian 11
USB Devices connected: 2x Xbox One S controller, USB hub
Controllers used: 2x Xbox One S controller
Error messages received: Emulation station crashed!
Runcommand log (without verbose logging):Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x/snes9x_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/uqlel/RetroPie/roms/snes/Super Mario Kart (USA).zip" --appendconfig /dev/shm/retroarch.cfg Map_HiROMMap
Guide used: https://retropie.org.uk/docs/Debian/
File: /home/uqlel/RetroPie/roms/snes/Super Mario Kart (USA).zip
Emulator: snes
Other logs:
runcommand.infosnes lr-snes9x /home/uqlel/RetroPie/roms/snes/Super Mario Kart (USA).zip /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x/snes9x_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/uqlel/RetroPie/roms/snes/Super Mario Kart (USA).zip"
es_log.txt: https://pastebin.com/YN3KgS2T
How to replicate the problem:- Install Debian 11 with LXDE
- Install retropie from source on Debian 11
- Install Linux Kernel 6.1.0.9
- Setup autologin and autostart for Retropie
- Restart the PC
- Play an SNES game for a longer time (for me it was ~15 minutes)
- Exit the game with Hotkey+Start+Select
It does not happen if you play a shorter time. I found a solution that says you need to disable vsync by adding --vsync 0 at the end of your command, but it does not fix my problem.
-
This usually happens when the input devices get disconnected during initialization in EmulationStation.
Is the USB hub powered from the laptop ? Can you reproduce the issue if only one controller is installed (with or without the USB hub) ?
-
@mitu The USB hub is only powered by the USB port in the laptop. When the controller is connected without the hub, it does not work at all (idk why). I connected only one controller via the hub and it seemed to work normally, but I only played a while. I will now leave it for 30 minutes and then exit game, and then try to exit it.
-
@mitu after ~30 minutes AFK in this game with a single controller connected, exiting worked normally, so it probably happens only when multiple controllers are connected.
-
It does not happen at all with a single controller connected
-
So most likely the USB hub is disconnecting at some point and EmulationStation crashes during that moment. Can you try and get a separately powered USB HUB ? Or perhaps a newer PC, since the one you have is more than 10 years old ?
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.