Setting a value via nvmlDeviceSetPowerMizerMode_v1 will revert if the application requesting a different PowerMizer mode closes.
Similarly, if a intensive 3D application is closed, the PowerMizer mode will internally reset but will still display “Prefer Max Performance” as seen by clocks no longer returning to base clocks like it does when you first set the PowerMizer mode.