Suggestions for ports #3 - Pi5 edition
-
@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]. -
@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 -
@RapidEdwin08 @ExarKunIv said in Suggestions for ports #3 - Pi5 edition:
i put all my changes after [all]
but before would probably do the same thingIt was that !!!!!!!!!!!!!!!! thanks!
-
@DTEAM it always the simplest things, lol
im glad you got it all sorted out. -
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
-
@ExarKunlv
Hi, why citra or lr-citra only work on a x86 platform?
-
@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
-
@ExarKunIv
Is Citra Nightly the same emulator? -
@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
-
@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
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.