2023-01-31
00:02DarkShadow44 has quit [Quit: ZNC - https://znc.in]
00:02DarkShadow44 has joined #asahi-dev
01:01amarioguy has quit [Remote host closed the connection]
03:00bluetail89482210 has joined #asahi-dev
03:07bluetail8948221 has quit [Ping timeout: 480 seconds]
03:28twhere do i get the macos .kc file? in the video @marcan just has it packaged or compiled already
03:33t.sym? kc.development - is that the kernel cache? https://www.youtube.com/watch?v=igYgGH6PnOw 34:24
04:12nela0 has joined #asahi-dev
04:18nela has quit [Ping timeout: 480 seconds]
04:18nela0 is now known as nela
05:26seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:27tdoes this https://github.com/AsahiLinux/docs/wiki/SW%3AHypervisor#starting-the-development-kernel-under-the-m1n1-hypervisor not work with 13.2? i have an empty progress bar with a rainbow apple logo
05:37marcant: yes you need to explicitly install 12.3 to do hypervisor RE work, since the version needs to match
05:38marcanotherwise, uh, there's the InstallAssistant package on archive.org and you need to do some manual shenanigans to get it to work...
05:38marcanIIRC you need to extract one file from the pkg and put it into the actual extracted installer app bundle and then it will work
05:40marcanoh there's some alternate method here which I've never tried: https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#using-archived-installassistantpkg
05:41marcanalternatively you could work directly on 13.2 for *now*, but you'll have to figure out what changed since the trace_isp experiments were written. it's highly likely 13.2 will be our next supported firmware release, so a camera driver will have to support both ABIs (and 12.4 for M2).
05:44marcanyou cannot use a tethered boot asahi install for booting macOS, you need to manually install m1n1 on top of an existing macOS install
05:46twdym matching version? i did sudo ./proxyclient/tools/run_guest.py -m proxyclient/hv/trace_all.py -s kernel.development.t8103 dev.kc.macho.development -- "debug=0x14e serial=3 apcie=0xfffffffe -enable-kprintf-spam wdt=-1"
05:49marcanagain, if you installed m1n1 using the asahi linux installer, you *cannot* use that to boot macOS
05:50marcanmacOS is macOS, if you want to run macOS inside the hypervisor you need to install m1n1 as a *replacement* for the macOS kernel (which means macOS will no longer boot by itself, it will boot m1n1 instead and *then* you can run the macOS kernel under the hypervisor)
05:51marcanfor machines where I also use macOS normally I just usually have multiple macOS installs (which is useful anyway since I need to pin RE/development versions to specific ones)
05:51tis that what this is for? https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#enabling-the-backdoor-proxy-mode
05:52tis should do this instead? https://github.com/AsahiLinux/docs/wiki/Tethered-boot-setup-on-macOS
05:54marcanno, the wiki page for macOS on the hypervisor is https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor
05:54marcanhttps://github.com/AsahiLinux/docs/wiki/SW:Hypervisor#preparing-the-macos-volume-by-disabling-security-features that specifically
05:56marcanyou *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
05:57marcanbut 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)
05:58marcananyway, 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)
06:01marcanfor identifying stuff it's probably easiest to just run the asahi installer and look at the output (you can just quit)
06:03marcanI 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
06:13tok 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
06:15tpw_rulest: might be helpful: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation
06:48tdo i do this in recoveryOS or in macOS: diskutil apfs addVolume disk4 APFS macOSTest -mountpoint /Volumes/macOSTest - im not able to do it
06:59t has quit [Quit: t]
07:10cylm_ has joined #asahi-dev
07:10eiln has quit [Remote host closed the connection]
08:32hexafox has joined #asahi-dev
08:52roxfan has quit [Ping timeout: 480 seconds]
09:02jannau1. 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
09:04jannau2. figuring out if it is enough to use timestamps in the swap struct for 120Hz/vrr, requires a macbook pro 14"/16"
09:06jannaushouldn't it be safe to read from the mailbox in m1n1's afk implementation if the rx ringbuffer has data?
09:12sven... and here I thought thunderbolt was stable but I just got another obscure assert_id=whatever crash after the first connection :(
09:29Dementor1 has quit [Quit: Ping timeout (120 seconds)]
09:31compassion3 has joined #asahi-dev
09:33jluthra_ has joined #asahi-dev
09:35jluthra has quit [Ping timeout: 480 seconds]
09:35compassion has quit [Ping timeout: 480 seconds]
09:35compassion3 is now known as compassion
09:36Dementor1 has joined #asahi-dev
09:51Dementor1 has quit [Quit: Ping timeout (120 seconds)]
10:07Dementor1 has joined #asahi-dev
10:10leitao has joined #asahi-dev
10:31Dementor1 has quit [Quit: Ping timeout (120 seconds)]
10:31Lightsword has quit [Read error: Connection reset by peer]
10:42Dementor1 has joined #asahi-dev
10:59chadmed has quit [Remote host closed the connection]
11:04bluetail89482210 has quit []
11:04bluetail89482210 has joined #asahi-dev
11:08Lightsword has joined #asahi-dev
11:14chadmed has joined #asahi-dev
11:29bluetail89482210 has quit []
11:30bluetail has joined #asahi-dev
11:46Lightsword has quit [Quit: ZNC]
12:06leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:13hexafox has quit [Ping timeout: 480 seconds]
12:26Lightsword has joined #asahi-dev
12:29Lightsword has quit []
12:36Lightsword has joined #asahi-dev
12:46svenugh, looks like plug tbt device -> manual pci bus rescan -> unplug device confuses something in the pci subsystem and crashes the kernel eventually :/
12:46svenbut only with the more complex topology created by the thunderbolt display. just the ethernet adapter seems to be fine
13:08jannauas far as I can see dcp speaks with dp2hdmi, there's a reset gpio but I think macos doesn't use it
13:11jannaustill 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
13:33leitao has joined #asahi-dev
14:13jannaudptxport handling is probably incomplete but dcp stopped sending messages for that endport. in the macos trace everything is dcp initiated though
15:05seeeath has joined #asahi-dev
15:22leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:36axboe has quit [Remote host closed the connection]
15:36axboe has joined #asahi-dev
15:37___nick___ has joined #asahi-dev
15:40___nick___ has quit []
15:42___nick___ has joined #asahi-dev
15:42svenhttps://f.svpe.de/ccf815cbb0af10eaa716af0cace6d5b289224f58acaf13def93813b11e0c77f3_lspci.txt old thunderbolt display via 3->2 adapter via half-broken caldigit dock and it seems to work :D
15:43svenhotplug 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
15:47sven(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 :>)
15:53leitao has joined #asahi-dev
16:15Dementor1 has quit [Ping timeout: 480 seconds]
17:01seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:03leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:03seeeath has joined #asahi-dev
17:05leitao has joined #asahi-dev
17:14leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:15leitao has joined #asahi-dev
17:31leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:33leitao has joined #asahi-dev
17:59yrlf has joined #asahi-dev
18:04leitao has quit [Remote host closed the connection]
18:05leitao has joined #asahi-dev
18:34leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:46seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:46seeeath has joined #asahi-dev
20:08salimterryli has joined #asahi-dev
20:11SalimTerryLi_ has quit [Ping timeout: 480 seconds]
20:13seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:14seeeath has joined #asahi-dev
20:51jd20 has joined #asahi-dev
20:52seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:53leitao has joined #asahi-dev
20:53seeeath has joined #asahi-dev
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:16jd20 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:25cylm_ has quit [Ping timeout: 480 seconds]
21:36leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:44Dementor1 has joined #asahi-dev
22:12seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:12seeeath has joined #asahi-dev
22:19jd20_ has joined #asahi-dev
22:27jd20_ has quit [Ping timeout: 480 seconds]
23:01jannau"syslog: [nifiedPipeline.cpp:6906]VideoInterface::Plug callback: AP not ready yet, mark hot-plug pending" doesn't sound nice
23:04jannaudcp logs that after a dptx hpd with the dcp iboot powered on and m1n1 waiting on hpd from dcp iboot
23:37stipa is now known as Guest3053
23:38stipa has joined #asahi-dev
23:39Guest3053 has quit [Ping timeout: 480 seconds]
23:47hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]