RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulation Station crashes after exiting game

    Scheduled Pinned Locked Moved Help and Support
    es crashsnescrashdebian11debian
    6 Posts 2 Posters 867 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      uqlel
      last edited by uqlel

      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.info

      snes
      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:

      1. Install Debian 11 with LXDE
      2. Install retropie from source on Debian 11
      3. Install Linux Kernel 6.1.0.9
      4. Setup autologin and autostart for Retropie
      5. Restart the PC
      6. Play an SNES game for a longer time (for me it was ~15 minutes)
      7. 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.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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) ?

        U 3 Replies Last reply Reply Quote 0
        • U
          uqlel @mitu
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • U
            uqlel @mitu
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • U
              uqlel @mitu
              last edited by

              It does not happen at all with a single controller connected

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                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 ?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.