2026-03-28
00:15hdbngr has joined #asahi-re
00:24hdbngr has quit [Ping timeout: 480 seconds]
00:36john-cabaj has joined #asahi-re
00:44john-cabaj has quit [Ping timeout: 480 seconds]
00:49hdbngr has joined #asahi-re
00:58hdbngr has quit [Ping timeout: 480 seconds]
01:08hdbngr has joined #asahi-re
01:16hdbngr has quit [Ping timeout: 480 seconds]
01:27hdbngr has joined #asahi-re
01:35hdbngr has quit [Ping timeout: 480 seconds]
02:01hdbngr has joined #asahi-re
02:03luma has quit [Remote host closed the connection]
02:03luma has joined #asahi-re
02:09hdbngr has quit [Ping timeout: 480 seconds]
02:28pb17 has quit [Remote host closed the connection]
02:28pb17 has joined #asahi-re
03:06hdbngr has joined #asahi-re
03:15hdbngr has quit [Ping timeout: 480 seconds]
03:24hdbngr has joined #asahi-re
03:32hdbngr has quit [Ping timeout: 480 seconds]
03:49pb17 has quit [Ping timeout: 480 seconds]
03:50pb17 has joined #asahi-re
04:14hdbngr has joined #asahi-re
04:16JamesCalligeros[m]the dcp firmware fourccs are actually part of a packed array of format descriptors
04:23hdbngr has quit [Ping timeout: 480 seconds]
05:19hdbngr has joined #asahi-re
05:27pb17 has quit [Ping timeout: 480 seconds]
05:29pb17 has joined #asahi-re
05:33hdbngr has quit [Ping timeout: 480 seconds]
06:28oliverYea, and the names with & are just aliases in a big switch/case table, mapping to the fourcc codes from that descriptor array.
06:30hdbngr has joined #asahi-re
06:31JamesCalligeros[m]I figured out that the byte below the fourcc is the range but there are a bunch of other bytes that look like bitfields
06:32JamesCalligeros[m]Ive stared at ghidra all day though so i think i will just pinch an hdmi adapter from work and trace dcpext to figure out ycc hdr
06:33JamesCalligeros[m]I dont think the surface colourspaces and xfer function names we have are 100% accurate
06:37nicolas17iirc an older display driver was chopped in half, and half the code went to the DCP coprocessor firmware, right? I wonder if the pre-split driver would be helpful to look at, maybe it has more symbols than the DCP firmware or something...
06:39hdbngr has quit [Ping timeout: 480 seconds]
06:41JamesCalligeros[m]Its a lot more than that, its all the old kernel display out handling code rolled into firmware because it kept getting pwned
06:41JamesCalligeros[m]Easier to move it to the remote end of a dart than plug all the leaks in iomfb :p
06:42JamesCalligeros[m]Though as preposterous as the firmware blob is, it is preferable to having to roll all this ourselves
06:52nicolas17I mean, I wonder how similar the A12X kernel driver code is to the A14 DCP firmware, and if said driver code has symbols or something that could help reverse-engineering DCP
06:58chadmedthe interface is quite unstable so im not entirely sure. all im really missing here is understanding how macos deals with displays that are ycc bt2020 as opposed to rgb bt2020
06:59chadmedin normal cases dcp is supposed to do the colourspace conversion for each iosurface based on the display's native colourspace and the colourspace of the surface, but thats not working properly when the display is ycc bt2020
07:00weirdtreething has quit [Remote host closed the connection]
07:00weirdtreething has joined #asahi-re
07:01chadmedi am worried that quartz is just doing it in software and feeding dcp a ycc bt2020 framebuffer
07:26hdbngr has joined #asahi-re
07:34hdbngr has quit [Ping timeout: 480 seconds]
07:34pb17 has quit [Ping timeout: 480 seconds]
07:37hdbngr has joined #asahi-re
07:45hdbngr has quit [Ping timeout: 480 seconds]
07:56pb17 has joined #asahi-re
08:33svenJamesCalligeros[m]> Easier to move it to the remote end of a dart than plug all the leaks in iomfb :p <-- the rumor i've heard is that they added dcp for power-saving so that they could do the always on display on the apple watch fwiw
08:34JamesCalligeros[m]yeah thats what ive heard too, but they didnt have to move almost all of iomfb in to the firmware for that :P
08:34JamesCalligeros[m]aiui iomfb was one of the most attacked parts of xnu
08:43hdbngr has joined #asahi-re
08:51hdbngr has quit [Ping timeout: 480 seconds]
09:16ddxtanx has quit [Remote host closed the connection]
09:18ddxtanx has joined #asahi-re
09:27hdbngr has joined #asahi-re
09:36hdbngr has quit [Ping timeout: 480 seconds]
09:44hdbngr has joined #asahi-re
09:53hdbngr has quit [Ping timeout: 480 seconds]
09:54yuka has quit [Remote host closed the connection]
09:58yuka has joined #asahi-re
10:28hdbngr has joined #asahi-re
10:37hdbngr has quit [Ping timeout: 480 seconds]
10:47hdbngr has joined #asahi-re
10:55hdbngr has quit [Ping timeout: 480 seconds]
11:08okb has joined #asahi-re
11:14zakirya has quit [Quit: Connection closed for inactivity]
11:17hdbngr has joined #asahi-re
11:26hdbngr has quit [Ping timeout: 480 seconds]
11:29hdbngr has joined #asahi-re
11:40hdbngr has quit [Ping timeout: 480 seconds]
11:47hdbngr has joined #asahi-re
11:56hdbngr has quit [Ping timeout: 480 seconds]
12:03hdbngr has joined #asahi-re
12:12hdbngr has quit [Ping timeout: 480 seconds]
12:15pb17 has quit [Ping timeout: 480 seconds]
12:19hdbngr has joined #asahi-re
12:24pb17 has joined #asahi-re
12:53okb has quit [Ping timeout: 480 seconds]
13:12roxfan has quit [Remote host closed the connection]
13:32okb has joined #asahi-re
14:02roxfan has joined #asahi-re
14:05hdbngr has quit [Ping timeout: 480 seconds]
14:13hdbngr has joined #asahi-re
14:14pb17 has quit [Ping timeout: 480 seconds]
14:20pb17 has joined #asahi-re
15:22lynndotpy7 has quit [Quit: bye bye]
15:23lynndotpy7 has joined #asahi-re
15:42hdbngr has quit [Ping timeout: 480 seconds]
15:50hdbngr has joined #asahi-re
16:20michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
16:21okb has quit [Ping timeout: 480 seconds]
16:21michaelros4 has joined #asahi-re
16:26pb17 has quit [Ping timeout: 480 seconds]
16:31oliver"[08:01] <@chadmed> i am worried that quartz is just doing it in software and feeding dcp a ycc bt2020 framebuffer" wouldn't you see that in the dcp trace as three distinct planes and a different format?
16:42pb17 has joined #asahi-re
16:56john-cabaj has joined #asahi-re
17:20hdbngr has quit [Ping timeout: 480 seconds]
17:27hdbngr has joined #asahi-re
17:29gi0 has joined #asahi-re
17:51okb has joined #asahi-re
18:08first_thunder has quit [Ping timeout: 480 seconds]
18:13first_thunder has joined #asahi-re
18:23pb17 has quit [Ping timeout: 480 seconds]
18:33john-cabaj has quit [Ping timeout: 480 seconds]
18:39pb17 has joined #asahi-re
18:47eloy has quit []
18:50eloy has joined #asahi-re
18:58hdbngr has quit [Ping timeout: 480 seconds]
19:06hdbngr has joined #asahi-re
19:20eloy has quit []
19:30eloy has joined #asahi-re
20:10okb has quit [Ping timeout: 480 seconds]
20:42chadmedoliver: i havent been able to trace this out yet. the one machine i have still on macos 13.5 has no hdmi port, and i have no usb-c to hdmi adapters
21:07Calandracas_ has joined #asahi-re
21:14Calandracas has quit [Ping timeout: 480 seconds]
21:45okb has joined #asahi-re
22:17hdbngr has quit [Ping timeout: 480 seconds]
22:25hdbngr has joined #asahi-re
23:07travltux has joined #asahi-re
23:08travltux has quit []
23:09travltux has joined #asahi-re
23:11travltux has quit []
23:13travltux has joined #asahi-re
23:34hdbngr has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-re
23:44okb has quit [Remote host closed the connection]
23:51hdbngr has quit [Ping timeout: 480 seconds]