Open PhantomGamers opened 1 week ago
That's strange. So you don't have any subkey (display) under the "DisplayDatabase" key, like this:
Do you have another display adapter (integrated graphics) and have connected the display to that?
Btw, the message "Requested registry access is not allowed" suggests that it doesn't have sufficient rights to open the key. Which is strange because the code is always executed with higher privileges (administrator). If you look in the Registry Editor at the Permissions on the "DisplayDatabase" key (right click), Is the Administrators group present with at least Read rights?
That's strange. So you don't have any subkey (display) under the "DisplayDatabase" key, like this:
Correct
Do you have another display adapter (integrated graphics) and have connected the display to that?
So my main setup is having my primary display connected to my nvidia gpu, and then I do have a 2nd display connected to my IGP. However I also tried connecting both displays to my gpu and restarting my system and the subkeys still were not populated.
If you look in the Registry Editor at the Permissions on the "DisplayDatabase" key (right click), Is the Administrators group present with at least Read rights?
This is what the permissions look like for that key
Btw, the message "Requested registry access is not allowed" suggests that it doesn't have sufficient rights to open the key.
I initially believed this message is just misleading and that the error is caused by the fact that there are no subkeys in that path, so OpenSubKey fails.
Clicking
Set dither registry key
underSettings -> Test dithering
results in the following exception:The exception points to this line https://github.com/Maassoft/ColorControl/blob/6f4b1e97790aae9c74593db0a8ca5c87cccf0cf2/ColorControl/Services/NVIDIA/NvService.cs#L780
Following the registry path set in the previous line to that
SYSTEM\\CurrentControlSet\\Services\\nvlddmkm\\State\\DisplayDatabase
, I see that on my machine this path has no subkeys.Also I can only get this error when manually launching ColorControl as admin, using any of the alternative elevation methods (run as admin, windows service, dedicated elevated process) in the options just gives the following generic error with nothing actually showing up in the log:
EDIT: Also if it's relevant I'm running Windows 11 23H2 build 22635.4300 with geforce driver version 565.90