[Solved] ambilight responsiveness
I have set up Ambilight with two lights and two small-ish zones on my display.
When playing a video on fullscreen there is a delay of around 1-2 seconds for the light colours to update with the image on screen.
Is there a combination of parameters/settings that would help with the delay?
If I hit pause when the video is playing the lights update their color much faster.
Can you tell me your CPU load and RAM usage after this 5 Minuten during the playback? It looks like a memory leak, but its the first time i heard this. And Plesse try to Connect your mac to the network via Ethernet. Maybe your wifi is overloading vor your Router is cutting something
I just tested it on my 2011 Macbook..and you're right.
But theres some crazy things happening. JeeLight work as expected..Timings around 10-20ms ..but:
I made some tests with youtube.
As soon jeelight is in the background (in Fullscreen or completely behind the safari window) the delay happen. But as soon i move the mouse the delay is gone immediately. And if i move the jeelight window a little bit to one side so you can see it few millimeters beside the safari window there is no delay the whole time. Can you confirm that?
I don't know much about macOS, but everything indicates that the operating system prioritizes hidden applications very low. Maybe there is an option to disable that. I have too ask my friend google...
Funfact: if i hiding JeeLight i can't see the timings. But when i see them, there is no delay xD
Well, I've got it.
its caused by an energy saving function added in MacOS 2013, called App Nap
Sadly it doesn't seem that you can disable App Nap for a single Java Application. But i will try to figure it out.
For now you can disable App Nap entirely with
defaults write NSGlobalDomain NSAppSleepDisabled -bool YES
and re-enable it with
defaults delete NSGlobalDomain NSAppSleepDisabled