#asahi-dev · 2023-12-30 15:36
j`eywhy is set_block_dcp bad?#asahi-dev · 2023-12-30 15:28
j`eyok, thanks I will look, but don't have the means to actually do anything with it :(#asahi-dev · 2023-12-30 15:27
jannegthere are also several other gamma related calls in the DCP/iomfb endpoint. search for gamma in proxyclient/hv/trace_dcp.py#asahi-dev · 2023-12-30 15:26
jannegyes, macOS supports gamma LUTs and at least one of the nightshift macOS apps still works and uses that. that results in annoying set_block_dcp calls on the DCP endpoint#asahi-dev · 2023-12-30 15:23
j`eypresumably macOS uses CTM, so are we sure it also supports GAMMA?#asahi-dev · 2023-12-30 15:13
j`eyI don't know if I can do that, this was fun to mess around with #asahi-dev · 2023-12-30 15:11
jannegbut the better option would be to investigate how to set gamma LUTs with DCP#asahi-dev · 2023-12-30 15:11
j`ey(obviously I don't know how to do that yet!)#asahi-dev · 2023-12-30 15:09
jannegyes, won't work with that protocol unless you look at the gamma lut and check if it can be represented by a CTM which is not necessarily the case#asahi-dev · 2023-12-30 15:02
j`eyyeah https://wayland.app/protocols/wlr-gamma-control-unstable-v1#asahi-dev · 2023-12-30 15:02
jannegwhy not? does it just has an interface to set the gamma lut?#asahi-dev · 2023-12-30 14:59
j`ey*like kwin#asahi-dev · 2023-12-30 14:59
j`ey(so wlroots cant do a fallback like wlroots)#asahi-dev · 2023-12-30 14:59
j`eyyeah, thats what I assumed :(#asahi-dev · 2023-12-30 14:58
jannegyou have to start before the gamma lut. ctm would need to the same input as the code which computes the gamma lut#asahi-dev · 2023-12-30 14:56
j`eypresumably it's not just taking what was set from the gamma_lut and putting it into the ctm matrix..#asahi-dev · 2023-12-30 14:55
Tramtristoh wow.. excellent j`ey #asahi-dev · 2023-12-30 14:55
j`eyTramtrist: I just added some code so I can change it.. but need to figure out how to turn gamma into CTM for it to be usuable#asahi-dev · 2023-12-30 14:52
Tramtristj`ey yeah the redshift/gammastep issue still exists with wlroots #asahi-dev · 2023-12-30 14:52
Tramtristthough its not a dev channel necessarily#asahi-dev · 2023-12-30 14:51
Tramtristthere is also this leio https://matrix.to/#/#asahi:fedoraproject.org#asahi-dev · 2023-12-30 14:50
j`eysure thing. I don't even know what I will do with it, kwin falls back to CTM because it itself is calculating the 'redshift', whereas wlroots only has a gamma interface. Im not yet sure if you can convert gamma into ctm#asahi-dev · 2023-12-30 14:50
j`eyleio: no, the older dev channel is closed#asahi-dev · 2023-12-30 14:50
leiobtw, are we missing any further channels in bridging? I understood there's two matrix channels for dev with only #asahi-fedora-dev bridged so far?#asahi-dev · 2023-12-30 14:49
leiolink me up with any patches then, maybe I can combine it with kde one for gnome and make it easier to myself#asahi-dev · 2023-12-30 14:48
j`eyand thanks, that matrix worked, super cool#asahi-dev · 2023-12-30 14:48
j`eyjanneg: yeah I have a CTM prop there still in the CRTCs section#asahi-dev · 2023-12-30 14:46
leiothey get a white point already in mutter apaprently, just need to add CTM code instead of LUT there (it used to be more complicated with colord doing more stuff instead of compositor)#asahi-dev · 2023-12-30 14:45
jannegcan you check with drm_info if the CTM property is still set after exiting? if yes, you have to remove it, if no it's likely a driver bug#asahi-dev · 2023-12-30 14:45
j`eyno :P#asahi-dev · 2023-12-30 14:45
leiocan I nerdsnipe you into doing the same in gnome? *g#asahi-dev · 2023-12-30 14:44
j`eyI was looking at some matrix*vector thing, and nearly getting there#asahi-dev · 2023-12-30 14:44
j`eythanks!#asahi-dev · 2023-12-30 14:43
janneg1<<32, 0, 0, 0, 1<<32, 0, 0, 0, 1<<32#asahi-dev · 2023-12-30 14:42
jannegyes, (sign << 63) | (integer << 32) | fraction#asahi-dev · 2023-12-30 14:42
j`eyok, looking at kwin code helps..#asahi-dev · 2023-12-30 14:42
j`eyIm trying to assign a CTM that just does 'nothing'#asahi-dev · 2023-12-30 14:41
j`eyis it: |sign|integer|fractional|#asahi-dev · 2023-12-30 14:40
jannegS31.32 is a sign bit, 31-bit integer and 32-bit fractional#asahi-dev · 2023-12-30 14:40
j`eymakes sense, I didn't add that yet, thought it might automatically happen :)#asahi-dev · 2023-12-30 14:39
jannegj`ey: I think the drm client is supposed to reset properties on exit#asahi-dev · 2023-12-30 14:33
j`eysays: S31.32 sign-magnitude (not two's complement!)#asahi-dev · 2023-12-30 14:32
j`eyas a fixed point representation#asahi-dev · 2023-12-30 14:32
j`eyanyone understand exactly what S31.32 is? #asahi-dev · 2023-12-30 14:29
chadmedbleh okay ill do some investigating tomorrow#asahi-dev · 2023-12-30 14:29
kit_ty_katechadmed: i do confirm yeah#asahi-dev · 2023-12-30 14:18
chadmedkit_ty_kate: can you confirm that bypassing bankstown fixes the problem with the bass drum?#asahi-dev · 2023-12-30 14:14
chadmedhonestly i just need a j316 in front of me to test this properly, theyre very different machines#asahi-dev · 2023-12-30 14:14
chadmedj314 sounded fine when i tested yesterday, but ill test again tomorrow#asahi-dev · 2023-12-30 14:13
kit_ty_kateit's a bit difficult to describe i guess. Do you get the same thing with j314 or does it sound fine?