Problems with low gpu clock when launching programs from KODI

When I launch, ether demanding games or video content I get low fps or stuttering. It seems that the gpu doesn’t clock up properly. Ether setting the relevant program to max power draw in NVidia settings or opening the application manually without kodi fixes the problems.
Could there be something wrong when launching ether external players or games ect. with regards to the gpu? It does not seem to change with drivers. Seems to have gotten worse with kodi 17