2023-04-09
00:00ahuar88_ has joined #asahi-dev
00:00ahuar88 has quit [Read error: Connection reset by peer]
00:01ahuar88_ has quit [Read error: Connection reset by peer]
00:01ahuar88 has joined #asahi-dev
00:02ahuar88_ has joined #asahi-dev
00:02ahuar88 has quit [Read error: Connection reset by peer]
00:03ahuar88 has joined #asahi-dev
00:03ahuar88_ has quit [Read error: Connection reset by peer]
00:04ahuar88 has quit [Read error: Connection reset by peer]
00:04ahuar88 has joined #asahi-dev
00:04user982492 has joined #asahi-dev
00:13ntal has joined #asahi-dev
00:15darkapex1 has joined #asahi-dev
00:16rpirea has quit [Ping timeout: 480 seconds]
00:16rpirea has joined #asahi-dev
00:17darkapex has quit [Ping timeout: 480 seconds]
00:22deteg1337 has joined #asahi-dev
00:30deteg1337 has quit [Ping timeout: 480 seconds]
00:32nsklaus has quit [Quit: ZZZzzz…]
01:10pthariensflame has joined #asahi-dev
01:12pthariensflame has quit []
01:22ntal has quit [Remote host closed the connection]
02:18deteg1337 has joined #asahi-dev
02:26deteg1337 has quit [Ping timeout: 480 seconds]
02:36user982492 has quit [Quit: Textual IRC Client: www.textualapp.com]
03:14A_L_I_C_E has joined #asahi-dev
03:23nicolas17 has quit [Quit: Konversation terminated!]
03:23nicolas17 has joined #asahi-dev
03:23deteg1337 has joined #asahi-dev
03:30A_L_I_C_E has quit [Read error: Connection reset by peer]
03:30A_L_I_C_E has joined #asahi-dev
03:31deteg1337 has quit [Ping timeout: 480 seconds]
04:20nicolas17 has quit [Remote host closed the connection]
04:31deteg1337 has joined #asahi-dev
04:39deteg1337 has quit [Ping timeout: 480 seconds]
04:46A_L_I_C_E has quit [Quit: Quit]
04:47A_L_I_C_E has joined #asahi-dev
05:20richyliu2 has joined #asahi-dev
05:21richyliu2what's the status on the microphone? I want to help with the reverse engineering if that hasn't been done already
05:27A_L_I_C_E has quit [Ping timeout: 480 seconds]
05:29A_L_I_C_E has joined #asahi-dev
05:38deteg1337 has joined #asahi-dev
05:46deteg1337 has quit [Ping timeout: 480 seconds]
07:03bisko has joined #asahi-dev
07:04bisko has quit []
07:45ahuar88 has quit [Remote host closed the connection]
07:45ahuar88 has joined #asahi-dev
07:46ahuar88 has quit [Remote host closed the connection]
07:47ahuar88 has joined #asahi-dev
08:02deteg1337 has joined #asahi-dev
08:07marcanChaosPrincess: can you send the t8112 PWM DT changes too? (on top of the asahi-soc/dt branch)
08:10deteg1337 has quit [Ping timeout: 480 seconds]
08:14marcanmight not bother to stream this one since honestly it's going to be boring unless something really unexpected comes up
08:31nsklaus has joined #asahi-dev
08:41A_L_I_C_E has quit [Read error: Connection reset by peer]
08:41A_L_I_C_E has joined #asahi-dev
08:53Ry_Darcy has joined #asahi-dev
08:55Ry_DarcyAny sign of the M2 Mini being ready for testing soon. I have been looking at this expensive paperweight for three months now. I appreciate you are all doing your best, but you know how it is...
09:05marcanthis might end up requiring a complete rewrite of the DCP code in m1n1 to be much more complex, TBD
09:14A_L_I_C_E has quit [Ping timeout: 480 seconds]
09:14A_L_I_C_E has joined #asahi-dev
09:19ChaosPrincessmarcan: sent.
09:20ChaosPrincessi personally havent tested this one (no m2 machines), but iirc someone else did :P
09:20ChaosPrincessand stream the chickens anyway, at least its somewhat educational, and i might come and shitpost in chat :P
09:21ChaosPrincessits almost what we have in downstream, yes
09:21Ry_Darcy@marcan True, but has been noise about the M2 Mini since last year with corresponding code activity. Not unreasonable to acquire a device and hope for the best. Maybe in 2024...
09:22___nick___ has joined #asahi-dev
09:25ChaosPrincesswell, arent those machines kinda mainframe-y just due to the amount of io coprocessors?
09:27Ry_DarcyNo idea. Don't get me start on I/O heavy lifing and PRSM. Greetings from White Plains and Poughkeepsie. Enough said.
09:27___nick___ has quit []
09:28ChaosPrincessprocessor resource/system manager
09:29ChaosPrincessibm really likes their weird names for normal stuff
09:29ChaosPrincessthis is basically a hypervizor, somewhat like xen
09:29___nick___ has joined #asahi-dev
09:30ChaosPrincessxen is a type 1
09:30jannauthe device is public for 2 1/2 months, anything before that is useless to use. we can't add support based on rumors
09:32jannauthe devicetree for the m2 mini is already submitted for upstream and except for display, wlan and bt everything works
09:34Ry_Darcy@jannau I could live without BT and WLAN, but the display is the killer obviously. I have read the discussions...
09:34ChaosPrincessthey got a new wifi/bt chip due to 6e, didnt they?
09:39deteg1337 has joined #asahi-dev
09:40ahuar88_ has joined #asahi-dev
09:41ahuar88_ has quit []
09:42ahuar88_ has joined #asahi-dev
09:44ahuar88_ has quit [Remote host closed the connection]
09:46A_L_I_C_E has quit [Remote host closed the connection]
09:47A_L_I_C_E has joined #asahi-dev
09:47ahuar88_ has joined #asahi-dev
09:49ahuar88_ has quit []
09:55deteg1337 has quit [Remote host closed the connection]
10:04jannaumarcan: are you looking into dcp? I have hackish ipc changes for 12.3 / 13.2 FW coexisting
10:07deteg1337 has joined #asahi-dev
10:07deteg1337 has quit [Remote host closed the connection]
10:08Mary6 has quit []
10:08raveling has joined #asahi-dev
10:08Mary has joined #asahi-dev
10:18jannaualso are the annotations for ActiveRegion correct? "max_x max_y min_w max_w"? any idea how they work?
10:24povikrichyliu2: re microphones. it's pretty much figured out. there's been one puzzling thing about the LEAP processor that i finally cracked yesterday
10:24povikother than that there are holes in understanding of registers for the LEAP<->PDM glue but that does not block finishing the linux driver at this point
10:32i509vcb has quit [Quit: Connection closed for inactivity]
10:39Thsf has joined #asahi-dev
10:42deteg1337 has joined #asahi-dev
10:49Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:52gabuscus_ has joined #asahi-dev
10:54chadmedfwiw t6020 only required DTs and secondary cpu cluster info in m1n1 to boot (mostly) correctly
10:56deteg1337 has quit [Ping timeout: 480 seconds]
10:57c10l has quit [Ping timeout: 480 seconds]
10:57gabuscus__ has joined #asahi-dev
10:57gabuscus has quit [Ping timeout: 480 seconds]
10:59marcanI mean the reg entry is there but I don't see it ever getting hit in relation to pcie except one weird sequence where it's writing ECAM stuff and the fuse read is 0 anyway?
10:59marcanPCIe has definitely changed to some extent, ADT reg layout is slightly different but things do somewhat line up with the old one. will probably need some tweaking.
11:03gabuscus_ has quit [Ping timeout: 480 seconds]
11:06jannauok, I'll prepare everything I have. for m1n1 work it's mostly the 13.2 tracing and the dptx implementation for m1n1
11:11c10l has joined #asahi-dev
11:16cylm has joined #asahi-dev
11:25jannaulooking macos 13.3? I was wondering if we want use to 13.3.1 for the 2023 devices. I'm sure the dcp firmware interface is very close if not identical
11:28marcanalso given the 2-die stuff in AIC and obviously cropped die shot (lol), I think I'm going to do the die split preemptively even if we don't have the 2-die chip yet
11:28jannauone reason for 13.2 would be that the 2023 devices will probably ship for a while with 13.2. the installer would work without update. otoh most would probably update on first run
11:35bps has joined #asahi-dev
11:37chadmedcant remember at what stage i uploaded this gist though and i lost my local branch when i detonated / the other day
11:39jannaudieX is just stuff which is on both m1 ultra dies, behaves like the die0 include if included with DIE 0 defined
11:41chadmedhttps://github.com/chadmed/m1n1/tree/t6020 some stuff is done here, depends on the t602x chickens PR
11:45chadmedim still hoping they end up using noticeably less power than t600x, those two extra ecores should the pcores stay quiet for longer
11:48deteg1337 has joined #asahi-dev
11:53bps has quit [Ping timeout: 480 seconds]
11:56deteg1337 has quit [Ping timeout: 480 seconds]
12:07raveling has quit [Ping timeout: 480 seconds]
12:11Thsf has joined #asahi-dev
12:23Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:40ChaosPrincessgot the full init sequence for dfr display in m1n1. Now to figure out which of the fifo writes we _actually_ need
12:46ahuar88 has quit [Quit: Leaving...]
12:53deteg1337 has joined #asahi-dev
13:01deteg1337 has quit [Ping timeout: 480 seconds]
13:20ChaosPrincesshah, so, there is even a dumb framebuffer mode on dfr display
13:21chadmediirc i got hard resets when trying to poke the smc with the m1n1 experiments but could do memory reads on its addresses without blowing anything up
13:27chadmedhttps://gist.github.com/chadmed/2101227831c0af272bcfcdb8326a57ea oh i kept a m1n1 log and the pstate latencies at least :P
13:35Thsf has joined #asahi-dev
13:49deteg1337 has joined #asahi-dev
13:56Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:59deteg1337 has quit [Ping timeout: 480 seconds]
14:18Ry_Darcy has quit [Remote host closed the connection]
15:00Thsf has joined #asahi-dev
15:33Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:35Thsf has joined #asahi-dev
15:37raveling has joined #asahi-dev
15:43Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:44deteg1337 has joined #asahi-dev
15:44Thsf has joined #asahi-dev
15:52deteg1337 has quit [Ping timeout: 480 seconds]
16:03Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:13Thsf has joined #asahi-dev
16:18Thsf has quit []
16:23ChaosPrincess has quit [Ping timeout: 480 seconds]
16:24i509vcb has joined #asahi-dev
16:29deteg1337 has joined #asahi-dev
16:32marcanpushed what I have so far to t602x/bringup and m1n1:main. it's pretty broken still, but at least the pmgr stuff isn't causing instant explosions, SMC and such works. device tree should have ~everything except MTP and the GPU power stuff and spi0 (need to work out pins).
16:32marcanm1n1 pcie init works as far as I can tell (ew magic pokes, though some are probably unnecessary)
16:33marcanbut at least it looks like some important-ish registers might have moved moved so linux probably needs changes
16:37deteg1337 has quit [Ping timeout: 480 seconds]
16:45raveling has quit [Ping timeout: 480 seconds]
16:46marcanok, linux is poking the ANE_SYS power domain and this makes *no* sense. either I screwed up something major (but I can't find it) or there is something very wrong in linux genpd
16:47marcan[ 7.798483] apple-pmgr-pwrstate 28e080000.power-management:power-controller@260: PS ane_sys: pwrstate = 0xf: 0xf00000f
16:47marcan[ 7.802556] apple-pmgr-pwrstate 28e080000.power-management:power-controller@260: PS ane_sys: pwrstate = 0x0: 0xf0000f0
16:51marcanah ok, I screwed up the pmgr ranges and it was child PDs of that trying and failing to probe repeatedly
16:51Thsf has joined #asahi-dev
16:52Thsf has quit []
16:56ChaosPrincess[w] has joined #asahi-dev
16:57ChaosPrincess[w]Can someone with a m1 mbp run this from m1n1 python shell and say if colors look correct https://github.com/WhatAmISupposedToPutHere/m1n1/blob/f4517bdaf72cb36ac8999903a5d85aecddd0ed28/proxyclient/experiments/touchbar_rainbow.py
17:07raveling has joined #asahi-dev
17:45Thsf has joined #asahi-dev
17:48ChaosPrincess has joined #asahi-dev
17:50marcanok, it's just that iBoot leaves it powered and Linux doesn't have the wakeup fallback thing m1n1 does.
17:50ChaosPrincess[w] has quit [Quit: Page closed]
17:53ntal has joined #asahi-dev
18:03ntal has quit [Remote host closed the connection]
18:13Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:28marcanjannau: if you have a chance, mind reviewing the DCP stuff? I think m1n1 needs changes too etc.
18:30Thsf has joined #asahi-dev
18:31marcanwill try to do MTP tomorrow and see if I can work out PCIe, that should get us to non-edge-kernel feature parity
18:37deteg1337 has joined #asahi-dev
18:48Thsf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:49deteg1337 has quit [Ping timeout: 480 seconds]
19:09cylm_ has joined #asahi-dev
19:10cylm has quit [Ping timeout: 480 seconds]
19:15deteg1337 has joined #asahi-dev
19:28deteg1337 has quit [Remote host closed the connection]
19:28Thsf has joined #asahi-dev
19:32Thsf has quit []
19:43Thsf has joined #asahi-dev
19:48Thsf has quit [Read error: Connection reset by peer]
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:09deteg1337 has joined #asahi-dev
20:17deteg1337 has quit [Ping timeout: 480 seconds]
21:12A_L_I_C_E has quit [Ping timeout: 480 seconds]
21:15A_L_I_C_E has joined #asahi-dev
21:24jannauwhy apple? "/arm-io/dart-dcp/mapper-dcp" vs. "/arm-io/dart-dcp0/mapper-dcp0" on the m2 pro. will there be a dcp1 on the VR headset, or on the m2 ultra for 10 displays
21:45drubrkletern has joined #asahi-dev
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi-dev
22:08A_L_I_C_E has quit [Ping timeout: 480 seconds]
22:15cylm_ has quit [Ping timeout: 480 seconds]
22:17c10l has quit [Quit: Bye o/]
22:23drubrkletern has quit [Remote host closed the connection]
22:23c10l has joined #asahi-dev
22:46deteg1337 has joined #asahi-dev
22:54deteg1337 has quit [Ping timeout: 480 seconds]
23:48deteg1337 has joined #asahi-dev
23:56deteg1337 has quit [Ping timeout: 480 seconds]