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.82k stars 424 forks source link

The screen stutters every five seconds while Redshift is running #861

Closed maxigaz closed 2 years ago

maxigaz commented 2 years ago

Describe the bug While Redshift is running in continuous mode, the screen stutters exactly every five seconds.

To Reproduce Steps to reproduce the behavior:

  1. Run redshift in the terminal.
  2. Open a video with Firefox (e.g. YouTube) or mpv, or open Retroarch (load any core or just watch the menu animations with xmb menu driver selected).
  3. The video stutters every five seconds.

Expected behavior No stuttering.

Software versions:

Additional information Other than killing Redshift with pkill redshift, a possible workaround is running it in one-shot mode:

redshift -O 6500K -b 0.8:1

Also, someone has reported the same problem on the Arch Linux Forums, and I couldn't find it here yet, so I posted it here.

Augusto7743 commented 2 years ago

Try run the command below, but is only for test because will disable Redshift service. systemctl mask --user redshift.service

If not fix reinstall Redshit to re-enable redshift.service.

maxigaz commented 2 years ago

@Augusto7743 So, systemctl mask --user redshift.service disables the service and makes it unusable until Redshift is reinstalled, doesn't it? Why is it needed?

When I noticed the issue, I didn't even use the service file; I launched redshift through i3 on startup. And the stuttering was only present if Redshift was running in the background, as I wrote in the title of my report.

Anyway, I can't reproduce the issue at the moment, so it looks like it has been fixed somewhere. I'm closing this for now.

lleheny0 commented 1 year ago

I've got the same problem, @maxigaz did you ever reproduce it or figure out a solution?

maxigaz commented 1 year ago

@lleheny0 I don't know what caused the problem, but after two months, regularly performing system updates on Arch Linux, the stuttering went away, and I haven't seen it again since then.