News for hackers. Stuff that matters.
Re:Dissecting the Apple M1 GPU, part I by wmf on Thursday January 07, 2021 @03:12PM (#25676680)
IIRC the firmware turns the screen on for you so it's already there when Linux boots.
Re:Dissecting the Apple M1 GPU, part I by StillBored on Thursday January 07, 2021 @05:02PM (#25678214)
Yes, this is a standard UEFI feature. The firmware basically hands off a structure indicating horizontal/vert resolution, pixel depth and a buffer.

Which is fine until you need to change the mode, or start doing heavy BLT/etc operations. At which point your machine will feel like something from the early 1990s.

So yes, you can get a full linux DE running with mesa and CPU GLES emulation, but its not really particularly usable.

Re:Dissecting the Apple M1 GPU, part I by DCKing on Thursday January 07, 2021 @06:05PM (#25678919)
It's worth noting that the M1 does not use EFI like Intel Macs do, so the kernel would still need to boot on this proprietary new mechanism. Apple previously indicated that the M1 Macs boot using a derivative of the iPhone/iPad boot procedure. There's a reasonable chance it'll still have something like the EFI buffer allocation mechanism, but it'll not be using a mainline standard. While it sucks that Apple ditched EFI, the good news is that it's probably reasonably well understood since Linux has already been booted on an iPhone 7 using Checkra1n [1] (and apparently with framebuffer support too!).

[1]: https://tuxphones.com/iphone-7-now-boots-postmarketos-linux/