Sunday, April 13, 2025

asked chatgpt about running x86-64 binaries with qemu on apple silicon

First, asked about running x86_64 Debian OS on Apple Silicon, since this medium article was paywalled - 
https://medium.com/@hathibel/debian-minimal-on-apple-silicon-qemu-setup-for-x86-64-3d6d2bc15e7d

ChatGPT's reply - 

Running x86-64 Debian with FluxBox on Apple Silicon (M1/M2/M3) using QEMU is a great way to emulate a lightweight Linux desktop environment on ARM-based Macs. Since Apple Silicon uses the ARM64 architecture, and you want to emulate x86_64, this setup requires full system emulation (not virtualization).

(snipping the detailed setup instructions for QEMU, since UTM is easier to use.)

and the reply ended with "QEMU x86 emulation is CPU intensive. Expect modest performance."

Then asked about how to run an OpenGL windows exe on apple silicon - it gave detailed pros and cons of the following options - 
  1. Crossover (not free)
  2. Wine + WineSkin or WineskinServer
  3. UTM (QEMU-based VM with Windows x86_64)
  4. Parallels ARM64 desktop (not free) with BoxedWine (a full x86 Wine stack on ARM)
Edit: Since this was for running OpenSpace, later got OpenSpace running on UTM after compiling it for ARM64 on Github Ubuntu ARM runners.




No comments:

Post a Comment