waydabber / BetterDisplay

Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
https://betterdisplay.pro
20.45k stars 350 forks source link

Image Adjustments are sometimes not applied on external monitor after Macbook comes out of sleep #3257

Closed ytham closed 3 months ago

ytham commented 3 months ago

Issue: "Image Adjustments" are sometimes not applied on external monitor after Macbook Air M2 comes out of sleep. The slider values themselves are the same, but the actual image adjustments are not applied. This can be fixed by opening the "Image Adjustments" panel for the monitor and then clicking on any slider (just clicking without changing the value), which reapplies all image adjustments immediately.

Setup: Macbook Air M2 (2022) MacOS Sonoma 14.0 (23A344) Sotsu FlipAction Pro 16" (2560 x 1600 native running at 1920 x 1200) connected via supplied USB-C cable

Reproducibility: 50%?

waydabber commented 3 months ago

Which app version are you using?

waydabber commented 3 months ago

Note: https://github.com/waydabber/BetterDisplay/discussions/3158

ytham commented 3 months ago

Ah oops sorry it's v2.3.9 build 31313

waydabber commented 3 months ago

Thanks! :) Do you have this issue with any other display, or only this one?

ytham commented 3 months ago

I haven't had a chance to test w/ any other displays besides my portable one, but I can get back to you after the 18th when I'm back at home

waydabber commented 3 months ago

All right, thank you!

Does the display have any sleep/wake issues (delay, no signal etc) with the Mac?

ytham commented 3 months ago

It has not had any sleep/wake issues, but it does always have a slight bit of delay (maybe around 0.5-1 sec) after the Macbook turns on.

waydabber commented 3 months ago

Ok, that's a normal delay. I'll try to reproduce the issue and look into it.

waydabber commented 3 months ago

I improved the enforcement of color adjustments after wake. So far the system reapplied it upon configuring the display and 2 seconds afterwards just to make sure and whenever the color profile changed. Now I added a 3 step enforcement - the app will try to reapply color settings 1.5 seconds, 3 seconds and 4.5 seconds after configuration, no matter what, hoping whatever else (other app, system component etc) reverts it back gives up by that time.

Please let me know if this works (check out the latest internal release at the bottom of the Assets list here):

https://github.com/waydabber/BetterDisplay/releases/tag/pre

Btw there are no other apps interfering, right? Like f.lux, MonitorControl, Lunar, BetterTouchTool or something similar?