Closed ghost closed 5 years ago
On Suzu (probly the entire Loire platform): The underlying display driver/library reports to HWC2 that it supports it, but errors out when using it. We've added a property to use the GPU fallback path in https://github.com/sonyxperiadev/bug_tracker/issues/80. I don't know where the problem lies; it could be lacking hardware support, or the blobs/kernel are messed up.
A similar problem occurs on Discovery (Nile platform) with SDE; something returns an error on the closed-source blob side. Even with extremely verbose debug logging, no obvious errors are seen in the kernel. (That said, I can't remember if nightlight was working there before. But I can definitely tell the hardware responsible for this transform functions just fine, as tested for https://github.com/sonyxperiadev/kernel/pull/1892).
It works just fine on Tama. I don't know about Yoshino or Tone.
tone, yoshino and tama are working fine
@gerg5c42g542g2c54g52c So if I understand correctly, all you wanted to ask is whether Night Light is supported on Xperia devices, because the option is not available in the menu?
I've been using Omnirom, and just now see that they have config_nightDisplayAvailable
enabled in a global overlay - it is not configured in any of the device-sony-
repos.
If so, I'll PR a change to enable it on all platforms. config_setColorTransformAccelerated
doesn't seem to be used anywhere else yet, so we can just leave that out until it is used and we are sure which platforms properly support HW accelerated color transforms.
@gerg5c42g542g2c54g52c See the referenced PR.
redacted