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

Support for building on Raspberry Pi #138

Closed
midwan opened this issue Dec 17, 2016 · 11 comments
Closed

Support for building on Raspberry Pi #138

midwan opened this issue Dec 17, 2016 · 11 comments

Comments

@midwan
Copy link

midwan commented Dec 17, 2016

Running "configure" currently goes through configuring several items but stops with:

configure: error: --enable-jit was given, but arch is not supported

What would be needed to add support for the RPI platform? I'm referring to the stock Raspbian installation on a RPI3 (armv8)

@solskogen
Copy link

Rasbian on RPi3 is not 64bit.

@midwan
Copy link
Author

midwan commented Dec 19, 2016

Ah, I wasn't aware this is 64-bit only. Is that a hard requirement?

@solskogen
Copy link

As far as I know FS-UAE only supports JIT on x86/x86-64

@escalade
Copy link

There's a libretro fork that runs on the RPi (without JIT). Development seems to have stagnated though.

@midwan
Copy link
Author

midwan commented Dec 20, 2016

Thanks for the link.

@FrodeSolheim
Copy link
Owner

@midwan It does build on the Raspberry, but you to run configure with:

./configure --disable-jit

FS-UAE is not 64-bit only. It builds and runs on a variety of operating systems and architectures. As noted by @solskogen, the JIT compiler is only available on x86 and x86-64.

@midwan
Copy link
Author

midwan commented Dec 27, 2016

@FrodeSolheim thanks, I assumed that was the case (but wasn't sure if it was tested).

There are some efforts for having JIT running on ARM, for example the Aranym project (https://github.com/bobek/aranym-debian). Perhaps you'd consider looking into that?

We use a version of JIT based on Aranym on the uae4arm-rpi (https://github.com/midwan/uae4arm-rpi) project also, though it's not complete and there are other problems with that emulator (hence my investigation if it's worth continuing working on that or maybe invest in fs-uae instead).

@FrodeSolheim
Copy link
Owner

Yes, in fact, 90% of the x86-64 JIT support comes from the Aranym project. Right now, the FS-UAE/WinUAE and Aranym JIT compilers are very close to each other, so ARM support is definitively possible, but some UAE-specific code must be written (not trivial).

But please also note that FS-UAE performance on PI3 is currently really slow, not only because of the demands of the Amiga emulation, but the video renderer via OpenGL is itself also slow on the PI3.

@solskogen
Copy link

solskogen commented Dec 27, 2016 via email

@escalade
Copy link

escalade commented Dec 27, 2016

@FrodeSolheim

I haven't tested pure fs-uae on the rpi but performance was OK with the libretro port and accuracy=0 and video_format=rgb565.

@FrodeSolheim
Copy link
Owner

Closing this issue though, since FS-UAE does compile on Raspberry PI :)

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

4 participants