Lightpack icon indicating copy to clipboard operation
Lightpack copied to clipboard

Night Light and Windows 11

Open Arn0111 opened this issue 1 year ago • 5 comments

Hi, Night Light doesn't work with Prismatik on Windows 11. My system is Windows 11 Home 21H2. For now I'm using "apply color temperature and gamma" to get something working. But "Apply screen color modifications" doesn't do anything with Night Light enabled.

I am on the latest build 5.11.2.31.

Arn0111 avatar Sep 16 '22 16:09 Arn0111

It's the same issue that I've opened a thread few months back. No response or solution so far

lavenderyew avatar Sep 21 '22 11:09 lavenderyew

for context windows does not expose (yet anyway) night light through an API so current implementation is based on reverse engineered registry key/values, which is all but stable and as soon as MS alters those... so it must've changed for Win11 it needs to be rerereversed and patched possible workaround is using f.lux or similar for now do you have any keys with bluelightreduction in your regedit? if yes and they contain something like this, post here image

zomfg avatar Sep 21 '22 12:09 zomfg

Thank you for your reply.

I have 4 keys.

1 2 3 4

Arn0111 avatar Sep 21 '22 13:09 Arn0111

thanks, could you add key paths too like Computer\HKEY_USERS\XXXXXXXXXXXXXXXXX\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings etc

zomfg avatar Sep 21 '22 18:09 zomfg

My mistake I have 8 keys. 4 in HKEY_CURRENT_USER and 4 in HKEY_USERS. They are the same.

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud\default$windows.data.bluelightreduction.bluelightreductionstate\windows.data.bluelightreduction.bluelightreductionstate 5

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings 6

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.bluelightreductionstate\windows.data.bluelightreduction.bluelightreductionstate 7

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings 8

Two things I don't understand. Keys are never the same when I enable and disable night light. It seems unchanged numbers are 43 42 01 00 0a 00 26 XX XX XX 99 06 00

And sometimes windows.data.bluelightreduction.bluelightreductionstate and windows.data.bluelightreduction.settings are the same, sometimes not.

Arn0111 avatar Sep 21 '22 20:09 Arn0111