#985982 redshift: reshift flickers randomly between night mode and daylight mode

Package:
redshift
Source:
redshift
Description:
Adjusts the color temperature of your screen
Submitter:
Bert Schlumwig
Date:
2021-06-08 03:24:02 UTC
Severity:
important
#985982#5
Date:
2021-03-27 13:04:23 UTC
From:
To:
Dear Maintainer,

Redshift flickers randomly between night mode and daylight mode after it has
activated the night mode.
When it is in night mode, it randomly changes the color-temp briefly back to
daylight mode for a second and then goes back into night mode again.

Sometimes after a reboot it works properly, sometimes not. Even when waking up
from suspend it is completely luck whether it does flicker or not.

This is not the expected behaviour.

I added in ~/.config/redshift/redshift.conf and also in ~/.config/redshift.conf
the following lines (which do not have any impact on this flickering issue):

[redshift]
location-provider=manual

[manual]
lat=52.52
lon=12.6

#985982#10
Date:
2021-06-08 02:57:04 UTC
From:
To:
On my system, the repeated cycling between day and night only seems to happen
with the "randr" adjustment method.

If I manually set the method to "vidmode" either on the command line
(-m vidmode) or in the config file (adjustment-method = vidmode), the
color adjusts and stays constant as expected.

I haven't investigated any further, but maybe that's a work-around until
a proper fix can be found.