TIL that you can install aarch64 Flatpak apps on an x84_64 host and they will run finely, just a bit slower.
Flatpak automatically starts them with qemu under the hood.
I was not expecting that. I'm impressed.
TIL that you can install aarch64 Flatpak apps on an x84_64 host and they will run finely, just a bit slower. Flatpak automatically starts them with qemu under the hood. I was not expecting that. I'm impressed. 15 comments
@haeckerfelix In a way, this means Linux did seamless architecture translation layers way before MacOS and Windows. The question now is whether this also allows x86_64 binaries to run on an aarch64 host, for example on Asahi Linux machines? @haeckerfelix If it's like QEMU binfmt, then every arch can run on every computer (really useful when using x86_64 containers on my Raspberry) @haeckerfelix On aarch64 machines, it definitely can run amd64 binaries. Tested that on Qualcomm phones, so cannot confirm it for Apple SoCs specifically. But browser engines usually break under QEMU, so Zoom, Discord, or Spotify did not work for me. @haeckerfelix I’d try this on any of my aarch64 machines if I knew how to invoke this madness. I have rpi5, macMini, pbp… I’d be interested if it works as well! @haeckerfelix @haeckerfelix weird as it does not work here. I have QEMU installed as well. aaronh@pop-os:~$ flatpak run de.haeckerfelix.Shortwave/aarch64/stable @haeckerfelix I'm far from the biggest Flatpak fan overall, but yes, that is both genuinely impressive and genuinely useful, especially if they get it to work in the other direction in a way that's sustainable on lower-powered devices (i.e. phones). @haeckerfelix That's rather novel! Does it allow x86 binaries on aarch64 hosts - the other way round? |
@haeckerfelix Oh, wow! That seriously is crazy.