Suggestions for ports #3 - Pi5 edition
-
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.
-
@DTEAM is this a clean system or your current one that you have been messing with?
-
@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.
-
@DTEAM maybe try and run it without the nogui option and see if it loads and tells you anymore in the apps window?
-
@DTEAM since its a clean load and you added
vulkan
my money is AetherSX2 does not likevulkan
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 -
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 .
-
@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
-
@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
-
They seem to have started again recently
https://aethersx2.net/But they only have appimage. The GitHub site is closed
-
@DTEAM then as of right now there's not much that can be done. Other then figuring out why it doesn't like Vulcan.
-
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 gdbrun EmulationStation through gdb:
gdb -q -ex /opt/retropie/supplementary/emulationstation/emulationstationNB: if you haveemulationstation-dev installed, then run instead:
gdb -q -ex /opt/retropie/supplementary/emulationstation-dev/emulationstationafter 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.
-
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. -
Sure, Did you install aethersx2 from Retropie Extra as is and did the changes here ? Do you have the checksum of your BIOS?
-
@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
-
@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 -
@sugarfree thanks for doing this.
i can use this to see what will and will not work from RetroPie-extras -
@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
-
@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:"
-
@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
-
@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].
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.