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

    lr-scummvm crashes on launch

    Scheduled Pinned Locked Moved Help and Support
    scummvm
    8 Posts 5 Posters 1.1k 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.
    • B
      brinch
      last edited by

      I am running retropie on a RPi4. lr-scummvm was installed from binary. Whenever I try to run a game on lr-scummvm, it crashes with a segmentation fault.
      /dev/shm/runcommand.log gives me this:

      Parameters:
      Executing: /opt/retropie/libretrocores/lr-scummvm/romdir-launcher.sh "/home/pi/RetroPie/roms/scummvm/<name_of_content>.svm" --appendconfig /dev/shm/retroarch.cfg
      /opt/retropie/libretrocores/lr-scummvm/romdir-launcher.sh: line 9:  2560 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L "/opt/retropie/libretrocores/lr-scummvm/scummvm_libretro.so" --config "/opt/retropie/configs/scummvm/retroarch.cfg" "$ROM" "$@"
      

      If I try to run the romdir-launcher from the command line, I get this error:

      pi@retropie:~ $ /opt/retropie/libretrocores/lr-scummvm/romdir-launcher.sh
      failed to export dumb buffer: Permission denied
      Failed to create scanout resource
      failed to export dumb buffer: Permission denied
      Failed to create scanout resource
      

      Scummvm and scummvm-sdl run flawlessly, so it is not the content.
      Any ideas?

      retropieuser555R 1 Reply Last reply Reply Quote 0
      • retropieuser555R
        retropieuser555 @brinch
        last edited by retropieuser555

        @brinch No solution sorry but I can confirm I'm getting this same error as well

        Pi 5 4GB

        Retroflag GPI with raspberry pi zero 2 w/ wifi

        Retroachievements:- lovelessrapture

        1 Reply Last reply Reply Quote 0
        • Z
          ZzackK
          last edited by

          For me crash too

          1 Reply Last reply Reply Quote 0
          • defixionesD
            defixiones
            last edited by

            Could be related to this, something to do with OpenGL resource contention on the pi4?

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

              @defixiones said in lr-scummvm crashes on launch:

              Could be related to this, something to do with OpenGL resource contention on the pi4?

              The messages from DRM yes, but that's normal if you want to use 2 applications at once from the terminal (i.e. you have EmulationStation started and want to start RetroArch).

              I can't reproduce the crash with a simple game (Flight of the Amazon). It may be be that the game content folder is not correctly named.

              Running the game from the command line with debugging enabled could offer some indication on where/why the crash happens. Try exiting EmulationStation first and then run:

              /opt/retropie/libretrocores/lr-scummvm/romdir-launcher.sh "/home/pi/RetroPie/roms/scummvm/<game_file>.svm"  -v
              
              retropieuser555R 1 Reply Last reply Reply Quote 0
              • retropieuser555R
                retropieuser555 @mitu
                last edited by

                @mitu

                Hey this is the log I get when I follow those steps you mentioned. You're right it doesn't recognise the games are in the scummvm folder. Odd given the standalone scummvm does recognise them though fine.

                https://pastebin.com/raw/hqUBY6Nu

                Pi 5 4GB

                Retroflag GPI with raspberry pi zero 2 w/ wifi

                Retroachievements:- lovelessrapture

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

                  @retropieuser555 You'll need to arrange the content of the game like this:

                  • Game files in the $HOME/RetroPie/roms/scummv/Lure of the Temptress.svm
                  • Have a lure.svm file in the same folder.
                  retropieuser555R 1 Reply Last reply Reply Quote 0
                  • retropieuser555R
                    retropieuser555 @mitu
                    last edited by

                    @mitu thanks for the advice, I just tested and it doesn't matter what the directory is named, you just have to launch the .svn file from within the game data folder. Which is different to the launch behaviour lr-scummvm had before but at least it runs.

                    For me, I'll probably just make an .sh file with /opt/retropie/libretrocores/lr-scummvm/romdir-launcher.sh and run the games from the launcher so it clutters the emulationstation menu up a bit less. Thanks anyway though!

                    Pi 5 4GB

                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                    Retroachievements:- lovelessrapture

                    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.