by gorkish · 5y ago · 0 comments
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 it.
This is all a noble goal, but I can't see this as being anything other than a complete and total non-starter with zero cooperation from Apple. After the street cred of getting a marginally usable OS up and running evaporates, why continue to take the effort of great engineers and waste it developing an ecosystem that doesn't care? It makes no sense to me.
I think marcan has proven he has the chops for pieces like that. The ps4 linux port had him reverse engineering the ISA for the custom risc cores that are some of the deepest firmware of a pretty modern AMD GPU. Like even the open source drivers just treat this stuff as blobs and moves on with their life, but he had to port a fix over and showed off more publicly than anyone else had.
This Apple stuff is for sure more work, but it all seems within his wheelhouse. Hence the patreon I think, attacking the size of the problem with some funding to make it more viable than a side project.
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.
However I absolutely think they should produce a Bootcamp equivalent designed to support Linux on all Macs and iOS devices that Apple no longer supports with MacOS.
Why? There have been several success cases of reverse engineering in the past, for all sorts of popular and fringe hardware.
If you look at GPUs like GTX 650 they actually almost have feature-parity and 90% of performance. I personally used GT710 on my PC and while it super-low-end card it's really decent under Nouveau and can drive 3 of 2K displays with 75Hz and lag-free.
As for Apple hardware it's different at least because Marcan isn't as limited in terms of keeping source code purity. After all Apple dont have any Linux drivers so there is no way to RE any code that can be directly applied to Linux graphics stack.
At least, this is from my experience dealing with the Tegra X1 on a Jetson board for hobby osdev.
Total spitballing though. Once they come out with the 16” MBP I may have fun poking at it.
Nvidia PTX-level openness for GPU-compute would be nice though.
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.