Adapt GUI frequency to match video

Hi there,

I’ve been having a hardware issue recently that I just realized could be solved through software changes.
My setup uses a Windows HTPC (w/ Kodi 17), a receiver and a projector.
The HTPC is defaulted to 1080p60, but for a better experience, I enable the setting in Kodi that adapt the projector’s frequency to the source, so when a movie starts, the projector takes a few seconds to adapt, and I can watch my movie with the best possible framerate.
All of that works perfectly, as expected.

The things is, my projector is having issues changing frequencies too often, and sometimes (pretty rare, I’d say one out of thirty times or fifty), the frequency change on my projector fails, and I have to turn it off. I wouldn’t really care, except for the fact that when watching short videos (e.g. 20min TV show episodes), I go through a ridiculous amount of unneeded frequency changes:

  • first at the beginning of the first episode
  • then at the end of that episode, to go back to Kodi GUI
  • then at the beginning of the next episode
  • then at the end of that episode to go back to Kodi GUI
  • etc.

When really, all I need is two times:

  • when I start the first episode
  • when I exit Kodi back to Windows desktop

What I mean is, Kodi GUI can already be rendered at any framerate needed. So I shouldn’t have to adapt the frequency back to a 60Hz default after watching an episode. The GUI could be rendered at the frequency the episode was at. Then I could launch the next episode without the need of another change. This would save me time (a frequency change on the projector takes 6seconds), produce less frequency-bug in my projector, and all in all not break it (the more these bugs happens, the more frequent they get, until the projector hangs every other changes. I already had to service it once last year because of that).