News for hackers. Stuff that matters.
Re:Native Linux GPU Driver for Apple M1 by stu2b50 on Thursday September 29, 2022 @01:31PM (#33024247)
What AAA games run not only on Linux, but ARM Linux? This is more for going on YouTube with hardware acceleration than gaming, which is niche upon niche in its current state anyway.
Re:Native Linux GPU Driver for Apple M1 by delroth on Thursday September 29, 2022 @01:59PM (#33024689)
Box64, FEX-Emu and other x86-64 on ARMv8 emulation projects cover that gap and explicitly target gaming as a core use case. And of course there's Apple's Rosetta, which we know is good enough for gaming on ARM macOS. Apple has released a Linux version which should technically be able to run on Asahi, but I'm unsure of the legal situation around this.
Re:Native Linux GPU Driver for Apple M1 by jrockway on Thursday September 29, 2022 @05:58PM (#33027849)
You can always do this: https://wiki.debian.org/QemuUserEmulation to run amd64 binaries on an arm64 machine, or vice-versa. Docker desktop sets this up so you can pull amd64-only Docker containers on your M1 and not notice. I did some very minimal testing and it's not even insanely slow or anything (but obviously for many games, you can't leave this much performance on the table).

I do this on my workstation and can run anything, it's quite nice:

  $ lscpu | grep Architecture
  Architecture:                    x86_64
  $ GOARCH=arm64 go build main.go
  $ file ./main
  ./main: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, ...
  $ ./main
  Hello, world.
Re:Native Linux GPU Driver for Apple M1 by bscphil on Thursday September 29, 2022 @02:12PM (#33024871)
Do Rosetta apps utilize the GPU on M1 (on macOS)?
Re:Native Linux GPU Driver for Apple M1 by jrk on Thursday September 29, 2022 @02:22PM (#33024996)
Yes. The calls to the platform graphics APIs and underlying drivers are identical (and literally hit the same code), whether from x86/Rosetta or native/ARM64.