With the latest kernel update for Fedora Asahi, we've enabled support for HDMI output (on laptops with HDMI ports)! 🖥️​

This is fresh out of the oven so you might experience some glitches, but please let us know how it works for you!

Notes:

  • Audio output is not yet supported (it's in the works, but we're not comfortable merging/enabling that code yet)
  • This requires 13.5 firmware, so users who installed prior to August will not have the feature enabled. We're working on an upgrade/support solution for those users.
@AsahiLinux Does display work for m2 mac mini now?
@wollymilkcap Once the next nightly image build runs and we test it and enable it in the installer! 😉​
@AsahiLinux
Will this work with displayport over usb-c on the M2 Mini or will I need to change over to a HDMI display for Asahi?
@AsahiLinux Thank you for the feature! I can confirm it works. This feature was the last one for me to switch to asahi linux completely. Though I found that I can't reboot with my monitor connected, but it works on hot plug after graphics initialization (sddm + sway).

@ildus @AsahiLinux is the display initialized after switching to a VT (and back) or restarting sddm?

Can you post the output of `journalctl -k -g '(drm|dcp|display)'` and `drm_info` somewhere?

We will create a HDMI tracker bug in https://github.com/AsahiLinux/linux/issues later today

GitHub - AsahiLinux/linux at fairydust

Linux kernel source tree. Contribute to AsahiLinux/linux development by creating an account on GitHub.

GitHub
@janne @AsahiLinux Uploaded here: https://gist.github.com/ildus/7855f8b60790fa7ba94dd2356e1cc585
With the monitor it just stops somewhere with the black screen, I have to restart it with ctrl+alt+del. And I just plug the monitor on login screen.
outputs

outputs. GitHub Gist: instantly share code, notes, and snippets.

Gist
@AsahiLinux that's awesome! Do you estimate there is a lot of work left before DP alt mode or thunderbolt can be released to the public on the HDMI-less machines?
@nyancient There's still quite a bit of work left to tie things together and properly support dynamic display controller assignment and stuff like that, yes. All that introduces a lot of complexity over just a single HDMI port. But we're working on it!
@AsahiLinux I just had a very belated thought: would it be easier to implement DP alt mode support for the non-pro/max models, since they AIUI only have one controller for external displays?
@nyancient Nope, if anything that makes it harder because you can't cheat and statically assign a controller per port like you could on the Max/Ultra models!
@AsahiLinux Does it work on M1 Max? Or just other devices? I just upgraded mine, but nothing changed when I connected to external displays.
@AsahiLinux Well, ignore this. It's totally my misunderstanding. I thought it worked on Thunderbolt. Can confirm it works well on the HDMI port.
@AsahiLinux @yuchanns Youre using Fedora right?
@TristonArmstrong @AsahiLinux Yes. And it works fine!

@AsahiLinux @yuchanns Lol what a circus today has been.

Didn't wanna wait around for Arch to get it so i went ahead and removed it, deleting the partition.. Which bricked my macbook lol

Restored my macbook using another macbook (fml) and installed fedora

HDMI.... perfection! (so far)

14" m1 pro

@TristonArmstrong @AsahiLinux Great choice! Fedora Remix is the First citizen of the Asahi Team. Its recent upgrades have made it stand out significantly from other distros.
@AsahiLinux Good job! Amazing cool!
@yuchanns @AsahiLinux Looks like the notch isn't enabled... Do you know how to enable it?

@ydalton @yuchanns There is no window manager support for notches right now, so we disable it to preserve a reasonable user experience (you don't want the notch to cover up full-screen apps!)

You can enable it with a module argument for the display driver, but please don't expect it to work properly with desktop environments yet! Putting a panel up there is not enough due to the fullscreen issue.

@AsahiLinux @yuchanns I use GNOME, and there was someone who made a patch to GNOME to ignore the area of the notch, even in full screen. It basically mimics the behavior of macOS. https://www.reddit.com/r/AsahiLinux/comments/17ci7fh/complete_camera_notch_compatibility_on_gnome/
Complete camera notch compatibility on GNOME

Posted in r/AsahiLinux by u/KZ_D • 30 points and 42 comments

reddit
@AsahiLinux @yuchanns But yeah, I use this patch really like it! It doesn't work at all with the "Blur My Shell" extension but it's not too much of a loss.
@ydalton @AsahiLinux Looks good. I'll take a try 😮
@AsahiLinux Would Apple ever give you permission to repackage and redistribute their firmware?

@njensen20 @AsahiLinux probably not but it’s not necessary. It’s distributed by Apple in their restore images and installed for every bootable OS partition on apple silicon device. Every device which needs the firmware has it already. The firmware is loaded by Apple’s bootloader anyway so there is really no need to redistribute it.

It avoids the problem nouveau has with nvidia’s large gsp firmware and initramfs images.

@AsahiLinux this is easily the fastest display detection and bringup I've seen under linux on any hardware that I've used. Even for the single output case, across Intel/AMD/NV it takes an alarming amount of time and jank to get to stable output. Here, it takes 2 seconds with no false start--straight to stable picture out. Fingers crossed we keep the same kind of seamless behavior once TB + multi-ext-out arrive

@sawyerbergeron @AsahiLinux seems to be display dependent but in any case the praise belongs to Apple. Modesetting is done by the firmware and the os level driver does a remote function call with two IDs for timing and color mode.

The linux driver is probably too aggressive in driving the modeset. It sometimes fails probably because the linux driver doesn’t heeds unknown timing or sequencing requirements.

@AsahiLinux this is big! Thanks for all the work so far on this.
@AsahiLinux HDMI support works flawlessly so far on my M2 Mac Mini. I had to set the EXPERT env var otherwise the installer would refuse saying it is an unsupported system, and I had to remember to actually plug the HDMI cable in and not sit wondering why the USB-C connected monitors were black, but otherwise it “just worked” 🤣
@ximon18 Glad to hear that! We're going to enable the device in the installer officially soon 🙂
@AsahiLinux: Here it is in action.

@AsahiLinux So maybe I’m holding it wrong, but I broke my working HDMI on M2 Mac Mini Asahi Linux installation by running the Asahi installer again (i.e. with curl and sh from within MacOS) and choosing yes when asked if wanting to upgrade m1n1.

The good news is that indeed the installer no longer exited with an error about my Mac being unsupported so no expert mode was required. But on boot from power on I see nothing on HDMI.

@ximon18 Did you upgrade your Fedora installation first? We were still making changes to HDMI support on desktops until it was marked non-EXPERT that could cause an incompatibility like this. There's a reason why the feature was not officially released, so if you installed ahead of time and it broke for this reason you're on your own 😉
@AsahiLinux I don’t recall now exactly what Fedora updates were installed or not. I really appreciate how bleeding edge this is and the remarkable effort that has gone into it. I was only concerned if the HDMI on M2 Mac Mini feature should have worked for my (perhaps broken by me) setup as the installer proceeded without expert mode.