In the case where the HDR and refresh rate are both changed (such as normally displaying in 60Hz SDR and playing content that’s 23.976Hz HDR), the HDR is changed and immediately afterwards the refresh rate is changed. Then the user’s set delay is enacted, then playback starts. What this build change is to insert another delay between the HDR switch and the refresh rate switch.
Some people have displays which behave differently if the HDR and refresh rate are both changed with no delay in between. In this case, the display turns on HDR, the refresh rate changes, and the result is the display is back is SDR. I believe this to be the display as I know of one case where the computer and AVR are identical to my configuration but with a different display and this case exhibits the issue but mine does not. Since this appears to be sensitive to the actual setup and so I’m asking people to test to get a wider range of testing.
When switching back, the same thing is done (in the same order) however in my testing I have noticed that the switch from HDR->SDR tends to also switch the refresh rate back without the code requesting it yet. So after the delay in between the HDR/refresh rate switches, the code looks at the current refresh rate and determines if it needs to change. If it does not, then no change is enacted and the second delay is skipped.
Please comment in this thread with your experiences related to HDR and refresh rate switches only.
Works for me! Set Win11 to HDR. Then played a SDR tv episode, when done i exited PlexHTPC and saw that HDR was still enabled in windows. It’s usually disabled but this time it switched back automatically. Also, normal HDR content looked perfectly so am keeping this version for sure
As you know from my thread I get severe stutter with Plex HTPC and the current nvidia driver.
So i switched mpv to vulkan which ‘fixed’ that issue, but when HDR content is played the system is stuck in HDR, it does not revert back to SDR unless I exit Plex HTPC or play SDR content.
I tried this build and just want to report that the behaviour is the same - saying that I am not sure if this build is intended to address any of the issues I have.
This is weird. Are you sure you are using this build? On my setup - also with an Nvidia GPU - it works with this build…
What does your mpv.conf look like? Try again with HDR switching turned on or off under Plex HTPC settings. Can you also share your logs?
So maybe I messed something up with the config files.
I did redownload this test version, checked that the mpv.conf had the correct settings and now it works!
HDR is enabled when playback starts
HDR is disabled when playback stops
Did you get a chance to try this fix I found for the stutter?
Oh, I forgot to answer there. I will definitely try this setting as soon as I have access to my machine again! (currently not at home) I have looked it up and the setting sounds promising. I really hope it also fixes the issue on my side. I will report back! Thanks for the tip!