Is it possible to run x86 binaries on Pinebook via QEMU user space emulation?
QEMU has an interesting mode, where it can emulate only machine instructions of usermode binaries and not an entire machine with own kernel. This should allow transparent execution of x86 binaries in theory. Has anyone tried this with a Pinebook? And if yes, what's the performance like.
Haven't tried it, but I suspect it would be pretty poor bordering on unusable.
Well, from what I read, on Raspberry Pi 2 it's pretty usable (and it's SoC is also based on Cortex A53 cores). Besides x86 Linux apps, people were even able to get Windows apps to work through Wine that way. Obviously, performance wouldn't be blazing, but it should be usable for modest and non-CPU/GPU intensive tasks. Unlike full-system emulation, kernel and syscalls would be still native ARM, will full native performance.

I will try to get it running, apparently, qemu-user-static is present in repos and binfmt_misc support in Neon kernel is also present. Only a chroot x86 environment, such as Debian/i386 is required to get it running.
Well, I was able to install a debian stretch i686 chroot with debootstrap, and enter it with QEMU user mode.

I was roughly following tutorial for Raspberry Pi:

It's not quite fast, but it works and it consumes a very small amount of memory (overhead is very small per process). And not that slow, as you would expect from true x86 VM on ARM. Overall, CLI is usable. If such chroot is connected to running host X11, this certainly opens up a way to run some x86-only applications on Pinebook (and even some Wine apps).

It's still rough around the edges, like, you need to replace in chroot the /usr/bin/chfn with a symlink to /bin/true during installation. Also, for some reason - it's faster on KDE Neon than on Armbian.

[Image: cN8ak4pl.png]
I have run SpiderOak this way, which is about the only thing I've run into that was both closed-source and non-ARM, and it worked but was painfully slow because SpiderOak is just an intense app. Smaller tests using hugo (a golang static site generator) binaries were quite pleasing though.

It's been a bit since I did this but I didn't use an alternate root filesystem and instead used debian's multiarch support -- IIRC there's even package support that sets up binfmt_misc for you.

Check out

It has some outdated info now, I believe you can stop reading at "That's it." Oh, and when adding a new arch and pulling libraries for it, you need to use "i686" or "amd64" since this was written for someone who wants to run emulated armhf binaries.
I've managed to get exagears running on the DietPi image (couldn't install it on Neon). Still haven't managed to get anything graphical running but I doubt there will be good results if exagears doesn't support the Mali GPU.
Armbian officially provides Exagear virtually for all Ubuntu based desktops out of the box. For year(s) - installation goes from armbian-config

On a more powerful board it looks like this:

On all hardware. Performance is as is.

> Also, for some reason - it's faster on KDE Neon than on Armbian.

Compare speed on the same kernel. It is not very likely that fancy OS like KDE Neon is faster in any task.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Users are a nobody leperotero 13 6,487 09-06-2022, 09:29 PM
Last Post: zapper
  Does anybody repair pinebook pro laptops for a fee? Tsvi Bar-David 0 111 09-05-2022, 07:49 PM
Last Post: Tsvi Bar-David
  Pinebook with a broken screen and 2 eMMC's for sale. UK ONLY. frank-zappa 0 681 03-08-2022, 10:14 AM
Last Post: frank-zappa
  Dead Pinebook - fix it or spare parts? oloturia 0 707 01-03-2022, 08:36 PM
Last Post: oloturia
  Pinebook to Pinebook Pro-esque upgrade kit sebboh 5 5,043 08-18-2021, 11:01 PM
Last Post: Corkonian
  new pinebook help ron_burgundy 5 5,145 12-17-2020, 04:54 PM
Last Post: ron_burgundy
  Few questions about flashing to a MicroSD card on the Pinebook Pro SanjevR 6 6,518 12-07-2020, 04:02 PM
Last Post: SanjevR
  TOR Browser on the Pinebook Pro jay3gg 0 2,126 11-16-2020, 01:25 AM
Last Post: jay3gg
  Pinebook doesn't charge anymore Reinoud 4 5,903 11-15-2020, 10:26 PM
Last Post: pagesix1536
  Pinebook 14" smashed screen. frank-zappa 4 5,607 10-18-2020, 09:24 AM
Last Post: frank-zappa

Forum Jump:

Users browsing this thread: 1 Guest(s)