#
…

2025-04-11

01:10ece314378925355451680698427415 has joined #asahi-alt
02:21tobhe has joined #asahi-alt
02:28tobhe_ has quit [Ping timeout: 480 seconds]
05:07mattia013_ has joined #asahi-alt
05:22aead has quit [Ping timeout: 480 seconds]
05:26zerdox has joined #asahi-alt
05:29mattia013_ has quit [Ping timeout: 480 seconds]
06:04floklichadmed: what's deciding about these names, how do I debug this?
06:06aead has joined #asahi-alt
06:31kraem has joined #asahi-alt
06:32nst_ has quit [Quit: WeeChat 4.4.3]
06:32nst has joined #asahi-alt
06:33chadmedflokli: im not terribly sure tbh. the ucm files are correct and working so i dont know why they wouldnt be getting picked up.
06:34chadmedsomeone else reported a similar failure mode and i could not for the life of me work it out
06:34chadmedi need more hardware :(
06:36floklichadmed: I was thinking about trying to match on alsa.id or something similar, which seems to be more reliable
06:36flokliBut I'm not sure if the devices I'm seeing are actually the correct ones or not
06:38chadmedtheyre not. the UCM profile is not being applied
06:38chadmedplease do not try re-engineering the matching scheme. what exists is correct and your system is what is incorrect
06:41chadmedleio, sam_: the mesa driver will be enabled upstream for 25.1 which is why we can do that. might leave it until the kernel uapi changes flow through to linux-asahi though
06:43floklichadmed: I'm trying to figure out which part is still missing / outdated from the NixOS packaging. ucm not being applied might be the right hint, I'll dig into that. Thanks!
06:45chadmedasahi-audio should be version 3.2 at least (3.3 ideal) but apart from that the rest of UCM is just standard pipewire/alsa functionality and shouldnt be affected by package versions
06:45chadmedsorry not asahi-audio, alsa-ucm-conf-asahi
06:45chadmedand it should be version 8
06:50flokliHm, it is 3.3 and 8, so that might not be it
06:55kraem has quit [Ping timeout: 480 seconds]
06:57flokliIf you think it's something with the hardware, I might be able to run some patches or dig up some more info.
06:58chadmedi dont think it's hardware related. the ucm stuff is all at the alsa-lib or whatever level
07:02chadmedflokli: can you paste the output of `arecord -l`
07:10chadmedlol the mic device isnt even there
07:10chadmedwhat kernel version are you on and did you update your device trees
07:10flokliLinux m2air 6.14.1-asahi #1-NixOS SMP currently
07:13flokliI don't know how to update device trees. They're baked into uboot?
07:14chadmedupdate-m1n1?
07:16n3ph has joined #asahi-alt
07:17flokliwe don't have this script, but our u-boot expression definitely seems to be outdated.
07:18floklim1n1 is at 1.4.21, but u-boot is still at rev asahi-v2024.10-1 / version 2024.10-1-asahi
07:21chadmedthats the latest, but the dtbs should be updated with every kernel uprev
07:22chadmedyou really really ought to have some update-m1n1 analogue
07:22flokliwhere do the dtbs come from?
07:22flokliasahi-kernel tree?
07:25flokliWe have a process populating bootloader things in /boot / the ESP, it could be looped into this. It might already be - Just need to know which dtbs we're talking about.
07:27ece314378925355451680698427415 has quit [Ping timeout: 480 seconds]
07:27chadmedyeah kernel tree dtbs
07:27chadmedthey need to be concatenated into the m1n1 payload though. they cant just exist on the filesystem
07:30leioany idea why my monitor sometimes loses signal and has to reacquire it? These are the logs from that time: https://bpa.st/UHCQ - should I blame the monitor (or cable?) on that one too or probably not?
07:30flokliso I'd assume my /boot/m1n1/boot.bin does contain all dtb files from the current kernel.
07:39n3ph has quit [Ping timeout: 480 seconds]
07:40flokliI'll manually diff the generated file with what's on /boot this evening, just to double check it indeed is what it's supposed to be.
07:42chadmedflokli: can you also grep dmesg for "aop" and see if there are any probing errors
07:44flokli[ 9.731483] apple_aop 24ac00000.aop: Adding to iommu group 7
07:44flokli[ 9.731516] apple_aop 24ac00000.aop: probe with driver apple_aop failed with error -22
07:48chadmedyeah okay so the kernel is shitting the bed for some reason
07:55floklichadmed: I'll be afk for a few hours, but can check later
07:56n3ph has joined #asahi-alt
08:30jannauleio: '[AFK]Restaring interfaces with reason - Capabilities changed..' sounds like it might be the monitor. I guess you're not using macos would be interesting if it happens there as well
08:32jannauis there anything the monitor could report as change? monitor setting changes, integrated kvm, plugging in usb devices headphones or aan ambient light sensor
08:50leioI dunno, I didn't touch the menu then, was staring at a terminal window
08:51leiomacOS I saw it on older monitor firmware, but newer had a related fix claim; I haven't seen it on macOS lately, but I haven't used it for any longer durations since the monitor fw upgrade
08:51leiounrelatedly, the EDID stuff doesn't look to be working either?
08:52leio(not to mention getting it going in 240Hz with some overrides, but I haven't cared for it anymore)
09:11leioand now I got the usual problem (also desync) when playing over HDMI audio: https://bpa.st/ZWVA
09:12leio(for the earlier case the internal jack was selected and working with headphones)
10:08n3ph_ has joined #asahi-alt
10:11n3ph has quit [Ping timeout: 480 seconds]
11:21chaos_princess has quit [Quit: chaos_princess]
11:30chaos_princess has joined #asahi-alt
11:48n3ph_ has quit [Read error: Connection reset by peer]
11:50n3ph has joined #asahi-alt
12:45zerdox has quit [Remote host closed the connection]
13:18JayBeeFOSS has quit [Ping timeout: 480 seconds]
13:19JayBeeFOSS has joined #asahi-alt
13:53zerdox has joined #asahi-alt
14:33zerdox has quit [Ping timeout: 480 seconds]
14:55kraem has joined #asahi-alt
15:06zerdox has joined #asahi-alt
15:42kraem has quit [Ping timeout: 480 seconds]
16:05JTL has joined #asahi-alt
16:50Hartley25 has quit [Remote host closed the connection]
16:50Hartley25 has joined #asahi-alt
16:57n3ph has quit [Ping timeout: 480 seconds]
18:28nela has quit [Quit: bye!]
18:29nela has joined #asahi-alt
19:39cyrinux9490 has quit []
19:39cyrinux9490 has joined #asahi-alt
20:16Calandracas has quit [Remote host closed the connection]
20:19Calandracas has joined #asahi-alt
20:23floklichadmed: -22 suggests it's running into the if "!audio && of.property_present(c_str!("apple,no-beamforming")) {" branch
20:25chaos_princesscan you check if the relevant property is present then?
20:25flokliit's not
20:27floklibut tbh I don't understand the logic there
20:29chaos_princessisnt that the wrong driver? apple_aop is the root device, while the one for the mics should be snd_soc_apple_aop_audio
20:30chaos_princesswhere exactly are you getting the kernel from? (commit hash if possible, otherwise which branch)
20:32flokliasahi-6.14.1-2
20:32flokli31a0d9d457fde5974ff105c9ad19171f79959987
20:34flokliI guess I can bump to asahi-6.14.1-3
20:34chaos_princessand which device is it?
20:34flokliMacBook Air J413
20:37chaos_princesscan you also list /proc/device-tree/soc/aop@24ac00000/
20:38chaos_princesslooks correct
20:39floklino worries, thanks for taking a look
20:41chaos_princessi mean, if you are ok with recompiling stuff, would be cool if you could insert a bunch of log statements to see where it fails
20:47flokliI'm ok with recompiling stuff, yes. I guess I'll just edit aop_audio.rs and add some log messages in a few places, and check where it breaks
20:48flokliI wonder if it's possible to only build that kernel module though, and insmod it manually, rather than recompiling a new kernel all the time.
20:48flokliI'll check tomorrow, bed time :-)
20:49chaos_princessyou are failing in aop.rs, even earlier than aop_audio
20:49jannauthe error is from aop.rs and not aop_audio.rs
22:05n3ph has joined #asahi-alt
22:05breakgimme has quit [Remote host closed the connection]
22:06breakgimme has joined #asahi-alt
22:23n3ph has quit [Ping timeout: 480 seconds]
22:45zumi has joined #asahi-alt
23:07Hartley25 has quit [Ping timeout: 480 seconds]
23:32zerdox has quit [Remote host closed the connection]
…