#asahi-dev · 2025-12-30 12:18
oliverProblem 1: what's the best way to find this out? Measure?#asahi-dev · 2025-12-30 12:18
chadmedi havent tried plugging in my dolby vision oled yet but thats another factor we have to consider since DV uses completely different colour spaces again lol#asahi-dev · 2025-12-30 12:17
chadmedso im not terribly keen on enabling hdr until we have some more control over colour modes and what dcp is doing to blend surfaces. at a minimum we need to figure out wiht more certainty what all of the surface colourspaces and transfer functions are#asahi-dev · 2025-12-30 12:16
chadmedwhen i plug the exact same monitor in via hdmi, it looks like total garbage because dcp thinks limited YCbCr is the "best" colour mode for that display#asahi-dev · 2025-12-30 12:15
chadmedso yeah it looks fine when everything lines up. my monitor plugged in to displayport with full range 10-bit RGB, PQ transfer func and BT.2020 colour space of course looks fantastic when kwin sets the surface framebuffer to ARGB2101010 and uses the PQ transfer function with BT.2020 colour space#asahi-dev · 2025-12-30 12:13
chadmedproblem 3 is that without flaky gross hacks that sometimes cause locks and hangs, we cannot switch between the correct surface primaries and transfer functions when enabling/disabling HDR at runtime #asahi-dev · 2025-12-30 12:12
chadmedtrying to output an RGB BT.2020 surface on to a limited range YCbCr BT.2020YCC display looks like crap #asahi-dev · 2025-12-30 12:12
chadmedproblem 2 is that DCP's mode selection logic is stupid, and for some displays will select YCC BT.2020 primaries#asahi-dev · 2025-12-30 12:12
chadmedproblem 1 is that we dont know that "DCP_XFER_FUNC_HDR" actually corresponds to PQ, HLG, or HDR10 which all use different curves#asahi-dev · 2025-12-30 12:12
oliverYea, but that's fine, isn't it? #asahi-dev · 2025-12-30 12:11
chadmedoliver: kwin can currently only put the connector into RGB BT.2020 with PQ transfer function #asahi-dev · 2025-12-30 12:04
oliverchadmed: would you mind explaining that a little bit please. regarding hdr and color spaces. What do you mean with color op? The changes in your branch? Also why do er need to care about mixed surfaces right now if kwin and mutter transformer everything to bt2020/pq anyway right now? And running one screen in sdr and one in hdr also looked fine yesterday. Mostly just for my understanding #asahi-dev · 2025-12-30 11:16
chadmedbut im back at work after this week :( #asahi-dev · 2025-12-30 11:16
chadmedmy plan at some point is to see what happens when we just fill in the mode properly and modeset to the vrr timings#asahi-dev · 2025-12-30 11:10
chadmedthere seems to be a lot of slack and no rhyme/reason to the values. some swaps dont even populate them at all#asahi-dev · 2025-12-30 11:09
chadmedthough on the topic i am less sure about those timestamps now than i was a week ago#asahi-dev · 2025-12-30 11:08
chadmedeliminating the lack of edid/timingelements as a factor to consider#asahi-dev · 2025-12-30 11:08
chadmedive been avoiding using that as a base because i want to see what dcp does for a display that behaves properly first#asahi-dev · 2025-12-30 11:06
chaos_princesswhat about the internal screen?#asahi-dev · 2025-12-30 11:06
chadmedyeah i mightve spent like 4 hours yesterday trying to figure out why HDR wasnt coming up in plasma#asahi-dev · 2025-12-30 11:06
leiomy monitor only advertises VRR if it's in "game mode", so I was confused there for a while with mine#asahi-dev · 2025-12-30 11:05
chaos_princessah, ok#asahi-dev · 2025-12-30 11:05
chadmedso i cant even arm the setting#asahi-dev · 2025-12-30 11:05
chadmedi dont get that far because macos doesnt recognise the monitors as vrr capable#asahi-dev · 2025-12-30 11:05
chaos_princessi mean the content#asahi-dev · 2025-12-30 11:04
chadmedon macos? plug in my monitor then look for the setting in system settings#asahi-dev · 2025-12-30 11:04
chaos_princesschadmed: how are you trying to make it do vrr?#asahi-dev · 2025-12-30 11:03
chadmedmacos doesnt want to do vrr with any of my monitors for some reason even though TimingElements brings back a bunch of supported VRR modes#asahi-dev · 2025-12-30 11:03
chadmednot sure what we need to do for VRR. hopefully its just a matter of filling out the drm_mode with the right info from TimingElements, setting a VRR mode then letting iomfb do the needful #asahi-dev · 2025-12-30 11:01
chadmedthis is doubly compounded when using multiple displays (especially across hdmi and dp) as the colour spaces can be different and we cant deal with that gracefully#asahi-dev · 2025-12-30 11:00
integralpilotstill says 12, but it's sending oslog messages that the previous driver didn't know how to handle and said were an invalid format#asahi-dev · 2025-12-30 11:00
chadmedtrying to grab the hdr metadata off the connector at the point we need it for dcp to properly deal with mixed hdr/sdr surfaces is flaky, and compositors cant yet deal with it anyway#asahi-dev · 2025-12-30 10:59
chadmedhdr is a no-go until the colour op stuff is merged so dont even bother with that (cc oliver)#asahi-dev · 2025-12-30 10:59
chadmednow that the cat's out of the bag ive pushed a rebased dcp/scanout branch #asahi-dev · 2025-12-30 10:58
nickchanupstream supports 11-12#asahi-dev · 2025-12-30 10:57
nickchanor still 12#asahi-dev · 2025-12-30 10:57
nickchanintegralpilot: did apple bump protocol version?#asahi-dev · 2025-12-30 10:55
integralpilotperfect, thanks!#asahi-dev · 2025-12-30 10:53
chadmedi would submit it as part of a "make rtkit on m3+ work" series #asahi-dev · 2025-12-30 10:52
chadmedi dont think theres any point in submitting the oslog thing by itself #asahi-dev · 2025-12-30 10:52
integralpilotthank you, makes sense!#asahi-dev · 2025-12-30 10:52
Shizbut considering sven is the maintainer, you'd cc him anyway :)#asahi-dev · 2025-12-30 10:52
Shizif it's a small self-contained patch, I'd just send it upstream directly and cc sven (personally, but I'm not super familiar with the process here)#asahi-dev · 2025-12-30 10:51
integralpilotthanks! so is it better to wait untill all of rtkit is ready for M3 and submit a series, or submit oslog now? and i shouldn't make a PR to asahi?#asahi-dev · 2025-12-30 10:51
Shizcan def recommend small self-contained patches#asahi-dev · 2025-12-30 10:51
Shizyea, makes for nicer reviewing :)#asahi-dev · 2025-12-30 10:50
nickchanmutliple patches in one series#asahi-dev · 2025-12-30 10:50
nickchanintegralpilot: that's why patch series is a thing#asahi-dev · 2025-12-30 10:47
nickchanand sven is a maintainer of that#asahi-dev · 2025-12-30 10:47
chadmedanything thats already upstream please just submit upstream