Top
Best
New

Posted by mmastrac 6 hours ago

XNU Linux: Full OS X GUI Userspace on Linux(github.com)
306 points | 142 commentspage 2
opengears 2 hours ago|
These projects are already dissapearing again, see "Stela has been completely removed from GitHub" https://www.reddit.com/r/hackintosh/comments/1y322ns/stela_h...
jsomedon 5 hours ago||
so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?
ZiiS 3 hours ago||
Not yet, the page size and GPU are tied to using it in a VM at the moment.
OsrsNeedsf2P 5 hours ago||
In the pre-AI days, I was in Ubucon Korea and met a highschool student who had done exactly that, but it was with a custom MacOS GNOME theme instead
viraptor 3 hours ago|||
That makes it "exactly not that"
msdz 2 hours ago|||
Oh cool, so they could run e.g. macOS’ Safari as well, right?!
boredatoms 4 hours ago||
Oh I hope someone tries this on a dgx spark
aa-jv 1 minute ago||
DGX Spark is to me, more and more, an ultimate platform - it literally has everything needed onboard in order to port pretty much any software, ever, to itself.

We won't need OS's soon. We'll just have the inference engine intake the bins and work out how to run them - whatever the source.

valleyer 4 hours ago||
This project loads the (lightly modified) actual macOS kernel into memory (as a sort of co-kernel with Linux), so it would almost certainly not work on any hardware the original kernel doesn't run on.
tim-- 2 hours ago|||
I'd love to see if these NVidia and AMD drivers can easily be ported to ARM MacOS. The AMD graphics support that is (was) on MacOS Intel is no existant on the ARM builds.

Luckily, people have already coded versions for Intel macs, so it shouldn't be exceptionally hard I would assume to point an LLM to them.

AMD: https://github.com/leolivm/vermilion https://github.com/Helemen7/RedNavi

NVidia: https://github.com/nullmoth/nvidia-macos-driver

EDIT: There is a MacOS driver for Apple Silicon for Thunderbolt AMD CARDS, but it only works for ROCm. Can't be too hard to port in the RedNavi stuff, as long as all the Metal drivers exist? https://github.com/lemonade-sdk/mac_linuxgpu

saagarjha 4 hours ago||||
Why wouldn't it work? It's running the vmapple kernel
valleyer 3 hours ago|||
Doesn't that rely on architectural extensions though? Or does this project trap and emulate them?
saagarjha 3 hours ago||
There's not that much you need for the virtual kernel to boot
valleyer 2 hours ago||
OK, thanks for the correction.
therein 2 hours ago|||
Project itself says it needs to be running on an arm64 CPU with PAC and then says basically Apple Silicon only.
boredatoms 4 hours ago||||
Isnt it using the device drivers from linux though?
tim-- 3 hours ago|||
Isn't this the whole point of using UniXNU though? https://unixnu.com/
harrouet 2 hours ago||
This is actually something I would expect Apple to support natively, at least in XCode:

- let the AI spawn a MacOS/iOS VM

- load your app code in there for automated tests

tim-- 2 hours ago|
Apple does support spawning macos virtual machines. If you are running MacOS, on Apple hardware.
bni 1 hour ago||
Didn't someone do this with Windows back in the day?
hn_submit 4 hours ago||
Has anyone run XCode on this and built iOS apps with it? I just purchased a Macbook Air just so I could make iPhone apps, but with this distro I could've saved myself the $1500.
steve1977 1 hour ago||
This is running inside a VM on a Mac computer (and it can only run in a VM on a Mac computer). This won't save you anything.
ddtaylor 4 hours ago|||
Next.js with Capacitor can ease some of that pain and then a cheap mac mini or rent in the cloud to publish.
bigfatkitten 4 hours ago||
You would need Apple hardware to run this anyway.
eptcyka 2 hours ago|||
Apple can ban your account for attempting to use the tooling and online services they want you to use to publish apps if you use them on non-apple hardware. We would like to have the build process of an app run in a fully reproducible VM, so far that is feasible on Linux, not so much macOS. And yet, to do signing and uploading, we would still need macOS.
mike_hearn 43 minutes ago||
Signing and uploading is the easier part. That can be done from any OS.

Look at my HN profile, my company sells a product called Conveyor that can take files as input and generate self-updating packages/installers for every desktop OS from any desktop OS. In other words it cross-builds macOS apps, Windows apps and Linux packages. Then it creates a download site that detects the users OS and gives them a big green button to click to download the right stuff.

For macOS it does signing, notarization and Sparkle integration with delta updates automatically. If you're building Electron or JVM apps you don't even need to compile anything, just supply the JS/JARs.

Apple don't care about this one way or another. They don't make it easy but they also don't stop it, and I've had good interactions with their official developer support agents in the past where I actually asked questions or reported bugs in the process of developing Conveyor. They were always friendly and approachable (unlike MS!).

notpushkin 4 hours ago||||
For now; I think with a few drivers it could be a viable way to run an Arm Hackintosh.
wmf 3 hours ago||
Somebody is already hackintoshing on Qualcomm CPUs without Linux.
saagarjha 4 hours ago|||
No?
bartvk 3 hours ago|||
They buried the lede a bit: "Working, on an Apple Silicon Mac running an arm64 Linux VM (krunkit)".
saagarjha 3 hours ago||
I don't see anything that would make this infeasible to run elsewhere
steve1977 1 hour ago||
For one, you need the Apple binaries of all the UI stuff. Technically, you could copy them from somewhere of course, but legally you can't. So there would be no way to provide such a thing in any legal way.
saagarjha 51 minutes ago||
I mean this is all probably reverse engineered or whatever so I doubt it is strictly legal regardless
steve1977 26 minutes ago||
The XNU kernel is actually officially open-source.
qalmakka 2 hours ago|||
AFAIK Apple doesn't use just AArch64; they have their own extra extensions which you can't easily replicate
bradfitz 4 hours ago||
But can I run more than two macOS guest VMs at the same time? :)
egorfine 54 minutes ago|
Stock macOS can do that. Albeit you will have to turn off SIP and do some googling.
pmkary 4 hours ago||
This is beyond irony and mind blowing, I'm literally shocked and speachless. But you know the funniest thing is that XNU itself is designed to emulate Open BSD on a Mach kernel :))) this is Incepetion taken too deeply...
xp84 2 hours ago||
Run a Mac... inside Linux... inside a Mac. Well done, guys. I'm going to try to run a Linux VM inside the inner Mac.
qalmakka 2 hours ago|
Next step is, find a way to run multiple XNU containers and finally allow people to run more than two images without filling a warehouse with idle Mac Minis :)
More comments...