Try disable the WASAPI mode in settings > Video Audio Subtitle > More audio settings > Miscellaneous, and then check if it helps.
I think the non-decoded HD audio output is processed by the GPU card and its HDMI audio driver exclusively but not by the software player.
If the HDMI audio output cannot keep or enable the non-decoded audio stream mode normally when processing DTS-HD Master audio, you'd better ask nvidia to help investigate the compatibility issue.
The nvidia HDMI output can work fine with Kodi, it does not mean nvidia can work well with every other player.