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 18.7k 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 said in Suggestions for ports #3 - Pi5 edition:

      My screen is 480x800

      Not too sure
      I'll check my system to compare

      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

        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
        • I download the last version of your script.
        • I installed sdl2 with those additions
        • I intalled your script
        • I got the same bios than you (ps2-0230e-20080220.bin) and ps2-0230a-20080220.bin
        • I got .chd and iso roms (US and EU)
        • I load the emulator with PCSX2.ini BIOS = " empty " and with BIOS = ps2-0230e-20080220.bin

        It won't load. Always the same .log result. Did I miss a step ?

        Note: I don't see aethersx2 in your first post

        mituM ExarKunIvE RapidEdwin08R 4 Replies Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @DTEAM
          last edited by mitu

          @DTEAM Please stop tagging me directly in all your support issues. I'm reading all forum posts when time allows me and if I have something to add to any topic, I will.

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

            @DTEAM i have not redid my test build yet (doing other things, sorry)
            the only thing i see different is that you have added vulkan
            I dont. so thats the only thing that differes

            since i dont know how everything really works, i dont know if this will or will not effect other systems

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

            if it might effect it, then there is nothing that can be done. aethersx2 is not compiled in anyway or form. it is just installed from a flatpack. we just got it working.

            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
            • ExarKunIvE
              ExarKunIv @DTEAM
              last edited by

              @DTEAM

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

              I installed sdl2 with those additions

              is the only thing that is different

              so i redid my test build
              i used the latest OS version from the Pi site, july 4th is the release date
              i used https://github.com/danielfreer/raspberrypi5-retropie-setup to help setup retropie
              ps2-0230e-20080220.bin is my working bios (md5 checksums is dc69f0643a3030aaa4797501b483d6c4) in the bios/ps2 folder

              roms i tested GTA.iso and Digimon World - Data Squad.iso

              enabled kernel=kernel8.img

              everything is working as it was when i added the script.
              i did not change anything. my setup is a vanilla as you can get

              my runcommand

              Parameters: 
              Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty
              
              
              X.Org X Server 1.21.1.7
              X Protocol Version 11, Revision 0
              Current Operating System: Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64
              Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe  smsc95xx.macaddr=D8:3A:DD:CE:83:3D vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=2c716415-02 rootfstype=ext4 fsck.repair=yes rootwait
              xorg-server 2:21.1.7-3+rpt2+deb12u7 (https://www.debian.org/support) 
              Current version of pixman: 0.42.2
                 Before reporting problems, check http://wiki.x.org
                 to make sure that you have the latest version.
              Markers: (--) probed, (**) from config file, (==) default setting,
                 (++) from command line, (!!) notice, (II) informational,
                 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
              (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri Jul 19 19:44:31 2024
              (==) Using config directory: "/etc/X11/xorg.conf.d"
              (==) Using system config directory "/usr/share/X11/xorg.conf.d"
              Set mode 1920x1080@60.00Hz on HDMI-1
              
              Executing (via xinit): /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/aethersx2 -nogui /home/pi/RetroPie/roms/ps2/GTA3.iso
              
              Program Path: /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/aethersx2
              AppRoot Directory: /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin
              DataRoot Directory: /home/pi/.config/aethersx2
              Resources Directory: /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/resources
              Loading config from /home/pi/.config/aethersx2/inis/PCSX2.ini.
              BIOS Directory: /home/pi/.config/aethersx2/../../../../../../home/pi/RetroPie/BIOS/ps2
              Snapshots Directory: /home/pi/.config/aethersx2/snaps
              Savestates Directory: /home/pi/.config/aethersx2/sstates
              MemoryCards Directory: /home/pi/.config/aethersx2/memcards
              Logs Directory: /home/pi/.config/aethersx2/logs
              Cheats Directory: /home/pi/.config/aethersx2/cheats
              CheatsWS Directory: /home/pi/.config/aethersx2/cheats_ws
              CheatsNI Directory: /home/pi/.config/aethersx2/cheats_ni
              Covers Directory: /home/pi/.config/aethersx2/covers
              Game Settings Directory: /home/pi/.config/aethersx2/gamesettings
              Cache Directory: /home/pi/.config/aethersx2/cache
              Textures Directory: /home/pi/.config/aethersx2/textures
              Input Profile Directory: /home/pi/.config/aethersx2/inputprofiles
              
              

              I dont know whats going on, the only thing is you are enabling vulkan I dont see why that would matter, but thats the only thing i see different

              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 2 Replies Last reply Reply Quote 1
              • DTEAMD
                DTEAM @ExarKunIv
                last edited by

                @ExarKunIv

                Thanks for your support , i'll try to figure it out what’s happened

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

                  @ExarKunIv

                  Last question. For the Bios, do you manually add it ( name of the BIOS ) in the .ini file or you let the .ini file as it is?

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

                    @DTEAM don't edit anything in the ini. It knows where the location is.

                    The PS2 bios folder is sysmlinked so it's already done

                    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

                      My retropie_xinitrx in /dev/shm/

                      #!/bin/bash
                      XRANDR_OUTPUT="$(xrandr --verbose | grep " connected" | awk '{ print $1 }')"
                      xrandr --output $XRANDR_OUTPUT --mode 1920x1080 --refresh 60.00
                      echo "Set mode 1920x1080@60.00Hz on $XRANDR_OUTPUT"
                      matchbox-window-manager -use_cursor no &
                      sleep 0.5
                      xset -dpms s off s noblank
                      echo -e "\nExecuting (via xinit): " /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/aethersx2 -nogui "/home/pi/RetroPie/roms/ps2/Naruto Shippuden - Ultimate Ninja 5 (Europe) (En,Fr,De,Es,It).iso""\n"
                       /opt/retropie/emulators/aethersx2/AetherSX2-v1.5-3606/usr/bin/aethersx2 -nogui "/home/pi/RetroPie/roms/ps2/Naruto Shippuden - Ultimate Ninja 5 (Europe) (En,Fr,De,Es,It).iso"
                      

                      Nothing there too, very similar to PPSSPP. It's a segmentation fault issue, but I don't know where to start. This is the first time I'm going to do this, but in the absence of solutions, I'm going to put an X on this emulator. I don't see any workable solution on my own.

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

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

                        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

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