Live data from Hacker News

OpenGL 3.1 on Asahi Linux

asahilinux.org

41–50 of 377 posts

Re: OpenGL 3.1 on Asahi Linux

#41
post #13

Related: does anyone do development on a Mac in a Linux VM? If my dockers are already running in a VM, why not go to the next logical step?

I use Parallels w/ an Xubuntu VM running some Docker projects and am pleased with the results.

Filesystem performance used to be better than Docker Desktop, but they seem about on par w/ one another now.

Re: OpenGL 3.1 on Asahi Linux

#42
post #3

Its been more than a year I'm running asahi on my macbook air and I can't stress how grateful I feel for enjoying such wonderful freedom. I don't feel like ever going back to x86 to be honest, at this point there is nothing lacking or unable to run and when the neural engine drivers come online now that the GPU is starting to mature people will be able to juice out every last bit of computation this machine is capabl…

The compute accelerator story on mainstream, non-patched Linux, with upstream software isn't that good at the moment. You're going to be waiting a while before you can do fun stuff like organize layers across the Neural Engine and GPU for ML models, something CoreML can do today. Compute using graphics APIs exists, but it isn't really the same and loses out on many features people practically want and are used to, and it moves forward much more quickly than graphics APIs e.g. Nvidia just released Heterogeneous Memory Management as stable in the open source GPU driver for x86. The Linux accelerator ecosystem in practice is just held together by Nvidia's effort, honestly.

We really need something like Mesa, but for compute accelerator APIs. I'm really hoping that IREE helps smooth out parts of the software stack and can fill in part of this, but the pieces aren't all put in place yet. You'll need the GPU for a substantial amount of accelerator work regardless of Neural Engine support.

I disagree that there is nothing lacking on these machines with Asahi, I still run into small nits all the time (from 16k page sizes biting back to software missing features). But my M2 Air is 100%, no-questions-asked usable as a daily driver and on-the-go hacking machine, it is fast as hell and quiet, it has nested virtualization and is the only modern ARM machine on the market, and I love it for that.

Re: OpenGL 3.1 on Asahi Linux

#43
post #35

Earlier quoted context omitted.

Would you say buying e.g. a Mac mini for 2.3k€ just to run Asahi Linux is worth it?

I’ve owned both windows and Apple computers, quite many of them, over the last 20 years. On average, the Apple machines last at least twice as long as the windows machines while still being fully usable. One could argue just based on that basic math that they are worth twice the price.

Unfortunately, Apple machines are usually 4 - 10 times more expensive, making this choice still quite difficult.

Re: OpenGL 3.1 on Asahi Linux

#44
post #40

Earlier quoted context omitted.

Would you say buying e.g. a Mac mini for 2.3k€ just to run Asahi Linux is worth it?

You can get a used M1 mini for more or less 400€. Get a glimpse of whats going on in your local facebook marketplace, most likely you'll come up with nice offers.

I'm guessing that's for a model with 8G memory?

In my experience the experience for those is quite bad, as you're sharing that 8G across both the CPU and GPU...

Judging from the OP's post of 2.3k€, they're probably considering a maxed out version, which has a completely different experience since you can fully take advantage of the high memory bandwidth for hybrid tasks unlike the low-memory models where you're sharing the limited capacity.

Re: OpenGL 3.1 on Asahi Linux

#45
post #3

Its been more than a year I'm running asahi on my macbook air and I can't stress how grateful I feel for enjoying such wonderful freedom. I don't feel like ever going back to x86 to be honest, at this point there is nothing lacking or unable to run and when the neural engine drivers come online now that the GPU is starting to mature people will be able to juice out every last bit of computation this machine is capabl…

Would you say buying e.g. a Mac mini for 2.3k€ just to run Asahi Linux is worth it?

I don’t run Asahi on anything currently, but I do have two desktop Linux machines, an M1 Macbook, and have previously run Linux on an Intel Mac… I can see the argument for laptops based on battery life/heat/build quality, but for a desktop machine I’d need a lot of convincing to justify the price premium and risk of compatibility issues in choosing a Mac Mini over a SFF/USFF/Tiny desktop with fully supported hardware.

Re: OpenGL 3.1 on Asahi Linux

#46
post #3

Its been more than a year I'm running asahi on my macbook air and I can't stress how grateful I feel for enjoying such wonderful freedom. I don't feel like ever going back to x86 to be honest, at this point there is nothing lacking or unable to run and when the neural engine drivers come online now that the GPU is starting to mature people will be able to juice out every last bit of computation this machine is capabl…

Would you say buying e.g. a Mac mini for 2.3k€ just to run Asahi Linux is worth it?

I'd say getting a macbook or a macbook air would be worth it, but rather than spending that much on a mac mini I'd probably get one of those new ryzen mini-PCs like from Beelink or Minisforum. You could get something with a 7735HS 8-core chip, terabytes of diskspace and a shitload of LPDDR5 RAM for 500€ and it's as small as the mac mini.

Re: OpenGL 3.1 on Asahi Linux

#47
post #40

Earlier quoted context omitted.

Would you say buying e.g. a Mac mini for 2.3k€ just to run Asahi Linux is worth it?

You can get a used M1 mini for more or less 400€. Get a glimpse of whats going on in your local facebook marketplace, most likely you'll come up with nice offers.

You must be kidding right? Who on earth would sell for 400?

Re: OpenGL 3.1 on Asahi Linux

#48
post #4

This is great work and I commend it. But in other threads people are acting like Asahi Linux hardware support is 100% complete. My fear is that if I were to go this route and purchase the hardware I'd be seeing fraction of the performance and capability I would in Mac OS. To be honest this blog post seems like the project has a long ways to go, not that it is nearly completion. I just can't justify buying hardware fr…

> I just can't justify buying hardware from a company that is so hostile to developers and hackers as nice as it may be.

As opposed to what company besides those tiny ones? Almost all of them are closed-source only and drivers have been painstakingly reversed engineered over decades.

Re: OpenGL 3.1 on Asahi Linux

#49
Sorry, but what's the point? Why not just buy a Linux laptop and have everything work out of the box? Why are Linux enthusiasts putting so much effort into supporting hardware from companies that - at best - ignore Linux? This question is also valid for other manufacturers, btw, not just Apple. So much time wasted doing free labor for hardware companies that will just break your stuff with the next hardware iteration.

Re: OpenGL 3.1 on Asahi Linux

#50
post #49

Sorry, but what's the point? Why not just buy a Linux laptop and have everything work out of the box? Why are Linux enthusiasts putting so much effort into supporting hardware from companies that - at best - ignore Linux? This question is also valid for other manufacturers, btw, not just Apple. So much time wasted doing free labor for hardware companies that will just break your stuff with the next hardware iteration…

What Linux laptop has comparable hardware?
Post reply on HN