I upgraded yesterday from Fedora 36 to Fedora 37. I had no problems except that the Night Light does not work any more. Toggling it or changing its intensity doesn’t change anything. On Fedora 36 it was working normally.
I’m using an HP Pavillion BC401NV with an NVIDIA GTX 1050 graphics card. I’m on a GNOME Xorg session with the 520.56.06 NVIDIA driver:
$ nvidia-smi
Thu Nov 17 23:43:59 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
Here are the contents of my /etc/defaults/grub file:
Could you please create a new user and see if it works there? That’ll be the first test.
It’s working on all three of my machines, one of which is Nvidia too. So it looks like it’s OK on my installations, but we can debug it further so we know if there’s a special set of components that breaks it.
I’m not sure, may try disabling it and enabling it again in settings, and perhaps tinkering with the more detailed settings there—like the sunrise to sunset and the “warmth” slider etc.?
I guess its time to see if the journal has any errors. I seem to have a few messages but they don’t seem to be causing any issues:
$ journalctl -b | grep -i night
Nov 14 21:47:30 thor gnome-shell[7023]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 14 21:47:32 thor gnome-shell[7023]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 14 21:47:33 thor gnome-shell[7873]: inflating: /home/asinha/.local/share/gnome-shell/extension-updates/openweather-extension@jenslody.de/media/status/weather-clear-night-symbolic.svg
Nov 14 21:47:33 thor gnome-shell[7873]: inflating: /home/asinha/.local/share/gnome-shell/extension-updates/openweather-extension@jenslody.de/media/status/weather-few-clouds-night-symbolic.svg
Nov 14 21:47:57 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 14 21:47:58 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 15 08:16:01 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 15 08:16:01 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 16 08:23:12 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 16 08:23:12 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 18 07:55:28 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
Nov 18 07:55:29 thor gnome-shell[9334]: g_settings_get_enum() called on key 'control-nightlight' which is not associated with an enumerated type
We know that it works in a new user, so it’s something related to the existing user conf. Can you check your extensions too? Maybe disable them all (to try to get to as vanilla a setup as we can get) and see if that works? Similarly, any theme changes/tweaks could also interfere, so worth temporarily disabling them too.
journalctl -b | grep -i night shows nothing. I have tried disabling all extensions and rebooting, but still nothing. I don’t use any themes.
I have also went to ~/.cache, ~/.config and ~/.local and removed a bunch of unneeded files and directories in hope of finding the conflicting config, but had no luck. I also didn’t find something that could seemingly affect Night Light there.
Also, it may worth mentioning that when I turn Night Light on, the icon shows up in the system menu as expected.
I finally managed to solve this! It seems that after the upgrade, the color profiles for both my laptop and external monitor were disabled and were shown as Not calibrated in Settings → Color (see screenshot below, where I have already added a color profile for the external monitor but not for the laptop screen):
Hi @igorjagec,
let’s not reactivate a post that was originally for f37 (4 releases ago), but better create a new topic for f41. Would you mind starting one including the error description and the workarounds you have already tried. Thanks!
(I could move your last post concerning f41 into a topic but I would be out of context).