Hacker News new | ask | show | jobs
by webmobdev 1684 days ago
The headline is a bit misleading - it gives the impression that it is talking about running Linux on bare machine, rather than virtualised on macOS using QEMU / UTM. The GPU acceleration mentioned is also quite limited. UTM themselves point out that - "UTM does not currently support GPU emulation/virtualization and therefore lacks support for 3D acceleration (e.g. OpenGL and DirectX). You may be able to run older games with software rendering options, but nothing with hardware acceleration." (1)

It sucks that even running Linux virtualised on macOS doesn't give it full access to the hardware on an M1. Even a paid app like Parallel's Desktop ($80+) virtualising software comes with the warning - If you have some graphics performance issues, or applications complaining about insufficient resources, changing video memory value can help but it can also make the situation even worse. - because of the Unified Memory Architecture of the M1 machines that utilise the same pool of memory for both RAM and graphics. And also because such virtualising software don't have direct access to the graphics processing unit (GPU) or the memory on M1 systems, and allow GPU access only indirectly through Metal / OpenGL / macOS API. (2)

(1) https://mac.getutm.app/ (2) https://kb.parallels.com/en/125351