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:32schappi2610[m]Fixing A2DP stutter on Apple Silicon with a tiny systemd service... (full message at <https://matrix.org/oftc/media/v1/media/download/AfGLU8bfJFCGvLOIboNO6s_8x_e_XVEcXG7yIJFXHdcR9FWeNM1qmsCKPzJhdcmIVnVVV21KxBdxEGvh6gGlwM9Cehzj4gnAAG1hdHJpeC5vcmcvSWJQZEFRblphZHRsdmxPZEJFZkFwa05M>)
05:32mattia013 has joined #asahi-dev
05:32schappi2610[m]'code'
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
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: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:50zawg has quit [Ping timeout: 480 seconds]
09:04vimproved_ has joined #asahi-dev
09:06vimproved has quit [Ping timeout: 480 seconds]
09:07vimproved_ is now known as vimproved
09:18chaos_princesspmp_assist can now decode the bw-scratch
09:20zawg has joined #asahi-dev
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: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:49zawg has joined #asahi-dev
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: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: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:52lacamar has joined #asahi-dev
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:41snooze6214[m]Does anyone know how rorgn_begin and rorgn_end are set under SPTM? (referenced here https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/osfmk/kern/zalloc.c#L6518)... (full message at <https://matrix.org/oftc/media/v1/media/download/AZQLmArQASkYF-UWY0ViR_bPis2IW9NKVHoTeec1g13Uxbu0g0-FlCHZvCj58HdOqCvurwmpZLWi-v7l-BKGzyRCeh0UfI8wAG1hdHJpeC5vcmcvVllLcmhKTlhIVGpHRkNRRVpidEFVVUdh>)
19:43aissen_ has joined #asahi-dev
19:43aissen has quit [Read error: Connection reset by peer]
19:48hardy94 has quit [Remote host closed the connection]
19:49snooze6214[m]i see
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: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:14snooze6214[m]sven: this seems shady no?... (full message at <https://matrix.org/oftc/media/v1/media/download/AXgXBRz1Kk8OaZclF3T-RNZfQMVWIt4W5vpSlSNEbSJkcyRhlp6pZIFhYkVwgdHLePz7mDCrvGaX6ODqgJVxOa9Ceh0WW49AAG1hdHJpeC5vcmcvaFRITkZha3VueFJnbFB3WnFaT21nb3Za>)
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:17snooze6214[m]aah makes sense, because sptm is expecting xnu to be running in el1?
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: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: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:21snooze6214[m]makes sense, cool :)
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: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
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:14snooze6214[m]like a boot arg?
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: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]