Bug 1464360

Summary: Night Light doesn't work with xorg
Product: [Fedora] Fedora Reporter: Andrew Hutchings <andrew>
Component: gnome-settings-daemonAssignee: Rui Matos <tiagomatos>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 26CC: andrew.stiegmann, fmuellner, grant.redhat, klember, mkasik, ofourdan, otaylor, rstrode, tiagomatos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1488310 (view as bug list) Environment:
Last Closed: 2017-07-12 22:28:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Hutchings 2017-06-23 08:57:52 UTC
Description of problem:
My hardware is a Lenovo x260 (Skylake i7 with Intel HD520 GPU)

Version-Release number of selected component (if applicable):
gnome-shell-3.24.2-1.fc26.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Log in using Gnome on xorg instead of wayland
2. Turn on night light
3. Wait until night light time has activated
4. See night light enabled icon but notice no change in screen colour

Actual results:
No change in screen colour on primary or secondary screens

Expected results:
Change in screen colour as observed in Wayland

Additional info:

Comment 1 Florian Müllner 2017-06-23 12:51:58 UTC
It's expected to work on X11 as well (and does here). In any case, gnome-shell only exposes the feature in the system menu, the actual functionality is implemented in gnome-settings-daemon's color plugin.

Comment 2 Andrew Stiegmann 2017-07-12 00:20:03 UTC
Works for me on Fedora 26 on XOrg.  Initially thought it was not functional but verified using manual mode.  Try that and see if that does the trick.

Comment 3 Andrew Hutchings 2017-07-12 07:55:58 UTC
Nope, not working in manual mode on the laptop's screen or external monitor.

My journal gets sprayed with this though when I try:

Jul 12 08:53:40 lxj-x260.local gsd-color[1803]: could not find device: property match 'XRANDR_name'='DP-1' does not exist
Jul 12 08:53:40 lxj-x260.local gsd-color[1803]: could not find device: property match 'XRANDR_name'='eDP-1' does not exist

Comment 4 Andrew Stiegmann 2017-07-12 21:44:17 UTC
Might be helpful if you upload the output of xrandr and the relevant journalctl entries to this bug.  Might be a clue in there as to what is happening.

Comment 5 Andrew Hutchings 2017-07-12 22:28:25 UTC
I started having tons of other Xrandr based issues including hangs and corruptions with multiple monitors recently too. This has been a F26 system since before the beta so must have picked up some bad config along the way, I've replaced the OS on it with something else as I needed it in production today. Not sure I'll get a chance to debug more soon. I don't have the problem on any of my other Fedora machines. I'll close as !bug. Sorry for wasting time.

Comment 6 Grant 2017-09-05 06:24:00 UTC
I also have problems with night light not working in Fedora 26 fully updated as of today.  Redshift is now broken also.  Redshift worked fine on this i7 laptop when running Fedora 25.  I am using multi monitor, but with single monitor attached, still getting problem.  Getting this error:
could not find device: property match 'XRANDR_name'='DP-1' does not exist