I had the same issue with an Nvidia Quadro M4000, when issuing the nvidia-smi command it returned the gpu stats. I was able to fix the issue by reinstalling the plugin.
In my case I had the same problem, I ended up solving it by disabling the PCIE Bifurcation in the BIOS. Previously it was configured for x4/x4/x4/x4 and when I changed it to x16 the VM booted perfectly and the STUCK IN D3 error no longer appeared.