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 20.8k 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.
    • DTEAMD
      DTEAM @ExarKunIv
      last edited by

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

      @DTEAM is this a clean system or your current one that you have been messing with?

      A clean system. The only thing I did is add these lines in these 4 .sh files.

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

        @DTEAM maybe try and run it without the nogui option and see if it loads and tells you anymore in the apps window?

        Pi 5 4GB

        Retroflag GPI with raspberry pi zero 2 w/ wifi

        Retroachievements:- lovelessrapture

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

          @DTEAM since its a clean load and you added vulkan my money is AetherSX2 does not like vulkan dont know why,

          but you did the same thing as me with a clean load. you only added vulkan
          mine worked fine, as yours did not

          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

            @ExarKunIv

            How can we exclude vulkan with your script. Can I add a specific command?

            In the compatibility list, they seem to run it with Vulkan and OpenGl .

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

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

              @DTEAM maybe try and run it without the nogui option and see if it loads and tells you anymore in the apps window?

              No , same problem

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

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

                How can we exclude vulkan with your script. Can I add a specific command?

                i dont think so since the emulators that can use vulkan i believe have to be recomplied to enable vulkan. since AetherSX2 is just copied from a flatpack there is nothing we can do.

                if someone can find a disto what has all the correct files to compile it from start then maybe, but since they shut it down. most of the ones i found only have the already build program i dont see it happening

                since i dont know how everything really works, i dont know what enabling vulkan does and why is does not like AetherSX2

                possible someone who knows the inerworkings of the retropie will chime in

                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

                  They seem to have started again recently
                  https://aethersx2.net/

                  But they only have appimage. The GitHub site is closed

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

                    @DTEAM then as of right now there's not much that can be done. Other then figuring out why it doesn't like Vulcan.

                    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 0
                    • 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
                                            • 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.