jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.91k stars 429 forks source link

Redshift flickers in Xubuntu 21.04 #817

Open quiversky opened 3 years ago

quiversky commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

  1. After booting up, the screen will flicker very fast - light and dark, then go to a slow 4 second cycle - 2 seconds light, 2 seconds dark
  2. Sometimes, two lightbulbs will appear in the tray and the screen will flicker quickly

To Reproduce Steps to reproduce the behaviour:

  1. Install redshift

  2. redshift.conf.txt

  3. Scroll down to '....'

  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Error output/logs/screenshots If applicable, add screenshots to help explain your problem.

Software versions (please complete the following information):

sicherist commented 3 years ago

I have the same problem in Kubuntu 21.04

sicherist commented 3 years ago

Probably the same as #810

vrossum commented 3 years ago

Probably two instances running. Check with ps uax and kill one, or killall redshift-gtk and start one up again.

To the developer: redshift should have one instance max. Some programmes have that.

mbeko commented 3 years ago

I have the same issue after updating to 21.04. Since Redshift hasn't had a new release in the recent years, I assume it's because of the update to Python 3.9.

I'll see if I can fix that properly. Restricting to one instance should be implemented for such a program in general, but we should also fix the root cause here.