fyr77/EnvyUpdate

DCH option

Primeey opened this issue · 10 comments

EnvyUpdate always leads you to download the standard version of the Nvidia driver but what if the user is required the DCH version? A option to let you chose between standard and DCH would be handy.

fyr77 commented

Good call, I'll look into that when I have time.

fyr77 commented

Interestingly, the API URL I used in EnvyUpdate defaults to the "normal" driver, but enetering the same settings on the website gives me the DCH driver. I need to figure out what causes this difference.

fyr77 commented

Alright, the API uses &dtcid=1 to specifiy a DCH driver. Not supplying this defaults to non-DCH (at least right now). &dtcid=0 would force a non-DCH driver. Now to figure out how to detect DCH vs. non-DCH.

fyr77 commented

I currently do not have access to a machine running Nvidia Graphics using the DCH driver. If anyone could allow me to poke around in their device manager via remote desktop or discord I could try to find out how to detect DCH vs non-DCH drivers. I expect a flag to be set somewhere...

Or, of course, if someone can tell me how to detet them or creates a pull request I could also finish implementing this.

In short: I need help or time to find a suitable system.

I believe there's a DCH flag in the Windows Registry if that's any help? I found this reddit post. and I can confirm on my system with the Nvidia DCH driver installed I have a DCHUVen key. Here's my full nvlddmkm registry folder, maybe you can compare it to a folder created when you install the standard driver

chrome_DUhN82B5ig

The OP of that post was creating a Nvidia Driver checker as well and he ran into a problem with detecting DCH drivers

fyr77 commented

@Primeey That's very helpful, thank you! I'll look into it.

fyr77 commented

@Primeey Could you do me another favour and run the script located here: https://gist.github.com/fyr77/0ac16813c8f469d08789c9785f4368d2

If it works properly it should return "DCH found".

Yep it works. Mind you I had to change my Execution Policy in PowerShell to run the unsigned script I don't know if that matters.

fyr77 commented

@Primeey Thanks!

fyr77 commented

Implemented in a42641f