Skip to content

[BUG] Dimmed state not left #321

@aacebedo

Description

@aacebedo

NOTE: Please try to upgrade Clight if not running on latest release, before reporting a bug!

Clight version the issue has been seen with:

5.9

Used distribution:

NixOS

Describe the bug
After 30 secs, the dimmed state is entered, but never left despite moving the mouse or typing the keyboard

Expected behavior
Clight to detect I am using the machine and leave dimmed state.

To Reproduce
Running clight on NixOS with niri

Please attach a Clight verbose log too!

Clightd found, version: 5.9-.
Disarmed timerfd on fd 11.
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
Set timeout of 30s 0ns on fd 18.
Keyboard backlight calibration supported.
AC keyboard backlight curve: y = 0.998811 + -0.013086x + -0.008928x^2
BL
^
**
| **
|   *
|    *
|     *
|      *
|
|       *
|        *
|
+---------*>BR
BATT keyboard backlight curve: y = 0.799371 + -0.008156x + -0.007284x^2
BL
^
|
|
***
|  **
|    *
|     *
|      *
|       *
|
|        *
+---------*>BR
init(): Failed to get screen temperature.
Failed to init. Killing module.
org.freedesktop.ScreenSaver dbus interface exposed.
Disarmed timerfd on fd 39.
AC cable connected.
Laptop lid opened.
Emitting 'AcState' property
Emitting 'LidState' property.
Set timeout of 0s 1ns on fd 42.
Emitting 'Location' property
Failed to validate inhibit request.
Inhibitions ctr: 0
Next alarm due to: Sat Feb 21 17:47:00 2026
Set timeout of 15494s 0ns on fd 42.
Emitting 'Sunrise' property
Emitting 'Sunset' property
Emitting 'DayTime' property
Set timeout of 0s 1ns on fd 43.
Sensor '/dev/iio:device0' is now available.
Resumed as a sensor is now available.
Emitting 'NextEvent' property
Emitting 'SensorAvail' property
Captured [5/5] from '/dev/iio:device0'. Ambient brightness: 0.468.
Ambient brightness: 0.468 -> Screen backlight: 0.677.
Set timeout of 600s 0ns on fd 43.
Emitting 'AmbientBr' property
Emitting 'BlPct' property
Screen backlight: 0.677 -> Keyboard backlight: 0.501.
Backlight 'amdgpu_bl1' level updated: 0.68.
Emitting 'BlPct' property
Emitting 'KbdPct' property
Backlight 'amdgpu_bl1' level updated: 0.63.
Emitting 'BlPct' property
Emitting 'KbdPct' property
Failed to validate location request.
Entering dimmed state...
Pausing KEYBOARD: DISPLAY
Emitting 'DisplayState' property
Pausing BACKLIGHT: DISPLAY
Emitting 'BlPct' property
Emitting 'KbdPct' property
Backlight 'amdgpu_bl1' level updated: 0.58.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.53.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.48.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.43.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.38.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.33.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.28.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.23.
Emitting 'BlPct' property
Backlight 'amdgpu_bl1' level updated: 0.20.
Emitting 'BlPct' property
^[[A^CReceived 2. Leaving.
Latest location stored in cache file!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions