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

    EmulationStation Crashes After Launching A Game or Config Menu On Debian / Ubuntu

    Scheduled Pinned Locked Moved Help and Support
    black screenemulationstaioncrashesubuntudebian
    28 Posts 4 Posters 2.0k 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.
    • mituM
      mitu Global Moderator @gare
      last edited by mitu

      @gare said in EmulationStation Crashes After Launching A Game or Config Menu On Debian / Ubuntu:

      Here's what reported in the log for the lr-mame2003 for example:

      That's an incomplete log and the error is probably printer earlier on. Which version of gcc is in the 24.10 preview ? lr-mupen64plus is not going to get anymore updates, you should use lr-mupen64plus-next instead.

      G 1 Reply Last reply Reply Quote 0
      • G
        gare @mitu
        last edited by gare

        @mitu Apolgies, I'll provide the complete log underneath this post. My gcc version is 14.2.0. I'll try installing lr-mupen64plus-next instead now.

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

          @gare Please use pastebin.com for large logs.

          G 1 Reply Last reply Reply Quote 0
          • G
            gare @mitu
            last edited by gare

            @mitu Sorry again. I'll edit my post to remove the log. Here's the pastebin version https://pastebin.com/sFDf494m

            lr-mupen64plus failed in a similar manner when trying to install

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

              Yes, it seems there's a new warning promoted as error in gcc 14, the error is:

              ....
              src/common.c: In function ‘read_wav_sample’:
              src/common.c:439:46: error: assignment to ‘INT16 *’ {aka ‘short int *’} from incompatible pointer type ‘signed char *’ [-Wincompatible-pointer-types]
                439 |                         flac_file.write_data = result->data;
                    |                                              ^
              src/common.c: In function ‘readsample’:
              ...
              

              As for lr-mupen64plus, it's probably best to disable it for anything except a Pi3 and below, since it's an archived project and will not get any updates. Use lr-mupen64plus-next, which works fine., but seems it's also not compiling due to another error.

              G 1 Reply Last reply Reply Quote 0
              • G
                gare @mitu
                last edited by

                @mitu Is there anything I can do about that? Also here's the lr- mupen64plus log https://pastebin.com/hv4pKMAh . The lr-ppsspp log is too big for Pastebin

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

                  Use a LTS release so you don't get this kind of errors, gcc14 is rather 'new' and until projects are patched to fix the new errors they won't be working in RetroPie also.

                  G 2 Replies Last reply Reply Quote 0
                  • G
                    gare @mitu
                    last edited by

                    @mitu Thank you, switching to gcc-12 seems to have fixed the issue, as lr-mame2003 was able to compile fine. I'll try the others and will report back if I have anymore issues.

                    1 Reply Last reply Reply Quote 0
                    • G
                      gare @mitu
                      last edited by

                      @mitu not sure if I should make a new thread for this or not but I'm having a new issue where games open Retroarch fine but playing a game for a few minutes, Retroarch will hang, causing the sound to freeze making a single noise until the Terminal is forcibly closed. Doesn't seem to be emulation core specific as I had it happen with different systems. I tried running in debug but since it executes after the runcommand there wasn't any output, and the runcommand log didn't have any additional info

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

                        @gare You can get RetroArch to run in verbose mode by choosing to launch with verbose logging. Seems like an issue with the audio - perhaps PulseAudio/Pipewire gets stuck ? Does it happen also with standalone emulators (i.e. Mupen64plus or PPSSPP) ?

                        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.