DeadManWalkingTO / NVidiaProfileInspectorDmW

Nvidia GPU Profile Inspector by DeadManWalking (DeadManWalkingTO-GitHub)
MIT License
213 stars 10 forks source link

NVAPI_ACCESS_DENIED #9

Closed JarBinks closed 5 years ago

JarBinks commented 6 years ago

I am getting the message below when trying to update some settings. DRS_SaveSettings failed: NVAPI_ACCESS_DENIED

Specifically when trying to modify "CUDA - Force P2 State" = "Off". I am on Win10. I have searched a few times and tried a few things:

I am sure it is something about my setup but I have not been able to find it. Any hit you can give would be appreciated.

I am comfortable examining, writing or modifying code if need be.

Thanks!! image

DeadManWalkingTO commented 6 years ago

I try to find the problem. (Please give me few days. Thank you!)

DeadManWalkingTO commented 5 years ago

NVAPI_ACCESS_DENIED The issue is that when you installed your NVIDIA driver it didn't installed correctly!

Solution:

  1. Look for the folder named Drs located in "C:\ProgramData\NVIDIA Corporation".
  2. Delete the folder "Drs" (if its not there goto next step).
  3. Create a new folder with name "Drs".

Thats all.

JarBinks commented 5 years ago

I am sorry to say that it did not fix the issue.

I added the directory "C:\Program Files\NVIDIA Corporation\Drs", which did not exist.

Things I did after, but they did not work:

image

DeadManWalkingTO commented 5 years ago
  1. Remove all nVidia software and drivers. (Use Display Driver Uninstaller - DDU).
  2. Reinstalling the latest Driver and PhysX ONLY (no 3D drivers, no GFEX).
  3. Download the separate GeForce Experience package and install that afterwards.
  4. Feedback here!

Thank you!

Squall-Leonhart commented 5 years ago

It didn't work because you read the instructions wrong,

Deadman said "C:\ProgramData\NVIDIA Corporation"

You went to "Program Files"

ohcibi commented 5 years ago

@Squall-Leonhart is right. I wouldn't call this issue 'closed' though since the program could just create the folder itself it its missing and not fail with a meaningless error.

A caveat of the workaround is: the Folder ProgramData is hidden. One way to get there is to simply copy the path C:\ProgramData\ into the address bar of the explorer window and hit enter. You don't need to enable hidden files with that approach.

ohcibi commented 5 years ago

@Deadmanwalking why has the issue been closed?? The bug is still present with the very latest version as I have said. The fact that one can workaround this does not mean that the problem itself got solved. For the matter of this issue the program should silently create the missing directory and not just fail with a meaningless error. Please re-open it.

Squall-Leonhart commented 5 years ago

no, it shouldn't create the folder, nor should it create the drs file if it is not present. The folder should already exist and have files in it. if it doesn't, run a Reset to Defaults in the NVCP.

ohcibi commented 5 years ago

@Squall-Leonhart then the error message should be updated to tell the exact problem.

DeadManWalkingTO commented 5 years ago

The "C: \ ProgramData \ NVIDIA Corporation" folder should already exist after installing the driver. Something in your system is messing with your drivers.

  1. Remove all nVidia software and drivers. (Use Display Driver Uninstaller - DDU).
  2. Reinstalling the latest Driver and PhysX ONLY (no 3D drivers, no GFEX).
  3. Check issue.
  4. Download and install the separate GeForce Experience package.

I insist that the solution to this issue is

NVAPI_ACCESS_DENIED The issue is that when you installed your NVIDIA driver it didn't installed correctly! Solution:

  1. Look for the folder named Drs located in "C:\ProgramData\NVIDIA Corporation".
  2. Delete the folder "Drs" (if its not there goto next step).
  3. Create a new folder with name "Drs".

Thank you!