#
…

2022-12-05

01:10goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:51user982492 has joined #asahi-dev
02:31c10l1 has joined #asahi-dev
02:31c10l has quit [Remote host closed the connection]
02:31c10l1 is now known as c10l
02:35ma4 has joined #asahi-dev
02:42ma3 has quit [Ping timeout: 480 seconds]
02:56robinp has quit [Read error: Connection reset by peer]
03:30lawrence has quit [Remote host closed the connection]
03:35tobhe has joined #asahi-dev
03:40tobhe_ has quit [Ping timeout: 480 seconds]
04:02user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:39jtf has quit [Ping timeout: 480 seconds]
06:41SSJ_GZ has joined #asahi-dev
06:48jtf has joined #asahi-dev
07:38goldsoultheory has joined #asahi-dev
07:39goldsoultheory has quit []
07:46svenhuh, that looks like it tries to call typec_enter twice
07:46svenI thought that couldn’t happen ::
07:51chadmed_ has joined #asahi-dev
08:02goldsoultheory has joined #asahi-dev
08:03goldsoultheory has quit []
08:03povik has joined #asahi-dev
08:04goldsoultheory has joined #asahi-dev
08:38_jannau_I don't think I've seen .enter being called more than once. .vdm is called multiple times
08:40svenhmm.. that makes more sense
08:48chadmed_ has quit [Ping timeout: 480 seconds]
08:48eiln has joined #asahi-dev
08:48eilnfor dt are we doing name_dart or dart_name
08:49goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:50eiln has quit []
09:00goldsoultheory has joined #asahi-dev
09:01goldsoultheory has quit []
09:04c10l has quit [Quit: Bye o/]
09:06chadmed_ has joined #asahi-dev
09:09c10l has joined #asahi-dev
09:11MajorBiscuit has joined #asahi-dev
09:17goldsoultheory has joined #asahi-dev
09:23SSJ_GZ has quit [Ping timeout: 480 seconds]
09:33goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:45goldsoultheory has joined #asahi-dev
09:54marcaneiln: looks like name_dart, except dart_sio slipped in
09:55marcan(I don't care as long as we're consistent, looks like name_dart wins here)
09:56Cyrinux has quit [Server closed connection]
09:56Cyrinux has joined #asahi-dev
09:58goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:02marcansent a fixup patch
10:09marcanalso sent out the DART suspend/resume patch, in preparation for the t8110 series (because it comes first in git)
10:13thastiany chance we can get CONFIG_PKCS8_PRIVATE_KEY_PARSER enabled in future kernel releases? I fail to connect to eduroam (wpa enterprise network) since iwd can't read private keys without the pkcs8_key_parser module..
10:14TheLink has quit [Server closed connection]
10:14TheLink has joined #asahi-dev
10:14chadmed_ has quit [Remote host closed the connection]
10:15goldsoultheory has joined #asahi-dev
10:15marcanis *that* why wpa-enterprise fails?
10:15marcanseriously? I thought it was something between iwd and the wifi driver...
10:15goldsoultheory has quit []
10:16marcanit's been in my back burner forever. sigh.
10:16marcanthanks for figuring that out.
10:16foxtrot has quit [Server closed connection]
10:17foxtrot has joined #asahi-dev
10:17thastineither networkmanager nor iwd are very explicit with their error messages, so that turned out to be quite the rabbit hole...
10:17chadmed_ has joined #asahi-dev
10:22lewurm_ has quit [Server closed connection]
10:22lewurm_ has joined #asahi-dev
10:22jix__ has quit [Server closed connection]
10:22jix__ has joined #asahi-dev
10:22nico_32 has quit [Server closed connection]
10:22nico_32 has joined #asahi-dev
10:31rmk has quit [Server closed connection]
10:31rmk has joined #asahi-dev
10:32marcanpovik, sven, ChaosPrincess, jannau: FYI, I fixed a bunch of kernel test robot nits in audio, atc, fpwm, and spi-hid stuff because I was getting tired of the endless emails :p
10:32marcanit got squashed in the rebase though, but you might want to know
10:32sveni think i already fixed the atc ones in my current wip branch
10:33sven(and introduce a new one in the typec mess \o/)
10:33thastion a different note: for another (unencrypted) network, I'm getting 'brcmf_set_key_mgmt: invalid akm suite (1027090)' + 'brcmf_cfg80211_connect: wl_set_key_mgmt failed (-22)'
10:33mazmarcan: thanks for having had a look at the IPI stuff.
10:34svenatcphc-20221130 fwiw, you'll need that one once the dwc3 race fix hits mainline
10:34flying_sausages has quit [Server closed connection]
10:34flying_sausages has joined #asahi-dev
10:34marcanmaz: it wasn't a very close look, but then again it's just moving code as far as I can tell
10:34sven(except for the top commit, that's the typec mess)
10:34marcanonly "regression" is the IPIs get sent once by one instead of potentially several at once for pre-fastipi SoCs, but whatever
10:34mazmarcan: yeah, it only took 15 revisions to get there...
10:35marcanglad I'm not the only one suffering the pain :p
10:35marcansven: should I pull that now? or wait until the race fix?
10:35sventhat branch contains the race fix fwiw
10:35marcanah, cool
10:35svenso, uh, whatever you prefer :)
10:35mazmarcan: I'm not too worried about the single-IPI behaviour. if you trace them, you'll see that multi-target IPIs are super rare.
10:36marcansven: I mean, is it stable material or needs more testing?
10:36marcanI want to push out a stable release, like, tomorrow or so with what we've fixed since the other week
10:36marcanmaz: yeah, I figured as much
10:36svenwithout the typec commit it just needs some smoke testing on everything that's not a t8103
10:36marcanI'll roll it in
10:37sventhe changes are really that dwc3 race fix + trickle down crap to atcphy from that
10:37svenand preparing it for the typec subsytem altmode stuff
10:37svenso it should fix the quick plug/unplug issue and work the same otherwise
10:44_jannau_the dwc3 race fix works without issues on t600x, running it since last week
10:45leitao has joined #asahi-dev
10:46marcansven: do I need that svid thing in all the instances?
10:46sventhat's for displayport and usb4/thunderbolt
10:47svenif you drop the typec commit it's unused
10:47marcanah, cool
10:47marcanI dropped the last 2 commits (assume both are unnecessary)
10:47sventhere's apparently this weird setup where some typec ports have a mux for usb2/3 and another mux for dp-altmode or something
10:48svenso it uses that svid thing to route the mux_set to the correct mux
10:48svendon't ask me how that works though :D
10:50chadmed_ has quit [Quit: Konversation terminated!]
10:53chadmed_ has joined #asahi-dev
10:54povikmarcan: thanks!
10:55marcanthasti: that ciphersuite is unsupported in the driver. I can try to add it (apparently it's in bcmdhd, no idea if the firwmare supports it but I'm guessing yes?)
10:55marcanthis is WPA3 I assume?
11:04chadmed_ has quit [Remote host closed the connection]
11:04marcanthasti: looks like that's a FT-FILS cipher suite, but the driver doesn't support FILS at all
11:04marcanyet another case of "broadcom doesn't care about the linux driver"
11:04marcanI could probably implement it if I had a way of testing it but...
11:09lewurm has quit [Read error: Connection reset by peer]
11:09lewurm has joined #asahi-dev
11:26marcanthasti: kernel in asahi-dev should have that PKCS8 option enabled now
11:27chadmed_ has joined #asahi-dev
11:32marcan(and also the atcphy updates/etc)
12:15SSJ_GZ has joined #asahi-dev
12:47steffen[m] has quit [Server closed connection]
12:47steffen[m] has joined #asahi-dev
12:53akemin_dayo has quit [Server closed connection]
12:53akemin_dayo has joined #asahi-dev
12:57tumblingweed has quit [Server closed connection]
12:58tumblingweed has joined #asahi-dev
13:19leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:29thastimarcan: thanks, I confirm WPA3 works fine now!
13:29Retr0id has quit [Server closed connection]
13:29thastiWPA enterprise*
13:29Retr0id has joined #asahi-dev
13:44maximbaz has quit [Server closed connection]
13:44maximbaz has joined #asahi-dev
13:56ChaosPrincessIs there a list somewhere of everything that can he hardware en/decoded on m1 series? Googling results in conflicting info
14:01_jannau_ has quit [Server closed connection]
14:01_jannau__ has joined #asahi-dev
14:02_jannau__I guess one has to query videotoolbox in macos to be sure. h.265, h264, vp9 (probably decode only), mpeg4 part2 and mpeg2 where supported on ios devices (probably decode only as well)
14:02_jannau__and prores on t600x and m2
14:05leitao has joined #asahi-dev
14:05_jannau__and prores is separate of avd/ave
14:09VinDuv has quit [Ping timeout: 480 seconds]
14:09chadmed_could you coax the jpeg block to do mjpeg :P
14:12_jannau__h.263 (decode) as well. yes, you could use the hw jpeg block for m-jpeg
14:12_jannau__ is now known as _jannau_
14:14chadmed_ has quit [Remote host closed the connection]
14:22beeblebrox has joined #asahi-dev
15:03leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:08leitao has joined #asahi-dev
15:22yrlf has joined #asahi-dev
15:32marcanchadmed: mjpeg is just jpeg
15:40LinuxM1 has joined #asahi-dev
15:54Foxboronless downstream for you to carry
15:55marcanI think we stopped carrying that, it was a bugfix but didn't actually break us, but yes, it should probably go upstream anyway
15:55FoxboronHmm, is there a list of downstream stuff asahi needs atm or is all good?
15:59marcanI don't think we have anything for arch at the moment?
16:01goldsoultheory has joined #asahi-dev
16:02FoxboronNice :) Thanks!
16:08_jannau_Foxboron: we don't have a mkinitcpio package atm, we got rid of our build witht the update to 33 and using the alarm one
16:09Foxboron_jannau_: ahh, glad to hear that. Hopefully it will be easier to upstream/request features with a bit more active development :)
16:25leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:28jluthra has quit [Remote host closed the connection]
16:29jluthra has joined #asahi-dev
16:30LinuxM1 has left #asahi-dev [Leaving]
16:31leitao has joined #asahi-dev
16:32ma4 has quit [Quit: WeeChat 3.7.1]
16:43user982492 has joined #asahi-dev
16:55bluetail1 is now known as bluetail
16:55bluetail has quit [Quit: The Lounge - https://thelounge.chat]
16:56bluetail has joined #asahi-dev
17:10leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:11leitao has joined #asahi-dev
17:11ChaosPrincess is now known as ChaosPrincess[n]
17:30svenjannau: can you log all dp sid changes when you see that warn? i can't reproduce it with my screens here
17:31svenbut I suspect that yours either first negotiates 2-lane dp and then changes pin configuration or that yours is just a bit slow and it only looks like it renegotiates the configuration
17:31sveneither way i'll probably have to actually implement a better fake dp altmode state machine *sigh*
17:32sventhat typec subsystem is kind meant for the situation where you there's more control over the VDOs actually sent while this tps chip does all that automatically
17:32ChaosPrincess[n] is now known as ChaosPrincess
17:35svenI think I even added a tracepoints for DP sid changes
17:40marcansven: Linux subsystems with poor abstractions? color me shocked :p
17:42svenyeah.. it was written for some typec controller called tcpm where Linux has to do everything afaict
17:42sventhen there’s ucsi which already implemented a fake DisplayPort state machine that I more or less copied :D
17:43svenit’ll also fail in funny ways when there are two altmodes like tbt and DP at the same time
17:43svenso still lots of fun left!
17:45MajorBiscuit has quit [Ping timeout: 480 seconds]
18:08CyrinuxHi, marcan, can you enable as module PKCS8_PRIVATE_KEY_PARSER by default in kernel? It's commonly use to WPA auth over tls. For both standard and edge. It's like this in Linux and Linux--lts.Thank for your work. :)
18:09j`eyCyrinux: he already did that this morning!
18:10jannauCyrinux: 12:26 < marcan> thasti: kernel in asahi-dev should have that PKCS8 option enabled now
18:10CyrinuxOh nice, thank for the quick reply.
18:15goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:28leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:31goldsoultheory has joined #asahi-dev
18:31goldsoultheory has quit []
18:45svenhuh, for some reason configure becomes 0x4 for a moment
18:46sventhat sounds broken
18:49Tramtrist has quit [Quit: leaving]
19:02Tramtrist has joined #asahi-dev
19:08goldsoultheory has joined #asahi-dev
19:12dabaum|2er0 has joined #asahi-dev
19:18goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:19goldsoultheory has joined #asahi-dev
19:20goldsoultheory has quit []
19:26cylm_ has quit [Quit: WeeChat 3.6]
19:43manawyrm has quit [Server closed connection]
19:43manawyrm has joined #asahi-dev
19:45dk_ has quit [Server closed connection]
19:45dk_ has joined #asahi-dev
19:52user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:56goldsoultheory has joined #asahi-dev
20:02Tramtrist has quit [Remote host closed the connection]
20:07user982492 has joined #asahi-dev
20:44Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
20:45Mrmaxmeier has joined #asahi-dev
20:47hxliew has joined #asahi-dev
20:51steffen[m] has quit [Ping timeout: 480 seconds]
21:17systwi has joined #asahi-dev
21:18steffen[m] has joined #asahi-dev
21:22systwi_ has quit [Ping timeout: 480 seconds]
21:28systwi_ has joined #asahi-dev
21:31blazraI don't know if this is known or not, but the way to reproduce the "spi-hid-apple-of spi0.0: Read package crc mismatch" message in dmesg is to type on the internal keyboard and moving cursor using the touchpad at the same time.
21:34systwi has quit [Ping timeout: 480 seconds]
21:38jannaudespite the warning dcpext seems to work most of the time
21:39sventhat’s, uh, surprising :D
21:39systwi has joined #asahi-dev
21:39svenmaybe I’ll have to redo my mode transition tests now with atcphy being stable
21:40svencould be that e.g. usb3 to usb/DP transitions don’t require a dwc3 reset
21:40jannaublazra: thanks, now when you say that it seems to match what I see. still doesn't explain it though
21:43povikcould touchpad events be interjecting the keyboard ones in some weird prioritizing scheme?
21:43povikdo we see the crc mismatches when tracing macos?
21:44yuyichao has quit [Ping timeout: 480 seconds]
21:44systwi_ has quit [Ping timeout: 480 seconds]
21:44jannauno, the packet payload is mostly zeros
21:45povikhm? as in, the bad packets are mostly zeroed out?
21:46povikand macos gets it too in tracer?
21:46jannaumacos uses sio for spi, packets I traced from there are all ok
21:46povikright, hm
21:46jannauso no idea what sio does, it could simple ignore broken packets
21:46svenmaybe they have a hack in SIO to workaround a race condition in their keyboard that sends packets too early ;p
21:46blazrais it like two devices on one SPI bus or one device which sends both touchpad and keyboard data?
21:47yuyichao has joined #asahi-dev
21:49bluetail5 has joined #asahi-dev
21:50bluetail has quit [Read error: Connection reset by peer]
21:50bluetail5 is now known as bluetail
21:51jannauit's single device integrating kbd, touchpad, ...
21:54blazraI am looking at the spihid_transfer_packet struct: Could there be more messages in one packet? Like a combined keyboard and touchpad data maybe?
21:56jannauI don't think so. as I said the payload is mostly 0x00 and we certainly are not using keyboard events
22:19user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:07SSJ_GZ has quit [Ping timeout: 480 seconds]
…