RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Suggestions for ports #3 - Pi5 edition

    Scheduled Pinned Locked Moved General Discussion and Gaming
    portspi5scriptsscriptmodules
    151 Posts 11 Posters 19.2k 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.
    • ExarKunIvE
      ExarKunIv @DTEAM
      last edited by

      @DTEAM

      So I got came across this while reading something else someone is dealing with.

      Maybe you can use this to see what the Segmentation fault is. Maybe. Might be worth looking into.

      Ok, so the crash is not caused by a missing/malformed resource. At this point the only way to find out what's causing the crash is to run it through gdb.

      Form a SSH session:

      install the gdb package with
      sudo apt install -y gdb

      run EmulationStation through gdb:
      gdb -q -ex /opt/retropie/supplementary/emulationstation/emulationstation

      NB: if you haveemulationstation-dev installed, then run instead:
      gdb -q -ex /opt/retropie/supplementary/emulationstation-dev/emulationstation

      after the 'Segmentation fault' error appears, just type bt and press enter at the gdb prompt that appears. Post the output of the command.

      type q to exit gdb and confirm with y if prompted to kill/stop the running process.

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      1 Reply Last reply Reply Quote 1
      • sugarfreeS
        sugarfree
        last edited by sugarfree

        I have Vulkan enabled on my system, and PS2 games are running without issues.
        I can upload my backup image (without ROMs or BIOS files) if it complies with the forum rules.

        DTEAMD ExarKunIvE TPRT 3 Replies Last reply Reply Quote 1
        • DTEAMD
          DTEAM @sugarfree
          last edited by DTEAM

          Sure, Did you install aethersx2 from Retropie Extra as is and did the changes here ? Do you have the checksum of your BIOS?

          sugarfreeS TPRT 2 Replies Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @sugarfree
            last edited by

            @sugarfree said in Suggestions for ports #3 - Pi5 edition:

            I can upload my backup image (without ROMs or BIOS files) if it complies with the forum rules.

            yes i belive you can, RapidEdwin08 has a image up also and that have been fine.

            so i think if you do like you said, post it without ROMs or BIOS files. you will be fine

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            1 Reply Last reply Reply Quote 2
            • sugarfreeS
              sugarfree @DTEAM
              last edited by sugarfree

              @DTEAM
              Yes, I have Vulkan enabled from mitu commit and the AetherSX2 emulator from ExarKunlv RetroPie-Extra repo. Also, lr-Melon DS and lr-swanstation.

              The PS2 BIOS files that I used are:

              ps2-0230a-20080220.bin CRC32: 286897c2
              ps2-0230a-20080220.mec CRC32: 054a6ec2
              ps2-0230a-20080220.nvm CRC32: 57210b91
              scph30004fr.bin CRC32: 9386a740
              scph30004fr.mec CRC32: 054a6ec2
              scph30004fr.nvm CRC32: 0509cea5
              SCPH30004R.bin  CRC32: 9386a740
              SCPH30004R.MEC CRC32: 054a6ec2
              SCPH30004R.nvm CRC32: 5e0200d0
              scph39001.bin    CRC32: a19e0bf5
              scph39001.MEC CRC32: 054a6ec2
              scph39001.nvm CRC32: 4e873b8e
              

              The image is 2.89 GB zipped and 16 GB when unzipped. Just use Pi Imager with the zipped file.

              https://mega.nz/file/B211lAJL#ykKA-14Do_wNtqWsNpPmFWpc-sHY2AvJn-KgE9gsA98

              You need to change the Wi-Fi Country settings and passwords, also Timezone.

              Username: pi
              Password: raspberrypi

              ExarKunIvE TPRT 2 Replies Last reply Reply Quote 5
              • ExarKunIvE
                ExarKunIv @sugarfree
                last edited by

                @sugarfree thanks for doing this.
                i can use this to see what will and will not work from RetroPie-extras

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                1 Reply Last reply Reply Quote 2
                • RapidEdwin08R
                  RapidEdwin08 @DTEAM
                  last edited by RapidEdwin08

                  @DTEAM said in Suggestions for ports #3 - Pi5 edition:

                  I did many tests and it doesn't work. Here's step by step what I did from the begining for aethersx2:

                  • in config.txt --> kernel=kernel8.img

                  This is usually the culprit for seg fault on pi5, double check kernel8 or pastebin the config .txt to verify.
                  Can try to set X11 from sudo raspi-config - Advanced Options - Wayland - X11 Openbox Backend.

                  You can also try an Alternative Retropie-Setup script module from here: aethersx2.sh

                  The PCSX2.ini included in that one is configured to look for BIOS and Mem Cards in:

                  home/pi/RetroPie/BIOS
                  

                  That particular script module will not overwrite the current aethersx2 config PCSX2.ini.
                  You will want to either back up or delete the current PCSX2.ini before installing.

                  home/pi/.config/aethersx2/inis/PCSX2.ini
                  

                  Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                  DTEAMD 2 Replies Last reply Reply Quote 1
                  • DTEAMD
                    DTEAM @RapidEdwin08
                    last edited by DTEAM

                    @RapidEdwin08 said in Suggestions for ports #3 - Pi5 edition:

                    The PCSX2.ini included there is configured to look for BIOS and Mem Cards in:

                    home/pi/RetroPie/BIOS

                    Here's the folder location from PCSX2.ini

                    [Folders]
                    Bios = ../../../../../../home/pi/RetroPie/BIOS/ps2
                    Snapshots = snaps
                    Savestates = sstates
                    MemoryCards = memcards
                    Logs = logs
                    Cheats = cheats
                    CheatsWS = cheats_ws
                    CheatsNI = cheats_ni
                    Cache = cache
                    Textures = textures
                    InputProfiles = inputprofiles
                    

                    I don't see any problem here.

                    Could it be the local depends (aethersx2.sh)?

                    function depends_aethersx2() {
                        local depends=(matchbox-window-manager xorg xserver-xorg-input-all mesa-vulkan-drivers pulseaudio pipewire-media-session-pulseaudio)
                    
                        getDepends ${depends[@]}
                    }
                    
                    function sources_aethersx2() {
                        gitPullOrClone
                    }
                    
                    function install_aethersx2() {
                        tar -xzvf AetherSX2-v1.5-3606.tar.gz -C "/opt/retropie/emulators/aethersx2"
                        chmod +x /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/aethersx2
                    }
                    
                    function configure_aethersx2() {
                        mkRomDir "ps2"
                        
                        local launch_prefix
                        isPlatform "kms" && launch_prefix="XINIT-WM:"
                    
                    1 Reply Last reply Reply Quote 0
                    • DTEAMD
                      DTEAM @RapidEdwin08
                      last edited by DTEAM

                      @RapidEdwin08 said in Suggestions for ports #3 - Pi5 edition:

                      You can also try an Alternative Retropie-Setup script module from here: aethersx2.sh

                      Thanks, much appreciated. I tried, but same result. I tested all BIOS versions on the net and nothing happened. Could this be related to the SDL2 version? I will continue to investigate?

                      Here's my config.txt

                      RapidEdwin08R 1 Reply Last reply Reply Quote 0
                      • RapidEdwin08R
                        RapidEdwin08 @DTEAM
                        last edited by RapidEdwin08

                        @DTEAM someone correct me if I'm wrong but, looking at your config txt,
                        I think everything you put in #New, including kernel8, is not being applied because you put it all under [cm4].
                        You should move it up to before [cm4].

                        Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                        ExarKunIvE 1 Reply Last reply Reply Quote 1
                        • ExarKunIvE
                          ExarKunIv @RapidEdwin08
                          last edited by

                          @RapidEdwin08 said in Suggestions for ports #3 - Pi5 edition:

                          You should move it up to before [cm4].

                          you might have something there

                          i put all my changes after [all]
                          but before would probably do the same thing

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          DTEAMD 1 Reply Last reply Reply Quote 0
                          • DTEAMD
                            DTEAM @ExarKunIv
                            last edited by DTEAM

                            @RapidEdwin08 @ExarKunIv said in Suggestions for ports #3 - Pi5 edition:

                            i put all my changes after [all]
                            but before would probably do the same thing

                            It was that !!!!!!!!!!!!!!!! thanks!

                            ExarKunIvE 1 Reply Last reply Reply Quote 1
                            • ExarKunIvE
                              ExarKunIv @DTEAM
                              last edited by

                              @DTEAM it always the simplest things, lol
                              im glad you got it all sorted out.

                              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                              Maintainer of RetroPie-Extra .

                              DTEAMD 1 Reply Last reply Reply Quote 1
                              • DTEAMD
                                DTEAM @ExarKunIv
                                last edited by DTEAM

                                @ExarKunIv

                                For your script, if a controller is not listed in the SDL database, you can use this procedure to add it by replacing this

                                sudo bash -c 'cat ./out.txt >> /opt/retropie/emulators/ppsspp/assets/gamecontrollerdb.txt'
                                

                                By this

                                sudo bash -c 'cat /home/pi/RetroPie-Setup/tmp/build/out.txt >> /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/resources/game_controller_db.txt'
                                

                                It works, like with PPSSPP

                                NEW edit: Touch screen (on Pi5) also works well with this emulator

                                DTEAMD 1 Reply Last reply Reply Quote 1
                                • DTEAMD
                                  DTEAM @DTEAM
                                  last edited by DTEAM

                                  @ExarKunlv

                                  Hi, why citra or lr-citra only work on a x86 platform?

                                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                                  • ExarKunIvE
                                    ExarKunIv @DTEAM
                                    last edited by

                                    @DTEAM i never changed it since there is no point, \ it does not work. since the yuzu shutdown. the main files that the LR core builds from are gone, and even through people have repos with the new locations.

                                    it still does not work. there is LIME that does compile and works. i just have not made a script for it yet

                                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                    Maintainer of RetroPie-Extra .

                                    DTEAMD 1 Reply Last reply Reply Quote 1
                                    • DTEAMD
                                      DTEAM @ExarKunIv
                                      last edited by

                                      @ExarKunIv
                                      Is Citra Nightly the same emulator?

                                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                                      • ExarKunIvE
                                        ExarKunIv @DTEAM
                                        last edited by ExarKunIv

                                        @DTEAM yes and no.
                                        That's going to be the standalone emulator. Not a LR core.
                                        It might work. Might not. I have not bothered to try I'm going to go more for lime since it's got more of an active development going on. And most likely less chance from being shut down.

                                        But hey who says we can't have more then 1 right.

                                        I say give it a shot if you know how

                                        Here is my issue page on GitHub. That has a few things.

                                        If you like give it a shot

                                        https://github.com/Exarkuniv/RetroPie-Extra/issues/193

                                        I'll take any help

                                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                        Maintainer of RetroPie-Extra .

                                        retropieuser555R 1 Reply Last reply Reply Quote 2
                                        • retropieuser555R
                                          retropieuser555 @ExarKunIv
                                          last edited by

                                          @ExarKunIv it might be worth avoiding anything switch or 3ds related at the moment given the position Ninty have taken as of late? I'd keep a backup of your git respiratory in case they send a takedown notice so you could in theory redo it without the Nintendo related aspects

                                          Pi 5 4GB

                                          Retroflag GPI with raspberry pi zero 2 w/ wifi

                                          Retroachievements:- lovelessrapture

                                          ExarKunIvE 1 Reply Last reply Reply Quote 1
                                          • ExarKunIvE
                                            ExarKunIv @retropieuser555
                                            last edited by

                                            @retropieuser555 im not worried about it. all they can do it kill where the files come from, thats it.
                                            since im not hosting anything. it will just stop the script from doing anything, like it is right now.

                                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                            Maintainer of RetroPie-Extra .

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