Bug ID 1090480
Summary OpenSUSE Leap 15 redshift causes screen flicker on KDE
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware x86-64
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component KDE Applications
Assignee opensuse-kde-bugs@opensuse.org
Reporter mobile.harvey@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Comparing two identical deployments of Tumbleweed and Leap 15 Beta with KDE
desktop. On each I have installed Redshift and added the Redshift widget to my
panel.

On Tumbleweed I see the expected behaviour whereby enabling the redshift widget
enables Redshift, and vice versa.

On Leap 15 however Redshift seems to be already running on boot, and enabling
the widget ends up with two instances seemingly running together. The result is
the screen will switch between cold and warm white balances every 1-2 seconds.
Disabling the widget stops the flickering but Redshift still seems to be
running (i.e. my screen changes to warm white balance in the evening).

Below are some observations which I believe sum-up the delta between Leap 15
and Tumbleweed. Can Leap 15 be made to work like Tumbleweed?

LEAP 15:
==========
With widget switched on:
nharvey@opensuse-thinkpad:~/.config> ps -ef | grep redshift
nharvey  14285  2345  0 12:12 ?        00:00:00 /usr/bin/redshift -t 6500 4000
-b 1 1 -g 1 1 1
nharvey  14371  2206  0 12:14 ?        00:00:00 /usr/bin/redshift
nharvey  14381 11475  0 12:14 pts/2    00:00:00 grep --color=auto redshift

With widget switched off:
nharvey@opensuse-thinkpad:~/.config> ps -ef | grep redshift
nharvey  14371  2206  0 12:14 ?        00:00:00 /usr/bin/redshift
nharvey  14432 11475  0 12:15 pts/2    00:00:00 grep --color=auto redshift

I then disable service:

nharvey@opensuse-thinkpad:~/.config> systemctl --user status redshift
��� redshift.service - Redshift display colour temperature adjustment
   Loaded: loaded (/usr/lib/systemd/user/redshift.service; disabled; vendor
preset: enabled
   Active: active (running) since Sun 2018-04-22 11:59:05 BST; 12min ago
     Docs: http://jonls.dk/redshift/
 Main PID: 12118 (redshift)
   CGroup: /user.slice/user-1000.slice/user@1000.service/redshift.service
           ������12118 /usr/bin/redshift
nharvey@opensuse-thinkpad:~/.config> systemctl --user stop redshift
nharvey@opensuse-thinkpad:~/.config> systemctl --user status redshift
��� redshift.service - Redshift display colour temperature adjustment
   Loaded: loaded (/usr/lib/systemd/user/redshift.service; disabled; vendor
preset: enabled
   Active: inactive (dead) since Sun 2018-04-22 12:12:35 BST; 6s ago
     Docs: http://jonls.dk/redshift/
  Process: 12118 ExecStart=/usr/bin/redshift (code=exited, status=0/SUCCESS)
 Main PID: 12118 (code=exited, status=0/SUCCESS)
nharvey@opensuse-thinkpad:~/.config> 

With widget switched on:
nharvey@opensuse-thinkpad:~/.config> ps -ef | grep redshift
nharvey  14443  2345  0 12:15 ?        00:00:00 /usr/bin/redshift -t 6500 4000
-b 1 1 -g 1 1 1
nharvey  14453 11475  0 12:15 pts/2    00:00:00 grep --color=auto redshift

With widget switched off:
nharvey@opensuse-thinkpad:~/.config> ps -ef | grep redshift
nharvey  14468 11475  0 12:16 pts/2    00:00:00 grep --color=auto redshift


Tumbleweed as at 22/04/2018:
=============================

With widget switched on:
nharvey@opensuse-acer-es1:~> ps -ef | grep redshift
nharvey   5968  2148  0 12:11 ?        00:00:00 /usr/bin/redshift -t 6500 4000
-b 1 1 -g 1 1 1
nharvey   6529  6343  0 12:21 pts/0    00:00:00 grep --color=auto redshift

With widget switched off:
nharvey@opensuse-acer-es1:~> ps -ef | grep redshift
nharvey   6541  6343  0 12:21 pts/0    00:00:00 grep --color=auto redshift


You are receiving this mail because: