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

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


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


  • For me crash too


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

  • Global Moderator

    @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
    

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

  • Global Moderator

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

  • @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!

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.