#asahi-alt · 2023-02-26 14:07
jannauarnd: looks like runtime pm suspend and resume are running concurrently. clearly a bug in dcp. simplest workaround would be to merge bits/200-dcp only up to 125aeecbc011d#asahi-alt · 2023-02-26 13:56
arndthe source tree is v6.2 with bits/000-devicetree, bits/010-mailbox, bits/020-t6000-dart, bits/030-misc, bits/040-dwc3, bits/050-nvme, bits/110-smc, bits/120-spmi, bits/150-xhci-firmware, bits/170-atcphy and bits/200-dcp#asahi-alt · 2023-02-26 13:55
arndjannau: here is the entire 'journalctl --system' output from boot to shutdown for the session that just broke: https://pastebin.com/CMGnvK6J#asahi-alt · 2023-02-26 13:45
arndHmm, this time switching to vt1 worked, but then switching back to xfce got it into the broken state where it no longer came back. I'll reboot and try to find the log file#asahi-alt · 2023-02-26 13:44
jannauhow did you get to your v6.2 based kernel? merge all the bits branches into v6.2#asahi-alt · 2023-02-26 13:43
jannauok, sound broken. Can you get me the dcp kernel log from before switching the monitor off? I'm still on on v6.2-rc3 (asahi-wip)#asahi-alt · 2023-02-26 13:40
arndit just happened after turning it off briefly using the moniotor's power switch. Can't see what I type any more now#asahi-alt · 2023-02-26 13:39
arndI tried unplugging the HDMI cable, using the monitor power button or the external power switch (which turns off my speaker etc as well), no differences#asahi-alt · 2023-02-26 13:39
jannaudoes it only happen if the monitor is off longer or can you reproduce it with switching the display off and on#asahi-alt · 2023-02-26 13:39
arndjannau: not any more. I used to have this problem occasionally in the past, and then switching to vt1 and back solved it. With my current kernel, it seems to happen every time, and the vt switch no longer helps#asahi-alt · 2023-02-26 13:38
jannauarnd: does switching to a different vt (and back) fixes it? I assume you have already tried to turn the monitor off and on again?#asahi-alt · 2023-02-26 13:21
arndit's my own kernel config, and I only included the branches that I thought I needed, so it's possible something is issing, but everything else seems to work fine#asahi-alt · 2023-02-26 13:20
arndjannau: after upgrading from 6.1 to 6.2 with the current asahi/bits/200-dcp branch (a2482bcc06), I no longer get the HDMI to be turned back on after I turn off the monitor over night. The only kernel message I get about this is "Feb 26 13:40:21 studio kernel: apple-dcp 38bc00000.dcp: crtc_atomic_check: disconnected but no modeset". Any idea?#asahi-alt · 2023-02-25 17:23
svenIf it actually works on the m2 air I might actually upgrade :D#asahi-alt · 2023-02-25 13:12
jannauhmm, you might be right. dcpext is ufp-endpoint 0. on m2 dcp is ufp-endpoint (on j473) and dcpext is ufp-endpint 1 (on all m2 machines)#asahi-alt · 2023-02-25 13:06
sveniirc I can only select dcpext in the crossbar on t8103#asahi-alt · 2023-02-25 13:06
svendo you know that routing works?#asahi-alt · 2023-02-25 13:04
jannaumight work there as well but might depend on something apple didn't get to implement in the t8103 dcp fw or doesn't work on t8103#asahi-alt · 2023-02-25 12:37
svenI kinda want it on my m1 notebook ;)#asahi-alt · 2023-02-25 12:28
jannauit might just work (at least on the m2 notebooks)#asahi-alt · 2023-02-25 11:36
sventwo external displays with the internal screen disabled would be perfect for me#asahi-alt · 2023-02-25 11:36
svenI really wish they supported that routing on the air as well :(#asahi-alt · 2023-02-25 11:34
jannauonly difference is that dcp can be routed to the usb-c ports on the m2 mac mini#asahi-alt · 2023-02-25 11:33
jannauthe m2 mac mini has thunderbolt 4 and the macbook air m2 has thunderbolt 3 / usb 4#asahi-alt · 2023-02-25 11:18
chadmedhave to be able to drive 2 4k displays #asahi-alt · 2023-02-25 11:18
chadmedVideo, support 2x 4K or 1x 8K yeah there it is#asahi-alt · 2023-02-25 11:17
chadmedoh right interesting#asahi-alt · 2023-02-25 11:16
sventhe pro/max claims full tb4 support and the extra external displays are the only difference afaict #asahi-alt · 2023-02-25 11:15
svenit just also allows bypass support #asahi-alt · 2023-02-25 11:15
svenyeah, but the ports have an iommu #asahi-alt · 2023-02-25 11:15
chadmedi do recall a conversation about the requirement for iommus in -dev since intel put out some material that suggested they would not certify anything that didnt use their own iommus#asahi-alt · 2023-02-25 11:15
svenI think so#asahi-alt · 2023-02-25 11:14
chadmedis the tb4 spec for two?#asahi-alt · 2023-02-25 11:13
svennah, that’s because the t8103 can only drive a single external display #asahi-alt · 2023-02-25 11:10
chadmedand we decided thats why they say TB3 + USB4 and not TB4 on those machines#asahi-alt · 2023-02-25 11:10
chadmedah yeah thats right#asahi-alt · 2023-02-25 11:10
sventhat pcie bus is also marked as external facing so the kernel itself also shouldn’t allow bypass#asahi-alt · 2023-02-25 11:09
sventhe usb4 pcie ones on t8103 do but I disabled that in the iommu driver #asahi-alt · 2023-02-25 11:09
sventhe normal PCIe ones don’t #asahi-alt · 2023-02-25 11:09
chadmedthe pcie darts dont support bypass at all though right#asahi-alt · 2023-02-25 11:08
chadmedtrue :p#asahi-alt · 2023-02-25 11:08
svenif you can replace that blob your system is probably owned anyway #asahi-alt · 2023-02-25 11:08
chadmedsomeone could just replace the blob in /lib/firmware if they were so inclined#asahi-alt · 2023-02-25 11:08
svenor even any thunderbolt pcie device#asahi-alt · 2023-02-25 11:08
sventhings like Broadcom WiFi or Bluetooth make me much more nervous #asahi-alt · 2023-02-25 11:07
svenstill doesn’t seem too bad as long as that blob can’t be reloaded from userspace. #asahi-alt · 2023-02-25 11:06
chadmedsame but avd just accepts any blob of firmware the kernel feeds it with no checks so its doubly spicy#asahi-alt · 2023-02-25 11:06
svenwell, maybe dwc3 because that can’t dma (or even initiate any transfer) on its own unless there’s a severe hardware bug #asahi-alt · 2023-02-25 11:05
svenI don’t think anything should be allowed to run in bypass #asahi-alt · 2023-02-25 11:05
chadmedso i think google just need to get their shit together and stop explicitly building stuff with 4k LOAD sections