After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780167 - Night light is only applied to the secondary monitor
Night light is only applied to the secondary monitor
Status: RESOLVED INCOMPLETE
Product: gnome-control-center
Classification: Core
Component: Color
3.26.x
Other Linux
: High critical
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
: 783854 789450 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-03-16 22:03 UTC by Fran Diéguez
Modified: 2021-02-15 00:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fran Diéguez 2017-03-16 22:03:29 UTC
Testing Archlinux with  GNOME  Shell with the versions below, when I have two monitors connected to my laptop only the secondary one (placed secondary [left] - primary [right]) gets the color adjustment from Night light. The primary monitor remains with the original color.

gnome-settings-daemon 3.23.90-1
gnome-shell 3.23.91-2
gnome-shell-extension-docker-integration-git 20161017-5
gnome-shell-extensions 3.23.90-1
gnome-control-center 3.23.91-1

I'm using X11, I've not tested in Wayland.
Comment 1 Bastien Nocera 2017-03-17 11:25:36 UTC
Try disabling all the gnome-shell extensions.
Comment 2 Michael Rapp 2017-04-24 21:13:11 UTC
On my system the night light feature is only applied to the primary (left) monitor. I use two monitors side by side. I run Gnome 3.24.1 on Arch Linux using Wayland.
Comment 3 Michael Rapp 2017-04-24 21:15:45 UTC
I have tried to disable all shell extensions, but the issue persists even after logging out and back in.
Comment 4 Richard Hughes 2017-04-25 07:37:49 UTC
We're setting the color using the monitor gamma ramp, so if you're unable to set the debug "Blueish" ICC profile in the color control panel then you'll be unable to use night light. Not being able to set the gamma ramp is normally a video driver issue, i.e. you could try not using the nonfree driver, or vice-versa.
Comment 5 Michael Rapp 2017-04-25 13:04:42 UTC
My secondary monitor is not available to be configured in the color control panel. I guess, it is because it is connected via VGA. The other monitor uses DVI. May that be the reason?
Comment 6 Michael Rapp 2017-05-09 14:07:35 UTC
I changed both of my monitors to be connected via display port. However, the issue persists: The secondary monitor is not affected by the night light.

When I switched the cables of the monitors, the secondary one adapted to the night mode, but the primary one didn't. So it is not because of the monitors (which are identical btw). When I switched the cables back, both monitors showed a "redish" image, but turning off the night mode only caused the color profile of the primary monitor to be affected again.

In conclusion this appears to be a software and not a hardware issue to me. It seems like the color profile of the secondary monitor cannot be adapted and the monitor does not show up in the color settings panel either.
Comment 7 Alexandre Franke 2017-10-03 00:36:20 UTC
*** Bug 783854 has been marked as a duplicate of this bug. ***
Comment 8 yaomtc 2017-10-03 01:16:27 UTC
I've started noticing a problem like this in Solus with Budgie. My main monitor is a 4K display attached via DisplayPort. Recently Night Light wouldn't work unless I had my secondary display (1080p monitor over HDMI) disabled. And now, I don't have Night Light at startup, so I try disabling my secondary monitor but now it doesn't fix it. I click to revert back to previous settings, and then Night Light comes back.

I'm using a GTX 980 with the proprietary driver, since Nouveaux doesn't properly support it. I have Force Composition Pipeline enabled, this may be connected. Or, this may be connected to this issue I posted:

https://bugzilla.gnome.org/show_bug.cgi?id=788026

Also, Nvidia X Server Settings has a section for Color Correction. This may be interfering somehow, though I don't know if driver updates have changed anything about that feature -- Night Light worked fine not too long ago.
Comment 9 yaomtc 2017-10-18 00:51:36 UTC
Now I can't get Night Light working on my primary monitor (4K over DisplayPort) at all. Even if it's mirrored, or single display, Night Light just won't work on it. Works fine on the secondary monitor (1080p, HDMI) though, in any mode.

Still using Solus with Budgie, now version 3.26.1-59
Comment 10 Tassilo Horn 2017-10-19 05:28:52 UTC
Same for me.  Two identical Acer V246HL monitors are attached.  My secondary display which I actually use as primary display in the sense that there's the GNOME shell top-bar is attached via a DVI cable and is adjusted by Night Light.  The primary display (right of the secondary one) is attached with a VGA cable (just because there's only one DVI and one VGA port on the computer) and is not adjusted by Night Light.  (So basically like Michael Rapp's setup.)

My computer has an Intel graphics chip, and I just use the standard kernel modesetting driver.

In GNOME 3.26's control center's Devices > Color settings, I can see one entry for V246HL.  Should I see two?  Or is there no way for the feature to work on monitors attached with just a VGA cable?
Comment 11 Alexandre Franke 2017-10-19 06:47:37 UTC
(In reply to Tassilo Horn from comment #10)
> In GNOME 3.26's control center's Devices > Color settings, I can see one
> entry for V246HL.  Should I see two?

Yes.

> Or is there no way for the feature to
> work on monitors attached with just a VGA cable?

I have a similar setup with two identical monitors (Asus VW222U) on DVI+VGA, primary on left. Both appear in the color panel and both have night light, so it *should* work.
Comment 12 hkiang01 2017-10-25 01:57:28 UTC
*** Bug 789450 has been marked as a duplicate of this bug. ***
Comment 13 wollanup 2017-11-15 16:37:59 UTC
Same issue here. 

Monitors : 3 identical monitors Acer X233H on Display Port
GPU      : nVidia Quadro P 400 card and 384.90 nVidia drivers
OS       : Ubuntu 17.10 (gnome 3.26.1)

Worked well on ubuntu GNOME 17.04 (gnome 3.24 I guess ?)
It's broken since update to ubuntu 17.10 and gnome 3.26.

I also can't see the 3 monitors in Settings -> Devices -> Color. Only one is visible. But they are all visible in Devices -> Screens/Monitors (not sure about english wording) 


I also noticed Night light only applies on screen 3 (last) and effects seems to be applied at least twice, or 3 times, my screen becomes VERY orange/red when I toggle night light, much more than when it worked well.

Hope info provided could help ...
Comment 14 phil 2017-11-24 20:11:48 UTC
Same issue here.
But some additional testing:
When I activated night mode and I changed the primary screen, then night mode suddenly works on both external monitors. When I disable night mode now, it won't reset on my second monitor, even when I changed the primary screen to the other monitor back.


OS: Ubuntu 17.10
GPU: Intel Corporation HD Graphics 520 (rev 07)
Kernel: Linux 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Monitors: 2 identical Thinkvision P24h-10 on Displayport over Lenovo Onelink+ dock

GNOME Shell 3.26.1

Thanks!
Comment 15 EduCampi 2017-12-10 23:53:13 UTC
Same here on Fedora 27, though it's been happening since Fedora 26.

Currently running dual monitor on Wayland connected to a GeForce GT730 with nvidia propietary drivers.

NVIDIA Driver Version: 387.22
Server Version Number 11.0
Server Vendor String: Fedora Project
Server Vendor Version: 11905000
NV-CONTROL Version: 1.29
Screens: 1  

1 Display is connected by HDMI
1 Display is connected by DVI
Comment 16 Dominik 2017-12-12 10:21:39 UTC
I am experiencing the same bug (my main screen is affected by Night Light normally, but my secondary screen is not). But I have found workaround, I suppose. I have installed "Night Light Slider" gnome extension, to be able to adjust Night Light value by my top bar (but i think it is not necessary to make a workaround). 

Workaround steps:
1. Set a "Night Light" level on one of You screens,
2. To apply the same level on the other screen You need to go to: Settings -> Devices -> Color and toggle switches next to Your screens, 
3. If You have enough luck, it will work

I must agree that it is ugly and not ideal way of handle it, but until that bug isn't officially fixed, it can help. :)

Best regards!
Dominik
Comment 17 Adam Williamson 2018-01-06 06:52:17 UTC
Same bug here. Two identical monitors (Dell U2211H), both connected to the same graphics card (NVIDIA GeForce 9600 GT), both with DVI cables. nouveau driver (not proprietary driver) is used. Night light mode only takes effect on one of the displays (the one Displays labels as '2', though it's set as the primary display).

Richard, poke me any time on IRC if I can help you debug it.
Comment 18 Adam Williamson 2018-01-12 06:42:43 UTC
Can also confirm Dominik's experience from comment #16; going to Settings / Devices / Color and flipping the on/off sliders a few times seems to make night mode kick in on the head where it previously wasn't working. Then if you go to Displays and turn the Night Light slider back to OFF, the problematic head *stays on night mode*...
Comment 19 David Britton 2018-03-13 03:16:16 UTC
Same as comment #14, flipping the primary monitor "unsticks" it for me.
Comment 20 IL'dar Akhmetgaleev 2018-03-15 13:19:41 UTC
(In reply to Adam Williamson from comment #18)
> Can also confirm Dominik's experience from comment #16; going to Settings /
> Devices / Color and flipping the on/off sliders a few times seems to make
> night mode kick in on the head where it previously wasn't working. Then if
> you go to Displays and turn the Night Light slider back to OFF, the
> problematic head *stays on night mode*...

Switching color management off and on makes night light work on my second display.
Comment 21 Andrei Dziahel 2018-03-18 18:46:04 UTC
The issue affects me too as in "Night Light" affect only primary display, gets fixed after flipping primary display.

Setup: GNOME 3.28 on openSUSE Tumbleweed 20180314, NVIDIA GTX 970 running proprietary NVIDIA driver v390.42, 2 displays connected via DisplayPort and HDMI.
Comment 22 Andrei Dziahel 2018-03-18 19:08:04 UTC
(In reply to Andrei Dziahel from comment #21)
> The issue affects me too as in "Night Light" affect only primary display,
> gets fixed after flipping primary display.
> 
> Setup: GNOME 3.28 on openSUSE Tumbleweed 20180314, NVIDIA GTX 970 running
> proprietary NVIDIA driver v390.42, 2 displays connected via DisplayPort and
> HDMI.

The gnome-color-manager package is of version 3.28.0-1.1 and colord is of 1.4.1-4.1

(In reply to IL'dar Akhmetgaleev from comment #20)
> (In reply to Adam Williamson from comment #18)
> > Can also confirm Dominik's experience from comment #16; going to Settings /
> > Devices / Color and flipping the on/off sliders a few times seems to make
> > night mode kick in on the head where it previously wasn't working. Then if
> > you go to Displays and turn the Night Light slider back to OFF, the
> > problematic head *stays on night mode*...
> 
> Switching color management off and on makes night light work on my second
> display.

Works for me too.
Comment 23 rockorequin 2018-03-28 00:11:03 UTC
I'm seeing this, too on Ubuntu 18.04 with gnome-shell 3.28.0-0ubuntu1, g-c-c 1:3.28.0-0ubuntu3 and colord 1.3.3-2build1. The secondary (HDMI) monitor is set up to be above the primary (laptop) monitor and I'm using intel graphics and X11.

With night light turned on, only the secondary HDMI is affected. Either switching primary monitors or physically unplugging and re-plugging the HDMI monitor applies night light correctly to both monitors. I haven't tried toggling colour management yet.

This occurs both when the system switches to night light mode at night time or when it switches back to normal mode in the morning.

Is there any other info I can provide? This bug report is year old and it'd be nice to fix it!
Comment 24 Daniel Boles 2018-03-28 09:59:37 UTC
See also, e.g.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/6
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/23
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/27

For me, it's the latter, that my colour profile for my laptop screen never gets correctly applied to it, instead one of the external monitors gets it.
Comment 25 Bastien Nocera 2018-03-28 10:15:27 UTC
It's a bug in the colord plugin of gnome-settings-daemon, or in colord itself.

Closing as a duplicate of:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/6
Comment 26 WHK 2021-02-15 00:02:20 UTC
Same issue on Ubuntu 20.04 LTS, only can set night light mode on first creen.