Live data from Hacker News

Asahi Linux: Linux on Apple Silicon project

asahilinux.org

271–280 of 414 posts

Re: Asahi Linux: Linux on Apple Silicon project

#271

Solution: don't buy locked down Apple hardware. Yes, the chips look nice but it's just really unfortunate that they're from Apple and so come with all the Apple baggage. Just wait a couple years for competing chips that won't have the baggage.

For what problem is this the solution?

Running Linux on your hardware?

Re: Asahi Linux: Linux on Apple Silicon project

#272
post #145

Earlier quoted context omitted.

The GPU ISA (yes, GPUs have ISAs) is undocumented.

Even Nvidia document theirs now, and the firmware details are on GitHub to some extent for the Nouveau guys.

> Even Nvidia document theirs now

If you're talking about ptx, that's not the hardware ISA, but instead an IR for their shader compiler.

Re: Asahi Linux: Linux on Apple Silicon project

#273

Earlier quoted context omitted.

I am all about the hacker cred here, but you need only take a look at the most directly comparable project, Nouveau to get an idea of how ridiculous the thought is that greenfield reverse engineering of apple's custom GPU will result in something that is desktop-class usable and reliable. Please remember that Nouveau can't even do better than a framebuffer on anything newer than a geforce 10 series card. GPU developm…

The problem with nouveau is more that it's trying to replicate the Nvidia blob driver (and then some), in that it supports multiple disparate architectures and at different levels (three generations might be a similar uarch, for instance). Replicating a single GPU driver would be significantly easier, albeit still a Herculean task. Especially if your main goal out of the gate is simply framebuffer support and maybe s…

Sounds like a fun project, honestly. I wonder how much 2D-only “legacy” functionality even exists on the thing. I expect not much. Going for something like Vulkan right off with a mind for it probably being built to accelerate Metal might be a viable angle.

Total spitballing though. Once they come out with the 16” MBP I may have fun poking at it.

Re: Asahi Linux: Linux on Apple Silicon project

#274
post #184
post #173

Earlier quoted context omitted.

The reason people assume apple will prevent you from doing what you want with your computer, is because it’s the logical consequence of the strategy they’ve followed for the past 10 years over their whole product line. From phones, to cable, to messenging software. They’re into vertical integration and walled ecosystem.

Simply asserting this without evidence does not make it so. If Apple truly had this strategy they're doing a horrible job at it. Mostly since you are free to boot (or work on doing so at least) NetBSD and countless other things on practically every Mac they've ever released, including the latest ones. They're doing a horrible job at communicating this strategy too, because they're communicating the opposite. For this…

[deleted]

Re: Asahi Linux: Linux on Apple Silicon project

#275
post #184

Earlier quoted context omitted.

Simply asserting this without evidence does not make it so. If Apple truly had this strategy they're doing a horrible job at it. Mostly since you are free to boot (or work on doing so at least) NetBSD and countless other things on practically every Mac they've ever released, including the latest ones. They're doing a horrible job at communicating this strategy too, because they're communicating the opposite. For this…

> Simply asserting this without evidence does not make it so. Goes in both directions. > Mostly since you are free to boot (or work on doing so at least) NetBSD and countless other things on practically every Mac they've ever released, including the latest ones. Gatekeeper wasn't a thing either, until it was, indeed, a thing. > They're doing a horrible job at communicating this strategy too, because they're communica…

>Surely that's the whole point of a trap?

I've been hearing about this supposed secret Apple plot to lock down the Mac and take away third party software distribution and operating systems for a decade now. If this is indeed Apple's plot, then they're really slow at implementing it. Maybe they'll sort it out in another decade.

Re: Asahi Linux: Linux on Apple Silicon project

#276
post #270

Earlier quoted context omitted.

Apple sells hardware and now services. Software seems to be a cost center. So I doubt a third party OS like Linux will ever be a priority for them in their consumer products.

This project is obviously a farce, but I would not say Apple is against Linux insofar as supporting it on the backend. Their own backends are designed for raytracing/render farms and will probably always run macOS though.

Why is it a farce? I don't get what you mean. Hector Martin is really good.

Of course it might not actually go anywhere, it doesn't even have a commit yet, literally just a logo and webpage, but let's see.

Re: Asahi Linux: Linux on Apple Silicon project

#277

Earlier quoted context omitted.

You're totally correct, it is indeed just putting the drivers on the installation media and partitioning magic.

On 2017+ machines you don’t even need an external drive, during the partitioning setup it carves out a temporary partition to store the contents of the ISO + their drivers, windows installation customisation etc. And it’s all deleted after the installation of the drivers after windows is installed

It's one of the easiest windows installs you can do.

Re: Asahi Linux: Linux on Apple Silicon project

#278
Is anyone else ever saddened when they think about the man hours spent on projects like this (reversing software or hardware to accomplish what should be a simple goal) when all it would take is the teensiest bit of cooperation to not waste all those hours? I use waste in the sense of like trying to assemble something complicated with the instructions just out of arms reach, not in the sense of doing something pointless.

In some cases all companies would have to do is not actively hide or obfuscate things. In others it may take more effort but still just a drop in the huge bucket compared to developing a system in the first place.

I love Apple's hardware, I even (mostly) love the OS. If they too believe that it is solid - why prevent people from running what they want? The majority will come back anyway - I've run Linux for years and still ended up on MacOS for simplicity. I'll still buy Macs and run MacOS because it works for me, it's not like letting me run Linux will cost them money or something. The vast majority of people don't know what Linux even is, there is no threat there.

Please note that this comment is not directed at people who choose to spend their time on projects like this. You're awesome, I just wish you didn't have to put so much effort in.

Re: Asahi Linux: Linux on Apple Silicon project

#279

Apple needs to give a little here. I think it's patently ridiculous that we have to enlist the assistance of console hackers in order to have a chance at porting the most used operating system in the entire world to run on hardware that in all likelihood already happily runs it inside of Apple's labs. > In particular, we will be reverse engineering the Apple GPU architecture and developing an open source driver for i…

They could offer an equivalent to Nvidia's PTX ISA for compute, and possibly documentation like Intel and AMD offer for their GPUs. Offcourse, the first thing the latter would do is undermine Metal, so I don't think that's likely.

Nvidia PTX-level openness for GPU-compute would be nice though.

Re: Asahi Linux: Linux on Apple Silicon project

#280

Apple needs to give a little here. I think it's patently ridiculous that we have to enlist the assistance of console hackers in order to have a chance at porting the most used operating system in the entire world to run on hardware that in all likelihood already happily runs it inside of Apple's labs. > In particular, we will be reverse engineering the Apple GPU architecture and developing an open source driver for i…

It was not different for PC for many years. Most of drivers were reverse-engineered, including GPU ones.

That said, hardware was simpler back then. Implementing drivers for modern GPU is a hard task, may be an impossible one. It’s like writing a second OS.

Post reply on HN