2026-09-14
00:00samjo has joined #asahi-re
00:08samjo has quit [Ping timeout: 480 seconds]
00:23love has quit [Ping timeout: 480 seconds]
00:30maxhogan21 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:36maxhogan21 has joined #asahi-re
00:40amarioguy has joined #asahi-re
00:42bgb has quit [Remote host closed the connection]
00:44maxhogan21 has quit [Ping timeout: 480 seconds]
00:48bgb has joined #asahi-re
00:56pb17 has quit [Ping timeout: 480 seconds]
00:59pb17 has joined #asahi-re
00:59msimonelli2 has quit [Remote host closed the connection]
00:59msimonelli2 has joined #asahi-re
01:12amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:12amarioguy has joined #asahi-re
01:31amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-re
02:56pb17 has quit [Ping timeout: 480 seconds]
03:06pb17 has joined #asahi-re
03:11tg473 has joined #asahi-re
03:16tg47 has quit [Ping timeout: 480 seconds]
03:16tg473 is now known as tg47
03:43ddxtanx has joined #asahi-re
06:32sefidel has quit [Remote host closed the connection]
06:34sefidel has joined #asahi-re
07:01sven has quit [Quit: The Lounge - https://thelounge.chat]
07:02sven has joined #asahi-re
07:02r0ni has quit [Ping timeout: 480 seconds]
07:04ddxtanx has quit [Remote host closed the connection]
07:13superdisk_ has joined #asahi-re
07:49xal has quit []
07:51xal has joined #asahi-re
09:24love has joined #asahi-re
10:04bennofs3 has quit [Quit: Ping timeout (120 seconds)]
10:05bennofs3 has joined #asahi-re
10:06chadmed has quit [Quit: Konversation terminated!]
10:06chadmed has joined #asahi-re
11:00samjo has joined #asahi-re
11:23love has quit [Ping timeout: 480 seconds]
11:55love has joined #asahi-re
12:12chadmed has quit [Quit: Konversation terminated!]
12:12chadmed has joined #asahi-re
12:13chadmed has quit [Read error: Connection reset by peer]
12:13chadmed has joined #asahi-re
12:59foltz5 has quit [Ping timeout: 480 seconds]
13:12pb17 has quit [Ping timeout: 480 seconds]
13:14foltz5 has joined #asahi-re
13:16pb17 has joined #asahi-re
13:18bennofs3 has quit [Quit: Ping timeout (120 seconds)]
13:18bennofs3 has joined #asahi-re
13:40samjo has quit [Ping timeout: 480 seconds]
13:45love has quit [Ping timeout: 480 seconds]
13:59samjo has joined #asahi-re
14:49WindowPain has quit [Ping timeout: 480 seconds]
14:51WindowPain has joined #asahi-re
14:53foltz53 has joined #asahi-re
14:53foltz5 has quit [Ping timeout: 480 seconds]
14:53foltz53 is now known as foltz5
15:12foltz5 has quit [Ping timeout: 480 seconds]
15:22bgb has quit [Remote host closed the connection]
15:23bgb has joined #asahi-re
15:44linuxgemini is now known as Guest210
15:44linuxgemini has joined #asahi-re
15:46Guest210 has quit [Ping timeout: 480 seconds]
16:16r0ni has joined #asahi-re
16:27amarioguy has joined #asahi-re
16:29foltz5 has joined #asahi-re
17:01amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:25bgb has quit [Remote host closed the connection]
17:25bgb has joined #asahi-re
17:32calderweis[m] has joined #asahi-re
17:58alessaba has quit [Remote host closed the connection]
18:00bennofs3 has quit [Ping timeout: 480 seconds]
18:00alessaba has joined #asahi-re
18:06bennofs3 has joined #asahi-re
18:30pb17 has quit [Ping timeout: 480 seconds]
18:35pb17 has joined #asahi-re
18:52bgb has quit [Remote host closed the connection]
18:53bgb has joined #asahi-re
19:01bgb has quit [Remote host closed the connection]
19:05bgb has joined #asahi-re
19:28bgb has quit [Remote host closed the connection]
19:31bgb has joined #asahi-re
19:36bgb has quit [Remote host closed the connection]
19:36tropical has joined #asahi-re
19:40bgb has joined #asahi-re
19:43love has joined #asahi-re
19:46tropical has quit [Read error: Connection reset by peer]
19:47amarioguy has joined #asahi-re
19:49tropicaaal has joined #asahi-re
19:52bgb has quit [Remote host closed the connection]
19:55tropicaaal has quit [Quit: tropicaaal]
19:55tropicaaal has joined #asahi-re
19:56bgb has joined #asahi-re
20:05rivendell has quit [Remote host closed the connection]
20:06rivendell has joined #asahi-re
20:09tropicaaal has quit [Quit: tropicaaal]
20:32amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:38amarioguy has joined #asahi-re
20:40lacedawn[m] has joined #asahi-re
20:48tropicaaal has joined #asahi-re
20:48tropicaaal has quit [Read error: Connection reset by peer]
21:06superdisk_ has quit [Ping timeout: 480 seconds]
21:22amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:25tropicaaal has joined #asahi-re
21:34tropicaaal has quit [Quit: tropicaaal]
21:35amarioguy has joined #asahi-re
21:50katia has quit [Quit: ZNC - https://znc.in]
21:53amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:08bobjr has joined #asahi-re
22:08bobjr has quit []
22:09bobjr has joined #asahi-re
22:09bobjr has quit []
22:10bobjr has joined #asahi-re
22:12bobjrMac mini M2 (j473), external display over USB-C on dcpext, 13.5 fw. At 4K120 (timing 94, 1066500 kHz) only the first ~10 lines of each frame are correct, the rest is zeros (black in RGB, green in YCbCr). DCP publishes "bool underrun = 1" on that modeset, and does not at 4K60 or 1440p120.
22:13bobjrRuled out by experiment: memory bandwidth (upscaled 1440p source behaves identically), PMGR perf states (same zeros under macOS), DP link rate (same band with YCbCr 4:2:2 10-bit, 21.3 of 25.92 Gbps), colour mode, and every appledrm module parameter.
22:13bobjrmacOS on the same machine (Ventura under m1n1) drives 4K120 cleanly. Any idea what the pipe needs at ~1 Gpix/s that we are not programming? Happy to dump registers or traces if that helps.
22:14chaos_princesswhat display model
22:14bobjrchaos_princess: Philips PHL 279M1RV, 4K 120Hz panel, connected over USB-C (DP alt mode, HBR3 x4). 4K60 and 1440p120 are fine; the monitor itself does 4K120 - macOS on the same machine and the same cable drives it cleanly.
22:15amarioguy has joined #asahi-re
22:16chaos_princessis it doing 10bit colour, or 8?
22:16bobjrchaos_princess: by default Linux picks colorID 97 = RGB 8bpc, ie 25.6 Gbps of the 25.92 HBR3x4 budget - suspiciously tight. But I forced colorID 130 (YCbCr 4:2:2 10bit, 21.3 Gbps, what macOS picks on this timing) and the band is identical, just green instead of black. So it does not look link-limited.
22:18chaos_princessits probably something involving dsc then
22:21bobjrchaos_princess: fits with what I measured - it is not bytes, it is pixels. NV12 at 4K120 reads 1.49 GB/s and still underruns, while 4K60 at 32bpp reads 1.99 GB/s and is fine. Everything up to ~530 Mpix/s works, 1066 does not - as if the pipe does 1 pixel/clock where macOS gets 2. Is that tied to DSC here? There is no dsc code in the dcp driver at all.
22:31bobjrchadmed: yeah, traced it under m1n1 with macos as guest, 4k60 and 4k120 both. iomfb calls match what we send, m3 timing params match, split is 0 on both sides
22:31bobjralso got the fw to print its own underrun report: "display underrun [frame:1261] [line:21] 0x8, latencies: GP [0, 0] PIODMA [0] SMMU [0] REPLAY [0] PDC [0], DecompFail [0]". so nothing is starving it, it just cannot keep up with the pixel rate. fits the 1 vs 2 pixels per clock idea
22:32bobjrchaos_princess: dsc looks out on this pair fwiw. macos at working 4k120 has SupportsDSC=0 on every colour element and DSCRequiredColorElementIDs empty, same in linux. no dsc calls in the macos fw log either. the panel advertises 4k120 uncompressed (displayid 1.2, 1066.5 mhz) and hbr3x4 just barely fits it
22:32bobjrthe underrun lands at line 21 / pixel 2664, ~83k pixels into the frame. if the pipe were only 5% short the prefetch buffer would have to be about one line; at half rate it works out to ~11 lines, which is a sane line buffer. so 1 px/clk vs 2 keeps fitting
22:33bobjrbtw the fw debug gate is just a flag in its data segment, and the data segment is writable from the cpu (the code is not). flipping it makes the fw print the full underrun breakdown with per stage latencies. happy to share details if that is useful to anyone
22:37ohxorud has joined #asahi-re
22:41fl0_id_dunno, did you have claude write this? or humans are starting to speak like the machine...
22:43bobjrfl0_id_: said it above - english is llm-polished, im not a native speaker. the box, the traces and the numbers are mine. happy to just paste raw dmesg instead if that reads better
22:44fl0_id_bobjr sorry, it's just that you get very attuned to noticing these specific phrases it likes to use...
22:45amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:46amarioguy has joined #asahi-re
22:47bobjrj`ey: english is not my first language, so it is either broken or llm-polished. broken it is then
22:47bobjrso, current guess: pipe does 1 pixel per clock, macos gets 2. everything else checked and dead
22:51bobjr has quit [Quit: Page closed]
22:51bobjr has joined #asahi-re
22:56samjo has quit [Ping timeout: 480 seconds]
23:00amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:06bennofs3 has quit [Ping timeout: 480 seconds]
23:12bennofs3 has joined #asahi-re
23:30bobjr has quit [Remote host closed the connection]
23:31pb17 has quit [Ping timeout: 480 seconds]
23:43nicolas17 has quit [Ping timeout: 480 seconds]
23:44pb17 has joined #asahi-re
23:46love has quit [Remote host closed the connection]
23:47nicolas17 has joined #asahi-re
23:55samjo has joined #asahi-re