Hello Martin, i also have this issue and it started from nvidia driver 368.22 and now 368.39.
I need to run application that use the nvidia first (like furmark) then run hwinfo, if not the gpu is not detected.
Here's a debug file.
GPU Not Detected...