#asahi-dev · 2023-01-20 13:53
svenI don't think I want to know ;)#asahi-dev · 2023-01-20 13:52
mazmakes you wonder what sort of glue they used to put this contraption together...#asahi-dev · 2023-01-20 13:52
sventhe ohci/ehci controllers in this old thunderbolt display work fine e.g.#asahi-dev · 2023-01-20 13:52
svenit only happens with that bcm device so far#asahi-dev · 2023-01-20 13:51
chadmed_mkurz: itll get there soon enough, better to release something that works reliably than a hacky janky mess#asahi-dev · 2023-01-20 13:51
svenyeah, it sounds like something is still a bit broken. no idea what exactly though#asahi-dev · 2023-01-20 13:50
mazsven: tg3 is a horrible driver (to be fair, most bcm drivers are like that). the -1 returns are pretty worrying though.#asahi-dev · 2023-01-20 13:50
mkurzchadmed_: Sad :(#asahi-dev · 2023-01-20 13:50
chadmed_no, hence why HDMI Out on the feature page is WIP #asahi-dev · 2023-01-20 13:50
mkurzchadmed_: OK, got it. So currently it is not possible to connect a external display/beamer?#asahi-dev · 2023-01-20 13:49
sven(tg3 is the 15000+ lines broadcom driver)#asahi-dev · 2023-01-20 13:49
sventhe bigger issue is that everything in that tg3 bar reads back as 0xffffffff#asahi-dev · 2023-01-20 13:49
chadmed_yes, DCP is not the only thing involved here#asahi-dev · 2023-01-20 13:49
svenmaz: I figured out the latency issues, it was mostly me being dumb. I had to enable some quirks I didn't understand in tg3 to make the adapter work. one of them replaced every single register access with an indirect one through config space#asahi-dev · 2023-01-20 13:49
chadmed_DCP is just the display controller, theres a whole ballet dance that needs to happen between it, the DP routing circuitry, the usb-c mux chip, the ATCPHY... #asahi-dev · 2023-01-20 13:48
mkurzchadmed_: You mean the asahi-edge kernel?#asahi-dev · 2023-01-20 13:48
chadmed_DCP works, but the code to route a dp signal from it to the type-c phy is not yet in the kernel #asahi-dev · 2023-01-20 13:48
mazI wonder if there is some aggressive PM going on on the TB side that would delay something...#asahi-dev · 2023-01-20 13:48
mkurzchadmed: And if I understand correct DCP is needed for displayport to work?#asahi-dev · 2023-01-20 13:47
mkurzchadmed_: understand. Hmm.. Not sure if I understand everything correct, but is it possible to connect an external monitor or beamer to the macbook? The wiki says DCP does work in the asahi-edge kernel? Or maybe I just don't get it#asahi-dev · 2023-01-20 13:47
mazsven: do you get similarly high latency with local communication?#asahi-dev · 2023-01-20 13:43
chadmed_theres a dp to hdmi chip on the board #asahi-dev · 2023-01-20 13:43
chadmed_mkurz: the hdmi port on the laptops is actually a displayport on an atcphy #asahi-dev · 2023-01-20 13:41
mkurzjannau: sven: Just curious: HDMI Out does work on the Mac Mini according to the wiki. the the MacBooks its WIP. Does it depend on some other stuff to make it work?#asahi-dev · 2023-01-20 13:05
svenI need to figure out how to that properly#asahi-dev · 2023-01-20 13:05
svenwhich also completely breaks bus rescanning. I had to rescan like 5 times before everything was up :/#asahi-dev · 2023-01-20 13:04
sventhat's via a USB adapter via my old apple thunderbolt display#asahi-dev · 2023-01-20 13:04
sven64 bytes from fra24s04-in-f3.1e100.net (142.250.186.35): icmp_seq=2 ttl=115 time=17.0 ms#asahi-dev · 2023-01-20 13:04
svenwell... maybe I'm just gonna blame Broadcom for this#asahi-dev · 2023-01-20 12:39
svenI wouldn't know how#asahi-dev · 2023-01-20 12:36
mazright. it could be that the MSI write is buffered somewhere. can you configure the memory type for the MSI mapping?#asahi-dev · 2023-01-20 12:35
sventhe dma comment was just to say that the iommu finally works, I'm not sure what exactly causes that latency#asahi-dev · 2023-01-20 12:35
svenMSIs#asahi-dev · 2023-01-20 12:34
mazare you doing MSIs? or INTx?#asahi-dev · 2023-01-20 12:34
mazfeels like interrupt latency, not DMA.#asahi-dev · 2023-01-20 12:28
jannauyeah! so 80ms for the first meter and 60ms for the remaining kilometers#asahi-dev · 2023-01-20 12:16
svenmy internet is sometimes pretty bad but it's not _that_ bad :D#asahi-dev · 2023-01-20 12:15
sven64 bytes from fra16s52-in-f3.1e100.net (142.250.185.195): icmp_seq=1 ttl=115 time=141 ms#asahi-dev · 2023-01-20 12:15
svenPING google.de (142.250.185.195) 56(84) bytes of data.#asahi-dev · 2023-01-20 12:15
sven# ping google.de#asahi-dev · 2023-01-20 12:15
svenping over thunderbolt with dma. for some reason there's a pretty high latency though:#asahi-dev · 2023-01-20 11:18
amarioguyjannau: gotcha thanks#asahi-dev · 2023-01-20 11:10
jannauI don't remember if the port links have an influence on probe order but if they do it might be stable now#asahi-dev · 2023-01-20 11:08
jannauI'm currently using my dcp tree with component based probing, i.e. without deferred probing so it should be up earlier#asahi-dev · 2023-01-20 11:05
svenand I thought I tracked that down to the probe dependency order#asahi-dev · 2023-01-20 11:05
svenI vaguely remember making it working during boot by adding a sleep somewhere in tipd#asahi-dev · 2023-01-20 11:04
svenhuh, true. never saw that here though#asahi-dev · 2023-01-20 11:00
jannauno, the problem I see is that dp_altmode_status_update() is only called once. it set dp altmode up then and never genereates a hotplug event#asahi-dev · 2023-01-20 10:49
svenif you manage to have dcp up and running before tipd it'll work even when connected during boot iirc#asahi-dev · 2023-01-20 10:48
svencompare how e.g. usb-role-switch or the typec-mux works to how that OOB event works