#asahi-dev · 2026-08-14 17:23
svensomehow a domain leaks#asahi-dev · 2026-08-14 17:23
sventhis is going to be fun, this is something broken in core thunderbolt code i think :(#asahi-dev · 2026-08-14 16:48
svenaaand while focusing on xdomain i somehow broke device so bad that acio doesn't shut down anymore once i disconnect it again :D#asahi-dev · 2026-08-14 16:29
yukanot sure if those new crates are still somehow related to the async runtime#asahi-dev · 2026-08-14 16:28
yukachaos_princess: I think originally smol was a tcp stack and async runtime?#asahi-dev · 2026-08-14 16:22
jannauyes#asahi-dev · 2026-08-14 16:22
svendoes macos manage to establish that connection?#asahi-dev · 2026-08-14 16:21
jannauno working tbt_net, and only announced as 20gbps#asahi-dev · 2026-08-14 16:17
Rafayon every tbt connect. #asahi-dev · 2026-08-14 16:16
Rafayjannau: I have an intel controller as well and I have to power off, power on and then pci rescan to get it working. #asahi-dev · 2026-08-14 16:15
svenwtf#asahi-dev · 2026-08-14 16:15
svenlol#asahi-dev · 2026-08-14 16:15
jannauhuh, after waiting 1400 seconds the thunderbolt connection to the intel notebook is up#asahi-dev · 2026-08-14 16:03
chaos_princesswhats up with rust libraries and using "smol" in their names#asahi-dev · 2026-08-14 15:50
svenodd#asahi-dev · 2026-08-14 15:50
jannauno, just usb / xhci messages#asahi-dev · 2026-08-14 15:49
svendoes acio complain with anything in dmesg?#asahi-dev · 2026-08-14 15:48
jannauucsi_acpi reports helpfully "unknown error 0" and "UCSI_GET_PDOS failed (-5)"#asahi-dev · 2026-08-14 15:47
jannaustill doesn't connect with my intel work notebook#asahi-dev · 2026-08-14 15:46
jannauno, it wasn't particularly spammy. log file is 2.1M large and contains 2 or 3 connections#asahi-dev · 2026-08-14 15:44
svendid the tracer spam anything?#asahi-dev · 2026-08-14 15:44
svenbut that's still still surprising because i don't really trace the actual data ring#asahi-dev · 2026-08-14 15:44
svenphew#asahi-dev · 2026-08-14 15:43
jannauwithout tracing back to 7.x Gbits/sec#asahi-dev · 2026-08-14 15:42
jannauthunderbolt0 mac address and ipv4 link local address differ now#asahi-dev · 2026-08-14 15:42
svenmy suspicion is something dumb in usb4net that's only triggered on apple platforms but works fine on intel now#asahi-dev · 2026-08-14 15:41
jannauerr, with acio tracing#asahi-dev · 2026-08-14 15:41
svenuhh.. okay.. that's quite bad#asahi-dev · 2026-08-14 15:41
jannauI'm now down to 12.8 Mbits/sec for linux2linux#asahi-dev · 2026-08-14 15:38
chaos_princessin case it matters, i also tried playing with iperf configs, and neither setting the zero copy receive nor doing 9000 mtu helped#asahi-dev · 2026-08-14 15:36
svenif one of the two linux paths is bottlenecked that makes sense#asahi-dev · 2026-08-14 15:36
jannausven: I could reproduce that. additionally linux->linux had the same 7.x gpbs speed (in both directions)#asahi-dev · 2026-08-14 15:35
svenbut i'm not gonna complain!#asahi-dev · 2026-08-14 15:35
svenhuh, that's unexpected :D#asahi-dev · 2026-08-14 15:33
jannauwith the fixed router uuid tblist now reports Speed (Rx/Tx): 40/40 Gb/s for linux as well#asahi-dev · 2026-08-14 15:31
sven(or vice versa)#asahi-dev · 2026-08-14 15:31
svenjannau: he had 20 Gbps for mac->linux but 7.something for linux->mac on the same connection#asahi-dev · 2026-08-14 15:30
sveni don't think there's anything in the trace that will help speed at this point, except for lane bonding#asahi-dev · 2026-08-14 15:30
jannauthe factor 2 might be lane bonding though#asahi-dev · 2026-08-14 15:30
RafayOh. But macos sonoma itself is not getting those speeds. So maybe it could be a bug that asahi ends up reproducing since we can only trace sonoma? #asahi-dev · 2026-08-14 15:28
svenchaos' had one example where RX was >2x faster than TX so there's obviously something terribly inefficient in one of the two paths#asahi-dev · 2026-08-14 15:27
svenmight also not be all that helpful, once v1 is on the list i'll look into what slows us down#asahi-dev · 2026-08-14 15:26
svenon m2? not yet#asahi-dev · 2026-08-14 15:26
Rafaysven: This is not part of the scope, but I noticed something really weird. MacOS Sonoma with m1n1 -> Linux is getting 1.2Gb/sec and Asahi gets 500Mb/sec but then a non-m1n1 macos Tahoe gets 19/20Gbsec? Same cable, same host on the other side. Is there a way to trace that version of mac os? #asahi-dev · 2026-08-14 15:26
jannauit's helpful to look what happens on an already supported device#asahi-dev · 2026-08-14 15:25
jannauiirc the addresses from region-id-2/region-id-4 are in the mcc mmio space around the offsets. doesn't need a booted macos just m1n1.#asahi-dev · 2026-08-14 15:24
yukaalso "This can be used along with dumping the mcc reg space" I assume this does not mean dumping the mcc reg space from a booted macOS, but from m1n1? and then looking for values which would result in the carveout addresses?#asahi-dev · 2026-08-14 15:23
yukawhy would I need a booted macos for looking at a DT node otherwise#asahi-dev · 2026-08-14 15:22
yukadoes macOS modify the adt during boot?