You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
When using Redshift on OS X, only the primary display is affected - the second display does not change at all.
It looks like multimonitor support for quartz was in #69 but not in #140. I've taken a look through #69 but can't find the multimonitor code (it's quite a large PR).
Reacted by Simon Fridlund, Cyril Duchon-Doris, Joshua Seltzer, Markus Klein, Matthias Fasching, Alexander Mikhalchenko, James Hiew and nvmnghia
I noticed one issue with the custom provided build. If the number of monitors changes, while it is running various problems can occur (crash, or some monitors do not change temperature).
@fasmat this is due to the fact that redshift does not handle display change notifications from CoreGraphics at all. Adding notification handler seems to require redesign of redshift's main loop, so I'd like to hear what the maintainer thinks about this first.
Is there any chance this is going to get merged into the main branch soon? seems like kind of a waste to leave someone's commit sit there idly for over a year when people would really love to have this working.. without it redshift is basically useless on Mac with multiple monitors. 😞 The manually patched/compiled version mentioned above segfaults on the latest OS X though, so I can't test if the commit actually works as advertised.
As @07151129 stated this does require redesigning the main loop of Redshift to handle updates from the adjustment method. I've looked into handling it the same way as CoreLocation is able to run a CFRunLoop in a separate thread but for whatever reason Apple decided not to support that scheme in CoreGraphics so the main thread has to run a CFRunLoop for it to work (as far as I can tell). This is of course really annoying because now I have to rip out the whole main loop of Redshift and create a separate implementation for macOS. It might still happen but it requires a bunch more refactoring of the core of Redshift.
Activity
Startouf commentedon Sep 20, 2016
Hey @danielcotton did you find a fix ? I'm using Mac OS X El Capitan and and installed Redshift through brew mainly for the external display ^^"
I don't know if it's related, but when running redshift I have lots of
joshuaseltzer commentedon Sep 22, 2016
Seeing the same thing as @Startouf.
Would love to use this on my hackintosh machine, but sadly I need it to work on all 3 of my monitors.
07151129 commentedon Oct 20, 2016
Should be fixed in #385, whenever maintainer merges it
fasmat commentedon Nov 30, 2016
Any updates on that issue? Redshift works perfectly fine for me in Ubuntu but in OSX it only works on the primary monitor.
07151129 commentedon Nov 30, 2016
Can you try applying the second patch from #385 manually?
joshuaseltzer commentedon Nov 30, 2016
Wished this would get pushed into the official version. Still awaiting this to work on OSX.
07151129 commentedon Dec 1, 2016
Here is a build that corresponds to the second patch in #385:
redshift.zip
fasmat commentedon Dec 2, 2016
Thanks @07151129 for providing the build. I will test it this weekend.
fasmat commentedon Dec 3, 2016
@07151129 Works like a charm!
fasmat commentedon Jan 3, 2017
I noticed one issue with the custom provided build. If the number of monitors changes, while it is running various problems can occur (crash, or some monitors do not change temperature).
07151129 commentedon Jan 3, 2017
@fasmat this is due to the fact that redshift does not handle display change notifications from CoreGraphics at all. Adding notification handler seems to require redesign of redshift's main loop, so I'd like to hear what the maintainer thinks about this first.
scottgrayson commentedon Feb 21, 2018
I get a seg fault when i try to run this binary @07151129
Is this binary still the only way to use redshift on multiple monitors with OSX?
xarinatan commentedon Apr 14, 2018
Is there any chance this is going to get merged into the main branch soon? seems like kind of a waste to leave someone's commit sit there idly for over a year when people would really love to have this working.. without it redshift is basically useless on Mac with multiple monitors. 😞 The manually patched/compiled version mentioned above segfaults on the latest OS X though, so I can't test if the commit actually works as advertised.
jonls commentedon May 21, 2018
As @07151129 stated this does require redesigning the main loop of Redshift to handle updates from the adjustment method. I've looked into handling it the same way as CoreLocation is able to run a CFRunLoop in a separate thread but for whatever reason Apple decided not to support that scheme in CoreGraphics so the main thread has to run a CFRunLoop for it to work (as far as I can tell). This is of course really annoying because now I have to rip out the whole main loop of Redshift and create a separate implementation for macOS. It might still happen but it requires a bunch more refactoring of the core of Redshift.
nvmnghia commentedon Sep 11, 2020
Can we implement a display ID check, so that multiple redshift instance can be run, just like
randr:crtc?