2023-01-20
00:39derzahl has joined #asahi-dev
00:54capta1nt0ad has joined #asahi-dev
01:18derzahl has quit [Ping timeout: 480 seconds]
01:46derzahl has joined #asahi-dev
02:07karpouzihmm, feels unlikely that this would be inconsistent with x64 https://lkml.iu.edu/hypermail/linux/kernel/0511.3/1019.html
02:36nsklaus has quit [Remote host closed the connection]
02:38karpouzi has quit [Quit: leaving]
03:18derzahl has quit [Ping timeout: 480 seconds]
03:27derzahl has joined #asahi-dev
03:53capta1nt0ad has quit [Remote host closed the connection]
04:16derzahl has quit [Ping timeout: 480 seconds]
04:18Z750 has quit [Remote host closed the connection]
04:20Z750 has joined #asahi-dev
04:37nicolas17 has quit [Quit: Konversation terminated!]
04:47c10l1 has joined #asahi-dev
04:47c10l has quit [Read error: Connection reset by peer]
06:08steven has quit [Quit: ZNC 1.8.2 - https://znc.in]
06:10steven has joined #asahi-dev
08:13nate8 has joined #asahi-dev
08:37faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:56chadmed_ has quit [Remote host closed the connection]
08:58chadmed_ has joined #asahi-dev
09:15leitao has joined #asahi-dev
09:20MajorBiscuit has joined #asahi-dev
09:59cylm has quit [Ping timeout: 480 seconds]
10:00leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:02leitao has joined #asahi-dev
10:27mkurz has joined #asahi-dev
10:46jluthra has quit [Remote host closed the connection]
10:46jluthra has joined #asahi-dev
10:47jannausven: dp-altmode works even when connected on boot, only the hotplug event is missing in that case. altmodes/displayport.c doesn't issue that if HPD is set during configuration
10:49svenif you manage to have dcp up and running before tipd it'll work even when connected during boot iirc
10:49mkurz has quit [Quit: Leaving]
10:50mkurz has joined #asahi-dev
11:00jannauno, the problem I see is that dp_altmode_status_update() is only called once. it set dp altmode up then and never genereates a hotplug event
11:04leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:05leitao has joined #asahi-dev
11:08jannauI'm currently using my dcp tree with component based probing, i.e. without deferred probing so it should be up earlier
11:10jannauI don't remember if the port links have an influence on probe order but if they do it might be stable now
11:13mkurz has quit [Quit: Leaving]
11:13leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:18leitao has joined #asahi-dev
11:24hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:36espo has quit [Quit: fBNC - https://bnc4free.com]
11:40leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:47WindowPa- has joined #asahi-dev
11:47WindowPain has quit [Read error: Connection reset by peer]
12:09espo has joined #asahi-dev
12:25WhyNotHugo_ is now known as WhyNotHugo
12:30faruk has joined #asahi-dev
12:35sventhe dma comment was just to say that the iommu finally works, I'm not sure what exactly causes that latency
12:36mazright. it could be that the MSI write is buffered somewhere. can you configure the memory type for the MSI mapping?
12:46MajorBiscuit has quit [Read error: Connection reset by peer]
13:05svenwhich also completely breaks bus rescanning. I had to rescan like 5 times before everything was up :/
13:06faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:16faruk has joined #asahi-dev
13:21leitao has joined #asahi-dev
13:22MajorBiscuit has joined #asahi-dev
13:33___nick___ has joined #asahi-dev
13:36mkurz has joined #asahi-dev
13:41mkurzjannau: sven: Just curious: HDMI Out does work on the Mac Mini according to the wiki. the the MacBooks its WIP. Does it depend on some other stuff to make it work?
13:46chadmed_ has quit [Remote host closed the connection]
13:47chadmed_ has joined #asahi-dev
13:47mkurzchadmed_: understand. Hmm.. Not sure if I understand everything correct, but is it possible to connect an external monitor or beamer to the macbook? The wiki says DCP does work in the asahi-edge kernel? Or maybe I just don't get it
13:48mazI wonder if there is some aggressive PM going on on the TB side that would delay something...
13:48chadmed_DCP works, but the code to route a dp signal from it to the type-c phy is not yet in the kernel
13:49chadmed_DCP is just the display controller, theres a whole ballet dance that needs to happen between it, the DP routing circuitry, the usb-c mux chip, the ATCPHY...
13:49svenmaz: I figured out the latency issues, it was mostly me being dumb. I had to enable some quirks I didn't understand in tg3 to make the adapter work. one of them replaced every single register access with an indirect one through config space
13:50mkurzchadmed_: OK, got it. So currently it is not possible to connect a external display/beamer?
13:50mazsven: tg3 is a horrible driver (to be fair, most bcm drivers are like that). the -1 returns are pretty worrying though.
13:51chadmed_mkurz: itll get there soon enough, better to release something that works reliably than a hacky janky mess
14:14King_InuYasha has joined #asahi-dev
14:17nsklaus has joined #asahi-dev
14:24leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:31derzahl has joined #asahi-dev
14:31leitao has joined #asahi-dev
14:44mkurz has quit [Quit: Leaving]
14:51kettenis_I'm kinda disappointed though; one of the reasons I got the x1 was because I wanted to look at what was needed in OpenBSD to have thunderbolt support
14:52svenfrom what I understand the NHI driver establishes the tunnel and then usually the pcie just gets a hotplug interrupt on x86
15:06leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:11leitao has joined #asahi-dev
15:40nsklaus has quit [Quit: Konversation terminated!]
15:42nsklaus has joined #asahi-dev
15:49leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:51leitao has joined #asahi-dev
15:53seeeath has joined #asahi-dev
16:02faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:28bisko has joined #asahi-dev
16:30faruk has joined #asahi-dev
16:42landscape15 has joined #asahi-dev
16:44landscape15 has quit []
17:05bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:06bisko has joined #asahi-dev
17:11MajorBiscuit has quit [Ping timeout: 480 seconds]
17:19MajorBiscuit has joined #asahi-dev
17:28cylm has joined #asahi-dev
17:30faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:33seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:34seeeath has joined #asahi-dev
17:41MajorBiscuit has quit [Quit: WeeChat 3.6]
17:50bcrumb has joined #asahi-dev
18:06bcrumb has quit [Quit: WeeChat 3.8]
18:28bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:31nsklaus has quit [Remote host closed the connection]
18:32jannauI didn't noticed until now (or forgot) that hpmBusManager is an i2c device too. macos reads something after interrupts, maybe the interrupt source?
18:32aaron465 has joined #asahi-dev
18:36gladiac has joined #asahi-dev
18:39leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:42bisko has joined #asahi-dev
18:43WindowPain has joined #asahi-dev
18:43WindowPa- has quit [Remote host closed the connection]
18:50bisko has quit [Ping timeout: 480 seconds]
18:52leitao has joined #asahi-dev
19:11derzahl has quit [Remote host closed the connection]
19:16___nick___ has quit []
19:18___nick___ has joined #asahi-dev
19:19___nick___ has quit []
19:21___nick___ has joined #asahi-dev
19:27bisko has joined #asahi-dev
19:35bisko has quit [Ping timeout: 480 seconds]
19:42bluetail has quit [Quit: The Lounge - https://thelounge.chat]
19:53bluetail has joined #asahi-dev
19:57faruk has joined #asahi-dev
19:59leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:05hertz has joined #asahi-dev
20:06bisko has joined #asahi-dev
20:06aaron465 has quit [Quit: ZNC 1.8.2 - https://znc.in]
20:07jeffmiw has joined #asahi-dev
20:09jeffmiwback trying ot recover my mba M1 that is not booting at all any more (no sign of life). I compiled & installed all the libimobiledevice tools but I'm getting this error when doing an idevicerestore --latest -v :
20:10nicolas17 has joined #asahi-dev
20:10jeffmiwI can see the device usb enumeration: [Fri Jan 20 20:46:40 2023] usb 3-1.1: Product: Apple Mobile Device (Recovery Mode)
20:14jeffmiwanyone faced this previously ? I saw mention that marcan you were able to recover a mpb with idevicerestore ?
20:16mpsjeffmiw: for me idevicerestore didn't worked and I solved this by using another macbook with macos
20:18jeffmiwand how did you solve it ? Latest Apple Configurator 2 ? or something else ? my other mac is a mba 2012 and I can't get latest Apple Conf 2 on it ...
20:25tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#recovering-from-boot-failure-with-idevicerestore
20:25jeffmiwand do you remember how usb enum was seen ? was it Product: Apple Mobile Device (Recovery Mode) ?
20:26mpsbut I think if it is identified on other machine it should work, my idevicerestore was old and I was lazy to uprage all 'batteries' needed for it
20:27bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:33chadmed_ has quit [Ping timeout: 480 seconds]
20:36jeffmiwhaving some hope: got into DFU mode for real, got an apple logo now :) thanks tpw_rules !
20:37nicolas17DFU mode by itself doesn't show anything on screen, so if you're seeing an Apple logo it means the restore process actually made some progress
20:37bisko has joined #asahi-dev
20:48jeffmiwhumm getting stuck now at the "Waiting for device to enter restore mode..." step. I must have not configured usbmuxd correctly. I did the make & make install, and launched it with sudo. Anything else to be done for it to work ?
21:03bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:14jluthra has quit [Remote host closed the connection]
21:14jluthra has joined #asahi-dev
21:16seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:17seeeath has joined #asahi-dev
21:18jeffmiwok so I was running an old already installed version of usbmuxd. with the latest one, I was able to recover my mba M1 ! Thanks for the help. Now back to hwmon driver :)
21:21hightower3 has joined #asahi-dev
21:21bisko has joined #asahi-dev
21:21bisko has quit []
21:26chadmed_ has joined #asahi-dev
21:27hightower4 has quit [Ping timeout: 480 seconds]
21:47jeffmiwI deleted some partitions of the asahi minimal install to grow my asahi linux partition with parted. everything worked well till the next reboot without any sign of life
21:49jeffmiwnote that I have not lost any macos(I have 2 of them) or asahi data while doing the recovery
22:02nate8_ has joined #asahi-dev
22:09nate8 has quit [Ping timeout: 480 seconds]
22:23hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:32bisko has joined #asahi-dev
22:33bisko has quit []
22:34bisko has joined #asahi-dev
22:41bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:44bisko has joined #asahi-dev
22:45bisko has quit []
23:10nate8_ has quit []
23:10hertz has joined #asahi-dev
23:20chadmed_ has quit [Remote host closed the connection]
23:20chadmed_ has joined #asahi-dev
23:36zalyx has quit [Ping timeout: 480 seconds]