Skip to content

v4.0

Compare
Choose a tag to compare
@FedeDP FedeDP released this 24 Nov 13:57
· 222 commits to master since this release

Clightd 4.0

Hi everyone! Here is (finally!) a new Clightd release!
First of all, let me thank @pdf for its great help creating a brand new ambient brightness computation algorithm that greatly improves user experience and camera captures stability.

Changes

Generic

  • Updated to new ddcutil 0.9.5 interface (mandatory)
  • Updated to new libmodule 5.0.0 interface (required)
  • Added a "-v/--version" cmdline switch
  • Added CPack support to CMake to generate DEB and RPM packages
  • Dropped -DENABLE_IDLE (as it does not depend upon any external library now) and added -DENABLE_SCREEN cmake build option
  • Fixed an issue with timerfd_settime for long timeouts

IDLE

  • Avoid depending on X, it now works everywhere

DPMS

  • Drop DPMS Set/GetTimeouts, and only use Get/Set
  • Add support for DPMS on tty

CAMERA sensor

  • Improved camera code
  • Reduced logging
  • Support Grayscale pixelformat for CAMERA captures, as it uses less resources than YUV
  • (#24) Always reset webcam options before capturing, in case any external program changes them
  • (#24) Added new Sensor.Capture method parameter to allow user to specify camera settings. Unused for ALS devices for now
  • (#25) Using a brand new algorithm to compute ambient brightness that offers a great improvement over current method of just computing average pixel intensity for each captured frame. Made by @pdf! Thanks again!

BACKLIGHT

  • (#27) Use DDCutil DDCA_Display_Info path.io_mode (eg: /dev/i2c-%d) as uid for detected screens as SerialNumber can be null/empty on some devices

SCREEN

  • Add a method (X only) to compute current monitor emitted brightness

Hope you enjoy this release!