-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Issue type
Crash or freeze
Bug description
Aarch64/ARM64 Linux builds seem to basically crash on startup if kernel PAGESIZE is 16 KB (not 4 KB).
Suggestion: please also support other page sizes than 4 KB?
16 KB support is required for at least these:
- Asahi Linux on Macs with ARM processors ("Apple Silicon") (no 4 KB support)
- Raspberry Pi 5 with the default 16KB kernel of 64-bit Raspberry Pi OS (blog post that talks about 16KB)
More information: on ARM, 4 KB is not the only PAGESIZE possible (some systems use 16 KB or 64 KB).
I tested with Aarch64 (ARM64) Linux on an "Apple Silicon" (ARM64) M1 MacBook Air, (re)booting straight to bare Asahi Linux / Fedora Asahi Remix "on the metal" (without using macOS), and the Asahi Linux kernel will only have support for 16 KB page size, because that's what the hardware expects.
Here is some more information about "broken" software that doesn't yet work on ARM64 Asahi Linux (includes links to details on how several previously unsupported applications have already been fixed to support 16 KB page size!):
https://github.com/AsahiLinux/docs/wiki/Broken-Software#if-package-supports-aarch64-why-doesnt-it-work
(random example link from that page about Chromium (fixed in 2022): "ARM64 supports 4kb, 16kb, and 64kb page sizes. Previously, only 4kb was supported by Chromium. This patch adds 16kb support, as is used for example by Asahi Linux on M1 Macs")
PS. Why I'm reporting this: The 4.2 Beta 2 announcement added experimental builds for ARM Linux and asked to "Please let us know if you encounter any issues."
Also, I was able to quickly test (on macOS, using QEMM in UTM) that the same build did work in a similar Fedora 39 ARM64 VM that was using 4K pages, so I'm pretty sure 16K support is the issue here (i.e. not a Fedora bug).
Steps to reproduce
- Use a kernel with 16 KB page size (e.g. Asahi Linux on ARM MacBook Air M1 or Raspberry Pi 5 with the default 16KB kernel)
- Try to run the Linux Aarch64 / ARM64 build
What happens (doesn't open at all, only shows an error message):
$ ./MuseScore-4.2.0.233381325-experimental-aarch64.AppImage
/lib64/libjack.so.0
/lib64/libnss3.so
/tmp/.mount_MuseScsp9iiA/bin/mscore4portabletesting: error while loading shared libraries: libsndfile.so.1: ELF load command address/offset not page-aligned
$
$ getconf PAGESIZE
16384
(the same problem also happens with the latest arm64 Linux nightly)
Screenshots/Screen recordings
No response
MuseScore Version
MuseScore 4.2 Beta 2 (Pre-release)
Regression
No.
Operating system
Fedora Asahi Remix 39 (ARM64 Linux)
Additional context
No response