redshift icon indicating copy to clipboard operation
redshift copied to clipboard

redshift causing flickering screen?

Open rw1018 opened this issue 10 years ago • 66 comments

I just installed redshift (ubuntu 14.04) but its causing my screen to flicker between the red color temperature and regular temperature. Anybody know what might be causing this?

Thanks!

rw1018 avatar May 22 '15 02:05 rw1018

Same problem here, on 4.0.4-2-ARCH, using nvidia binary drivers (352.09). Either randr or vidmode method makes the flickering happen.

I'm on awesome wm and I am running compton.

micaelbergeron avatar Jun 10 '15 00:06 micaelbergeron

This is an old issue I guess: https://bbs.archlinux.org/viewtopic.php?id=153873 I had the same experience, there was 2 redshifts running. I ended one of them and everything is fine. I guess this is some sort of autostart bug or it is because I set the location from console, so the first instance started then, and the other one when I installed the gtk. (I use Mint 17.2.)

ghost avatar Aug 25 '15 03:08 ghost

In my case (nvidia) it is not exactly flickering, but an abrupt change of colours for some seconds.

auxsvr avatar Aug 25 '15 07:08 auxsvr

I too had the same issue as @inf3rno, perhaps somebody should close this issue?

winny- avatar Apr 10 '16 09:04 winny-

I am having this same issue but only on some full screen apps (I've posted here #334 ). I definitely only have one instance of redshift starting (from selecting autostart / if I deselect that it doesn't start) however when I look at my task manager, I have two instances of redshift and one of redshift-gtk. If I kill one instance of redshift, it remains running (ditto if I kill redshift-gtk) but the flickering in certain full screen apps remains.

ThornedRose avatar May 11 '16 08:05 ThornedRose

Forgot to say I didn't have this problem at all on Openbox, LXDE or LXQT but have it in Deepin (on Arch Linux)

ThornedRose avatar May 11 '16 08:05 ThornedRose

Similar problem here. Currently I'm on Fedora 24 and sometimes screen flickers (for example when I enter youtube or gmail). Effect looks like I you would stop & start redshift (color changes to blue, then slowly to red again).

Those are redshift processes (it's not a problem of two instances being opened in parallel, right?):

[12:12:09] kuba:~ $ ps -A | grep -i redshift
 4705 tty2     00:00:00 redshift-gtk
 4707 tty2     00:00:00 redshift

Those are packages I have installed:

redshift.x86_64                      1.11-2.fc24                @fedora         
redshift-gtk.x86_64                  1.11-2.fc24                @fedora 

I'm running on machine with i7 6700K and use integrated graphics.

jmayday avatar Jul 23 '16 10:07 jmayday

Big thanks @inf3rno - I forgot I had the KDE applet running redshift when I finally got around to setting up the ~/.config/redshift.conf and --user systemD unit file, which of course left me with two instances of redshift running and the dreaded flicker. This thread came up on google page 1 for the problem and problem solved!

kfiresmith avatar Aug 31 '16 23:08 kfiresmith

@kfiresmith You're welcome! :+1: Can you write a short tutorial for the others?

ghost avatar Sep 01 '16 01:09 ghost

@inf3rno - not really sure where to document, but it's pretty well covered by the first couple of posters in this thread - the problem was not with Redshift but with me foolishly running both the SystemD service and the KDE applet - they were both in contention with eachother.

kfiresmith avatar Sep 01 '16 15:09 kfiresmith

If these fixes are not fixing your problem it's possible you have the same problem as me - Typically on my Windows machine I use flux, not knowing about redshift I downloaded some binaries for flux and used some install script. So Flux was actually conflicting with Redshift. Removed flux binaries from /usr/local/bin folder and my problem went away!

o7-machinehum avatar Aug 29 '17 23:08 o7-machinehum

I'm seeing this with on process on Debian 9 with an AMD Vega

Any thoughts?

PhilipDeegan avatar Dec 03 '17 21:12 PhilipDeegan

I am seeing a problem with intermittent "flicker" - and I definitely have only one instance of redshift running and no other conflicting utilities. My problem appears as an infrequent and intermittent quick flash of default (daytime) colours before the redshifted colours are immediately reapplied. With the colour temp range set to 6500:3500 this is only really visible at night. I can provoke the flicker by repeatedly triggering colour transitions in gtk-redshift.

I have seen this problem for several months now with various versions of AMDGPU-PRO (hybrid) drivers on two different machines (both Ubuntu 16.04), one with RX 460 and the other with RX Vega. I can use either the default "randr" or "vidmode" methods to set colours, but the problem still exists.

For now my workaround is to fire off "redshift -ro" every so often via a crontab to minimise LUT changes.

chinf avatar Dec 17 '17 22:12 chinf

Wow ... a nearly 6-years old bug ! Is there any hope seeing this fixed ?

bestouff avatar Jan 17 '18 17:01 bestouff

I've started having this issue on the Linux 4.15-rc7 kernel, with an AMD graphics card (RX Vega 64). The flickers aren't caused by two instances being open. And only occur once every few minutes, sometimes not at all for ~20 minutes.

Any idea what this could be?

spacekookie avatar Jan 20 '18 01:01 spacekookie

Also having random flickers every few minutes or so, started immediately after rebooting from kernel 4.14 to kernel 4.15 (also AMD graphics, RX 560, Padoka PPA drivers in Xubuntu 17.10 on X). 4.15 just officially came out, so if that is the source of the problem then there'll likely be many more people running into this sometime soon.

Gotolei avatar Jan 29 '18 22:01 Gotolei

Also having this problem with R9 380 AMD card on Kernel 4.15 with single instance of redshift running

System:    Host: DS9 Kernel: 4.15.0-1-MANJARO x86_64 bits: 64 gcc: 7.2.1 Desktop: i3 4.14.1

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) driver: amdgpu Resolution: [email protected]
           OpenGL: renderer: AMD Radeon R9 380 Series (TONGA / DRM 3.23.0 / 4.15.0-1-MANJARO, LLVM 5.0.1)

freed00m avatar Jan 31 '18 12:01 freed00m

Same issue here after kernel update.

inxi -Fx command output :

System:    Host: zxvfxtie Kernel: 4.15.0-1-ARCH x86_64 bits: 64 gcc: 7.3.0 Desktop: i3 4.14.1
           Distro: Arch Linux

Graphics:  Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580]
           bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: intel,amdgpu (unloaded: modesetting,vesa)
           Resolution: [email protected]
           OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-1-ARCH, LLVM 5.0.1)

zxvfxwing avatar Feb 02 '18 17:02 zxvfxwing

🌞 Aha I have found the cause of the problem, at least on my Ubuntu 17.10 !

Since a recent version, gnome-shell has its own native redshift integration. And I still had gnome-shell-extension-redshift installed, which means both implementations were walking on each other's toes, resulting in some flickering now and then. I just uninstalled the extension and no more flickering, for now.

Hope this help

bestouff avatar Feb 03 '18 08:02 bestouff

@bestouff That issue also occurs when running Redshift twice. Which isn't the case for me (or it seems OP either) though

spacekookie avatar Feb 03 '18 19:02 spacekookie

The thing is, gnome-shell has integrated its code, i.e. you can't find a process called redshift but the functionality is there. So if you see a process called redshift it means it's competing with gnome-shell. Try a killall redshift, it should work way better afterwards.

bestouff avatar Feb 03 '18 21:02 bestouff

Thing is, not everyone is using gnome-shell.

I wonder if this should just be split into a different issue at this point, seems the original problem (two instances) was basically human error while the new problem of kernel 4.15 causing it to glitch isn't.

Gotolei avatar Feb 03 '18 21:02 Gotolei

@bestouff You clearly didn't understand what I said. Thank you for explaining me how to kill a program 🙄

spacekookie avatar Feb 03 '18 21:02 spacekookie

@Gotolei Exactly, but I think the new issue could be dealt with right here as the title of the bug fits the profile.

EDIT: logging verbose output did not produce output.

freed00m avatar Feb 03 '18 21:02 freed00m

My comment was there just to help, don't take offense. Anyway I've created a separate issue for this: tommie-lie/gnome-shell-extension-redshift#30

bestouff avatar Feb 04 '18 09:02 bestouff

yes i have this issue on 4.15 kernel single instance of redshift under manjaro kde edition

supagu avatar Feb 06 '18 22:02 supagu

I've the same issue after upgrading to the kernel 4.15. I'm using Plasma 5 and I've only one instance running. My GPU is AMD radeon RX480 and the driver is AMDGPU. I tried to use another blue filter software called Iris (without redshift opened) and the same issue appeared so I think that's not specific to redshift.

unixfox avatar Feb 07 '18 18:02 unixfox

Same story when upgrading from 4.13 to 4.15+amdgpu dc under RX580.

MageSlayer avatar Feb 12 '18 15:02 MageSlayer

Same issue with kernel 4.15.2, amdgpu, and an RX 560. Screen flickers to the native color temperature shortly (I'd say a frame or two) from time to time. I'm running cinnamon 3.6.7, which AFAIK has no built-in blue-light killer. No suspicious output in dmesg or journalctl that could hint at the cause of the issue. No duplicate redshift instance either.

EDIT: Checked that there is no log from redshift -v either, and that the problem happens with either randr or vidmode methods. The drm method has no observable effect on this hardware.

HadrienG2 avatar Feb 13 '18 19:02 HadrienG2

I've created a bug for amdgpu here - https://bugs.freedesktop.org/show_bug.cgi?id=105083 You might be interested in putting some more details.

MageSlayer avatar Feb 13 '18 20:02 MageSlayer