#asahi-dev · 2023-01-15 14:13
marcanyes#asahi-dev · 2023-01-15 14:13
jeffmiwit is then supposed to boot in recovery ?#asahi-dev · 2023-01-15 14:12
jeffmiwdid not try this one#asahi-dev · 2023-01-15 14:11
marcan(tap-release-tapandhold power, relatively quickly)#asahi-dev · 2023-01-15 14:11
jeffmiwyeah ... I'll see if I can get into DFU mode#asahi-dev · 2023-01-15 14:11
marcantried the fallback rOS boot gesture?#asahi-dev · 2023-01-15 14:11
marcanI'm not even sure that is supposed to happen if you just screw up the SSD#asahi-dev · 2023-01-15 14:11
marcanthat sounds very, very broken...#asahi-dev · 2023-01-15 14:11
jeffmiwno logo#asahi-dev · 2023-01-15 14:10
marcanno logo even?#asahi-dev · 2023-01-15 14:10
jeffmiwnothing, no sound, nothing on screen#asahi-dev · 2023-01-15 14:10
marcanwhat happens on boot now?#asahi-dev · 2023-01-15 14:10
marcanbest guess, the empty partition slots broke it (macOS never does that)#asahi-dev · 2023-01-15 14:10
jeffmiwno I did not#asahi-dev · 2023-01-15 14:10
jeffmiwall worked well even with the resized partitions beeing online :)#asahi-dev · 2023-01-15 14:10
marcanyou didn't touch the system recovery partition at the end?#asahi-dev · 2023-01-15 14:09
jeffmiwwell I had one 10GB Asahi minimal partition just after my asahi desktop partition and then free space, so I deleted the 3 "10GB asahi minimal partitions" and then did a resizepartition#asahi-dev · 2023-01-15 14:07
jeffmiwok, thanks.#asahi-dev · 2023-01-15 14:07
marcanjeffmiw: how did you make space for resizing the partition in the first place? parted doesn't know how to resize APFS...#asahi-dev · 2023-01-15 14:06
marcan(usbmuxd, libimobiledevice, idevicerestore)#asahi-dev · 2023-01-15 14:06
marcanit should work, modulo you need a bunch of git versions#asahi-dev · 2023-01-15 14:04
jeffmiwanyone went throught this already ?#asahi-dev · 2023-01-15 14:04
jeffmiwit seems I'm going to play with idevicerestore now ...#asahi-dev · 2023-01-15 14:04
jeffmiwit seems I played a bit too much with the devil: running out of space on my asahi partition, I resized it from parted and on the next reboot my mba m1 is not booting at all, not even in recovery mode :)#asahi-dev · 2023-01-15 13:57
poviki guess#asahi-dev · 2023-01-15 13:57
marcankernels are weird things#asahi-dev · 2023-01-15 13:56
marcancould just be a random timing difference#asahi-dev · 2023-01-15 13:56
povikbut i can live with leaving that unexplained#asahi-dev · 2023-01-15 13:56
povikstill weird that i didn't see anything relevant in the asoc diff of the two tags#asahi-dev · 2023-01-15 13:56
povikright, that was an oversight, thanks for the fix#asahi-dev · 2023-01-15 13:55
marcanyeah it was just the early enable that was breaking it#asahi-dev · 2023-01-15 13:55
povikthere's a mux for clock selection after the pll, which i guess helped cover the bug until now#asahi-dev · 2023-01-15 13:54
povikmarcan: i would be very surprised if the timing of configuring the pll mattered as long as you don't enable it#asahi-dev · 2023-01-15 13:48
mpson m1pro j316. thanks#asahi-dev · 2023-01-15 13:47
mpsto confirm: just tested, no more sound distortion#asahi-dev · 2023-01-15 13:46
marcanbut everything above that is a giant mess of aliasing#asahi-dev · 2023-01-15 13:46
marcansince this happens every 8 input samples, the overall playback rate is ~correct for f << 48kHz/8 = 6kHz -> 0-3kHz, which means audio is recognizably the right pitch#asahi-dev · 2023-01-15 13:45
marcansince the core was running too fast, the elastic buffer keeps underrunning and that creates 0-samples on the output#asahi-dev · 2023-01-15 13:45
marcanas for what happened: the PLL was running unlocked/too fast, by a factor of 1/8 or 1/4 or thereabouts. there's probably an 8-sample elastic buffer between the input sample data (clocked by the input clock) and the core.#asahi-dev · 2023-01-15 13:31
marcancs42l42 doesn't have the same bug, but I can imagine some codepaths where it would go wrong. I'm going to add a defensive patch.#asahi-dev · 2023-01-15 13:28
mpsit is asahi-6.2-rc3-4, lets build it#asahi-dev · 2023-01-15 13:28
mpsmarcan: nice \o/#asahi-dev · 2023-01-15 13:28
marcanmps: I fixed it, no more explanations necessary#asahi-dev · 2023-01-15 13:27
mpsand sometimes even have to repeat it when pause sound and then play again, same mpv instance#asahi-dev · 2023-01-15 13:26
mpsbut playing another sound I need to repeat procedure#asahi-dev · 2023-01-15 13:26
mpsto explain what I found: starting playing sound and then change headphone playback mux to secondary and back to primary fixes distortion#asahi-dev · 2023-01-15 13:25
marcanI'm guessing something about the sequence of operations changed in 6.2 and that's what broke it#asahi-dev · 2023-01-15 13:24
marcanjannau, chadmed, povik: fix in bits/070-audio and asahi-6.2-rc3-4, doing an arch build now#asahi-dev · 2023-01-15 13:19
marcanyeah I think that's it#asahi-dev · 2023-01-15 13:17
marcanor maybe the problem is just enabling it early, let's see