Night Light no longer working

Turning the night light On/Off or adjusting the slider has no effect.
I recently updated to Qonos & then to kernel 5.16
Today I installed KdenLive - not sure if that has affected video.

EDIT feb22: I found the issue: NIghtlight does not work if you have AUTO login.

user was not part of video group, so i added myself. There was no effect:

cat /etc/group | grep video        
video:x:985:rico
inxi --admin --verbosity=7 --filter --width                      ✔ 
System:
  Kernel: 5.16.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.16-x86_64
    root=UUID=b4f0a1a8-ec55-40cf-a380-b762e3b7092a rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3 iommu=soft
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20VF v: ThinkBook 14 G2 ARE
    serial: <superuser required> Chassis: type: 10 v: ThinkBook 14 G2 ARE
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN
    serial: <superuser required> UEFI: LENOVO v: FACN28WW(V1.11)
    date: 05/18/2021
Battery:
  ID-1: BAT1 charge: 39.0 Wh (94.4%) condition: 41.3/45.0 Wh (91.7%)
    volts: 12.6 min: 11.5 model: 0x43 0x65 0x6C 0x78 0x70 0x65 0x 0x4C 0x31
    0x39 0x43 0x33 0x50 0x4500
    type: Li-ion serial: <filter> status: Discharging cycles: 162
  Device-1: hidpp_battery_0 model: Logitech M585/M590 Multi-Device Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: Discharging
Memory:
  RAM: total: 19.41 GiB used: 2.27 GiB (11.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64 type: MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1397 min/max: 1400/2375 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1397 3: 1397
    4: 1397 5: 1397 6: 1397 bogomips: 28454
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
    tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
    chip-ID: 1002:1636 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 13d3:56ff class-ID: 0e02
  Display: wayland server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: amdgpu note: n/a (using device driver) - try sudo/root display-ID: 0
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.2-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.20 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.43 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_pci v: kernel port: 2000 bus-ID: 04:00.0
    chip-ID: 10ec:8852 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 3-4:4 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 704.24 GiB used: 310.29 GiB (44.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZALQ256HAJD-000L2 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: BL2QFXV7 temp: 32.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT500MX500SSD1
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 032 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 118.99 GiB size: 116.56 GiB (97.96%)
    used: 78.76 GiB (67.6%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3
    label: N/A uuid: b4f0a1a8-ec55-40cf-a380-b762e3b7092a
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 5.4 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: EB07-8818
  ID-3: /mnt/SSD500 raw-size: 465.76 GiB size: 457.45 GiB (98.22%)
    used: 231.53 GiB (50.6%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: SSD500
    uuid: a1936d96-6ea6-4cb5-b62d-618a8ec8a2a8
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 118.99 GiB fs: ext4 label: N/A
    uuid: 0f80e24b-1488-4fd7-b5a4-c563182bf4f7
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-3:2 info: IMC Networks Integrated Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 13d3:56ff class-ID: 0e02
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-2: 3-3:3 info: Elan Micro ELAN:Fingerprint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 04f3:0c4b class-ID: 0000
  Device-3: 3-4:4 info: Realtek Bluetooth Radio type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
    chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 34.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 241 Uptime: 8m wakeups: 5 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1570 lib: 476
  flatpak: 0 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.12

1 Like

What about 5.15 ?

I dont have that kernel installed (5.15 doesn’t have my wifi driver & I have no access to ethernet)

Today it is ‘magically’ working again if I change to manual for the sunset trigger. I’ll wait till actual sunset & see what the auto setting does today.
Last night when I noticed this, I rebooted several times, & tried a different gnome distro (which worked). So its odd that it would start working again.
Ill try to be mindful of what other software might be triggering this effect.

Very odd.
Nightlight has failed to trigger again today & no amount of rebooting or shutdowns will activate the nightlight again. The system panel says it is ON, but there is no orange tint no matter what the setting.
Why would it work fine for the last 3 days & then refuse to work again.

Its almost as if certain days of the week it wont work ~ i suppose it is a time related effect, perhaps there is a maths or timezone bug.

Jan 30th it refused to work, then inexplicably fine for the next few days, now Feb 3rd it refuses to work again.

Update: Today (Feb 4th) it is now working again. :thinking:
I did notice that another issue I have, with login after sleep stalling, caused the screen colour to change (white/orange) during the login/logout - so I think they might be related somehow.

Update (Feb 8th) after 4 days without issue, Night Light has now stopped working again.
Several further reboots do not bring it back

Update (Feb 10) I discovered that logging out & immediately back in seems to fix the nightlight for the current session.

  • I think NIghtlight does not work if you have AUTO login. With auto login OFF I have not had the issue for a while. Maybe someone else can check?
1 Like