Giter VIP home page Giter VIP logo

Comments (7)

FedeDP avatar FedeDP commented on June 20, 2024

Hi!
Sorry for the late response!
That is weird; it should work! Can you share the clight.log while running the script?
Thank you!

from clight.

promeneur avatar promeneur commented on June 20, 2024

Here is the log when launching then quitting VLC


D)[14:46:47]{timer.c:32} Set timeout of 30s 0ns on fd 42.
(D)[14:46:47]{interface.c:230} Emitting 'ScreenComp' property
(D)[14:47:14]{pm.c:204} Suspend ctr: 1
(D)[14:47:14]{utils.c:71} Pausing BACKLIGHT: SUSPEND
(D)[14:47:14]{utils.c:71} Pausing DPMS: SUSPEND
(D)[14:47:14]{utils.c:71} Pausing SCREEN: SUSPEND
(D)[14:47:14]{utils.c:71} Pausing GAMMA: SUSPEND
(D)[14:47:14]{interface.c:230} Emitting 'Suspended' property
(D)[14:47:14]{utils.c:71} Pausing DIMMER: SUSPEND
(D)[14:48:01]{pm.c:204} Suspend ctr: 0
(D)[14:48:01]{utils.c:77} Resuming BACKLIGHT: SUSPEND
(D)[14:48:01]{utils.c:77} Resuming DPMS: SUSPEND
(D)[14:48:01]{utils.c:77} Resuming SCREEN: SUSPEND
(D)[14:48:01]{utils.c:77} Resuming GAMMA: SUSPEND
(D)[14:48:01]{interface.c:230} Emitting 'Suspended' property
(D)[14:48:01]{utils.c:77} Resuming DIMMER: SUSPEND
(D)[14:48:01]{screen.c:149} Average screen-emitted brightness: 0.010314.
(D)[14:48:01]{timer.c:32} Set timeout of 30s 0ns on fd 42.
(D)[14:48:01]{interface.c:230} Emitting 'ScreenComp' property


It seems that messages changed. In the past, there were explicit messages as:

  • gamma set to 6500
  • gamma set to 3500
    etc.

I want the true colors (colors without any filter) when using VLC or Digikam.
When brightness management is suspended, is brightness really set to full brightness ?
When gamma management is suspended, is gamma really set to 6500 ?

from clight.

FedeDP avatar FedeDP commented on June 20, 2024

I think this might be a new script:

# Pause brightness calibration
busctl --expect-reply=false --user set-property org.clight.clight /org/clight/clight/Conf/Backlight org.clight.clight.Conf.Backlight NoAutoCalib "b" true

# Set max backlight level
busctl --user --expect-reply=false call org.clight.clight /org/clight/clight org.clight.clight IncBl "d" 1.0

# Set gamma to max gamma
busctl --user set-property org.clight.clight /org/clight/clight/Conf/Gamma org.clight.clight.Conf.Gamma NightTemp "i" 6500

/usr/bin/cvlc

# Restore gamma to min gamma
busctl --user set-property org.clight.clight /org/clight/clight/Conf/Gamma org.clight.clight.Conf.Gamma NightTemp "i" 3500

# Force a backlight calibration
busctl --expect-reply=false --user call org.clight.clight /org/clight/clight org.clight.clight Capture "bb" false false

# Resume brightness calibration
busctl --expect-reply=false --user set-property org.clight.clight /org/clight/clight/Conf/Backlight org.clight.clight.Conf.Backlight NoAutoCalib "b" false

I cannot recall why i shared the script you shared :/

from clight.

promeneur avatar promeneur commented on June 20, 2024

I tested with digikam the brightness adjusting (gamma adjusting is currently disabled). Here is the result when launching (10;27)and quitting (10:29) digikam.


(I)[10:15:48]{backlight.c:455} Ambient brightness: 0.809 (-0.017 screen compensation) -> Screen backlight pct: 0.933.
(I)[10:25:49]{backlight.c:455} Ambient brightness: 0.826 (-0.018 screen compensation) -> Screen backlight pct: 0.941.
(I)[10:27:22]{backlight.c:560} Backlight autocalibration disabled.
(I)[10:29:33]{backlight.c:455} Ambient brightness: 0.836 (-0.022 screen compensation) -> Screen backlight pct: 0.944.
(I)[10:29:33]{backlight.c:560} Backlight autocalibration enabled.


There is no message saying "brightness is set to max. Is it normal ?

from clight.

promeneur avatar promeneur commented on June 20, 2024

I made this test :

  • I launch digikam
  • i launc a video call with skype
  • during videocall i quit digikam
    ambient brightness adjusting is not restarting immediately

Screen backlight pct: 0.944.
(I)[10:29:33]{backlight.c:560} Backlight autocalibration enabled.
(I)[10:35:50]{backlight.c:455} Ambient brightness: 0.827 (-0.015 screen compensation) -> Screen backlight pct: 0.943.
(I)[10:37:54]{backlight.c:560} Backlight autocalibration disabled.
(I)[11:00:21]{backlight.c:560} Backlight autocalibration enabled.


from clight.

FedeDP avatar FedeDP commented on June 20, 2024

There is no message saying "brightness is set to max. Is it normal ?

Is brightness set to max indeed?
Is this working?

ambient brightness adjusting is not restarting immediately

This is ok, because during a video call brightness adjusting is not working since camera is busy.

from clight.

promeneur avatar promeneur commented on June 20, 2024

I checked there si no more problem.

from clight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.