4 ms·
Depends on what you precisely mean by "this". The user space part can easily be used from macOS. That's how the author first developed it without a working kern
by kccqzy 3y ago
Depends on what you precisely mean by "this". The user space part can easily be used from macOS. That's how the author first developed it without a working kernel driver.
From https://asahilinux.org/2022/11/tales-of-the-m1-gpu/ https://asahilinux.org/2022/11/tales-of-the-m1-gpu/
> But wait, how can she work on the user space driver without a kernel driver to go with it? Easy, she did it on macOS! Alyssa reverse engineered the macOS GPU driver UAPI enough to allocate memory and submit her own commands to the GPU, and this way she could work on the user space part without having to worry about the kernel bit. That’s super cool! She started writing an M1 GPU OpenGL driver for Mesa, the Linux userspace graphics stack, and just a few months later she was already passing 75% of the OpenGL ES 2 conformance tests, all on macOS!
- rowanG077 3y agoI don't think the newer MESA drivers can interact with the OSX UAPI. That was just a stopgap until the Linux Kernel driver was far enough along.