#asahi-dev · 2022-09-20 19:32
sven#102: 0 0 0xa4/0x23b0400a8: regval: 0xa000000c | #102: 0 0 0xa4/0x23b0400a8: regval: 0xa0000002#asahi-dev · 2022-09-20 19:32
sven#101: 24000000 0 0xa0/0x23b0400a4: regval: 0x80100000 | #101: 24000000 0 0xa0/0x23b0400a4: regval: 0x88100000#asahi-dev · 2022-09-20 19:32
sven[...]#asahi-dev · 2022-09-20 19:32
sven User: /device-tree/arm-io/disp0.clk[0] User: /device-tree/arm-io/disp0.clk[0]#asahi-dev · 2022-09-20 19:13
svenwhy doesn't it just work then =(#asahi-dev · 2022-09-20 19:10
svensame thing happens when I just replay the hv trace instead of using my atcphy code#asahi-dev · 2022-09-20 19:09
svenso that would match [syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 74250000 at the same resolution here#asahi-dev · 2022-09-20 19:05
svenso this is either some subtle DCP issue or some subtle ATCPHY issue. i actually don't know which would be worse :(#asahi-dev · 2022-09-20 18:58
svenso maybe the iboot code has a weird race somewhere#asahi-dev · 2022-09-20 18:57
svenreal dcp seems to always get the correct mode list though fwiw#asahi-dev · 2022-09-20 18:57
sveni think it currently fails before that#asahi-dev · 2022-09-20 18:56
svenalso fails with [syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 74250000#asahi-dev · 2022-09-20 18:56
svenahh.. nvm#asahi-dev · 2022-09-20 18:55
svenKeyError: 'DPTimingModeId'#asahi-dev · 2022-09-20 18:55
sven while mgr.iomfb_prop['DPTimingModeId'] != timing_mode:#asahi-dev · 2022-09-20 18:55
svenand then#asahi-dev · 2022-09-20 18:55
svenreal dcp protocol seems to first print [syslog] * [nifiedPipeline.cpp:6553]set_digital_out_mode returned 80000104#asahi-dev · 2022-09-20 18:39
svenbut it doesn't look like there's an additional diver or multipler to be configured#asahi-dev · 2022-09-20 18:39
sventhere's some PCLK (which I assume means pixel clock) configuration inside atcphy and something else that depends on the link rate#asahi-dev · 2022-09-20 18:38
svenknowing how entangled that mess is it wouldn't have surprised me#asahi-dev · 2022-09-20 18:36
svenit also reliably oscillates between "no color modes" and "valid colors modes" so there's still something that's obviously broken#asahi-dev · 2022-09-20 18:33
svenbut maybe the iboot protocol just doesn't work with dcpext for some reason#asahi-dev · 2022-09-20 18:33
svenyeah. i'll double check my atcphy configuration #asahi-dev · 2022-09-20 18:32
sven[syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 37087912 <-- and that with 1920x1080@29#asahi-dev · 2022-09-20 18:30
sven[syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 13500000 <-- that's with 1440x480@29#asahi-dev · 2022-09-20 18:24
sven(At 1920x1080)#asahi-dev · 2022-09-20 18:24
svenChosen timing mode claims fps_int = 60 though :/#asahi-dev · 2022-09-20 18:23
svenhuh, weird#asahi-dev · 2022-09-20 18:16
svenin that trace 1920x1080@60, then later I tried @30 and some other random lower resolution mode #asahi-dev · 2022-09-20 18:09
svennot easily, I’ll have to untangle some of this mess first #asahi-dev · 2022-09-20 17:54
svenselecting different modes doesn’t seem to help either :(#asahi-dev · 2022-09-20 17:44
svenhrm#asahi-dev · 2022-09-20 17:44
sven[syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 74250000#asahi-dev · 2022-09-20 17:43
svenstill doesn't work though#asahi-dev · 2022-09-20 17:43
svenjannau:, marcan: ^--#asahi-dev · 2022-09-20 17:43
svenlol, running it again gets a bit further#asahi-dev · 2022-09-20 17:43
svenhttps://f.svpe.de/e1ae93402a456c12a4f748f8e7e1708eefbaa077dc68df1db57cd42ff2251bf3_dcp_altmode_bullshit2.txt#asahi-dev · 2022-09-20 15:50
svenbut maybe apple did something special for their variant #asahi-dev · 2022-09-20 15:49
svenyeah #asahi-dev · 2022-09-20 15:26
sventhere are some strings related to displayport in the tps6598x kext#asahi-dev · 2022-09-20 15:21
sveni'll have to clean it up a little bit first#asahi-dev · 2022-09-20 15:20
sventhis code is horribly cursed fwiw#asahi-dev · 2022-09-20 15:05
svenohhhh... that's a good point#asahi-dev · 2022-09-20 14:51
svenah, no, i'm just an idiot and disconnected the cable :D#asahi-dev · 2022-09-20 14:49
svenand ofc there's also timing issues/some race involved *sigh*#asahi-dev · 2022-09-20 14:46
svenif anyone speaks DCP and can make sense of that.#asahi-dev · 2022-09-20 14:46
svenhttps://f.svpe.de/18c9ca93cbcb891d07fc8f543d3bb99e1067b93dbfa2bd6c199399275b21afe0_dcp_altmode_bullshit.txt so it claims to have HPD but then doesn't get any modes I think#asahi-dev · 2022-09-20 14:42
svenactually.. looks like I get that everytime now. progress I guess?#asahi-dev · 2022-09-20 14:41
svenI guess that means it didn't manage to negotiate modes?#asahi-dev · 2022-09-20 14:40
svengot that once with dp-altmode but can't reproduce it anymore now :(