#
✕ nick:sven
#asahi-dev · 2022-09-22 17:01
sventhat's all i have in dcp.py
#asahi-dev · 2022-09-22 17:01
svendcp.system.system.setProperty("gAFKConfigLogMask", 0xffff)
#asahi-dev · 2022-09-22 17:01
svendcp.dcpep.initialize()
#asahi-dev · 2022-09-22 17:01
svendcp.system.wait_for("system")
#asahi-dev · 2022-09-22 17:01
svendcp.start_ep(0x20)
#asahi-dev · 2022-09-22 17:01
svendcp.start_ep(0x37)
#asahi-dev · 2022-09-22 17:01
svendcp.start()
#asahi-dev · 2022-09-22 16:59
svenhttps://f.svpe.de/83056e2b4401a8388408dd6af82075fc8b0561d8d8a6d9744df48e0b974ec97c_dcp_videoclock.txt
#asahi-dev · 2022-09-22 16:52
svenstrange
#asahi-dev · 2022-09-22 16:44
svenno, just prettier epic tracing
#asahi-dev · 2022-09-22 16:38
svennormal DCP.py shouldn’t even use those calls
#asahi-dev · 2022-09-22 16:38
svenand it was mostly a different group/cmd and different way to specify arguments
#asahi-dev · 2022-09-22 16:38
sventhe epic fixes were just required to get hpd to work
#asahi-dev · 2022-09-22 16:37
svenhuh, I don’t think so
#asahi-dev · 2022-09-22 16:33
svenmarcan: how bad is the DCP firmware? I’m tempted to just reverse and figure out what that error means
#asahi-dev · 2022-09-22 16:19
sven dcp.system.system.setProperty("gAFKConfigLogMask", 0xffff)
#asahi-dev · 2022-09-22 16:19
sven dcp.system.wait_for("system")
#asahi-dev · 2022-09-22 16:19
svenstart ep 0x20 and then
#asahi-dev · 2022-09-22 16:19
svenoh, i dunno if you need to enable extra debug for that message
#asahi-dev · 2022-09-22 16:19
svenmaybe it's something in this strange dp -> hdmi -> usb3 chain
#asahi-dev · 2022-09-22 16:19
svenweird
#asahi-dev · 2022-09-22 16:15
svenand "TTY> pmgr: resetting device 0.DISP0_CPU0"
#asahi-dev · 2022-09-22 16:15
svenI think so. it prints "TTY> display: Sleeping DCP (external)"
#asahi-dev · 2022-09-22 16:14
svenso that video clock thing is probably a red herring
#asahi-dev · 2022-09-22 16:14
svenboth dcp (sucessful) and dcpext (fails set_digital_out_mode) complain about "[syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 74250000"
#asahi-dev · 2022-09-22 16:13
svenbut maybe my installed m1n1 is much too old
#asahi-dev · 2022-09-22 16:12
sveneven when chainloading m1n1 before
#asahi-dev · 2022-09-22 16:12
svenusing regular dcp
#asahi-dev · 2022-09-22 16:12
svenregular dcp.py crashes
#asahi-dev · 2022-09-22 16:12
svenno
#asahi-dev · 2022-09-22 16:11
sven(for dcpext)
#asahi-dev · 2022-09-22 16:11
svenlooks like "[syslog] * [nifiedPipeline.cpp:6553]set_digital_out_mode returned 80000104" is the actual error
#asahi-dev · 2022-09-22 16:09
svenlooks like it reliably crashes when I have the cable already connected during boot
#asahi-dev · 2022-09-22 16:07
svenhttps://f.svpe.de/6baf1f23647992560b5b66d95ce500eeccc435144129133afbe6b649ece99c97_dcpcrash.txt
#asahi-dev · 2022-09-22 16:06
svenokay.. it sometimes crashes for some reason :/
#asahi-dev · 2022-09-22 16:05
svenand it also complains about "[syslog] * [PmgrService.cpp:319][AFK]_pmgrConfigVideoClock Failed to configure video clock freq= 74250000" it seems
#asahi-dev · 2022-09-22 16:05
svenwait.. it worked now I think
#asahi-dev · 2022-09-22 16:04
svendcp0 on mac mini
#asahi-dev · 2022-09-22 16:03
svenyeah
#asahi-dev · 2022-09-22 16:00
svenhuh, does dcp.py crash DCP for anyone?
#asahi-dev · 2022-09-22 12:20
svenyeah, fixing those made HPD work
#asahi-dev · 2022-09-21 19:14
sventhis is probably something dumb in either DCP or atcphy
#asahi-dev · 2022-09-21 19:14
svenwouldn’t surprise me either
#asahi-dev · 2022-09-21 18:56
sven:D
#asahi-dev · 2022-09-21 18:56
svenor maybe it’s atcphy which hates me ;)
#asahi-dev · 2022-09-21 18:55
svenyes, but it obviously still hates me :D
#asahi-dev · 2022-09-21 18:55
svenand the mode list
#asahi-dev · 2022-09-21 18:55
svenI fixed them which made HPD work
#asahi-dev · 2022-09-21 18:55
svenyeah, those
#asahi-dev · 2022-09-21 18:55
sventhats how I found these additional calls

plus ›