2022-01-18
00:00thevar1able has joined #asahi-dev
00:02thevar1able has quit []
00:02thevar1able has joined #asahi-dev
00:32DarkShadow4444 has joined #asahi-dev
00:37manawyrm has quit [Ping timeout: 480 seconds]
00:37jn_ has joined #asahi-dev
00:37mjg59 has quit [Read error: Connection reset by peer]
00:37mjg59 has joined #asahi-dev
00:37manawyrm has joined #asahi-dev
00:37V_ has joined #asahi-dev
00:38Dragoon has joined #asahi-dev
00:38timokrgr1 has joined #asahi-dev
00:38Dragoon is now known as Guest827
00:38_andy_t_ has quit [Read error: Connection reset by peer]
00:39timokrgr has quit [Ping timeout: 480 seconds]
00:39timokrgr1 is now known as timokrgr
00:39DarkShadow44 has quit [Ping timeout: 480 seconds]
00:39jn has quit [Ping timeout: 480 seconds]
00:40DragoonAethis has quit [Ping timeout: 480 seconds]
00:40V has quit [Ping timeout: 480 seconds]
00:47user982492 has joined #asahi-dev
00:58jn_ is now known as jn
01:08yuyichao has quit [Ping timeout: 480 seconds]
01:15wCPO has quit [Quit: Ping timeout (120 seconds)]
01:15Mary has quit [Quit: Ping timeout (120 seconds)]
01:15Retr0id3 has joined #asahi-dev
01:16gabuscus_ has quit [Remote host closed the connection]
01:16wCPO has joined #asahi-dev
01:16Mary has joined #asahi-dev
01:16grange_c has quit [Quit: Ping timeout (120 seconds)]
01:16grange_c has joined #asahi-dev
01:17Retr0id has quit [Read error: Connection reset by peer]
01:17Retr0id3 is now known as Retr0id
01:18thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
01:18gabuscus has joined #asahi-dev
01:28user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:05os0 has joined #asahi-dev
02:05yrlf2 has joined #asahi-dev
02:06roxfan2 has joined #asahi-dev
02:07grange_c1 has joined #asahi-dev
02:07wCPO6 has joined #asahi-dev
02:07dottedmag_ has joined #asahi-dev
02:08minecrell0 has joined #asahi-dev
02:08blasty_ has joined #asahi-dev
02:08agraf_ has joined #asahi-dev
02:08arekmx has joined #asahi-dev
02:09pg12 has joined #asahi-dev
02:09grange_c has quit [charon.oftc.net coulomb.oftc.net]
02:09wCPO has quit [charon.oftc.net coulomb.oftc.net]
02:09timokrgr has quit [charon.oftc.net coulomb.oftc.net]
02:09V_ has quit [charon.oftc.net coulomb.oftc.net]
02:09manawyrm has quit [charon.oftc.net coulomb.oftc.net]
02:09gladiac has quit [charon.oftc.net coulomb.oftc.net]
02:09yrlf has quit [charon.oftc.net coulomb.oftc.net]
02:09akemin_dayo has quit [charon.oftc.net coulomb.oftc.net]
02:09roxfan has quit [charon.oftc.net coulomb.oftc.net]
02:09dianshi has quit [charon.oftc.net coulomb.oftc.net]
02:09arekm has quit [charon.oftc.net coulomb.oftc.net]
02:09minecrell has quit [charon.oftc.net coulomb.oftc.net]
02:09Glanzmann has quit [charon.oftc.net coulomb.oftc.net]
02:09IsfarSifat[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09GraysonGuarino[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09os has quit [charon.oftc.net coulomb.oftc.net]
02:09suricato has quit [charon.oftc.net coulomb.oftc.net]
02:09mariogrip[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09pg12_ has quit [charon.oftc.net coulomb.oftc.net]
02:09MatthewLeach[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09ryanhrob1[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09sppdqd[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09blasty has quit [charon.oftc.net coulomb.oftc.net]
02:09sproede[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09j`ey has quit [charon.oftc.net coulomb.oftc.net]
02:09southey has quit [charon.oftc.net coulomb.oftc.net]
02:09josipknezovic[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09legarts[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09foxtrot has joined #asahi-dev
02:09xorly[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09wollymilkcap[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09Dementor[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09svenpeter[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09samfromspace[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09ryanhrob[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09RowanGoemans[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09rethematrix[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09nirusu[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09matthewayers[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09long[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09littledust3403[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09landscape15[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09lockna has quit [charon.oftc.net coulomb.oftc.net]
02:09kjm99[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09houlton[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09ybk[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09ghantaz[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09fluffypup[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09citruscitrus[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09casperes1996[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09cde[m] has quit [charon.oftc.net coulomb.oftc.net]
02:09maz has quit [charon.oftc.net coulomb.oftc.net]
02:09dottedmag has quit [charon.oftc.net coulomb.oftc.net]
02:09agraf has quit [charon.oftc.net coulomb.oftc.net]
02:09vup has quit [charon.oftc.net coulomb.oftc.net]
02:09Shiz has quit [charon.oftc.net coulomb.oftc.net]
02:09Ziemas has quit [charon.oftc.net coulomb.oftc.net]
02:09grange_c1 is now known as grange_c
02:09dottedmag_ is now known as dottedmag
02:09user982492 has joined #asahi-dev
02:09gladiac has joined #asahi-dev
02:11akemin_dayo has joined #asahi-dev
02:11vup has joined #asahi-dev
02:13maz has joined #asahi-dev
02:16suricato has joined #asahi-dev
02:19GraysonGuarino[m] has joined #asahi-dev
02:19dianshi has joined #asahi-dev
02:19Ziemas has joined #asahi-dev
02:19timokrgr has joined #asahi-dev
02:19V_ has joined #asahi-dev
02:19manawyrm has joined #asahi-dev
02:19IsfarSifat[m] has joined #asahi-dev
02:19mariogrip[m] has joined #asahi-dev
02:19ryanhrob1[m] has joined #asahi-dev
02:19josipknezovic[m] has joined #asahi-dev
02:19sproede[m] has joined #asahi-dev
02:19legarts[m] has joined #asahi-dev
02:19cde[m] has joined #asahi-dev
02:19ybk[m] has joined #asahi-dev
02:19xorly[m] has joined #asahi-dev
02:19long[m] has joined #asahi-dev
02:19landscape15[m] has joined #asahi-dev
02:19littledust3403[m] has joined #asahi-dev
02:19matthewayers[m] has joined #asahi-dev
02:19rethematrix[m] has joined #asahi-dev
02:19Dementor[m] has joined #asahi-dev
02:19wollymilkcap[m] has joined #asahi-dev
02:19svenpeter[m] has joined #asahi-dev
02:19RowanGoemans[m] has joined #asahi-dev
02:19ryanhrob[m] has joined #asahi-dev
02:19ghantaz[m] has joined #asahi-dev
02:19citruscitrus[m] has joined #asahi-dev
02:19houlton[m] has joined #asahi-dev
02:19fluffypup[m] has joined #asahi-dev
02:19Shiz has joined #asahi-dev
02:19lockna has joined #asahi-dev
02:19casperes1996[m] has joined #asahi-dev
02:19kjm99[m] has joined #asahi-dev
02:19samfromspace[m] has joined #asahi-dev
02:19nirusu[m] has joined #asahi-dev
02:19j`ey has joined #asahi-dev
02:19MatthewLeach[m] has joined #asahi-dev
02:19sppdqd[m] has joined #asahi-dev
02:27user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:29user982492 has joined #asahi-dev
02:39marcanjevinskie[m]: because the hypervisor stuff does not attempt to save/restore FP regs on every context switch, and in general we don't want to have to deal with ABI issues around them in experiments
02:40dominic_ has joined #asahi-dev
02:41dominic_ has quit []
02:42marcansven: fwiw just setting msg.sub.version = 3; works on the new firmware, but I'm not sure if that's just because their backwards compat is broken
02:43marcaner sorry, that's from the cmd structure, so maybe actually it just works in <12 with that?
02:49user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:53jn has quit []
02:53jn has joined #asahi-dev
03:20user982492 has joined #asahi-dev
03:28phiologe has joined #asahi-dev
03:32PhilippvK has quit [Ping timeout: 480 seconds]
03:36kov has quit [Quit: Coyote finally caught me]
03:36kov has joined #asahi-dev
05:04yuyichao has joined #asahi-dev
05:22fluffypup[m] is now known as DiscoPenguin[m]
05:32marcanI think v4 just added cookie support, but the iboot protocol doesn't use that, so there's actually a good chance iBoot itself uses v3 even while macOS uses v4
07:17MajorBiscuit has joined #asahi-dev
07:32kdwk-l[m] has joined #asahi-dev
07:34kdwk-l[m] has left #asahi-dev [#asahi-dev]
07:35kdwk-l[m] has joined #asahi-dev
08:20_andy_t_ has joined #asahi-dev
08:32jtf has left #asahi-dev [WeeChat 2.6]
08:50svenif I add timeout to all those busyloops in afk and use version 3 at least DCP doesn't crash anymore though :D
08:58feeleep[m] has joined #asahi-dev
09:03Glanzmann has joined #asahi-dev
10:10ghishadow[m] has joined #asahi-dev
10:13aleasto has joined #asahi-dev
10:56d4ve has quit [Remote host closed the connection]
10:57d4ve has joined #asahi-dev
11:13d4ve has quit [Remote host closed the connection]
11:13d4ve has joined #asahi-dev
11:15d4ve has quit [Remote host closed the connection]
11:17d4ve has joined #asahi-dev
11:21arekmx has quit []
11:21arekm has joined #asahi-dev
11:26d4ve has quit [Remote host closed the connection]
11:53thevar1able has joined #asahi-dev
12:19thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
12:28thevar1able has joined #asahi-dev
12:52svenmarcan: replies are TYPE_NOTIFY instead of TYPE_REPLY and rxcookie/txcookie doesn't seem to exist (which doesn't make a whole lot of sense)
12:53svenyou should be able to reproduce this anyway by just setting version = 3 on 12.x, shouldn't you?
12:54svenright, but the version is in this sub header while the cookies are in the main header which is... weird
12:57user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:08bisko has joined #asahi-dev
13:26leah has quit [Quit: WeeChat 3.3]
13:39leah has joined #asahi-dev
13:41thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
14:16aleasto has quit [Quit: Konversation terminated!]
14:17aleasto has joined #asahi-dev
14:18aleasto has quit [Remote host closed the connection]
14:19aleasto has joined #asahi-dev
14:23aleasto has quit [Remote host closed the connection]
14:24gladiac is now known as Guest945
14:24gladiac has joined #asahi-dev
14:25aleasto has joined #asahi-dev
14:28Guest945 has quit [Ping timeout: 480 seconds]
14:33aleasto has quit [Quit: Konversation terminated!]
14:36j`eymarcan: jannau has updated their spi-hid driver, maybe after dinner, or tomorrow you can fold in their changes
14:39aleasto has joined #asahi-dev
14:39yuyichao has quit [Ping timeout: 480 seconds]
14:42_jannau_a change whih made it work if the device was used before. resetting it via the gpio enable pin doesn't have the same effect as a reboot
14:46aleasto has quit [Quit: Konversation terminated!]
14:50aleasto has joined #asahi-dev
15:36yrlf2 is now known as yrlf
15:47okt has quit [Remote host closed the connection]
15:47WhyNotHugo has quit [Remote host closed the connection]
15:47coder_kalyan has quit [Remote host closed the connection]
15:48okt has joined #asahi-dev
15:48WhyNotHugo has joined #asahi-dev
15:48coder_kalyan has joined #asahi-dev
15:51minecrell0 has quit []
15:51minecrell has joined #asahi-dev
15:56svenmarcan: https://github.com/AsahiLinux/m1n1/pull/150 alright, that makes DCP work on 11.x (hopefully without breaking it on 12.x)
16:34landscape15[m]sven: why is the DCP driver needed also inside m1n1?
16:34j`eylandscape15[m]: 12.x iBoot broke video output on the mac mini, so this is done so that m1n1, uboot, grub etc get a framebuffer
16:39svenand it crashed the DCP on 11.x when no screen was connected because we maybe didn’t use the backwards-compatible iboot protocol
16:40thevar1able has joined #asahi-dev
16:49thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:51thevar1able has joined #asahi-dev
16:56MajorBiscuit has quit [Ping timeout: 480 seconds]
17:04thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
17:06thevar1able has joined #asahi-dev
18:32marcansven: so what happens is the rtkit logic is that messages go through an immediate handler, then if unhandled get put in a queue
18:32marcanthe crashlog immediate handler only handles the "please crash" messages (plus one extra mystery one we haven't seen)
18:33marcannot sure if not acking any buffers breaks anything else, if it does I guess we'll find out
19:12thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
19:16thevar1able has joined #asahi-dev
19:27thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
19:31aleasto has quit [Quit: Konversation terminated!]
19:31aleasto has joined #asahi-dev
19:32aleasto has quit [Remote host closed the connection]
19:32aleasto has joined #asahi-dev
19:36thevar1able has joined #asahi-dev
19:36thevar1able has quit []
19:40thevar1able has joined #asahi-dev
19:41poviksent v2 of NCO driver: https://lore.kernel.org/linux-clk/20220118191839.64086-1-povik+lin@protonmail.com
19:43yuyichao has joined #asahi-dev
19:45thevar1able has quit []
19:47thevar1able has joined #asahi-dev
19:55dottedmagmarcan: https://github.com/AsahiLinux/m1n1/pull/151 — I have found this variant of hexdump to be quite handy, see if you like it.
19:55kettenisand there is a tas5770 chip for each speaker (one the speaker in the mini, 4 for the 13" mbp)
19:56thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
19:58thevar1able has joined #asahi-dev
20:00povikyes, there are six (on M1 at least) so far identical clusters the MCA block is composed of
20:02povik(and presumably all applies analogously to deserializing samples off i2s lines and putting them into memory, haven't tried that direction yet)
20:03kettenisand it expects the dma controller to deliver samples in some common format and converts those into the format required by the tas5770's and cs42l83?
20:04thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
20:05povikso you have 8-bit, 16-bit or 32-bit samples delivered from dma, with their position in configurably long frames signalized out-of-band
20:05povikand you can choose endianness, lsb padding, sample-in-frame to tdm-slot mapping, et cetera
20:06povikyou can probably even combine two dma streams and put them in different tdm slots on the same i2s bus
20:11povikonce you have driver for the dma controller, you can get a stereo stream working with few magic numbers
20:13poviki can produce sample m1n1 script for a configuration you would be interested in, once you get to that
20:14povikif the configuration is the speaker on mac mini, you have speaker_amp.py in experiments/ ofc
21:02jannauI don't see anything in dcp traces (compared to macos 12) how I could have broken hotplug
21:07alyssajannau: random guess, something about DCP_REMOVE_LAYERS or the hack added for swaps with no layers or something interacting?
21:09jannauI've tested with my dcp_flush changes so those are not responsible although I'm not convinced that they are a good idea
21:18alyssaunless you would, err, rather I exchange those dozen more patches for a single DCP patch that jannau was going to write this week anyway?
21:21jannaudcp code I have is based on https://github.com/mu-one/linux/commits/20211209 with all non dcp/dart changes removed and rebased onto asahi
21:27alyssa(The likely one is "there was already a bug in the DCP code, but it was masked by the behaviour of the DRM core before, then the DRM core was changed and the bug was unmasked")
21:31alyssa(I guess Dec 9 was when I tried to rebase and Everything Broke and I ran out of time and gave up)
21:34jannaudrivers/iommu/apple-dart.c has "writel(DART_STREAM_ALL, dart->regs + DART_STREAMS_ENABLE);" as addition
21:42thevar1able has joined #asahi-dev
21:43MajorBiscuit has joined #asahi-dev
22:01Retr0id has quit [Ping timeout: 480 seconds]
22:02MajorBiscuit has quit [Quit: WeeChat 3.3]
22:06jannaubut it looks like there are less swaps until console boot so I think there are probably still dodgy ones with newer drm
22:26jannauyes, it only does swaps with valid surfaces, I haven't filtered sawps without surfaces completely out in the rebased tree
22:35svenpovik: sorry https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20220118191839.64086-2-povik+lin@protonmail.com/
23:38user982492 has joined #asahi-dev
23:44user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:44thevar1able has quit [Ping timeout: 480 seconds]
23:54aleasto has quit [Quit: Konversation terminated!]
23:54aleasto has joined #asahi-dev