#
…

2021-09-12

01:30kettenis has joined #asahi-dev
01:32___nick___ has joined #asahi-dev
02:27yuyichao has quit [Quit: Konversation terminated!]
02:29yuyichao has joined #asahi-dev
02:56PhilippvK has joined #asahi-dev
03:00phiologe has quit [Ping timeout: 480 seconds]
08:08aleasto has joined #asahi-dev
09:03akemin_dayo has quit [Ping timeout: 480 seconds]
09:05riker77 has quit [Quit: Quitting IRC - gone for good...]
09:15riker77 has joined #asahi-dev
09:21akemin_dayo has joined #asahi-dev
09:29Benjamin2365 has joined #asahi-dev
09:37Benjamin2365 has quit [Quit: Page closed]
09:45kettenis has quit [Ping timeout: 480 seconds]
10:01abilash1994[m] has joined #asahi-dev
10:03kettenis has joined #asahi-dev
10:52Tom__ has joined #asahi-dev
10:59StupidYui has quit [Ping timeout: 480 seconds]
11:19alyssathis was an interesting read (and from there, the upstream blog post)
11:20alyssaTL;DR macOS userspace with private APIs can access the i2c bus for the type-c display but not the hdmi port
11:29alyssasven: re dcpext crossbar on the two type-c ports, that's literally modeled in the ADT whoops
11:29alyssadisplay-crossbar0, atc0-dpxbar, atc0-dpphy, atc0-dpin0, atc0-dpin1, ...same but atc2
11:54nsklaus_ has joined #asahi-dev
14:45svenalyssa: ohh.. so it's your problem again? :>
14:57alyssasven: atc definitely sounds like your problem
14:57alyssabut display-crossbar sounds like mine
14:57alyssaso it's a team problem? 😋
15:51boardwalk has quit [Quit: The Lounge - https://thelounge.chat]
16:48method_ has joined #asahi-dev
16:52Method has quit [Ping timeout: 480 seconds]
19:04aleasto has quit [Remote host closed the connection]
19:10psykose has quit [Remote host closed the connection]
19:38boardwalk has joined #asahi-dev
19:49nsklaus_ has quit [Quit: WeeChat 3.2]
20:58bpye has quit [Quit: The Lounge - https://thelounge.chat]
21:05bpye has joined #asahi-dev
21:23nsklaus has joined #asahi-dev
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi-dev
22:24akemin_dayo has quit [Ping timeout: 480 seconds]
22:25ella-0[m] has quit [Ping timeout: 480 seconds]
22:26alyssa`ioreg -l` is a treasure trove
22:31ella-0[m] has joined #asahi-dev
22:40___nick___ has quit [Ping timeout: 480 seconds]
22:43alyssabeen staring at the ioreg for DCP stuff for a little while now, feel comfortable with all this property stuff now
22:47alyssamode setting is easy enough:
22:48alyssathe TimingElements array has an entry for each mode
22:48alyssaTimingElements[i].HorizontalAttributes.Active
22:48alyssaTimingElements[i].VerticleAttributes.Active
22:48alyssais your resolution
22:49alyssaand then TimingElements[i].ColorModes is an array of colour modes, which the DCP helpfully scores for you
22:49alyssaSo pick j maximizing TimingElements[i].ColorModes[j].Score
22:50alyssaand then the modeset is as simple as
22:50alyssaset_digital_out_mode(TimingElements[i].ColorModes[j].ID, TimingElements[i].ID)
…