#
…

2022-07-17

00:11Catyre has joined #asahi-dev
00:11Catyre has quit [Remote host closed the connection]
00:19kov has joined #asahi-dev
00:29doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:45L1Q has quit [Ping timeout: 480 seconds]
02:55phiologe has joined #asahi-dev
02:58PhilippvK has quit [Ping timeout: 480 seconds]
03:18RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
03:51kov has quit [Quit: Coyote finally caught me]
03:51kov has joined #asahi-dev
06:45nicolas17 has quit [Ping timeout: 480 seconds]
06:56the_lanetly_052 has joined #asahi-dev
07:26nela has quit [Remote host closed the connection]
07:52chadmed_ has joined #asahi-dev
07:53chadmed_ has quit []
07:59bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:10nehsou^ has quit [Remote host closed the connection]
09:23bisko has joined #asahi-dev
09:27the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:35bisko has quit [Ping timeout: 480 seconds]
09:38bisko has joined #asahi-dev
09:44bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:48bisko has joined #asahi-dev
10:01bisko has quit [Ping timeout: 480 seconds]
10:03bisko has joined #asahi-dev
10:15nehsou^ has joined #asahi-dev
10:27Catyre has joined #asahi-dev
10:27bisko has quit [Read error: Connection reset by peer]
10:33bisko has joined #asahi-dev
10:35Catyre has quit [Ping timeout: 480 seconds]
10:42bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:46MajorBiscuit has joined #asahi-dev
10:58gabuscus_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:58gabuscus has joined #asahi-dev
12:07MajorBiscuit has quit [Ping timeout: 480 seconds]
12:15marcansven: ran into this on the old kernel, not sure if it's fixed: https://gist.github.com/marcan/d1468c2c4b941d3e463f56f622b4ae55
12:16marcannew kernel doesn't fix AirPod glitches on the M2 and I can't get my Sony ones to pair at all; let me make a proper package and compare with m1pro
12:17svenI think i replaced them all with _timeout_interruptible but it’s possible i missed one
12:18svenstill weird that something timed out though
12:18svendon’t think I ever saw that
12:20svenuh wait, that looks like something in the Bluetooth core
12:25svenare the AirPods unstable in SCO or ACL mode?
12:32marcanbut this was under the hypervisor, though I wasn't hooking anything
12:32marcanbut could still have timing issues
12:32marcanlet me get a proper build installed
12:33marcanthis m1pro sude does get toasty doing kernel builds :)
12:33svenhrm, my Bose headphones work fine even under the HV
12:33marcanmight still be M2 trouble?
12:33svenmaybe I should try pairing my AirPods and see if they are different
12:34svenit should get the correct calibration data now though
12:42marcanok, it's also terribad with the Sony earbuds
12:42marcanlet me test the m1pro to make sure this is a device issue
12:42marcanthis is with a proper package now
12:46marcanokaay it's also terribad on the m1pro and I know why
12:46marcanit's btcoex
12:46marcanit works fine if I turn off wifi, and mostly fine if I hop on a 5G network
12:46marcanuse 2.4G wifi, bluetooth is terribad
12:46marcanI've been using 5G at home, so I didn't notice earlier
12:48marcanyeah, works about the same on M2
12:48marcanso it's a btcoex issue
12:48marcanjannau: trackpad woes should be fixed (was more than one issue)
12:49marcanoff to bbq lunch :)
12:49svenhuh, that’s why I never noticed it then. I’m not connected to any WiFi on the m1 mini
12:52marcanthis could well be a wifi driver fail, maybe it needs some magic "enable coex" command
13:18c10l has quit [Quit: Bye o/]
13:22c10l has joined #asahi-dev
14:42nehsou^ has quit [Ping timeout: 480 seconds]
16:00marcanthere are some btcoex iovars for the wifi, and this seems to be another apple-exclusive thing. sigh. going to poke around that.
16:02c10l has quit [Quit: Bye o/]
16:06c10l has joined #asahi-dev
16:12jannaumarcan: mtp seems to be better now. occasionally it was even with the firmware in the initramfs not working
16:12marcanjannau: that was a different problem
16:12marcansometimes messages came in out of seq
16:12marcanI got rid of the seqno check
16:13marcanas for the firmware, now it only loads multitouch firmware when the HID device is actually opened (changed the whole thing to be lazy)
16:13marcanso that should never happen until the root is mounted and firmware has been updated, unless someone has some kind of mouse support in their initramfs
16:13marcankeyboard should always work either way
16:13jannaudid you miss the fn key mappings in hid-apple? I see it's there now but I swear the initial kernel did not support it
16:13marcanyes, that was missing in the previous kernel
16:16jannauoh, I missed that's possible to just init the trackpad later. that avoids having to deal with the firmware in u-boot if we can't reset it
16:20marcanyes, I never expected u-boot to have to deal with firmware
16:20marcanit only has to init the keyboard
16:20marcanand I think there is some form of deinit command
16:21marcanthe problem is the HID descriptors
16:21marcanthose only get sent on copro startup
16:21svenofc btcoex is apple-specific. at least it’s probably no issue with the bt driver
16:21marcanso either u-boot needs to shove them into the dockchannel again for linux to find, or pass them via DT
16:22svenI’ll probably give up on t2 support there as well. pretty sure there’s some subtle difference that crashed the fw after a while and I can’t figure that out easily without a HV + access to a t2 Mac
16:24jannauI don't think I've ever tested if it's possible to request the hid descriptors multiple times with spi-hid
16:27marcanspi-hid is different anyway
16:27marcanyou don't request the hid descriptors here
16:27marcanthey just come
16:27marcanwhen you boot the copro
16:27marcan(also the gpio requests)
16:37c10l has quit [Quit: Bye o/]
16:41c10l has joined #asahi-dev
16:53c10l has quit [Quit: Bye o/]
16:54c10l has joined #asahi-dev
16:58c10l has quit []
16:59c10l has joined #asahi-dev
17:15marcanthis is annoying me... lately, on the M2, booting the hypervisor hangs at a random point (often during CPU startup or after some PMGR stuff, sometimes midway through linux)
17:15marcanI don't remember any of this when I was doing bring-up
17:37rqou_ has quit [Ping timeout: 480 seconds]
17:53nicolas17 has joined #asahi-dev
18:02nicolas17 has quit [Ping timeout: 480 seconds]
18:06jannaumarcan: I think it happened on stream too. I saw it too and I think I haven't run the hv on the m2 in the last 2 weeks
18:12nicolas17 has joined #asahi-dev
18:28MajorBiscuit has joined #asahi-dev
18:28MajorBiscuit has quit []
18:37bisko has joined #asahi-dev
18:50rqou_ has joined #asahi-dev
19:11marcanjannau: wasn't that just the usual hv dying thing, when running macos? that's a different one (guest gets in a bad state, hv is still alive)
19:11marcanbut I might be wrong
19:14nehsou^ has joined #asahi-dev
19:29marcanok, I tried some btcoex related iovars blindly but didn't get anywhere; I think I need to finally write a wlan tracer (which will also help with the sleep stuff)
19:29marcanthat can wait. release on monday, with the btcoex caveat.
19:33svensounds good!
19:39marcanalright, making new images
19:45jannauI think it was guest execution stopping after CPU init but hv still up and able to reboot from its shell
19:47jannausounds good. plasma-wayland is currently very crashy. plasma x11 seems fine so not important and most likely not our problem
19:57marcanyeah, the stuck after cpu init thing is an old unknown issue, this one is different
19:57marcanI think the former may have something to do with kaslr hitting a corner case
19:57marcanthe new one is much more random and weird
19:59marcanuploading images
21:04nehsou^ has quit [Ping timeout: 480 seconds]
21:04Catyre has joined #asahi-dev
21:14nehsou^ has joined #asahi-dev
21:15marcandev installer live, looks like it works well on M2 (no more first boot touchpad bork)
21:16Catyre has quit [Ping timeout: 480 seconds]
21:18marcanalso I just realized that the boot-args filtering doesn't actually stop -v from working to change display mode... which does kind of break the security of my little trick there
21:18marcannot that it matters much right now, without proper secure boot
21:18marcanbut I need to double check that... if it at least filters -v from the boot-args string, I can switch to that
21:19marcanotherwise, I'll have to think of something else
21:19marcan(or maybe this changed?)
21:19marcanwonder if we can get some boot policy info in the ADT...
21:19marcananyway, not critical for tomorrow
21:26Catyre has joined #asahi-dev
21:47nehsou^ has quit [Ping timeout: 480 seconds]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:06nehsou^ has joined #asahi-dev
22:16yrlf has joined #asahi-dev
23:00Catyre has quit [Ping timeout: 480 seconds]
23:59nehsou^ has quit [Ping timeout: 480 seconds]
…