** Description changed: [ Impact ] - Night Light has no effect, and cannot be turned off again, when the - monitor has no colour profile assigned in Settings. + Night Light does not warm the display when the monitor has no colour + profile assigned in Settings, even if the output supports a hardware + gamma lookup table (LUT). - The fix applies the blackbody temperature ramp even when no colord - profile is assigned; without VCGT data the profile is not needed for the - temperature adjustment. + The fix applies the temperature adjustment without a colour profile and + restores the neutral ramp when Night Light is turned off. It does not + add support for outputs without a gamma LUT. [ Test Plan ] - 1. On Ubuntu 26.04 with GNOME on Wayland, open Settings > Color and make - sure no colour profile is assigned to the monitor. - 2. Toggle Night Light on in Settings > Displays; the screen should warm - up, and toggling it off should restore the normal white point. - 3. Regression check: with a calibrated ICC/VCGT profile assigned, Night - Light and the calibrated gamma must still behave as before. + 1. On Ubuntu 26.04 with GNOME on Wayland, use an SDR output with a + hardware gamma LUT. In Settings > Color, make sure no colour profile + is assigned. With Night Light off, note the display's white point. + 2. In Settings > Displays, set Night Light to a visibly warm temperature + and set the schedule so that it is active now. On the released build, + the unprofiled display should stay unchanged. On the proposed build, + it should warm up. Turn Night Light off and verify that the display + returns to the white point noted in step 1. + 3. Assign an ICC profile with VCGT calibration curves that visibly + change the display. On the proposed build, repeat the Night Light + toggle. Turning it off should restore the calibrated appearance, + not the unprofiled appearance from step 1. + 4. With Night Light still off, remove the profile and verify that the + display returns to its unprofiled appearance without retaining the + old calibration. Reassign the profile and verify that calibration + returns. [ Where problems could occur ] - The change is confined to the colour-management path. A regression would - show up as an incorrect gamma ramp, Night Light not toggling, or a - calibrated profile being ignored. Calibrated setups with VCGT data still - take the profile-dependent branch, so they should be unaffected. + The change affects how Mutter updates the gamma LUT when Night Light + turns on or off or when a colour profile is removed. A regression could + leave a warm tint after Night Light is turned off, leave stale + calibration after a profile is removed, or fail to restore calibration + when Night Light is turned off with a profile still assigned.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2013039 Title: Night Light doesn't work when the monitor's colour profile is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/2013039/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
