#
…

2026-10-29

00:09iwuvmika has quit [Ping timeout: 480 seconds]
00:12hardy94 has quit [Remote host closed the connection]
00:18amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:20runxiyu_ has quit []
00:21runxiyu_ has joined #asahi-dev
00:23amarioguy has joined #asahi-dev
00:25iwuvmika has joined #asahi-dev
00:38amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:42amarioguy has joined #asahi-dev
01:41Bhyve has joined #asahi-dev
01:47zawg has joined #asahi-dev
01:50amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:52bit_runner80 has joined #asahi-dev
02:00ciara has quit [Remote host closed the connection]
02:10bit_runner80 has quit [Read error: Connection reset by peer]
02:13ciara has joined #asahi-dev
02:43fatcullen has joined #asahi-dev
02:56linkmauve has quit [Remote host closed the connection]
03:00yurix has quit [Remote host closed the connection]
03:00yurix has joined #asahi-dev
03:01linkmauve has joined #asahi-dev
03:17Yushi has quit [Remote host closed the connection]
03:18Yushi has joined #asahi-dev
03:30Bhyve_ has joined #asahi-dev
03:30nora_ has joined #asahi-dev
03:32nora has quit [Ping timeout: 480 seconds]
03:34Bhyve has quit [Ping timeout: 480 seconds]
03:40myriaIs there some m1n1 changes I need to pull for M3 dcp? Just testing asahi-wip on my laptop and can't get brightness control
03:46zawg has quit [Read error: Connection timed out]
03:51Bhyve_ has quit []
03:54tobhe has joined #asahi-dev
04:01tobhe_ has quit [Ping timeout: 480 seconds]
04:02fatcullen has quit [Quit: This computer has gone to sleep]
04:27nora has joined #asahi-dev
04:29nora_ has quit [Ping timeout: 480 seconds]
04:30zawg has joined #asahi-dev
04:33fatcullen has joined #asahi-dev
04:36fatcullen has quit []
04:38zawg has quit [Ping timeout: 480 seconds]
04:39zawg has joined #asahi-dev
04:55zawg has quit [Ping timeout: 480 seconds]
04:58zawg has joined #asahi-dev
05:07ddxtanx has joined #asahi-dev
05:26zawg has quit [Ping timeout: 480 seconds]
05:31mattia013 has quit [Quit: mattia013]
05:32mattia013 has joined #asahi-dev
05:36zawg has joined #asahi-dev
05:39jmax[m]I thought there's been a kernel patch for this in asahi-wip (and upstream?) for a long time now
05:44zawg has quit [Ping timeout: 480 seconds]
05:52zawg has joined #asahi-dev
05:58myriaYes, downstream it's there locked behind CONFIG_BT_BRCMEXT=y, and upstream there's the patch at https://lore.kernel.org/asahi/20260525-brcm-prio-v3-1-6259e10233f8@chaosmail.tech/
05:58KimTalmo has joined #asahi-dev
05:58myriaJust hasn't been picked up yet, and likely needs a new version
06:03zawg has quit [Ping timeout: 480 seconds]
06:03zawg has joined #asahi-dev
06:22JamesCalligeros[m]Ugh did anyone notice that the new mbp has rounded bottom corners too
06:22JamesCalligeros[m]Genuinely wtf are they even doing
06:23JamesCalligeros[m]Wheres that screen geometry/occlusion protocol at these days
06:37Finxx[mds] has joined #asahi-dev
06:41zawg has quit [Ping timeout: 480 seconds]
06:50zawg has joined #asahi-dev
06:54umo has quit [Remote host closed the connection]
06:54umo has joined #asahi-dev
07:06zawg has quit [Ping timeout: 480 seconds]
07:09iwuvmika has quit [Remote host closed the connection]
07:15umo has quit [Remote host closed the connection]
07:15umo has joined #asahi-dev
07:30umo has quit [Remote host closed the connection]
07:30zawg has joined #asahi-dev
07:31umo has joined #asahi-dev
07:32jannaumyria: yes, for testing I'm using https://paste.debian.net/hidden/71501ef0
07:33jannauI plan to rewrite that code though
07:36bgb has quit [Remote host closed the connection]
07:39junefish has quit [Remote host closed the connection]
07:39junefish has joined #asahi-dev
07:39zawg has quit [Ping timeout: 480 seconds]
07:43bgb has joined #asahi-dev
07:49zawg has joined #asahi-dev
08:00Faelar[m]<JamesCalligeros[m]> "Genuinely wtf are they even..." <- inb4 the bottom notch dell nosecam style...
08:00bgb has quit [Remote host closed the connection]
08:01bgb has joined #asahi-dev
08:02zawg has quit [Ping timeout: 480 seconds]
08:06sofusjannau: i think the dcp/dcpext nodes on t6030 are missing a reg entry. This might also be the reason you dont see a crash
08:42zawg has joined #asahi-dev
08:44vimproved has quit [Remote host closed the connection]
08:45vimproved has joined #asahi-dev
08:49jannausofus: not sure if I follow. on t6030 I don't see any map register callbacks from the firmware
08:49jannauI however see "IOMFBStatus IOMFB::UPPipeDCP_H13P::rt_bandwidth_setup(): Couldn't map PMP Scratch registers." in syslog suggesting that there might be something wrong
08:50sofushuh. I see 'attempted to read invalid reg index 5'
08:50zawg has quit [Ping timeout: 480 seconds]
08:51jannauah, yes. I see that as well
08:52sofusin the adt there are two of the 0x690000 regs
08:56jannauI wonder if we should interpret "5" as enum value
08:59sofusiirc i got the bw-scratch index and reg from tracing macos
08:59sofuswould it be that weird if there was 5 disp regs?
09:00jannauthe adt has only 2 regs
09:01jannauerr, I need to look as disp0
09:04vimproved_ has joined #asahi-dev
09:06vimproved has quit [Ping timeout: 480 seconds]
09:07vimproved_ is now known as vimproved
09:09jannaustill not seing a crash with that fixed and t6031 dts looks correct
09:14sofussorry. I dont see a crash either...
09:16sofusI should not be allowed anywhere near a dt file :p
09:18chaos_princesspmp_assist can now decode the bw-scratch
09:18jannauthe fedora niri session is unfortunately non-functional
09:20jannauwe should move/rename the pmgr_dcp into something PMP related
09:20zawg has joined #asahi-dev
09:21yukaI'm still fighting github
09:27myriaoops, sorry, mistype
09:33break_security[m] has joined #asahi-dev
09:36zawg has quit [Ping timeout: 480 seconds]
09:56umo has quit [Remote host closed the connection]
09:57umo has joined #asahi-dev
09:57zawg has joined #asahi-dev
10:06zawg has quit [Ping timeout: 480 seconds]
10:29amarioguy has joined #asahi-dev
10:31tryhard[m]they ran out of ideas basically
10:31tryhard[m]uh sry apparently i didn't jump to the bottom of the channel...
10:31tryhard[m]<JamesCalligeros[m]> "Ugh did anyone notice that the..." <- i was answering this
10:34chaos_princesspeople should realize that running out of ideas is fine. We have already reached "peak laptop" and "peak slate phone", just refresh the chips every so often.
10:37JamesCalligeros[m]Maybe when they make having an MBA illegal we will get company leadership that thinks like this
10:41yukajannau the branch you pushed still has dcpext aliases
10:42Bhyve has joined #asahi-dev
10:45MichaelReeves[m]I read that as "MacBook Air" instead of "master of business ..." lol
10:45tryhard[m]chaos_princess: not for a big company
10:46tryhard[m]900$ more over the regular pro for some xdr display
10:46yukaMichaelReeves[m] same
10:46yukaok running new asahi-wip now on M3 let's see if the DCP crashes on sleep
10:47jannauyuka: fixed. not sure if I forgot or accidentally dropped it
10:49zawg has joined #asahi-dev
10:49yukadoes not crash!
10:49yukalet's try suspend
10:50yukaworks!
10:55chadmedlets gooo
10:57zawg has quit [Ping timeout: 480 seconds]
11:08halloy2736 has joined #asahi-dev
11:40mattia013 has quit [Quit: mattia013]
11:41mattia013 has joined #asahi-dev
11:41mattia013 has quit []
11:41zawg has joined #asahi-dev
11:49zawg has quit [Ping timeout: 480 seconds]
11:54amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:13zawg has joined #asahi-dev
12:22zawg has quit [Ping timeout: 480 seconds]
12:31fatcullen has joined #asahi-dev
12:40umo has quit [Remote host closed the connection]
12:41umo has joined #asahi-dev
12:42KimTalmo has quit [Remote host closed the connection]
12:56fatcullen has quit [Quit: This computer has gone to sleep]
13:14Bhyve has quit []
13:24chaos_princessjannau: syntax error in t6030.dtsi -> pmp_bw_scratch, missing semicolon at the end
13:26jannaufixed, thanks
13:27BlueMatt_ has joined #asahi-dev
13:31zawg has joined #asahi-dev
13:32BlueMatt has quit [Ping timeout: 480 seconds]
13:39Lyude has quit [Quit: Bouncer restarting]
13:40zawg has quit [Ping timeout: 480 seconds]
13:45amarioguy has joined #asahi-dev
13:50zawg has joined #asahi-dev
13:51iwuvmika has joined #asahi-dev
13:55amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:02zawg has quit [Ping timeout: 480 seconds]
14:15umo has quit [Remote host closed the connection]
14:15umo has joined #asahi-dev
14:20ralim87 has joined #asahi-dev
14:25ralim8 has quit [Ping timeout: 480 seconds]
14:25ralim87 is now known as ralim8
14:28zawg has joined #asahi-dev
14:36zawg has quit [Ping timeout: 480 seconds]
14:59zawg has joined #asahi-dev
15:03Bhyve has joined #asahi-dev
15:08zawg has quit [Ping timeout: 480 seconds]
15:37amarioguy has joined #asahi-dev
15:46halloy2736 has quit [Remote host closed the connection]
15:53halloy2736 has joined #asahi-dev
15:55zawg has joined #asahi-dev
15:59svenhrm, looks like the xml format in the latest AARCHMRS has somehow changed and reg2json.py doesn't work anymore :/
15:59amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:01Bhyve has quit []
16:04zawg has quit [Ping timeout: 480 seconds]
16:12zawg has joined #asahi-dev
16:19chadmed has quit [Read error: Connection reset by peer]
16:19chadmed has joined #asahi-dev
16:25halloy2736 has quit [Remote host closed the connection]
16:48Z750 has joined #asahi-dev
16:51hdbngr has quit [Ping timeout: 480 seconds]
16:54hdbngr has joined #asahi-dev
16:56tellowkrinkle has quit [Remote host closed the connection]
16:58tellowkrinkle has joined #asahi-dev
17:01Bhyve has joined #asahi-dev
17:11hdbngr has quit [Remote host closed the connection]
17:11hdbngr has joined #asahi-dev
17:22yukadispext darts need the ps_dispext0_fe power state
17:22yukaon t603[124]
17:22yuka*ps_dcpext0_fe
17:22yukaah no the first was correct
17:23yukaI'm trying to get hdmi working
17:24yukait now boots without crashing, should theoretically have probed dcpext0 etc. but nothing happens when I plug in hdmi
17:28mattia013 has joined #asahi-dev
17:38chadmed has quit [Quit: Konversation terminated!]
17:38chadmed has joined #asahi-dev
17:41bgb has quit [Remote host closed the connection]
17:42bgb has joined #asahi-dev
17:47fugi5 has joined #asahi-dev
17:51lacamar has quit [Quit: ZNC 1.10.2 - https://znc.in]
17:51yukaI also adjusted the gpios. the function-hdmi_hpd now points to pinctrl_aop
17:52lacamar has joined #asahi-dev
18:05yukafor some reason m1n1 deletes atcphy3?
18:18rosalyntg has quit [Read error: Connection reset by peer]
18:18rosalyntg has joined #asahi-dev
18:20hardy94 has joined #asahi-dev
18:29amarioguy has joined #asahi-dev
18:30amarioguy has quit []
18:51ipatch has quit [Quit: WeeChat 4.10.1]
18:55ipatch has joined #asahi-dev
19:09iwuvmika has quit [Ping timeout: 480 seconds]
19:14amarioguy has joined #asahi-dev
19:20iwuvmika has joined #asahi-dev
19:43aissen_ has joined #asahi-dev
19:43aissen has quit [Read error: Connection reset by peer]
19:45svenhm, so i guess that 0x0 - 0xfff is the issue? i.e. that's what it thinks is the ro region?
19:46svenroregion kinda sounds like CTRR, but why would it allocate read-only memory?!
19:48hardy94 has quit [Remote host closed the connection]
19:48snooze6214[m]honestly, not sure :( also is CTRR related to this: https://blog.siguza.net/KTRR/
19:49svenit's a newer version of that i think
19:49svenit's a bunch of sysregs that make a memory region read-only
19:50sventhere's also CTXR but i'm not sure what it does, the sysregs look more complex than the CTRR ones at least
19:53amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:53amarioguy has joined #asahi-dev
19:55sveni'd add printfs for reading/writing any of the CTRR {A,B,C,D} sysregs
19:55svenjust add the printfs to VREG_MASKED_ALIAS
19:55svenand then see what's being written and read
19:57xal has quit [Remote host closed the connection]
19:58xal has joined #asahi-dev
20:00xal has quit [Remote host closed the connection]
20:02Bhyve has quit []
20:02snooze6214[m]ack, makes sense
20:14svenoh.... yes
20:14sven*sigh*
20:15svenso i guess XNU reads the _EL2 variants while SPTM writes to the _EL1 variants which on real hardware get aliased to the _EL2 ones
20:15svenwhich i don't do in the emulator because i'm cutting every corner i can :D
20:17snooze6214[m]aah makes sense, because sptm is expecting xnu to be running in el1?
20:17svenSPTM is running in GL2 and XNU in EL2 usually
20:17snooze6214[m]oh right, my bad
20:17svenon arm if a bit in HCR is set (which is always set on Apple hardware) and if you're running in EL2 *every* access to a _EL1 reg is forwarded to the _EL2 reg instead
20:18svenwith that you can run the same code in EL1 and EL2 and it just works out
20:18sventhat's also the reason the _EL12 regs exist: they're used to actually access the EL1 reg when you're running in EL2
20:19svenHCR_EL2.E2H
20:19svenand well... sprr.c doesn't emulate that correctly :D
20:20sveni think the easiest hack is to just replaced the separate _EL1 CTRR_D sysregs with VREG_MASK_ALIAS(.._EL2, ..._EL1, ~0xfff)
20:21snooze6214[m]ah so when HCR_EL2.E2H and you want to access the actual EL1 registerm you use the _EL12 registers?
20:21sventhat's not correct either but that entire file is a big hack
20:21snooze6214[m]makes sense, cool :)
20:21svener, *replace the _EL2 CTRR sysregs with
20:22sventhen when XNU tries to read them it'll see the _EL1 stuff SPTM wrote (which again is not what happens on real HW and will maybe bite us in the future, but getting this correct is more annoying I think when we don't even know if this is the problem)
20:26amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:27snooze6214[m]eyyyy! progress!!! still a panic, but progress xD i think that totally worked :)
20:27snooze6214[m]TTY> panic(cpu 5 caller 0xfffffe003d97b624): zalloc_ro_mut failed: source (0xfffffe0038ca5290, phys 0x1001b40d290) not from RO zone map (0xfffffe16dc000000 - 0xfffffe1976000000), current stack (0xfffffecdf39a8000 - 0xfffffecdf39ac000) or const memory (phys 0x10017dec000 - 0x10017decfff) @zalloc.c:6733
20:28svendid you add the alias for both upper and lower?
20:28svenit looks like the size is still 0xfff which seems wrong
20:28minecrell has quit [Read error: Connection reset by peer]
20:29snooze6214[m]oops that my bad. i added alias for both, but i used HV_VREG_CTRR_D_LWR_EL1 for shadow for both :')
20:30minecrell has joined #asahi-dev
20:32snooze6214[m]we no longer panic \o/ now i have a sync exception when another cpu starts, ill take a look
20:34sventhe proper fix would be to make the EL2 index the actual storage and make the EL1 ones alias to that but I think that's quite a big change. I'd just keep the hack
20:34svenespecially because I change the way _EL12 is handled for secure kernel anyway
21:07snooze6214[m]sven: okay... idk what happend last time but now, i ran run_guest again and this time there was no exception lol. no panics either :) seems like xnu is running, but the screen is still stuck at the loading screen. https... (full message at <https://matrix.org/oftc/media/v1/media/download/AaLMXmnvi6rC-rNp1n1p-H1EdHLL0hoOoz7GDsp-tWT32x2HnjEnTfY6C5Y16LJ203kOPOUh0HKLEdenkl0o0HZCeh0ZZvZgAG1hdHJpeC5vcmcvdXNYR3VVeXRWbUNzeU5ja2VjVFFUSkls>)
21:09svenyeah, tight beam is secure kernel stuff. let me look into the logs, there might be a way to bypass that
21:09chaos_princessyes, neo has SK
21:13svencan't find it anymore :(
21:13svensomeone mentioned some command that allows you disable some part of exlaves
21:14snooze6214[m]like a boot arg?
21:16yukathe caenablemedina thing?
21:16svenyeah, that!
21:17yukaalso macOS 26.x vs 27.0 might make a difference
21:17sveneither try that or wait until the weekend when i'll open the exclaves support PR
21:18svendefaults write "com.apple.coreanimation" CAEnableMedina -bool false
21:18snooze6214[m]yep sure! thanks for all the help + all your work, this is sick :)
21:30fossdd has quit [Remote host closed the connection]
21:31fossdd has joined #asahi-dev
21:43iwuvmika has quit [Ping timeout: 480 seconds]
22:15iwuvmika has joined #asahi-dev
22:48mattia013 has quit [Quit: mattia013]
23:05nicolas17huh interesting
23:05nicolas17I hadn't seen the codename Medina before
23:06nicolas17...wait, exclaves + coreanimation? odd for those to be related
23:07chaos_princessit is drawing the camera indicator
23:08JamesCalligeros[m]there's corresponding strings in dcp fw too
23:09chadmed has quit [Quit: Konversation terminated!]
23:09chadmed has joined #asahi-dev
23:09nicolas17in my ideal world when someone says "I stumbled upon 'Medina' in strings, what the heck is this" they can simply look at https://theapplewiki.com/wiki/Codenames :D
23:13kennw has quit [Remote host closed the connection]
23:13kennw has joined #asahi-dev
23:29iwuvmika_ has joined #asahi-dev
23:34iwuvmika has quit [Ping timeout: 480 seconds]
…