[GH-ISSUE #4794] Raspberry Pi 4 B (aarch64) build and runtime success report + dependency notes #1452

Closed
opened 2026-11-02 15:47:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @LolGamer1210 on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4794

Hi,

I wanted to report a successful build and deployment of Horizon on a Raspberry Pi 4 running Raspberry Pi OS 64-bit (aarch64).

Environment

  • Raspberry Pi 4
  • 4 GB RAM
  • Raspberry Pi OS (64-bit)
  • aarch64
  • Rust installed via rustup

Building

The dedicated server built successfully with:

cargo build --release -p horizon-server

Additional packages were required during compilation:

sudo apt install \
    pkg-config \
    libasound2-dev \
    libudev-dev

The client also compiled successfully on the Pi.

Memory Considerations

On a 4 GB Raspberry Pi, the default swap configuration was insufficient during the release build of horizon-client.

The build would become unresponsive when memory was exhausted. Increasing swap space and limiting Cargo's parallelism allowed the build to complete successfully:

CARGO_BUILD_JOBS=1 cargo build --release -p horizon-client

I used a 2 GB swap file to complete the client build.

Server Setup

The prepared 26.3 game files were copied from another machine.

One detail that may be useful for future users is that placing the prepared files in one of Horizon's default search locations worked correctly:

horizon/.local/horizon-client/26.3

I initially assumed the files needed to be placed only in the standard user data location, but using the project-local default location worked as expected.

I also noticed that horizon-server init expects a horizon-client executable to be available (either beside the server executable or through engine.path in server.toml). A brief note about this requirement in the documentation could help future users deploying headless servers.

Runtime Observations

After compilation and setup, the server runs correctly on the Raspberry Pi 4.

Observations:

  • Chunk loading is surprisingly fast.
  • General gameplay feels responsive.
  • The Raspberry Pi can comfortably host a small server.
  • Total throughput is naturally lower than modern desktop hardware, but performance exceeded my expectations.

Suggestion

It may be worthwhile to:

  • Officially document Raspberry Pi / aarch64 support.
  • Add a list of required Linux development packages to the build instructions.
  • Consider publishing aarch64 release artifacts through CI for ARM-based servers.

Thanks for the project. It was surprisingly straightforward to get running once the dependency and memory requirements were understood.

Report generated by Copilot.

Originally created by @LolGamer1210 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4794 Hi, I wanted to report a successful build and deployment of Horizon on a Raspberry Pi 4 running Raspberry Pi OS 64-bit (aarch64). ## Environment - Raspberry Pi 4 - 4 GB RAM - Raspberry Pi OS (64-bit) - aarch64 - Rust installed via rustup ## Building The dedicated server built successfully with: ```bash cargo build --release -p horizon-server ``` Additional packages were required during compilation: ```bash sudo apt install \ pkg-config \ libasound2-dev \ libudev-dev ``` The client also compiled successfully on the Pi. ## Memory Considerations On a 4 GB Raspberry Pi, the default swap configuration was insufficient during the release build of `horizon-client`. The build would become unresponsive when memory was exhausted. Increasing swap space and limiting Cargo's parallelism allowed the build to complete successfully: ```bash CARGO_BUILD_JOBS=1 cargo build --release -p horizon-client ``` I used a 2 GB swap file to complete the client build. ## Server Setup The prepared 26.3 game files were copied from another machine. One detail that may be useful for future users is that placing the prepared files in one of Horizon's default search locations worked correctly: ```text horizon/.local/horizon-client/26.3 ``` I initially assumed the files needed to be placed only in the standard user data location, but using the project-local default location worked as expected. I also noticed that `horizon-server init` expects a `horizon-client` executable to be available (either beside the server executable or through `engine.path` in `server.toml`). A brief note about this requirement in the documentation could help future users deploying headless servers. ## Runtime Observations After compilation and setup, the server runs correctly on the Raspberry Pi 4. Observations: - Chunk loading is surprisingly fast. - General gameplay feels responsive. - The Raspberry Pi can comfortably host a small server. - Total throughput is naturally lower than modern desktop hardware, but performance exceeded my expectations. ## Suggestion It may be worthwhile to: - Officially document Raspberry Pi / aarch64 support. - Add a list of required Linux development packages to the build instructions. - Consider publishing aarch64 release artifacts through CI for ARM-based servers. Thanks for the project. It was surprisingly straightforward to get running once the dependency and memory requirements were understood. Report generated by Copilot.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

cool

<!-- gh-comment-id:6549364993 --> @rdbtCVS commented on GitHub (Oct 31, 2026): cool
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1452
No description provided.