Main > Software Forum
[Discontinued][17-09-22] RatRefresh - refresh rate switcher, stops LCD tearing
Rataplan626:
Well obviously things are different, but that's not coming from my tool: in your first registry-paste (ie. for 0.11) you seem to have 2 custom resolutions, 0 and 1. Maybe in value 1 there is a copy-paste error, but it says:
"1"=hex:02,03,25,70,50,90,05,04,03,02,07,16,01,06,11,12,15,13,14,1f,20,23,09,\
1f,07,67,03,0c,00,10,00,38,38,83,01,00,00,02,3a,80,18,71,38,2d,40,58,2c,45,\
00,e0,0e,11,00,00,1e,01,1d,80,18,71,1c,16,20,58,2c,25,00,e0,87,10,00,00,9e,\
01,1d,00,72,51,d0,1e,20,6e,28,55,00,40,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,10,00,00,1e,8f,0a,d0,8a,20,e0,2d,\
10,10,3e,96,00,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,78,00,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,8f
And obviously that bingo part should not be in there :-) But the thing is, if you have multiple custom resolutions set, you'll get multiple refresh rates available in Windows, and one needs to manually select 'the closest' in order for it to work. Refreshrates in windows are rounded to 0 decimals, ie. 59.950 and 60.150 would both be 60Hz, from Windows GUI perspective, and I'm not sure anymore how Windows responds to that. When you have only one, Windows will always use that, which is why I strongly advise to only have ONE custom resolution set, which would be 0.
Then again, you state that in 0.11 it works, even while your registry there contains 2 custom resolutions, and one with possible bogus text too (although maybe because of that it might be filtered out).
The resulting EDID_OVERRIDE values for resolution 0 though in both your registry pastes of 0.11 and 0.14 are 100% identical. And in the end that's what Windows / display driver should pick up.
Your output it strange on another level though. With -debug, it should report also report the current Pixelclock, which it doesn't show. It seems I put another 0.14 up then I have myself. So before I update the opening post, try this release: <new link below, read along ;-)> and report. If it still doesn't work, I'd like to see them same output for this version again.
But before testing, make sure you run ratrefresh -remove, and verify the complete EDID_OVERRIDE is removed after that.
I'm currently looking into monitor DDC commands. With them you can programmatically do settings on your monitor like brightness, contrast, RGB values but also power-off if your monitor supports it (most do). ClickMonitorDDC is a great tool I use almost daily which does the same. I am currently testing to see if powering down or resetting link through DCC makes Windows / display driver pick up the custom resolutions. That would maybe mean we don't have to reset the display driver completely, in order not to crash frontends.
I'm also looking into why the min/max readout is not working but to be honest, reading my code and looking at the EDID specifications, I'm not sure how it ever worked at all ;D
[edit]
I've just added some additional debug info with regards to the min/max readouts. Please supply output of ratrefresh -debug -refresh <something>. It should now report a list of 8 values, being min and max in the 4 possible places EDID has for them. You could also check in CRU whether that reads the same values:
I also noted that CRU still comes with restart64.exe, which also simply restarts the display driver, with the samy nasty side results for running application as using devcon to reset it.
New Ratrefresh test version: https://drive.google.com/file/d/1jTcLjuDrzKKZDF4SokUTZVoaGpj9u5Al/view?usp=share_link
[edit2]
unfortunately, turning off / resetting the monitor using DDC does not re-initialize the custom resolutions. For now an actual reset of the display driver remains mandatory.
trevorp:
Thanks for your detailed reply!
This is going to require more time than I have this morning before work. I'll have to pick it up afterwards.
quick notes this morning.
Running CRU I only see one custom entry, see attached pic.
When I attempt to run ratrefresh -remove, I get the below error:
--- Code: ---D:\Utilities\RatRefresh_0.14>ratrefresh -remove
Trying to delete EDID_OVERRIDE key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\EDID_OVERRIDE
Error deleting registry key, probably doesn't exist anymore?
--- End code ---
Here's my registry export after running the above:
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,e2,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,22
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters\WDF]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,25,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,ef,68,00,a0,a0,40,2e,60,30,20,36,00,80,90,21,00,00,1a,\
00,00,00,fc,00,44,45,4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,10,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,10,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,01,88
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE]
"0"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,28,\
78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,25,4b,00,81,00,b3,00,d1,00,71,4f,a9,40,\
81,80,d1,c0,01,01,ef,68,00,a0,a0,40,2e,60,30,20,36,00,80,90,21,00,00,1a,00,\
00,00,fc,00,44,45,4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,10,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,10,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,01,88
"CRU_Name"=hex:01,44,45,4c,4c,20,55,33,30,31,34
"CRU_Serial_Number"=hex:00,52,46,35,37,50,34,34,45,41,34,4e,4c
"CRU_Range_Limits"=hex:00,00,31,00,56,00,1d,00,71,01,18
"CRU_Extensions"=hex:01
"1"=hex:02,03,25,70,50,90,05,04,03,02,07,16,01,06,11,12,15,13,14,1f,20,23,09,\
1f,07,67,03,0c,00,10,00,38,38,83,01,00,00,02,3a,80,18,71,38,2d,40,58,2c,45,\
00,e0,0e,11,00,00,1e,01,1d,80,18,71,1c,16,20,58,2c,25,00,e0,87,10,00,00,9e,\
01,1d,00,72,51,d0,1e,20,6e,28,55,00,40,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,10,00,00,1e,8f,0a,d0,8a,20,e0,2d,\
10,10,3e,96,00,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,78,00,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,8f
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE\0]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE\0\Device Parameters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE\0\Device Parameters\EDID_OVERRIDE]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\WDF]
--- End code ---
The entries are clearly still there. If I click on DEL4083 and delete it, it deletes most, but not all of the data:
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
--- End code ---
I'll continue to poke at this after hours.
Also, you had asked if we get notifications, I turned them on yesterday for this thread, and got the notification to my gmail account.
Rataplan626:
Yeah, after disabling and re-enabling notifications it seems to work now. Anyway:
--- Quote from: trevorp on March 02, 2023, 08:06:12 am ---
--- Code: ---D:\Utilities\RatRefresh_0.14>ratrefresh -remove
Trying to delete EDID_OVERRIDE key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\[b]5&67fc0b1&0&UID4353[/b]\EDID_OVERRIDE
Error deleting registry key, probably doesn't exist anymore?
--- End code ---
Here's my registry export after running the above:
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\[b]1&8713bca&0&UID0[/b]]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
--- End code ---
--- End quote ---
see the difference? Your edid file is not reflecting the correct key. So either run ratrefresh -setup again and check if edid.txt actually reflects the right key, or for now manually correct the key in edid.txt. If detecting is wrong, does it detect multiple screens? And if so, is the 'correct' key to be seen in the detections?
Think we're getting close now :)
trevorp:
OK, here we go.
Making sure it is really removed
--- Code: ---D:\Utilities\RatRefresh_0.14_test>RatRefresh.exe -remove
Trying to delete EDID_OVERRIDE key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\EDID_OVERRIDE
D:\Utilities\RatRefresh_0.14_test>RatRefresh.exe -remove
Trying to delete EDID_OVERRIDE key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\EDID_OVERRIDE
Error deleting registry key, probably doesn't exist anymore?
--- End code ---
Here's my registry export after the deletes
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
--- End code ---
Setup
--- Code: ---D:\Utilities\RatRefresh_0.14_test>RatRefresh.exe -setup
Detected video drivers:
Name: NVIDIA GeForce GTX 780
Device ID: PCI\VEN_10DE&DEV_1004&SUBSYS_84691043&REV_A1\4&80E7924&0&0008
Detected active monitors:
Monitor number: 1
Monitor description: DELL U3014
Serial number: RF57P44EA4NL
Monitor InstanceID: DISPLAY\DEL4083\5&67fc0b1&0&UID4353
Monitor DevicePath:
HorizontalResolution: 2560
VerticalResolution: 1600
Minimum reported refreshrate: 49
Maximum reported refreshrate: 86
What monitor number to use?
1
edid.txt file written.
--- End code ---
--- Code: ---D:\Utilities\RatRefresh_0.14_test>type edid.txt
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353
--- End code ---
Here's my registry after setup
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,e2,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,22
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters\WDF]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,70,5e,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,9e
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\WDF]
--- End code ---
Checking CRU
I see there are two entries for DEL4083 - DELL U3014.
Here's the second one.
This second entry matches the rate that 0.14 (both original and test) set my rate to.
When I hit edit on the display, I see the same information for both DEL displays
Running the new 0.14_test version
--- Code: ---D:\Utilities\RatRefresh_0.14_test>RatRefresh.exe -debug -refresh 59.850
-min not supplied. Using EDID supplied value of 49
-max not supplied. Using EDID supplied value of 86
Press key to continue.
Going through all Descriptor blocks
*** StoredEDIDValue(54): 239
*** StoredEDIDValue(55): 104
*** StoredEDIDValue(77): 82
*** StoredEDIDValue(78): 70
*** StoredEDIDValue(95): 68
*** StoredEDIDValue(96): 69
*** StoredEDIDValue(113): 49
*** StoredEDIDValue(114): 86
Key SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE
WantedRefreshRate 59.850
HexCurrentPixelClock: 68ef
CurrentPixelClock: 26863
HexHorizontalResolution: 0a00
HorizontalResolution: 2560
HexVerticalResolution: 0640
VerticalResolution: 1600
HexVerticalBlankingLines: 002e
VerticalBlankingLines: 46
TotalHorizontalResolution: 2720
TotalVerticalResolution: 1646
CalculatedPixelClock 26796
HexCalculatedPixelClock 68ac
ReversedEdidHexCalculatedPixelClock ac68
TotalChecksum 9640
Checksum 88
HexChecksum 58
done
Press key to continue.
--- End code ---
ufotest shows 59.972 Hz
Here are both of the CRU
Here's my registry after 59.850
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,e2,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,22
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters\WDF]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,ac,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,58
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE]
"0"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,28,\
78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,40,\
81,80,d1,c0,01,01,ac,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,00,\
00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,4c,\
4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,20,\
20,20,20,01,58
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\WDF]
--- End code ---
Another run with 66.123 refresh rate requested
--- Code: ---D:\Utilities\RatRefresh_0.14_test>RatRefresh.exe -debug -refresh 66.123
-min not supplied. Using EDID supplied value of 49
-max not supplied. Using EDID supplied value of 86
Press key to continue.
Going through all Descriptor blocks
*** StoredEDIDValue(54): 172
*** StoredEDIDValue(55): 104
*** StoredEDIDValue(77): 82
*** StoredEDIDValue(78): 70
*** StoredEDIDValue(95): 68
*** StoredEDIDValue(96): 69
*** StoredEDIDValue(113): 49
*** StoredEDIDValue(114): 86
Key SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE
WantedRefreshRate 66.123
HexCurrentPixelClock: 68ac
CurrentPixelClock: 26796
HexHorizontalResolution: 0a00
HorizontalResolution: 2560
HexVerticalResolution: 0640
VerticalResolution: 1600
HexVerticalBlankingLines: 002e
VerticalBlankingLines: 46
TotalHorizontalResolution: 2720
TotalVerticalResolution: 1646
CalculatedPixelClock 29604
HexCalculatedPixelClock 73a4
ReversedEdidHexCalculatedPixelClock a473
TotalChecksum 9643
Checksum 85
HexChecksum 55
done
Press key to continue.
--- End code ---
ufotest shows 59.972 Hz
Here are both of the CRU
Here's my registry after 66.123
--- Code: ---Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000000
"ConfigFlags"=dword:00000000
"ContainerID"="{6d5104c6-2815-5319-8110-935b6287b83a}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0005"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,e2,68,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,22
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters\WDF]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353]
"DeviceDesc"="@monitor.inf,%pnpmonitor.devicedesc%;Generic PnP Monitor"
"Capabilities"=dword:000000e4
"Address"=dword:00000111
"ConfigFlags"=dword:00000000
"ContainerID"="{5e53dd27-50e9-533e-b70c-88d73a545c57}"
"HardwareID"=hex(7):4d,00,4f,00,4e,00,49,00,54,00,4f,00,52,00,5c,00,44,00,45,\
00,4c,00,34,00,30,00,38,00,33,00,00,00,00,00
"CompatibleIDs"=hex(7):2a,00,50,00,4e,00,50,00,30,00,39,00,46,00,46,00,00,00,\
00,00
"ClassGUID"="{4d36e96e-e325-11ce-bfc1-08002be10318}"
"Service"="monitor"
"Driver"="{4d36e96e-e325-11ce-bfc1-08002be10318}\\0004"
"Mfg"="@monitor.inf,%generic%;(Standard monitor types)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters]
"EDID"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,\
28,78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,\
40,81,80,d1,c0,01,01,a4,73,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,\
00,00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,\
4c,4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,\
20,20,20,20,01,55
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\EDID_OVERRIDE]
"0"=hex:00,ff,ff,ff,ff,ff,ff,00,10,ac,83,40,4c,4e,34,41,10,18,01,03,80,40,28,\
78,ea,1d,f5,ae,4f,35,b3,25,0d,50,54,a5,4b,00,81,00,b3,00,d1,00,71,4f,a9,40,\
81,80,d1,c0,01,01,a4,73,00,a0,a0,40,2e,60,30,20,36,00,81,91,21,00,00,1a,00,\
00,00,ff,00,52,46,35,37,50,34,34,45,41,34,4e,4c,0a,00,00,00,fc,00,44,45,4c,\
4c,20,55,33,30,31,34,0a,20,20,00,00,00,fd,00,31,56,1d,71,1c,00,0a,20,20,20,\
20,20,20,01,55
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353\Device Parameters\WDF]
--- End code ---
This got so long, I hope I got all the tests in.
[edit] I forgot to mention, if I delete the second DEL4083 entry, close CRU and re-open it, it's gone. Next time I run ratrefresh, it recreates it.
Rataplan727:
At first: my Rataplan626 account is locked out, asked an admin. I had to register another account to post again.
Multiple screens being 'detected' I've seen before, it might be the issue here.
Your edid.txt file will now contain:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353
Please modify that to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0
which is the other ID that was already in your registry, and then try running RatRefresh again. If it works it means I'm not detecting the actual monitor ID correctly.
The strange thing here now is that in your 'registry after delete', so the second code block, there is [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0] and [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\5&67fc0b1&0&UID4353], where 5&67fc0b1&0&UID4353 is the one I detected. However, the 1&8713bca&0&UID0 does NOT have any EDID value in there. For your info, Windows or your display driver puts the EDID value it pulls from the monitor in [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\DEL4083\1&8713bca&0&UID0\Device Parameters] value EDID. So it's weird it's not there IF that's the correct monitor key, and even stranger it's there AFTER you run RatRefresh -setup, as that writes nothing to registry but only generates the edid.txt file.
If all else fails, you can go the following route: first, maybe I'd delete your display driver and monitors from device manager, and reboot. After that, run CRU and put at least one custom resolution in (values don't really matter). Then you can lookup in registry where it created the EDID_OVERRIDE key. That's the key that should end up in edid.txt. After that make sure to remove the EDID_OVERRIDE key that's created by CRU so it doesn't interfere. Then try RatRefresh again.
The generated EDID_OVERRIDE registry seems to be correct when I decode it. So my guess now indeed is that my detection isn't working correctly for you. Sorry for the hassle and thanks for all your input :cheers:
[edit]
ah, looking back I build in more functionality than I remembered :) What does 'RatRefresh -showmonitors' and 'RatRefresh -showmonitors -api' do?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version