
I recently had a problem where I simply couldn’t get my NV GPU to supply full range RGB (0-255) over HDMI when the resolution was either 720p or 1080p at 59.94 Hz.
Apparently this has been a known problem for years, and the only reliable solution was to edit your driver .ini files before installation.
After some digging through obscure NV support posts I managed to find the registry keys that control this behaviour, and I implemented a small tool to switch all graphics modes between full range and limited range. It’s not as convenient as a driver level toggle, but it fixed my problem and since NV hasn’t acted on this for years I don’t expect them to do so any time soon.
Here’s the binary: NV_RGBFullRangeToggle
And here’s the source for anyone interested: NV_RGBFullRangeToggle_Source
It’s a very simple program, basically it does this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
private void setFull(RegistryKey key, RegistryKey parent, string name) { try { foreach (string sub in key.GetSubKeyNames()) { setFull(key.OpenSubKey(sub), key, sub); } try { if (key.GetValue("SetDefaultFullRGBRangeOnHDMI") != null || key.GetValue("MonitorCapabilityList") != null) { // reopen for writing key.Dispose(); key = parent.OpenSubKey(name, true); key.SetValue("SetDefaultFullRGBRangeOnHDMI", 1, RegistryValueKind.DWord); report += key.ToString() + "\r\n"; } } catch (System.Security.SecurityException ex) { report += "ERROR: Could not access values on key " + key.ToString() + " (Security Exception)\r\n"; } } catch (System.Security.SecurityException ex) { } key.Dispose(); } |
I am teaching myself Java and currently use Notepad as a text editor – but your code has colors!, and a line count! What text editor is this? Thank you!
‘Crayon Syntax Highlighter’. I was hoping it was an actual text editor. =/
If you just want a no-nonsense editor with Syntax highlighting I suggest SciTE:
http://www.scintilla.org/SciTE.html
Oooh, pretty sexy. Thank you.
Thank you SOOOOOO much for this! I can’t believe I’ve had to edit the driver files for 4-5 years for this work. I was always pissed that NVIDIA has refused to add this as on option in the drivers. The colour range problem happened when I used HDMI for ANY resolution. Luckily I have never needed to use HDMI audio as I have always just had my PC decode HD Audio for Blu-rays and I used my optical out for DD and DTS.
However, now I know I have the option of playing movies with TrueHD or DTS MasterHD Audio AND having full range colour over HDMI. This have been long needed by thousands of people. Thank you sooo much!!!
Yeah, it’s a really annoying issue. I’m happy this helps some!
THANKS, THANKS, THANKS!
“unable to find version of runtime to run this application”.
WHich .net must be installed? Bizzare as I have all Win7 x64 updates etc…
Got it to work from running from desktop. However it crashes after clicking “0-255″ with a runtime error….. Is there a log I can make to send to you?
Pingback: NVidia’s incompetence on HDMI « BenV's notes
Tested with 310.xx ForceWare series?
I think it’s a good idea to check sometimes if no regkey changed…..
Just want to thank you for this tool. It makes things much easier when changing drivers, and Nvidia doesn’t seem to be interested in fixing it. Problem is still present in beta driver 313.96.