#asahi-alt · 2026-03-20 20:14
chaos_princessprobably not, but maybe it will.#asahi-alt · 2026-03-20 20:14
smnAnyways, what you're saying is i should try the newest fex, newest muvm, run FEXRootFSFetcher, grab fedora and it'll... just work?#asahi-alt · 2026-03-20 20:13
smnThat being said, nix does provide the binaries for muvm, fex, mesa and all that jazz, (even the custom mesa made by asahi with the external cache) the cache just misses them whentrying to build the system declaratively#asahi-alt · 2026-03-20 20:12
smnWell... Because of how the nix binary cache works, cross compiled packages don't register as the same package as the one built on the actual architecture because they use a diffrent build process, even if they produce the same binary#asahi-alt · 2026-03-20 20:11
chaos_princessare there no binary packages?#asahi-alt · 2026-03-20 20:11
chaos_princessthat sounds pretty dumb to offload to end-user#asahi-alt · 2026-03-20 20:10
smnThe thing that still doesn't click in my head is since we need muvm tu run fex on asahi, the rootfs needs to have x86 and x64 mesa, and the flakes i've seen try to build the rootfs on their own by providing mesa themselves, and because of how nix works i needed to cross compile every single package that each respective mesa needed to build#asahi-alt · 2026-03-20 20:08
chaos_princessthat is how fedora does it#asahi-alt · 2026-03-20 20:08
chaos_princessNot really sure how nix specifically does it, but at some point something (probably a rootfs package) will produce erofs disk images in a location that muvm expects them to be. muvm will then automatically mount them on start and inject things into fex configuration#asahi-alt · 2026-03-20 20:05
smnTLDR; Need help with setting up muvm+fex on my Asahi NixOS M2 #asahi-alt · 2026-03-20 20:05
smnSo far i couldn't wrap my head around how muvm and fex go together, what rootfs am i supposed to configure, and the worst part is getting it to work declaratively in my flake config.#asahi-alt · 2026-03-20 20:05
smnWith how much cross compilation i've done and with how many issues i've ran into i decided to pop in here and ask around if anyone else has tried that and maybe succeeded...?#asahi-alt · 2026-03-20 20:05
smnMy bad#asahi-alt · 2026-03-20 20:05
smnOh it limits the text#asahi-alt · 2026-03-20 20:05
smnHey! I recently got an M2 Air and i installed Asahi NixOS, and it has been a blast but i've been struggling with setting up muvm+fex, especially with the flakes made by other people since i'm way too dumb to set up one by myself. I've been experimenting with https://github.com/imnotpoz/nixos-muvm-fex/tree/native-build , and updating it so that it uses the freshest available packages (at least the ones that aren't locked to a specific commit). With how #asahi-alt · 2026-03-19 08:19
mpson M2 air, model J413#asahi-alt · 2026-03-19 08:18
mpsall works except keyboard and touchpad#asahi-alt · 2026-03-19 08:17
mpsagain, after resume dmesg shows 'Mar 19 07:29:37 [kernel] [340069.869947] dockchannel-hid 24eb30000.input: output report 0x1 to iface 2 (keyboard) timed out'#asahi-alt · 2026-03-18 13:48
mpsJamesB192_: already did something similar#asahi-alt · 2026-03-18 13:43
JamesB192_put a tiny piece of mostly opaque (probably painters) tape over it.#asahi-alt · 2026-03-18 13:14
mpsoh there is https://asahilinux.org/docs/hw/soc/usb-pd/#asahi-alt · 2026-03-18 13:09
jannaumaybe. I'd exptect that it's controlled by USB PD VDM messages but in practice you might end up fighting smc#asahi-alt · 2026-03-18 13:01
mpsis it possible to turn off led on magsafe connector (searched net but didn't found)#asahi-alt · 2026-03-14 03:43
UnknownArtistBotHi all! check this out, An Unknown Artist - https://www.anunknownartist.com/#asahi-alt · 2026-03-08 14:33
LarstiQhuh, wdisplays is showing the office monitor rather than home one, interesting.#asahi-alt · 2026-03-08 03:05
rzhikharevichForgot to mention I ended up sticking with the latest commit of the Nix flake (kernel 6.18.10)#asahi-alt · 2026-03-08 03:00
rzhikharevichAnyways, I'm probably going to just cope with having to power cycle my U.2 enclosures every time I reboot my Mac Mini server xD#asahi-alt · 2026-03-08 02:59
rzhikharevichI've also enabled RUST_FW_LOADER_ABSTRACTIONS=y and switched USB_DWC3_APPLE to module instead of built-in after looking at Fedora Asahi's asahi.config + made sure everything is available in initrd but not sure if that's significant. Before that I had 'late IOMMU probe at driver bind, something fishy here!' in dmesg but not sure if it's actually gone or if it's just a race condition?#asahi-alt · 2026-03-08 02:53
rzhikharevichWell, after testing a USB stick that I just got in the mail today, I've found out that it works just fine in USB 3 mode (both with and without hotplugging), so it must be the U.2 enclosure that has a buggy firmware or something#asahi-alt · 2026-03-08 00:17
rzhikharevichWould you mind sharing your nixos-apple-silicon commit hash in flake.lock (if you use flakes)?#asahi-alt · 2026-03-08 00:10
k70I had issues with nixos-apple-silicon 2025-11-18 on both m1 air and m2 mini, particularly noticeable trying to get through install, building master branch iso worked. Otherwise NAS has been solid for the 18 mo or 2 years I think I've been running it on the m1 air.#asahi-alt · 2026-03-07 23:23
rzhikharevichNew development: apple_dart/dwc/etc not showing in lsmod. Modprobing them make USB3 work with a type-c port but somehow kills wifi?#asahi-alt · 2026-03-07 23:16
rzhikharevich(when plugged in a type-c port; type-a gives USB3 speeds on hotplugging)#asahi-alt · 2026-03-07 23:15
rzhikharevichYeah, doesn't even appear in lsusb when I use a proper tbt cable vs. USB2 speed with a USB3 cable#asahi-alt · 2026-03-07 23:06
rzhikharevichLet me test with a tbt cable#asahi-alt · 2026-03-07 23:06
rzhikharevichFrom marcan's comment on Reddit I assumed it would not work at all if the controller decided on Thunderbolt, but maybe I'm misunderstanding how it works#asahi-alt · 2026-03-07 23:05
chaos_princessso what? the pd lines are connected, so it will try to do so anyway#asahi-alt · 2026-03-07 23:04
rzhikharevichHm, but the cable is not thunderbolt-capable? And I assume it wouldn't work even in USB 2 mode without bypassing that controller quirk?#asahi-alt · 2026-03-07 23:03
chaos_princessthat's why you need a hub, the pd controller inside your mac will always try to negotiate thunderbolt if possible#asahi-alt · 2026-03-07 23:03
rzhikharevichYeah, the enclosure supports tbt#asahi-alt · 2026-03-07 23:03
rzhikharevichAh, and the cable is confirmed to be USB 3-only (not tbt) by plugging it into a MacBook running macOS#asahi-alt · 2026-03-07 23:02
chaos_princessis your enclosure capable of doing thunderbolt#asahi-alt · 2026-03-07 23:02
rzhikharevichAs for USB-C, it never negotiates USB 3 speeds, only USB 2 (besides only one instance when I somehow managed to get it to work with a USB 3 hub in the middle??)#asahi-alt · 2026-03-07 23:01
rzhikharevichThe symptoms for the USB-A ports are as follows: booting with a USB U.2 SSD enclosure (yeah, I know, sounds unhinged that such a thing even exists) results in it functioning at USB 2 speeds. However, power-cycling the enclosure or replugging it makes it work at USB 3 speeds (confirmed with lsusb and hdparm).#asahi-alt · 2026-03-07 22:59
rzhikharevichHey, guys, thanks a lot for your work on this project (donated a bit on Open Collective :))! I'm having some troubles with USB on Mac Mini M2 Pro running nixos-apple-silicon. Currently, my flake points to the latest release (tagged release-2025-11-18) and I've set peripheralFirmwareDirectory to a copy of the /boot/asahi directory (only the allfirmware and kernelcache files, though). [cont]#asahi-alt · 2026-03-05 15:04
mpsshort log is here https://tpaste.us/ZKb9#asahi-alt · 2026-03-05 15:00
mpskernel 6.18.15-1#asahi-alt · 2026-03-05 14:59
mpsJ413 model, macbook air m2#asahi-alt · 2026-03-05 14:58
mpsdsiplay resume fine but keyboard and touchpad do not work.#asahi-alt · 2026-03-05 14:57
mpsI've got this in dmesg out after resume 'dockchannel-hid 24eb30000.input: output report 0x1 to iface 2 (keyboard) timed out'