-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberri Pi 5 - Nintendo 64 fails to start on all available cores #1982
Comments
You will have to lower your resolution to 1080p. |
Lowered the resolution in Lakka to 1080p. Still not starting N64 games.
|
I have a feeling this has to do with the RPi 5 kernel using a 16K pagesize which broke all sorts of software. Patches have already been added for Flycast and DOSBox Pure to address this so these cores will probably require fixes as well. Something as simple as adding |
If it's possible for the Lakka team to build something to test then I'l happily assist with any necessary testing. |
The issue with Flycast was that the dynamic recompiler wasn't compatible with the new 16K pagesize. Since your log ends at "Init new dynarec" that is likely exactly what is happening here as well. If you disable the option for it in the config file, there will be a slight performance hit, but it should fix the crash. Navigate to Mupen64Plus-Next ParaLLEl N64 |
I'll give it a try and report back! |
Related PR for Flycast. |
Have you tried latest nightly build for 5.x? Because there were updates to the libretro cores since May 16th in Lakka. On RPi5 we patch the flycast source to "have" 16kB PAGE_SIZE here. |
Tested, no difference. But have to check the logs, will do after work.
Yes, same issue with latest nightly. Will do some more tests with logging and provide the logs after work. |
Managed to get ParaLLEl N64 to work with cached_interpreter but not Mupen64Plus-Next.
|
Looking at the package file for |
@synthic thank you for the PR. I modified the make options (replaced EDIT: |
@ToKe79 Thanks for reviewing it! Unfortunately, I realized today it wasn't building properly so I revised it a bit and pushed a new commit. The incorrect From what I can tell, in the resulting command that the Lakka build system generates there is an Regarding the PAGESIZE, I am not sure if it will fix the issue as I don't have the hardware available to test. But anything starting with Edit: I apologize if I am misunderstanding how the flags work in the package file, I'm still getting used to how the build system functions as there are a lot of steps involved. But in my new commit, the logs show both |
Hi @synthic, thanks for the PR update.
|
@ToKe79 Oh, good! Thanks for clarifying and sorry I didn't see your earlier note. I just wanted to be doubly sure that I was matching the expected behavior. Feel free to edit as necessary. I am not sure that the page size is the real culprit either, but this case just seems awfully similar to what has been happening with other applications since the Raspberry Pi 5 has been released. The fact that there was no |
Regarding the 16K page size in mupen64plus it has been reported upstream mupen64plus/mupen64plus-core#1047. |
So I got my hands on a Raspberry Pi 5 and was able to do some testing. I tried the binary provided by @ToKe79 and mupen64plus was still crashing. Then, I decided to compile my own binary using the package file as it is in my latest PR revision and it started right up! Performance is great on the new model and everything seems to work properly. :) |
@ToKe79 You were right about the page size and cpu options, they don't seem to change the resulting binary. However, when targeting |
@Foolson mupen64plus should be working on the latest nightly, if you want to try it out and close the issue. |
@synthic I have a Raspberry Pi 5 8 GB model and am using the latest 5.x Lakka nightly (Lakka-RPi5.aarch64-5.x-20240622-63ed9e5.img.gz). The Mupen64Plus-Next core crashes when it tries to launch a game. The ParaLLEl N64 core is working correctly. |
@spork960 It seems like you aren't using the default config because the core is trying to use the cached interpreter instead of the dynamic recompiler, although that should work as well. So try deleting your config file and lowering the resolution to 1080p. |
Sorry for the late reply, have been busy. Flashed the latest nightly and changed the resolution to 1080p. Both cores still crash.
|
@Foolson dynarec can't be fixed in lakka or the libretro core, it has to be fixed upstream (mupen64plus/mupen64plus-core#1047). If you try with cached interpreter it will work. |
Does not work with cached interpreter either I'm afraid.
|
Parallel N64 works for me on pi5, but only if I choose Angrylion as RDP plugin. |
Tested both nightly and devel versions.
When starting a N64 game with any of the cores available the core and/or Lakka crashes ad Lakka restarts.
Lakka-RPi5.aarch64-devel-20240516-a9f41a3.img.gz
Raspberry Pi 5 8GB
Start a N64 game.
The game to start.
Lakka and/or the core crashed and Lakka restarted
The text was updated successfully, but these errors were encountered: