Skip to content
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

[Raspberry Pi 5] 4KB Page Memory Incompatible with 16KB Page Memory #1190

Open
Widge-5 opened this issue Jan 16, 2024 · 0 comments
Open

[Raspberry Pi 5] 4KB Page Memory Incompatible with 16KB Page Memory #1190

Widge-5 opened this issue Jan 16, 2024 · 0 comments

Comments

@Widge-5
Copy link

Widge-5 commented Jan 16, 2024

Using a Raspberry Pi 5, running Bookworm 64bit lite

lr-flycast, after succesfully compiling via retropie-setup, does not launch due to this bug raspberrypi/bookworm-feedback#107 , in short the pages being 4KB means the 16KB cannot be run on Linux Arm64 for Pi 5. A check for Pi 5 in flycast and then changing the virtual pages to 16KB would perhaps fix this.

The bug was fixed in flyinghead's flycast (lr-flycast-dev) with an amendment to the pagesize defined in stdclass.h, as described in this completed issue report : flyinghead/flycast#1288

I tested the same change in my own fork of lr-flycast and this allowed lr-flycast to launch on the 64-bit Pi5 system. I also tested the same on my 32bit Pi4 and the change appeared to have no detrimental there. However, I am not sufficiently knowledgeable to categorically say without any doubt that this is the correct solution for this version of flycast, hence presenting this possible solution as an "issue" submission rather than a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant