-
-
Notifications
You must be signed in to change notification settings - Fork 31
[Feature request]: Add gamma control #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
One of the biggest questions is to figure out what we can do differently and better than gammastep. I don't think we should reimplement and compete with it just for the sake of it. Our competitive advantage is that we have access to screen content, and optionally als. Is it enough to predict the best possible screen temperature? |
Hmm, I think adjusting the gamma based on light levels would be quite cool. |
Maybe... On the other hand, isn't it in some sense preferable to "force" warm colors in the evening, to prepare your brain for sleep in advance, rather than keeping your screen blue just because you keep bright lights on, thereby feeding the vicious cycle that leads to staying awake until much too late? 😅😆 |
Very true. 😂 The sun rises very early here, but it becomes significantly brighter around 10am, so it would be nice to have more control over the "transitional" periods. I hope that makes sense... |
To continue playing the devil's advocate, wouldn't configuring the curve be better suited for gammastep project? They already have all the code ready and battle-tested, and it should be a small adjustment to teach it how to have a better transition curves? By the way, there's lots of project doing that, most recently I was using |
I'm not sure of the prediction, but I think that by adding gamma functionality to I mean, it would be great to have two trainable models, one for warm colors and one for normal colors. |
Now that is a very interesting and tempting idea to explore, that a screen color would allow for a finer tuning and therefore better predictions. Do you think you would want warmer colors during the day? You lose potentially correctness of colors... |
Nah, I don't need this. All I want I've described here #91 (comment) |
I really like this idea!
I use slightly warmer colors during the day, I stare at a terminal most of the time and I find it helps prevent eye strain. I think I've worked out how to use the Wayland gamma control protocol, I'll add it to my fork as soon as I am able to set the gamma 😆 |
I'd be happy with just relative gamma adjustment (i.e. "brightness"), not necessarily color temperature. My use case is an external display which is very bright even at lowest settings and adjusting gamma is the only way to dim it further. Think of it as an alternative "fallback" solution to DDC. |
I definitely think the current approach of how brightness is managed could be easily cloned to handle gamma (basically a separate model that tracks when you make changes to gamma, records the desired gamma along with optionally the current ambient light and screen content "whiteness", and then continuously predicts and sets it). Unfortunately my hardware still doesn't support PRs are very welcome, if someone wants to try 🙂 I'd suggest starting from |
Can you not use DDC/CI? |
Not really, even with the ddcci driver the interface is buggy. The external monitor is randomly (not)detected by ddcutil and sometimes doesn't even come up when ddcci module is loaded. Might be related to the fact that the monitor is in fact a full USBC dock. |
So ddc "somehow" works after applying a bit of dark magic but the problem remains - even the lowest brightness settings of the monitor is too bright. Also, settings per sun up/down based on (even hardcoded) geolocation would be cool. |
Please describe your feature request
Add the ability to set screen temperature based on sunset/sundown and manually specified times.
See #91
The text was updated successfully, but these errors were encountered: