Comments (7)
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.
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.
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.
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.
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.
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.
I checked there si no more problem.
from clight.
Related Issues (20)
- [BUG] ALS detected but doesn't really work HOT 1
- [QUESTION/FEATURE REQ] glob matching for override monitor_id HOT 1
- [FEATURE REQ] Deduplication of regression points in config file HOT 1
- [BUG] ALS Not Work HOT 5
- Windows possible? HOT 2
- Getting errors with new cofig layout[BUG] HOT 4
- Black Screen - Read FAQ - Can not convert to action HOT 3
- [BUG] move clight.conf to /etc/clight/ ? A better warning HOT 3
- [BUG] Config file: file I/O error at line 0 HOT 3
- [BUG] many, many Ambient brightness: 0.836, Screen brightness: 0.129 -> Screen backlight: 1.000. HOT 3
- [FEATURE REQ] Configure gamma per monitor HOT 1
- [BUG] Clight changes the backlight level twice every capture HOT 3
- No smooth transition. Settings are ignored. [BUG] HOT 15
- [FEATURE REQ] Toggle night modes (browser,DE,WM,plug-ins,add-ons...) when thresold is toggled. Ready to fire code to do that is available at baduhai/Koi oskarsh/Yin-Yang and other HOT 2
- [BUG] misformatted version string when installing from the release tarballs HOT 4
- [Question] How to disable ambient light-based backlight adjustments? HOT 1
- [BUG] KDE+wayland => no more gamma and screen management HOT 2
- [BUG] dark breeze theme switches to a red theme when displaying the lock screen HOT 1
- [Discussion] the future of clight ?
- [BUG] clight spams journal with Ambient brightness
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clight.