#
…

2025-12-21

00:08ansg191 has joined #asahi-dev
00:16hdbngr has joined #asahi-dev
00:25hdbngr has quit [Ping timeout: 480 seconds]
00:30mixi has quit [Ping timeout: 480 seconds]
00:42mixi has joined #asahi-dev
01:30pb17 has quit [Ping timeout: 480 seconds]
01:57pb17 has joined #asahi-dev
03:30tobhe has joined #asahi-dev
03:36tobhe_ has quit [Ping timeout: 480 seconds]
04:08pb17 has quit [Ping timeout: 480 seconds]
04:18pb17 has joined #asahi-dev
04:49nora_ has joined #asahi-dev
04:51nora has quit [Ping timeout: 480 seconds]
05:00hdbngr has joined #asahi-dev
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:14hdbngr has joined #asahi-dev
05:23hdbngr has quit [Ping timeout: 480 seconds]
05:44mesa has quit [Ping timeout: 480 seconds]
05:44mesa has joined #asahi-dev
06:08hdbngr has joined #asahi-dev
06:35twilight has joined #asahi-dev
06:48hdbngr has quit [Ping timeout: 480 seconds]
06:58twilight has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:01hdbngr has joined #asahi-dev
07:16hdbngr has quit [Ping timeout: 480 seconds]
07:19hdbngr has joined #asahi-dev
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:35hdbngr has joined #asahi-dev
07:36chadmedso dcp will happily scan out a DRM_FORMAT_MOD_APPLE_GPU_TILED{,_COMPRESSED} framebuffer but actually setting the tiled flag on the surface makes it very unhappy
07:36chadmedthe firmware prints a "tiling unsupported" error message to its rtk syslog
07:43hdbngr has quit [Ping timeout: 480 seconds]
08:03hdbngr has joined #asahi-dev
08:11hdbngr has quit [Ping timeout: 480 seconds]
08:52twilight has joined #asahi-dev
08:53twilight has quit [Remote host closed the connection]
09:04hdbngr has joined #asahi-dev
09:11pb17 has quit [Ping timeout: 480 seconds]
09:12hdbngr has quit [Ping timeout: 480 seconds]
09:25pb17 has joined #asahi-dev
10:05hdbngr has joined #asahi-dev
10:07lederstrumpf has joined #asahi-dev
10:11nela2 has joined #asahi-dev
10:13hdbngr has quit [Ping timeout: 480 seconds]
10:14lederstr- has quit [Ping timeout: 480 seconds]
10:16nela has quit [Ping timeout: 480 seconds]
10:16nela2 is now known as nela
10:48pb17 has quit [Ping timeout: 480 seconds]
10:49hdbngr has joined #asahi-dev
10:56pb17 has joined #asahi-dev
10:59chadmed_ has quit [Remote host closed the connection]
11:07jmax has quit [Ping timeout: 480 seconds]
11:22okb has joined #asahi-dev
12:01okb has quit [Ping timeout: 480 seconds]
12:01hdbngr has quit [Ping timeout: 480 seconds]
12:05hdbngr has joined #asahi-dev
12:10hdbngr_ has joined #asahi-dev
12:14hdbngr has quit [Ping timeout: 480 seconds]
12:25pb17 has quit [Ping timeout: 480 seconds]
12:30marvin24 has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall. ]
12:47marvin24 has joined #asahi-dev
12:49chadmedoliver, jannau: setting ts1 = now + (1 / refresh rate) * 1e9, ts2 = last time we got dcp_swapped and ts3 = now does not break anything on any of the hdmi displays ive tested
12:50chadmedts2 is the only one im not _too_ sure is real but it seems to line up
12:51chadmedmacos doesnt like my vrr monitors though so i cant really test that with varying times between swaps for a given mode
12:55pb17 has joined #asahi-dev
13:08jannauI think I want to have a better understanding what the timestamps mean before setting them for all displays
13:09jannauoliver: I pulled the PR and modified it as suggested
13:11chadmedi dont really see how they could be anything else given the tight timing but sure
13:13jannauI suspect last_present_time might be render start time (i.e. just informative)
13:15jannauinstead of submit and present time I could imagine present time and timeout
13:16chadmedwould the timeout always be exactly one frame in the future though even if we're disallowing tearing
13:16jannaushould not make much of a difference in practice
13:17chadmed(enabling tearing in the surfaces seems to fix the laggy brightness changing and some other weird stuff btw)
13:24okb has joined #asahi-dev
13:32jannauI've pushed a v6.18.2 based tree to asahi-wip (untagged). Most signifant changes: upstream(-ish) dwc3/atc USB support and asahi GPU driver updates in preparation for upstreaming
13:34jannaunot yet tagged because the usb changes are expected to break usb in u-boot and the macbook pro HDMI output is very likely broken as well
13:38jannauI'll first look into u-boot and afterwards into the hdmi out
13:38hdbngr_ has quit [Ping timeout: 480 seconds]
13:46hdbngr has joined #asahi-dev
13:47okb has quit [Ping timeout: 480 seconds]
13:50hightower3 has joined #asahi-dev
13:57hightower4 has quit [Ping timeout: 480 seconds]
13:59hdbngr has quit [Ping timeout: 480 seconds]
14:02okb has joined #asahi-dev
14:06hdbngr has joined #asahi-dev
14:15hdbngr has quit [Ping timeout: 480 seconds]
14:21fossdd has quit [Remote host closed the connection]
14:22hdbngr has joined #asahi-dev
14:24okb has quit [Ping timeout: 480 seconds]
14:30hdbngr has quit [Ping timeout: 480 seconds]
14:38hdbngr has joined #asahi-dev
14:38fossdd has joined #asahi-dev
14:47fossdd has quit [Remote host closed the connection]
14:48fossdd has joined #asahi-dev
15:13fossdd has quit [Remote host closed the connection]
15:13fossdd has joined #asahi-dev
15:15jannauI've tagged and pushed u-boot asahi-v2025.10-1
15:16okb has joined #asahi-dev
15:45campagnol has joined #asahi-dev
15:50campagnol has quit [Quit: campagnol]
15:50campagnol has joined #asahi-dev
15:53amarioguy has joined #asahi-dev
15:59hdbngr has quit [Ping timeout: 480 seconds]
16:07hdbngr has joined #asahi-dev
16:13catred2 has joined #asahi-dev
16:13catred has quit [Read error: Connection reset by peer]
16:16hdbngr has quit [Ping timeout: 480 seconds]
16:20hdbngr has joined #asahi-dev
16:29hdbngr has quit [Ping timeout: 480 seconds]
16:37hdbngr has joined #asahi-dev
16:45hdbngr has quit [Ping timeout: 480 seconds]
16:53hdbngr has joined #asahi-dev
17:01nnym has quit [Ping timeout: 480 seconds]
17:03nnym has joined #asahi-dev
17:07hdbngr has quit [Remote host closed the connection]
17:07hdbngr has joined #asahi-dev
17:11amarioguybtw for AIC2, is AIC2_DELAY_GROUPS in the linux driver that "grouping" register mentioned in the mailing list discussion?
17:11amarioguysince the linux driver doesn't use it, trying to get any info i can before i have to resort to bit twiddling to find out specifics
17:13amarioguyCLUSTER_PRIO makes sense, that's easy enough to test, but i guess the symbol is what's unclear to me because mailing list seems to imply cpu groups can be prioritized, but the symbol implies it can only do a delay
17:14nnym has quit [Remote host closed the connection]
17:14nnym has joined #asahi-dev
17:16hdbngr has quit [Ping timeout: 480 seconds]
17:21hdbngr has joined #asahi-dev
17:30campagnol has quit [Ping timeout: 480 seconds]
17:30hdbngr has quit [Ping timeout: 480 seconds]
17:30campagnol has joined #asahi-dev
17:37hdbngr has joined #asahi-dev
17:41pb17 has quit [Ping timeout: 480 seconds]
17:43pb17 has joined #asahi-dev
17:45campagnol has quit [Remote host closed the connection]
17:46hdbngr has quit [Ping timeout: 480 seconds]
17:54oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:54hdbngr has joined #asahi-dev
17:57nickchanalright figured rtkit v10 (iOS 11-13); only critical difference is epmap is completed within 1 message so MGMT_MSG_EPMAP_REPLY_DONE and MGMT_MSG_EPMAP_REPLY_MORE doesn't exist
17:58nickchana small patch will make the existing code work
18:01oliver has joined #asahi-dev
18:02oliver has quit []
18:06oliver has joined #asahi-dev
18:07okb has quit [Ping timeout: 480 seconds]
18:11hdbngr has quit [Ping timeout: 480 seconds]
18:14oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
18:17oliver has joined #asahi-dev
18:18hdbngr has joined #asahi-dev
18:29nnym_ has joined #asahi-dev
18:29nnym has quit [Read error: Connection reset by peer]
18:31hdbngr has quit [Ping timeout: 480 seconds]
18:38hdbngr has joined #asahi-dev
18:47hdbngr has quit [Ping timeout: 480 seconds]
18:56hdbngr has joined #asahi-dev
19:04hdbngr has quit [Ping timeout: 480 seconds]
19:14hdbngr has joined #asahi-dev
19:23hdbngr has quit [Ping timeout: 480 seconds]
19:23hdbngr has joined #asahi-dev
19:30jannaumacbook pro hdmi out fixed
19:31oliverjannau, chadmed: just reading the conversation here. "setting ts1 = now + (1 / refresh rate) * 1e9, ts2 = last time we got dcp_swapped and ts3 = now" it just doesn't match the data from dcp trace at all. i wrote this on github: ts1 does not depend on real time and only increments by 1 / desired refresh rate. ts2 is approx ts1+14ms and ts3 is approxy ts1+12ms. Both are slightly varying from frame to frame. or do i missing something and
19:31oliverthe dcp tracing values need more interpretation?
19:32hdbngr has quit [Ping timeout: 480 seconds]
19:37jannauoliver: I wouldn't necessarily trust timestamps vs real time relations from traces
19:38jannaubut I wouldn't rule out that the timestamps are all relative. that would explain why setting a static value works
19:41hdbngr has joined #asahi-dev
19:41oliver * if they were relative, ts1 wouldn't increment by exactly 1/rrate.
19:41oliverbut that does not make sense:
19:41oliver * i get about ~5 swap submit commands per second with ts1 increasing by exactly 1/rrate on each command. if they were related to any realtime-like clock, again, the difference between two swap commands would not be exactly 1/rrate.
19:43oliverand with rrate i mean 120hz here, not the real swap rate
19:44oliveror 60hz, depending on what content is visible
19:45jannauI mean relative to one of the ts fields. i.e. ts_X is the current time and the other fields are relative to it
19:46oliverbut they are not. all tsX are in the same ballpark. ts2-ts1 and ts3-ts1 are always about 12-14ms
19:49hdbngr has quit [Ping timeout: 480 seconds]
19:53nimprod3l has joined #asahi-dev
19:55jannauI think we're speaking past each other
19:59hdbngr has joined #asahi-dev
20:07oliverCould be
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:15hdbngr has joined #asahi-dev
20:30hightower4 has joined #asahi-dev
20:33hdbngr has quit [Ping timeout: 480 seconds]
20:38hightower3 has quit [Ping timeout: 480 seconds]
20:41hdbngr has joined #asahi-dev
20:50hdbngr has quit [Ping timeout: 480 seconds]
20:58hdbngr has joined #asahi-dev
21:00chadmed has quit [Quit: Konversation terminated!]
21:00chadmed has joined #asahi-dev
21:01chadmed has quit []
21:01chadmed has joined #asahi-dev
21:07hdbngr has quit [Ping timeout: 480 seconds]
21:16hdbngr has joined #asahi-dev
21:25hdbngr has quit [Ping timeout: 480 seconds]
21:32hdbngr has joined #asahi-dev
21:40hdbngr has quit [Ping timeout: 480 seconds]
21:48hdbngr has joined #asahi-dev
21:49nimprod3l has quit [Ping timeout: 480 seconds]
21:57hdbngr has quit [Ping timeout: 480 seconds]
22:05hdbngr has joined #asahi-dev
22:14hdbngr has quit [Ping timeout: 480 seconds]
22:21hdbngr has joined #asahi-dev
22:23hightower3 has joined #asahi-dev
22:26jannauoliver: with the relative timeing I tought that maybe dcp interprets one of the timestamps as current time. the other timestamps would then be relative to that one
22:28hightower4 has quit [Ping timeout: 480 seconds]
22:31chadmedthe traces are going to be hard to interpret as meaningfully related to realtime no matter what we do because m1n1 is stealing time while our timebase still ticks up
22:31chadmedi just dont see what these three timestamps, which are so closely correlated, could possibly be other than what we have already inferred
22:32hdbngr has quit [Ping timeout: 480 seconds]
22:33jannauthe HV isn't stealing time anymore by default (by modifying various timers)
22:39jannauI think there are multiple interpretations possible. there's probably not much difference in practice but it's still worth experimenting to see if we can learn more
22:40hdbngr has joined #asahi-dev
22:41chadmedyeah, ill try get macos to play nice with my vrr monitors and see what happens to the timestamps
22:42chadmedoh ill need a 13.5 install wont i
22:49hdbngr has quit [Ping timeout: 480 seconds]
22:56hdbngr has joined #asahi-dev
23:01leiofwiw, I'm reading that all M1, and M2/M3 base don't support VRR over HDMI in macOS
23:01leioM2 Pro and up, M3 Pro and up and all M4 supposedly do
23:01chadmedyeah ive got dp adapters
23:02chadmedi just dont use them because im booted into linux 99.999% of the time
23:02leiooh, right, for the purpose of DCP understanding I suppose tracing over a DP one would work
23:03chadmedyeah we're just trying to understand these timestamps right now
23:05hdbngr has quit [Ping timeout: 480 seconds]
23:13hdbngr has joined #asahi-dev
23:21hdbngr has quit [Ping timeout: 480 seconds]
23:25hdbngr has joined #asahi-dev
23:33hdbngr has quit [Ping timeout: 480 seconds]
23:34Tramtrist has joined #asahi-dev
23:39Tramtris1 has quit [Ping timeout: 480 seconds]
23:41hdbngr has joined #asahi-dev
23:50hdbngr has quit [Ping timeout: 480 seconds]
23:56chadmedfinding an installer for 13.5 is becoming incredibly difficult
23:58hdbngr has joined #asahi-dev
…