2022-01-15
00:00jannauhttps://github.com/jannau/linux/tree/asahi-dcp - experimental, I could not mount the root fs with macos 12.0.1 for errors which looked like memory corruption
00:01yuyichao has joined #asahi-dev
00:03jannauporting involved just updating the API to the one documented in m1n1's tracer and powering the output on
00:04yuyichao_ has quit [Ping timeout: 480 seconds]
00:32marcanI'm going to add that to the installer since it's required to insulate us from the phone home requirement
00:54jannaunow that the dcp driver "works" on 12.0 final and 12.1 my interest in 12.0 beta releases has vanished
00:59marcanjannau: you can't go to permissive mode in 12.x without being paired, but you can go into reduced mode
01:00marcaneither way last night I think I understood the IPC call stack for the iBoot/disp0 endpoint well enough
01:00marcanleave it to apple to require 5 protocol layers on top of a mailbox to *turn on the screen from the bootloader*...
01:01marcan(mailbox -> ring buffers -> EPIC header -> sub header -> command header -> shared memory buffers containing commands
01:02marcanand for the other endpoints there's like an extra ipcx header layer, but I *think* iBoot doesn't do that? need to look at that function again, I spent all my time figuring out what layer of the protocol stack it sat at
01:03marcanI also found a lot of juicy low level commands in the other endpoints; this is, apparently, how you do things like configure audio modes, send InfoFrames, handle HDCP, DisplayPort training and configuration and link width, etc
01:33yuyichao has quit [Ping timeout: 480 seconds]
01:43user982492 has joined #asahi-dev
02:02h_ is now known as hays
02:03hays is now known as h_
02:03h_ is now known as hays
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-dev
02:56m42uko has quit [Quit: Leaving.]
02:56m42uko has joined #asahi-dev
02:57phiologe has quit [Quit: No Ping reply in 180 seconds.]
02:57bluerise has quit [Remote host closed the connection]
02:57bluerise has joined #asahi-dev
02:58phiologe has joined #asahi-dev
03:13yuyichao has joined #asahi-dev
03:23kov has quit [Quit: Coyote finally caught me]
03:23kov has joined #asahi-dev
03:32PhilippvK has joined #asahi-dev
03:35phiologe has quit [Ping timeout: 480 seconds]
03:48Dcow has joined #asahi-dev
03:58user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:36marcanjannau: nah, iboot still talks to the other endpoints, and it needs to do that on the laptops anyway
05:23user982492 has joined #asahi-dev
07:01yamii has quit [Quit: WeeChat 3.3]
07:08yamii has joined #asahi-dev
07:55user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:59user982492 has joined #asahi-dev
10:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:46aleasto has joined #asahi-dev
11:06Dcow_ has joined #asahi-dev
11:06Dcow has quit [Remote host closed the connection]
11:35MajorBiscuit has joined #asahi-dev
11:39MajorBiscuit has quit []
12:07kettenisthe terminology always confuses me, but what is it (the xorg modesetting driver) trying to achieve with that?
12:15jannauI would guess it tries to clear the screen or it's simply how it works. I'm not really familiar with drm/kms internals
12:25kettenisand unfortunately the whole drm/kms interface is woefully underdocumented and its internals are changing at a crazy pace
12:34jannauhmm, I think the problem is that it tries to set the current mode again and the dcp driver does a swap if the mode does not change
14:07gladiac has quit [Ping timeout: 480 seconds]
14:11gladiac has joined #asahi-dev
17:21jannauXorg working as well now. the modesetting driver selects a random mode without EDID. for some reason 1400x1050 and setting that mode fails
18:52marcannight, hopefully I can wrap this up tomorrow (at least the prototype, but doing the proper m1n1 version shouldn't be that hard)
19:55Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:19akemin_dayo has joined #asahi-dev
21:10Gaspare has joined #asahi-dev
21:13user982492 has joined #asahi-dev
21:31aleasto has quit [Quit: Konversation terminated!]
22:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:22aleasto has joined #asahi-dev
23:19Gaspare has quit [Ping timeout: 480 seconds]
23:32user982492 has joined #asahi-dev
23:56aleasto has quit [Quit: Konversation terminated!]
23:59alyssa has joined #asahi-dev