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

feat(arm64): Add support for arm64. #37

Open
RedstoneWizard08 opened this issue Feb 25, 2022 · 10 comments
Open

feat(arm64): Add support for arm64. #37

RedstoneWizard08 opened this issue Feb 25, 2022 · 10 comments
Labels
help wanted Extra attention is needed improvement Areas that can be improved on

Comments

@RedstoneWizard08
Copy link

RedstoneWizard08 commented Feb 25, 2022

This is the issue for a PR I made (#35). There are more details there.


Maintainer edit: this only affects the web client now.

@insertish insertish moved this to Free Issues (open to anyone) in Revolt Project Apr 29, 2022
@insertish insertish added the improvement Areas that can be improved on label Apr 29, 2022
@Vevooltpro
Copy link

Vevooltpro commented Sep 1, 2022

Hi, @RedstoneWizard08!
We have successfully added support for arm64 instances. Please these instructions:
Here are the installation steps:
docker run --privileged --rm tonistiigi/binfmt --install amd64
After that just follow the Quick Start tutorial.

@RedstoneWizard08
Copy link
Author

Yay!

@RedstoneWizard08
Copy link
Author

Btw I have tried to use binfmt and qemu and emulation with several different methods, and they always end in errors, glitches, or general slowness. What I was talking about for this was more of a native solution that does not have to use emulation.

@Rexogamer
Copy link
Contributor

That's more of a temporary solution than an actual fix (which we're interested in pursuing) - native ARM support is much better

@RedstoneWizard08
Copy link
Author

Ok, good.

@eternalflamestudios
Copy link

eternalflamestudios commented Mar 13, 2024

Hi, @RedstoneWizard08! We have successfully added support for arm64 instances. Please these instructions: Here are the installation steps: docker run --privileged --rm tonistiigi/binfmt --install amd64 After that just follow the Quick Start tutorial.

This did not work for me. It still said something along the lines of "/Linux/ARM64/v8 not found in the manifest list entries"

@RedstoneWizard08
Copy link
Author

Yeah. Binfmt/qemu is a temporary solution. Those arm64 images will be made available when arm64 binary builds are.

@xenon154
Copy link

Is there any way for me to selfhost Revolt on an ARM64-based system like a Raspberry Pi in the meantime through emulation or something similar? The command that VevooltPro provided did not fix the issue.

@insertish insertish moved this from Free Issues (open to anyone) to 💡 Open in Revolt Project Mar 27, 2024
@insertish insertish moved this from 💡 Open to 🆕 Untriaged in Revolt Project Mar 27, 2024
@insertish insertish moved this from 🆕 Untriaged to 💡 Open in Revolt Project Mar 28, 2024
@insertish insertish added the help wanted Extra attention is needed label Mar 28, 2024
@RioghanDer2te
Copy link

I tried hosting it on my Raspberry Pi 3.
turns out it has insufficient power, but I'd still like an opinion in case I upgrade to a RaPi 4 or 5

  1. First tried it as mentioned in the quickstart
    -> No matching manifest for linux/arm64/v8
  2. found a fix that let me get started
    -> exec format error
  3. undid step 2 and run the emulation solution from this issue
    -> MongoDB 5.0+ requires a CPU with AVX support

did my step 2 screw everything up or did an update make this impossible again?

@insertish
Copy link
Member

Edited OP, this should only affect the web client now. Backend has arm64 support across all services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed improvement Areas that can be improved on
Projects
Status: 🕒 Backlog
Development

No branches or pull requests

7 participants