progress!
progress 2
progress 3
that’s enough teasing. Bootloader (@AsahiLinux’ m1n1) HDMI output on the M2 Mac mini is finally working. I’ll start now to bring it in a mergeable state. M2 Pro mini and M2 Max Studio should be almost identical. M2 Ultra devices could differ slightly in setup but still use the same code.
This is just the boot framebuffer. It won’t support the 3D GPU under Linux but will make the devices useable under Linux, OpenBSD and …. It also avoids a blackout until the linux driver is loaded and allows interaction with u-boot and grub/…
Linux display driver will need changes once this is merged in m1n1.
@AsahiLinux progress 4
pull request for the main part finished and working on M2/M2 Pro mac mini.
This is not yet ready for wide testing as it still depends on proxy mode and a python script to turn the internal DP2HDMI converter on. Two GPIOs but unfortunately controller by the smc coprocessor. For bug reports please include dcp/dptx trace of m1n1 and/or macos using m1n1’s hypervisor
https://github.com/AsahiLinux/m1n1/pull/329
M2+ desktop dcp/dptx HDMI output support by jannau · Pull Request #329 · AsahiLinux/m1n1

Initialize the HDMI output of M2+ desktop Macs releases in 2023. this misses SMC support in m1n1 (C) so use experiments/dp2hdmi.py for testing Mac Pro (M2 Ultra), Mac mini (M2/M2 Pro) and Mac stud...

GitHub
@AsahiLinux progress 5
standalone HDMI output initialization by m1n1 on a M2 Pro mac mini and booting into Fedora asahi remix/KDE. M2 mac mini works as well. M2 Max/Ultra mac studio and pro should work as well (user tested an earlier version on a M2 Ultra Studio).
Requires small modifications of the device trees in linux to avoid powering down the DisplayPort phy (or “pd_ignore_unused”).
Still needs review and testing but no more open TODOs from me. https://github.com/AsahiLinux/m1n1/pull/329
Next step is finishing the integration in the linux apple drm driver.
M2+ desktop dcp/dptx HDMI output support by jannau · Pull Request #329 · AsahiLinux/m1n1

Initialize the HDMI output of M2+ desktop Macs releases in 2023. this misses SMC support in m1n1 (C) so use experiments/dp2hdmi.py for testing Mac Pro (M2 Ultra), Mac mini (M2/M2 Pro) and Mac stud...

GitHub
@janne Does that mean the other display outputs also work? I remember someone mentioned that on m2 mini, the hdmi is also routed through some internal usbc→displayport alt mode→hdmi converter stack.
@ar technically yes but that still needs work. The typec integration for dp-altmode is flaky and I’m currently refactoring the display driver to support multiple output cleanly.
@janne awesome! Is the m1 architecture much different?
@janne @AsahiLinux Is there any progress on the M2 MacBooks yet? Do they share the same code?
@janne Amazing progress! usb-c / hdmi outputs (either of those) is the last thing I need for Asahi to become my primary work OS
@janne hype! I'm using an M2 mini as a server (without display support for now), it's a great machine! (I know it's unsupported and experimental, I won't complain or bother anyone if it stops working or summons nasal demons)
@janne I can't wait for the fedora release