Saturday, 2025-05-24

*** amccarthy is now known as Guest1665202:24
*** amccarthy_ is now known as amccarthy02:24
riniguson nagara port, I have logcat infested with messages like "19 I SDM     : StcManager::ProcessModeSwAssets():781 Cannot find mode (gamut 1 gamma 1 intent 0) in mode list"13:07
rinigusfrom comparing los21 and sfos logcats, it looks like getColorModes are not requested in sfos.13:07
rinigusalso, from grepping libhybris and qt5-qpa-hwcomposer-plugin, I don't see anywhere where setcolormode would be called. also, in hybris, only setColorMode version without intent is available.13:07
riniguslonger description with logs is at https://github.com/sailfishos-sony-nagara/main/issues/1413:07
rinigusam I missing something or is that part not implemented?13:07
malI think we might not be supporting wide color ranges properly13:15
malrinigus: where is that setColorMode in android side?13:16
rinigusmal: in surfaceflinger13:22
rinigusmal: for example in HidlComposer::setColorMode13:23
rinigus... in general, there is a lot of color handling in surfaceflinger. would have to look it through13:26
malyeah, hwc2 compat layer doesn't have setColorMode at the moment13:36
Mister_Magisterwhat about changing refresh rate13:44
malis there some issue with framerate? other that sfos not showing high values correctly?13:54
rinigusmal: if I want to hack something which would set solor mode, I should start from https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/hwcomposer/hwcomposer_backend_v20.cpp#L21914:15
rinigusand then move where it takes me? libhybris I guess...14:15
malyou would need to add set color mode support to https://github.com/libhybris/libhybris/blob/master/compat/hwc2/hwc2_compatibility_layer.cpp14:17
maland the header of that14:18
malhwc2_compat_display_set_color_mode would be needed14:18
maland maybe get color modes also, not sure14:19
rinigusyes, probably. and getrenderintent as well. but I would have to call those from qpa-hwcomposer, right?14:19
malyes, afaik14:19
rinigusthanks! will try/test and report back14:20
T42<NotKit> for hwc2, also check my MR which imported newer Android classes14:20
T42<NotKit> but as mal said, hwc2_compat_display_set_color_mode need to be added14:20
rinigus@NotKit: yes, I saw that in libhybris repo. the one with aidl support, right?14:24
T42<TheVancedGamer> yes14:27
malI should have a look at that PR14:30
Mister_Magistermal: it works but android dynamically lowers it to save battery15:00
Mister_Magisteralso there is, its in issue tracker15:01
Mister_Magistermal: how about having a look at my timed pr pretty please :P15:01
*** deathmist1 is now known as deathmist18:48
T42<freesoftwareman> Xiaomi Redmi Note 13 Pro emerald port?20:13
T42<elros34> @adampigg do you have some pointers why mtp doesn't work on pro1x?21:49

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!