-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Clight version the issue has been seen with:
4.8-92f685c
Used distribution:
Pop OS 21.04
Describe the bug
When Clight adjusts the backlight to a new value, the current temperature is lost.
Expected behavior
The temperature set should stay the same, disregarding backlight adjustments.
To Reproduce
- Start with an early sunset to get the night time temperature:
clight --sunrise=07:00 --sunset=13:00 --night-temp=3000 - Let temperature go to 3000
- when Clight detects a difference in ambient light, it changes the backlight as expected, but the temperature resets to 6500
In the logs you can see that at some point I turned off my lamp. That's where I could notice the temperature getting reset, then flicking back to proper value as it was being adjusted.
If instead I turn off the lamp only after the temperature is done adjusting, it's never set back to the proper value until a restart.
I was also successful in reproducing this issue by changing the backlight manually via the OS control panel. Possibly a distro/GNOME issue?
Config file /home/fushko/.config/clight.conf not found.
Clightd found, version: 5.5-c78f9c1.
AC screen backlight curve: y = -0.024825 + 0.191641x + -0.008928x^2
BL
^
| **
| **
| *
| *
| *
| *
|
| *
|*
|
*---------->BR
BATT screen backlight curve: y = -0.010629 + 0.153844x + -0.007284x^2
BL
^
|
|
| ***
| **
| *
| *
| *
| *
|
|*
*---------->BR
init_kbd_backlight(): No such file or directory
Keyboard backlight calibration unsupported.
Failed to create org.freedesktop.ScreenSaver dbus interface: Unknown error -1
Monitoring requests to org.freedesktop.ScreenSaver name owner.
Disarmed timerfd on fd 36.
AC cable disconnected.
Laptop lid opened.
Emitting 'AcState' property
Disarmed timerfd on fd 39.
Emitting 'LidState' property
Set timeout of 0s 1ns on fd 40.
Next alarm due to: Wed Nov 3 06:30:00 2021
Set timeout of 49419s 0ns on fd 40.
Emitting 'Sunrise' property
Emitting 'Sunset' property
Emitting 'DayTime' property
Normal transition to 2500 gamma temp.
Emitting 'NextEvent' property
Emitting 'Temp' property
Set timeout of 0s 1ns on fd 41.
Sensor '/dev/iio:device0' is now available.
Resumed as a sensor is now available.
Emitting 'Temp' property
Emitting 'SensorAvail' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.181.
Ambient brightness: 0.181 -> Backlight pct: 0.243.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.33.
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.28.
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.181.
Ambient brightness: 0.181 -> Backlight pct: 0.243.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.181.
Ambient brightness: 0.181 -> Backlight pct: 0.243.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.181.
Ambient brightness: 0.181 -> Backlight pct: 0.243.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.000.
Ambient brightness: 0.000 -> Backlight pct: 0.000.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.19.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.000.
Ambient brightness: 0.000 -> Backlight pct: 0.000.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.14.
Emitting 'BlPct' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Emitting 'Temp' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.000.
Ambient brightness: 0.000 -> Backlight pct: 0.000.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.09.
Emitting 'BlPct' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.181.
Ambient brightness: 0.181 -> Backlight pct: 0.243.
Set timeout of 5s 0ns on fd 41.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.14.
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.19.
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
Backlight 'amdgpu_bl0' level updated: 0.24.
Emitting 'BlPct' property
^CReceived 2. Leaving
Metadata
Metadata
Assignees
Labels
No labels