2026-10-27
00:04ddxtanx has joined #asahi-dev
00:17agball has quit [Remote host closed the connection]
00:18agball has joined #asahi-dev
00:31DarkShadow44 has quit []
00:31DarkShadow44 has joined #asahi-dev
01:11agball has quit [Read error: Connection reset by peer]
01:16agball has joined #asahi-dev
01:24agball has quit [Ping timeout: 480 seconds]
01:32fatcullen has joined #asahi-dev
01:34agball has joined #asahi-dev
01:48hardy94 has quit [Remote host closed the connection]
03:00yurix has quit [Remote host closed the connection]
03:00yurix has joined #asahi-dev
03:26fatcullen has quit [Quit: This computer has gone to sleep]
03:32bgb has quit [Remote host closed the connection]
03:38bgb has joined #asahi-dev
03:40fatcullen has joined #asahi-dev
04:12mripard has quit [Remote host closed the connection]
04:13mripard has joined #asahi-dev
04:16weirdtreething has quit [Remote host closed the connection]
04:17weirdtreething has joined #asahi-dev
04:34fatcullen has quit [Quit: This computer has gone to sleep]
04:37bgb has quit [Remote host closed the connection]
04:42bgb has joined #asahi-dev
04:48bgb has quit [Remote host closed the connection]
05:03nora_ has joined #asahi-dev
05:04fatcullen has joined #asahi-dev
05:04nora has quit [Ping timeout: 480 seconds]
05:08ohxorud_ has joined #asahi-dev
05:11ohxorud has quit [Ping timeout: 480 seconds]
05:12ohxorud_ is now known as ohxorud
05:13smpzwtifu has joined #asahi-dev
05:14smpzwtifu has quit []
05:15smpgurqym has joined #asahi-dev
05:24fatcullen has quit [Quit: This computer has gone to sleep]
05:25fatcullen has joined #asahi-dev
05:26fatcullen has quit []
05:30smpgurqym has quit []
05:43bgb has joined #asahi-dev
06:16JamesCalligeros[m]Hacking on m1n1?
06:16yukataking a snapshot of m1n1 or linux from somewhere (without annotating or remember which revision it was) and committing it fresh to their own repo
06:17JamesCalligeros[m]Yeah its silly
06:17JamesCalligeros[m]Submodules exist for a reason
06:18yukait's also shitty in terms of attribution _and_ worse to work with in terms of pulling updated versions
06:20yukaSebastian[m]1 the device tree in your repo is borked, pull the latest linux-next and cherry-pick the device tree commit j_annau linked
06:22sven has quit [Quit: The Lounge - https://thelounge.chat]
06:23sven has joined #asahi-dev
06:23JamesCalligeros[m]As we are unfortunately all too aware of, sometimes the intention is to obfuscate and erase attribution in the first instance so yknow
06:27bgb has quit [Remote host closed the connection]
06:27yukathere was another person doing the same also with the base m5 device trees, I told them multiple times to just make put their changes on top of my commits so that I could see what they changed, but they kept manually editing the files to apply my latest progress instead (sometimes making mistakes in the process)
06:28JamesCalligeros[m]That seems at least partially deliberate to me
06:28JamesCalligeros[m]Or at the very least wilfully ignorant
06:29yukabut when people come here to irc, I tend to think they have good intentions and just don't know better
06:33bgb has joined #asahi-dev
07:03yukaIn other news, I got two fingerbots so I can finally remote into the dev setup home and also install new boot objects
07:06yukaStill need to figure out which device to attach everything to, I'm slowly losing laptops again for various reasons
07:11bchain99 has joined #asahi-dev
07:12chadmedi had a guava monster at 1:30 pm in preparation for trying to get some stuff over the line tonight
07:14agball has quit [Ping timeout: 480 seconds]
07:20mattia013 has quit [Quit: mattia013]
07:20svenI think I'm gonna open up my Mac mini and just solder to wherever the power button is connected and hook it up to a rp pico or something like that then
07:20mattia013 has joined #asahi-dev
07:21yukaof course does not allow installing custom boot objects but at least recovering from most breakages
07:22svenno idea. it just always did that and then stopped at some point and I haven't bothered to figure out why
07:22agball has joined #asahi-dev
07:24bgb has quit [Remote host closed the connection]
07:29jannaudoesn't look like m4 mac mini would need soldering. you can remove it and have two nice contacts: https://support.apple.com/en-us/120996
07:30bgb has joined #asahi-dev
08:20bit_runner80 has joined #asahi-dev
08:21yukaOUTBOX_CTRL = 0x20001 (FIFOCNT=0x0, OVERFLOW=0, EMPTY=1, FULL=0, RPTR=0x0, WPTR=0x0, ENABLE=1) (macOS only)
08:25yukathe OUTBOX_CTRL difference looks most sus to me, but maybe linux reads it and finds it already has the correct value?
08:31jannauI think the OUTBOX_CTRL difference exists in 12.x and 13.x as well and for other co-procs as well. I don't think it's the problem if you can start endpoints and get messages back from dcp
08:32bchain99 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:33chaos_princessiirc outbox ctrl is already set to the correct value
08:33chaos_princessbut please re-check
08:35Bhyve has joined #asahi-dev
08:36bit_runner80 has quit [Remote host closed the connection]
08:42agball has quit [Ping timeout: 480 seconds]
08:52agball has joined #asahi-dev
08:58bchain99 has joined #asahi-dev
09:01bgb has quit [Remote host closed the connection]
09:05aditya has joined #asahi-dev
09:07bgb has joined #asahi-dev
09:08snooze6214[m]yuka: you mentioned device mode would work on the mb neo if it's using usb 3 right? how hard is it to implement this for someone who's new to this?
09:10myriahttps://docs.google.com/spreadsheets/d/14wlj1sbkqplcxlUPqWSno1v4XaCQdzX9XCfqX76ytuQ/edit?usp=sharing
09:11svensnooze6214[m]: it would be very annoying and tedious since it requires atcphy bringup inside m1n1
09:12snooze6214[m]hmm okay, thanks, I'll take a look
09:13svenI think you also need to adjust the dwc3 acm cdc stuff a bit to make use of usb3 packet sizes
09:13yukamaybe it's not as annoying as you think because it requires only one specific configuration
09:14svenhrm, true. you probably only need to get cable orientation from the pd controller and that's just a single mmio write inside atcphy iirc
09:15svenand you can skip all the DP mess. and I guess you don't need to take of synchronization between dwc3 and atcphy since we control all of that anyway
09:16chaos_princessneo has a different kext
09:17snooze6214[m]Oh the existing driver on linux won't work on the neo?
09:19yukaYes I also had the thought or generally even just splitting out the serial while still being able to connect a usb3 cable
09:20chaos_princessis someone willing to sacrifice a neo with a risk of potential damage?
09:29yuka> [syslog] * [MMailboxHandler.cpp:270]void PCC2DBLMMailboxHandler::eventq_callback_notify_gated(uint32_t): busy descriptor, dropping
09:34yukajannau: can you elaborate? do you mean the latest syslog message I pasted or the buffer size?
09:37jannauthe syslog message sounds familiar and if it is what I remember caused by not acking messages from dcp
09:38jannauwhat happens with the odd buffer size? does the driver just give up or does it align the size and return?
09:45jannauany significant differences in linux / macos m1n1.fw.dcp.parse_log output except that the linux one stops at some point?
09:47jannauMichaelReeves[m]: any luck with rebasing the downstream wifi branch on your upstream submission?
09:59jannauthey stopped with the ipad nonsense for t8112 and t6030 uses a different firmware than max/ultra: t6030dcp.im4p vs t603xdcp.im4p
10:01agball has quit [Ping timeout: 480 seconds]
10:06jannauyuka: please verify that linux mapped something at 0xfffe00000 in dart-dcp stream 0. something like `dart_dcp_tracer.dart.dump_device(0)` in the HV shell
10:07yukadev 00: TCR=0x701 (REMAP=0x7, REMAP_EN=0, FOUR_LEVELS=0, BYPASS_DAPF=0, BYPASS_DART=0, TRANSLATE_ENABLE=1) TTBR = 0x2c (ADDR=0xb, VALID=0)
10:09agball has joined #asahi-dev
10:10mattia013_ has joined #asahi-dev
10:13waltmck has quit [Remote host closed the connection]
10:14mattia013 has quit [Ping timeout: 480 seconds]
10:14mattia013_ is now known as mattia013
10:14nodscher[m]Was gibt’s?
10:17agball has quit [Ping timeout: 480 seconds]
10:23jannauI'd expect that all the mailboxes ASCWrap v6 beghave in the same way. it's probably not necessary for DCP because iboot already did that
10:24jannauif the mailbox were the cause of the issue I'd expect it to either not work at all or fail earlier
10:24yukais what I get with https://github.com/a-ramses/linux/commit/0c86e11dd569bd66429c273ba1fea4e906d24e6d
10:24agball has joined #asahi-dev
10:25waltmck has joined #asahi-dev
10:31chaos_princessis it the same dcp that is used for boot framebuffer?
10:32chaos_princessmaybe try disabling m1n1 boot fb?
10:33jannaum1n1 doesn't touch dcp on devices with internal panel (ignoring the broken m1/m2 dcp firmware workaround)
10:36agball has quit [Ping timeout: 480 seconds]
10:44agball has joined #asahi-dev
10:47jannauhow did we decode "remap = 0x50700000506" again? dcp is probably missing iommus on m3 max. it probably should be "iommus = <&dcp_dart 5>, <&dcp_dart 6>, <&dcp_dart 7>;"
10:48mattia013 has quit [Ping timeout: 480 seconds]
10:52agball has quit [Ping timeout: 480 seconds]
11:00agball has joined #asahi-dev
11:03chaos_princesswhat happens if you do a stupid and put it into every single stream
11:08agball has quit [Ping timeout: 480 seconds]
11:14aditya has quit [Quit: Connection closed for inactivity]
11:17agball has joined #asahi-dev
11:26agball has quit [Ping timeout: 480 seconds]
11:42JamesCalligeros[m]fw crash?
11:43agball has joined #asahi-dev
11:46fatcullen has joined #asahi-dev
11:52agball has quit [Ping timeout: 480 seconds]
11:55berry[m] is now known as Cherubi[m]
11:59agball has joined #asahi-dev
12:03fatcullen has quit [Quit: This computer has gone to sleep]
12:04Cherubi[m] is now known as Kaksmularen[m]
12:08agball has quit [Ping timeout: 480 seconds]
12:11s0ullight[m] has joined #asahi-dev
12:11krnlyng[m] has joined #asahi-dev
12:15agball has joined #asahi-dev
12:21bchain99 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:27fatcullen has joined #asahi-dev
12:30agball has quit [Ping timeout: 480 seconds]
12:46agball has joined #asahi-dev
12:54agball has quit [Ping timeout: 480 seconds]
12:54Bhyve has quit []
12:57fatcullen has quit [Quit: This computer has gone to sleep]
13:02agball has joined #asahi-dev
13:08yukachaos_princess: since you mentioned it, should the boot framebuffer still work after the failed dcp init?
13:10agball has quit [Ping timeout: 480 seconds]
13:18jannaubase m6 macbook pro/iMac, nothing new except 2.5 Gbps ethernet for the imac (and apple N1 wifi/bt) if I'm not mistaken
13:20agball has joined #asahi-dev
13:29agball has quit [Ping timeout: 480 seconds]
13:31j`eyyuka: I was just wondering if you debugging something m5 related, since you posted the patches earlier
13:34chaos_princessyuka: i don't remember, but iirc it disappeared
13:35bgb has quit [Remote host closed the connection]
13:37agball has joined #asahi-dev
13:41bgb has joined #asahi-dev
13:44jbx2k has joined #asahi-dev
13:46jbx2k has quit [Remote host closed the connection]
13:46agball has quit [Ping timeout: 480 seconds]
13:46agball has joined #asahi-dev
13:47bchain99 has joined #asahi-dev
13:51jannauthe dcp crash on t8122 is odd. either something unmaps holes into dcp's main shmem or dma_map_resource() maps display register into it
13:58bchain99 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:10bchain99 has joined #asahi-dev
14:25picnoir has joined #asahi-dev
14:42jannausven: can you think of anything which could cause: "t8110dart.c:1283 Assertion failed: dram_base == 0x800000000ULL || dram_base == 0x10000000000ULL". macos 14.8.3 on t8122/m3
14:44Bhyve has joined #asahi-dev
15:00jannauyes. I assume it's the ADT property "/chosen/dram-base" but that's 0x10000000000ULL in the HV's ADT. same for hv.ram_base
15:03jannaumaybe my fault, increased the heap in run_guest.py quite a bit to load initramfs with modules and debug symbols
15:07jannauI bumped the heap to 428MB. I guess I'll add a command line parameter so that run_guest_kernel.sh can request a size for my huge boot images
15:09agball has quit [Ping timeout: 480 seconds]
15:17agball has joined #asahi-dev
15:24DarkShadow4444 has joined #asahi-dev
15:24DarkShadow44 has quit [Read error: Connection reset by peer]
15:26agball has quit [Ping timeout: 480 seconds]
15:30agball has joined #asahi-dev
15:32PenelopeGwen[mds] has joined #asahi-dev
15:36DarkShadow4444 has quit [Read error: Connection reset by peer]
15:37DarkShadow44 has joined #asahi-dev
15:38agball has quit [Ping timeout: 480 seconds]
15:39bgb has quit [Remote host closed the connection]
15:44bgb has joined #asahi-dev
15:46agball has joined #asahi-dev
15:54agball has quit [Ping timeout: 480 seconds]
16:03agball has joined #asahi-dev
16:15svenyuka: https://github.com/AsahiLinux/m1n1/pull/742/changes/98a0e98d139da43f282a1b6a12c43ccbf8e00d7b has fixed the hangs after I login fwiw
16:37denice68 has joined #asahi-dev
16:38mixi[m] has joined #asahi-dev
16:38denice68 has quit [Read error: Connection reset by peer]
16:48agball has quit [Ping timeout: 480 seconds]
16:53ipatch has quit [Quit: WeeChat 4.10.1]
16:54denice68 has joined #asahi-dev
16:54denice68 has quit [Read error: Connection reset by peer]
16:54ipatch has joined #asahi-dev
16:56agball has joined #asahi-dev
17:04bchain99 has quit [Quit: Textual IRC Client: www.textualapp.com]
17:08mattia013 has joined #asahi-dev
17:11tbodt has quit []
17:11tbodt has joined #asahi-dev
17:15chaos_princesswhat if you break into hv while in macos and do a dump of that dart, is it weird in some way?
17:29jannaudcp on t8122 is working, not sure if I ned to add compatible or DCP FW versions checks to dcpep_cb_map_reg(). t8122 / 14.7.0 doesn't need the registers mapped but expects the mmio address as dva back
17:45rany has quit [Remote host closed the connection]
17:46rany has joined #asahi-dev
17:46Bhyve has quit []
18:06bgb has quit [Remote host closed the connection]
18:11bgb has joined #asahi-dev
18:24umo has joined #asahi-dev
18:59agball has quit [Read error: Connection reset by peer]
19:22hardy94 has joined #asahi-dev
19:34jannauyuka: does t6034 boot macos somewhat relieable under the hypervisor? Any special boot flags or patches? t6031 panics somewhat reliably due to 2-3 timeouts
19:34tryhard[m]jannau: maybe thats something that they got from the duo?
19:52___nick___ has joined #asahi-dev
19:57bgb has quit [Remote host closed the connection]
20:00kraem is now known as Guest4083
20:00kraem has joined #asahi-dev
20:02Guest4083 has quit [Ping timeout: 480 seconds]
20:03bgb has joined #asahi-dev
20:12jcbm has quit [Read error: Connection reset by peer]
20:13oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
20:14jcbm has joined #asahi-dev
20:19oliver has joined #asahi-dev
20:27chaos_princessprobably 14.x specific
20:36___nick___ has quit [Ping timeout: 480 seconds]
20:55agball has joined #asahi-dev
21:02fatcullen has joined #asahi-dev
21:17mattia013 has quit [Quit: mattia013]
21:26jannauI've fixed experiments/dcp.py enough to work to get to the same point as the linux driver.
21:28jannauthe firmware answers the SetShmem init call with 0x140 which to my best guess is an error return
21:29fatcullen has quit [Quit: This computer has gone to sleep]
21:31jannau0x__0 is type DCPEp_SetShmem, 0x_4_ is flag which was sent. 0x1__ is unknown. since we haven't seen DCPEp_SetShmem messages from DCP I guess it's an error
21:41JamesCalligeros[m]Is this still only failing on m3 max
21:54jannauI think the most important "fixes" are `iova_range` for dart-dcp and `stream=5` for the DCPClient
22:28tobhe has joined #asahi-dev
22:46agball has quit [Remote host closed the connection]
22:48fatcullen has joined #asahi-dev
23:35fatcullen has quit [Quit: This computer has gone to sleep]