I recently got around to loading my mnt reform 2 up with the rcore rk3588 board and got box/wine working.
This is certainly not a minimalist solution, but…
Keep in mind:
- That armhf is arm32
- box86 is to run i386 linux binaries
- box64 is to run amd64 linux binaries
- wine 9.x-ish+ with wow64 will be a linux amd64 binary that can run windows 32 and 64 bit binaries
- wine versions 9.5-ish+ seem to have some issues with box32/64 at time of writing
Vague steps:
- Add the armhf, i386, and amd64 architectures to dpkg
- Add box86 repository from: GitHub - ryanfortner/box86-debs: automated box86 debian/apt repository
- Add box64 repository from: GitHub - ryanfortner/box64-debs: automated box64 debian/apt repository
- Install both box86 and box64 from apt
- Download a pre-built wine64 with wow64, such as: https://github.com/Kron4ek/Wine-Builds/releases/download/9.21/wine-9.21-staging-amd64-wow64.tar.xz
- Unzip this wherever, I use
$HOME/wine - Run wine inside box64, so you’ll do something like this for setup:
box64 $HOME/wine/bin/wine wineboot
A little extra legwork is required to get things like unity games to work, you’ll need vulkan stuff installed.
After all this:
- Install
mesa-vulkan-drivers mesa-utils vulkan-tools - Test
vkcubeto see if vulkan is working - Install dxvk in wine: GitHub - doitsujin/dxvk: Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
At this point you should have all your base requirements set up to run just about any linux/windows binary that is capable of running.
The rest of the resolution for individual games/programs will be summary searching for individual game quirk workarounds/wine tweaks and installing dependencies for box32/64 to wrap things for you.
Keeping in mind if the binary you’re trying to run is:
- linux/i386, install the armhf version of the library
- linux/amd64, install the arm64 version of the library
- windows/i386, install the i386 version of the library
- windows/amd64, install the amd64 version of the library
Generally speaking you don’t want to ever blindly install libraries for other architectures if they cause any kind of dependency conflict, that’s a good way to break your OS in hard to fix ways.
I haven’t tried it yet, but I bet the rcore board is capable of driving qemu at decent speeds and might run windows acceptably.