lr-ppsspp 1.13.2 crash in RetroPie 4.8.6 on Raspberry Pi 4
-
Hello, I'm running Retropie 4.8.6 on a Raspberry Pi 4.
Attempting to run PSP games on lr-ppsspp 1.13.2. Just installed latest updates tonight, with commit version 8c8d685c. Prior to this update, games were running fine with no issues.
After update and reboot, PSP games no longer launch using lr-ppsspp. Running a game with verbose logging produces the following output in the runcommand.log:
[INFO] RetroArch 1.16.0 (Git e89a7ce)
[INFO] === Build =======================================
[INFO] CPU Model Name: ARMv7 Processor rev 3 (v7l)[INFO] Capabilities: NEON VFPV3 VFPV4
[INFO] Version: 1.16.0
[INFO] Git: e89a7ce
[INFO] Built: Nov 19 2023
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so"
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so"
Error(s): /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so: undefined symbol: hostAttemptBlockSize
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core symbols..I've attempted re-updating lr-ppsspp, uninstalling and installing from source, reinstalling from binary, nothing works. I've also tried updating underlying packages from retropie setup, and there are no updates to be found.
I've tried searching for this "hostAttemptBlockSize" message in google and have found absolutely no hits.
Curious if I should try to roll back to a previous retropie setup build and try installing an older version of lr-ppsspp?
-
Please post the complete log on pastebin.com.
-
@mitu I backrev'd to lr-ppsspp 1.12.2 and it's working again. I can put the logfile in pastebin if you still need it, but the entirety of runcommand.log is listed above in the original message. i don't have any other logs that I'm familiar with.
-
@0zzm0s1s said in lr-ppsspp 1.13.2 crash in RetroPie 4.8.6 on Raspberry Pi 4:
I can put the logfile in pastebin if you still need it, but the entirety of runcommand.log is listed above in the original message
Not quite, it's missing the 1st line, where the emulator command is printed.
-
@mitu Oh sorry, got it. Below is a copy of the full log output. I reinstalled lr-ppsspp 1.13.2 and the problem returned.
-
OK, so it's an
.iso
. I've tried running the same version on my Pi3 (also with an.iso
) and didn't get the error, but I'll see if something's up with the Pi4 version.When it was the previous time you updated your RetroPie system ? Did you also update the kernel and OS packages with it ? PPSSPP 1.13.2 has been the current version for more than 1 year and I don't recall this error showing up so far.
-
@mitu i did a full update last night including underlying packages, OS updates, kernel, etc. I don't know what all you might need to look at but I can paste kernel version, package versions, etc as needed. I did some more troubleshooting last night short of rolling back to 1.12.2 including trying another full update and there were no updated packages available. So I'm assuming that I have the latest versions of everything now.
-
I've run the Pi4 core and indeed it seems to have an issue - I get the same error. Let's see how we can fix it.
-
@mitu Thank you for your help! In the meantime I'm running without issues on lr-ppsspp 1.12.2, I just edit the scriptmodules/emulators/ppsspp.sh file to reference the older version instead of 1.13.2.
-
You can update RetroPie-Setup and build from source the v1.13.2 version now, I added a fix for the reported issue. Or wait 1 day and re-update from binary, it should get you a fixed build.
-
@mitu Ok, it's working correctly now with lr-ppsspp 1.13.2 and latest retropie-setup script. Thank you!
-
@mitu It seems like I have the exact same issue. lr-ppsspp is no longer working after an update. Only difference is, that I use a Raspberry Pi 400 model instead of a Pi4 with a german keyboard (I guess the layout does not make a difference).
Then I tried to fix the problem:
- Removed config files from the BIOS and ROMS folder, maybe something was broken. (I use a mounted USB drive) » Not fixed
- Updated lr-ppsspp after finding this post to the last version, » Not fixed
- Created a new SD card with latest RetroPie 4.8 image and tried to run it » Not fixed
- Tried to compile the lastest version from the source (not a linux guru, not often compiled stuff) » Way to many errors, could not build the files » Not fixed.
Outcome is always the same, none of the (previously working) games are loading. I can provide the error log if needed.
Here my technical details:
Pi Model or other hardware: Standard Raspberry Pi 400
Power Supply used: Official Raspberry power adapter provided with the Pi 400
RetroPie Version Used: 4.8
Built From: Pre made SD image provided by Rasberry Pi installer.
USB Devices connected: A single 128 GB USB drive with automount. Works properly.
Controller used: No name psx dualshock like gamepad, cable connection
Emulator: lr-ppssppAlso happy to try to revert back to an older version, but for that I would need some basic guidance. I know linux, but not much about the RetroPie environment and I am not experienced on how to "alter things" outside of the basic retropie-setup scripts commands and some editing of files.
Thanks in advance!
muellrausbringen -
@muellrausbringen said in lr-ppsspp 1.13.2 crash in RetroPie 4.8.6 on Raspberry Pi 4:
Outcome is always the same, none of the (previously working) games are loading. I can provide the error log if needed.
Please do so, and enable verbose logging before getting the log file. Use pastebin.com to post the file, since it's large.
RetroPie Version Used: 4.8
Can you post the exact RetroPie version you have installed, after updates & all ?
-
@mitu Thanks for the quick reply, here the requested information:
This is the output of the runcommand.log (started with verbose output):
(if you need a different log file, just let me know)Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so --config /opt/retropie/configs/psp/retroarch.cfg "/home/pi/RetroPie/roms/psp/Age Of Zombies (USA).cso" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] [Config]: Loading config from: "/opt/retropie/configs/psp/retroarch.cfg". [INFO] [Config]: Appending config "/dev/shm/retroarch.cfg". [WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory.") https://github.com/FeralInteractive/gamemode needs to be installed. [WARN] [Config]: GameMode unsupported - disabling... [INFO] RetroArch 1.10.0 (Git e9e85f3) [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Jan 30 2022 [INFO] Version: 1.10.0 [INFO] Git: e9e85f3 [INFO] ================================================= [INFO] [Input]: Found input driver: "x". [INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so" [ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so" Error(s): /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so: undefined symbol: hostAttemptBlockSize [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading core symbols..
Used emulator:
lr-ppsspp, installed via binary Build Date: 2023-11-07T12:29:44+01:00 Build from source via: Type: git URL: https://github.com/hrydgard/ppsspp.git Branch: v1.13.2 Commit: 9fe6338e3bf397f8a009a51a282c139dfa180eb6 Date: 2022-09-10T15:50:49+02:00
Used RetroPie version:
4.8 - Last Commit: 1 year, 10 months ago (6e83a7d5)
Used system:
rpi4 (armv71 - running on Raspbian GNU/Linux 10 (buster)
Ok, wait, of course I should have read the log in more detail... I never realized these two warnings at the top, could that be a reason? The other error message is exactly the same like the one from 0zzm0s1s back on the 26th of Nov.
[WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory.") https://github.com/FeralInteractive/gamemode needs to be installed.
[WARN] [Config]: GameMode unsupported - disabling...I did expect, that all the packages would install their respective dependencies and similar and it's "just" a warning.
I did run a test (before using a fresh image) with a full update of the whole system (raspi config + retropie setup and update all packages) which caused the issue. However if you want me to update the whole image (because the 4.8 seems to be a bit old?) I can run the complete update cycle.
Hope this helps to shed some light on this, happy to provide more details. :)
muellrausbringen. -
@muellrausbringen said in lr-ppsspp 1.13.2 crash in RetroPie 4.8.6 on Raspberry Pi 4:
Ok, wait, of course I should have read the log in more detail... I never realized these two warnings at the top, could that be a reason? The other error message is exactly the same like the one from 0zzm0s1s back on the 26th of Nov.
No, the warnings are not the cause of your problem. You're not running on an updated system - the current version of RetroPie is 4.8.6 and has been updated like yesterday, current version of RetroArch is 1.16 and the current version of lr-ppsspp/ppsspp should be 1.16.6 and not 1.13.2.
Can you please update your system - RetroPie-Script and the included packages - and then try again ? -
@mitu Yes, will do tonight (day starts now, so roughly in about 12-14 hours), thanks again!
-
Hm, I've taken a look at PPSSPP and the version should be still at 1.13.2 for the current Pi4 image. Still, try an update and see if something changes for the core; the changes will certainly impact building it from source.
-
@mitu Just taken the following steps:
- Startet RetroPie setup from emulation station menu
- Selected Update
- Update installed packages - Yes
- Update underlying OS packages - Yes
- 211 updated, 1 new package (wow 😲)
- Performed a reboot
OS update took around 1 min for downloading the packages and ~12 min to update. Then additional ~3 min für updating all retro pie packages. Now I have: RetroPie 4.8.6 - last commit 2 days ago
Tried starting same game in lr-ppsspp, screen turns black, small grey "starting emulator" box is appearing, then back to emulationstation menu. Here the log entry with verbose output selected:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so --config /opt/retropie/configs/psp/retroarch.cfg "/home/pi/RetroPie/roms/psp/Age Of Zombies (USA).cso" --verbose --appendconfig /dev/shm/retroarch.cfg [WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory.") https://github.com/FeralInteractive/gamemode needs to be installed. [WARN] [Config]: GameMode unsupported - disabling.. [INFO] RetroArch 1.16.0 (Git e89a7ce) [INFO] Saving save states in content directory is set. This overrides other save state file directory settings. [INFO] === Build ======================================= [INFO] CPU Model Name: ARMv7 Processor rev 3 (v7l) [INFO] Capabilities: NEON VFPV3 VFPV4 [INFO] Version: 1.16.0 [INFO] Git: e89a7ce [INFO] Built: Nov 19 2023 [INFO] ================================================= [INFO] [Input]: Found input driver: "x". [INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so" [ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so" Error(s): /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so: undefined symbol: hostAttemptBlockSize [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading core symbols..
Doesn't look very different apart from the version number. 😐
Shall I try building it from source or try something different?
-
@muellrausbringen Ok, I get the feeling the binary package hasn't been updated after this issue was patched. Building from source should work, but I think an updated binary package should be available also.
-
@mitu Just took another shot at updating the usual way, no update on any binaries, so no change.
Did execute the 'build from source' and did get a lot of warnings and was expecting it to fail. But this time it did ran through, and: Yes, games are starting again! Can only test video and gameplay right now, but I'll assume the sound will work as well.
Will do some more detailed testing, but assume this is fine now. Any idea why the change did not apply to the binary?
And is there a place I can toss a coin for coffee or similar for the support? 😉
Cheers
muellrausbringen
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.