#asahi-dev · 2023-02-01 17:01
svenis that a “true” usb4 hub? you’d also have to ship it to .de and I’d probably have to pay import taxes on it so that might just not be worth the effort #asahi-dev · 2023-02-01 16:53
rkjnsn_sven, any interest in a Thunderbolt hub (multiple downstream ports) to test with? OWC's is on sale for $99 through tomorrow, and I'd be happy to contribute one to the cause.#asahi-dev · 2023-02-01 15:47
svenurgh.. looks like my usb4 changes for atcphy broke usb3 :(#asahi-dev · 2023-01-31 23:04
jannaudcp logs that after a dptx hpd with the dcp iboot powered on and m1n1 waiting on hpd from dcp iboot#asahi-dev · 2023-01-31 23:01
jannau"syslog: [nifiedPipeline.cpp:6906]VideoInterface::Plug callback: AP not ready yet, mark hot-plug pending" doesn't sound nice#asahi-dev · 2023-01-31 15:47
sven(that connection also contains load-bearing duct tape on the caldigit connector since that thing only works as long as there's some pressure on it :>)#asahi-dev · 2023-01-31 15:43
svenhotplug on the downstream port of the caldigit dock also works so I assume that there's just something wrong with the apple thunderbolt display in general where hotplug doesn't work#asahi-dev · 2023-01-31 15:42
svenfor some reason everything ends up in the same iommu group though#asahi-dev · 2023-01-31 15:42
svenhttps://f.svpe.de/ccf815cbb0af10eaa716af0cace6d5b289224f58acaf13def93813b11e0c77f3_lspci.txt old thunderbolt display via 3->2 adapter via half-broken caldigit dock and it seems to work :D#asahi-dev · 2023-01-31 14:13
jannaudptxport handling is probably incomplete but dcp stopped sending messages for that endport. in the macos trace everything is dcp initiated though#asahi-dev · 2023-01-31 13:50
jannaumacos doesn't use the dp2hdmi-gpio.function-reset gpio#asahi-dev · 2023-01-31 13:11
sventhis is going to be 'fun' to debug#asahi-dev · 2023-01-31 13:11
svenurgh.. the rescan->unplug leaves stale buses around in e.g. /sys/class/pci_bus/#asahi-dev · 2023-01-31 13:11
jannaustill a little chaotic on my part since I have the dptx-phy initialization and smc enable gpios in python and the rest in m1n1 triggered by a proxy display_configure after that#asahi-dev · 2023-01-31 13:08
jannauas far as I can see dcp speaks with dp2hdmi, there's a reset gpio but I think macos doesn't use it#asahi-dev · 2023-01-31 13:04
marcanjannau: probably the dp2hdmi needing init (or a gpio reset) at this point?#asahi-dev · 2023-01-31 12:46
svenbut only with the more complex topology created by the thunderbolt display. just the ethernet adapter seems to be fine#asahi-dev · 2023-01-31 12:46
svenugh, looks like plug tbt device -> manual pci bus rescan -> unplug device confuses something in the pci subsystem and crashes the kernel eventually :/ #asahi-dev · 2023-01-31 12:45
jannaudptx in m1n1 seems to finally work but still no hdmi output on the m2 mac mini#asahi-dev · 2023-01-31 11:52
marcanOK, merged the pending stuff we had into asahi-soc#asahi-dev · 2023-01-31 11:00
sventrue#asahi-dev · 2023-01-31 10:42
j`eysven: better than something else being broken!#asahi-dev · 2023-01-31 10:09
svenah, no, i'm just dumb and accidentally reverted the hotplug fix while rebasing *sigh*#asahi-dev · 2023-01-31 09:12
sven... and here I thought thunderbolt was stable but I just got another obscure assert_id=whatever crash after the first connection :(#asahi-dev · 2023-01-31 09:08
jannauwithout the read the tracer's output becomes confusing since rx and tx are out of order#asahi-dev · 2023-01-31 09:06
jannaushouldn't it be safe to read from the mailbox in m1n1's afk implementation if the rx ringbuffer has data?#asahi-dev · 2023-01-31 09:04
jannau2. figuring out if it is enough to use timestamps in the swap struct for 120Hz/vrr, requires a macbook pro 14"/16"#asahi-dev · 2023-01-31 09:02
jannau1. CTM and gamma support. the former is used by nightshift on macos, gamma tables are used by other night color shift applications on macos and there's functionality in Quartz to set them#asahi-dev · 2023-01-31 08:59
jannauI have at least 2 small dcp subtask which should be fairly standalone:#asahi-dev · 2023-01-31 08:39
chadmedt: tipd and the imac speaker codecs are both unclaimed#asahi-dev · 2023-01-31 06:55
tis tipd driver only current todo?#asahi-dev · 2023-01-31 06:48
tdo i do this in recoveryOS or in macOS: diskutil apfs addVolume disk4 APFS macOSTest -mountpoint /Volumes/macOSTest - im not able to do it#asahi-dev · 2023-01-31 06:15
tpw_rulest: might be helpful: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation#asahi-dev · 2023-01-31 06:13
tok i think the graphical disk messed something up i can't boot into anything now i just get sent into recovery then from there i can't install a new one since all the partitions are taken or too small#asahi-dev · 2023-01-31 06:03
marcanI mean the graphical diskutil probably won't make a complete mess but it cannot handle nonstandard partitioning *at all* and gets confused in all kinds of ways, so best avoid it#asahi-dev · 2023-01-31 06:01
marcanfor identifying stuff it's probably easiest to just run the asahi installer and look at the output (you can just quit)#asahi-dev · 2023-01-31 06:01
ttoo late 😟️#asahi-dev · 2023-01-31 06:01
marcanuse the command line `diskutil`#asahi-dev · 2023-01-31 06:01
marcandon't use the graphical disk utility, it's utterly broken#asahi-dev · 2023-01-31 06:00
toh nm i can just use disk utility right#asahi-dev · 2023-01-31 05:59
thow do i remove a partition from recoveryOS? and identify from the hashes/UUID?#asahi-dev · 2023-01-31 05:58
marcananyway, if you're on 13.2 feel free to continue there, but we'll have to backport to 12.3 at some point (but that can happen later)#asahi-dev · 2023-01-31 05:57
marcanbut macOS will pull its root partition UUID from the ADT and we don't do anything with that right now, so if you try you'll just get an instant panic as it can't mount root (since there is no real root on an Asahi container)#asahi-dev · 2023-01-31 05:56
marcanbut the converse isn't true, not sure if it could be made to work but probably not well#asahi-dev · 2023-01-31 05:56
marcanyou *can* use the macOS-overlaid m1n1 to boot Linux (so you don't have to keep switching the actual boot OS to test Linux driver things) as long as you manually specify the root partition and all that, since Linux doesn't (yet) particularly care about which underlying OS container you're booting from#asahi-dev · 2023-01-31 05:55
marcanyeah they're separate docs for a reason :p#asahi-dev · 2023-01-31 05:55
toh sorry thanks i was doing things from both pages#asahi-dev · 2023-01-31 05:54
marcanhttps://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#preparing-the-macos-volume-by-disabling-security-features that specifically#asahi-dev · 2023-01-31 05:54
marcanno, the wiki page for macOS on the hypervisor is https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor