JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
8.66k stars 482 forks source link

Disable automatic HDR revert after game closes #3724

Closed yngccc closed 2 months ago

yngccc commented 2 months ago

Feature description

After a game is closed HDR will always revert back to the state before the game is launched, is there a way to disable this behavior? If a game turns on HDR I want it to stay on after the game is closed.

Screenshots

No response

JosefNemec commented 2 months ago

HDR is turned off only if you have an option to turn it on enabled in game's settings. So disable that option and it won't be disabled after game exits.

image

JosefNemec commented 2 months ago

Closed by mistake.

Don't know if it makes sense to not turn off HDR if it wasn't enabled prior to launching a game. We are reverting to the state that was before game was launched, which only makes sense to me.

yngccc commented 2 months ago

In my case my monitor goes blank for a few seconds with switching in and out of HDR, it is annoying when I need to open and close a game multiple times to change some settings.

JosefNemec commented 2 months ago

If this is only for cases where you change game settings, then I really think it's not worth adding an extra option for this.

lscholte commented 2 months ago

@yngccc based on your use case, I have 2 possible suggestions for you: 1) Disable the HDR checkbox in Playnite until you have finalized all the game settings you want. This will disable Playnite's automatic management of your monitor's HDR 2) Keep the HDR checkbox enabled in Playnite, but also enable HDR on your monitor manually (e.g. via windows settings). As long as you've done this, then Playnite should not be disabling HDR on the monitor upon exiting the game. Once you have finalized your game settings, you could turn off HDR on your monitor in Windows settings and let Playnite do the automatic enabling/disabling of HDR on your monitor.

JosefNemec commented 2 months ago

Closing as this is very niche use case not worth adding extra options and complexity to cover it.

Trusty88 commented 1 month ago

Please re-open this thread.

I'm having the same issue” after the W11 24H2 update: "after a game is closed, HDR will always revert back to the state before the game is launched".

lscholte commented 1 month ago

Please re-open this thread.

I'm having the same issue” after the W11 24H2 update: "after a game is closed, HDR will always revert back to the state before the game is launched".

That is how the feature is intended to work. After the game exits, Playnite is supposed to revert HDR back into the state it was in prior to launching the game.

Are you saying there was a change in behaviour after you did a Windows update?

Trusty88 commented 1 month ago

Yes, 24H2 with Windows Update (May 25 , no issues before the update!)

The HDR/AutoHDR function (on Windows) is OFF.

HDR and AutoHDR (Windows) is off --> Playnite launch --> automatic switch to the special nVidia DLDSR resolution --> I play the game --> I quit the game --> Windows returns to the standard resolution, but in HDR mode!

lscholte commented 1 month ago

24H2 is not in general availability yet. Whenever it is fully rolled out, I will then update my system and see if I can reproduce this behaviour and debug it.