Since its a GPU tweak, for Nvidia, since that is the only brand I have ever owned, the proper way to add this DWORD would be via the nvdisp(i).inf(this is the file to edit) after you extract the nvidia drivers with winrar or whatever will do it.
Add this line to your other Nvidia Video/0000 (reference to where this tweak ends up in the registry explained further at end of post) key tweaks(if your pro enough to even have such things).
HKR,,RMPcieLinkSpeed,%REG_DWORD%,4
Under the headings [nv_commonBase_addreg__01] and [nv_commonBase_addreg__02] to make them applicable to all GPUs in the unified drivers. I doctor every driver that comes out before I install it and just run Test Mode all the time so I don't have to mess with an advanced options boot in Windows 8.1 and disable driver signing enforcment everytime I need to install a tweaked driver(not just graphics).
To enable Test Mode just enter Bcdedit.exe -set TESTSIGNING ON in an elevated cmd prompt and reboot to enable it and Bcdedit.exe -set TESTSIGNING OFF to disable. There are other ways I allude to above but they take longer to explain and you can search them on your own this post is already going to be long.
Or you can put it in the daisy chain of install headers for your specific card by searching your card name at the base of the nvdisp(i).inf to find the headers your gpu will fall under to see all the dlls and installer lines that apply to your specific gpu. For instance lets say we have a GTX 780 search 780 at the bottom and we come up with this line NVIDIA_DEV.1004 = "NVIDIA GeForce GTX 780". The first half of the equation is what we are looking for NVIDIA_DEV.1004 now simply pick your OS.
From the proper sections headered(near the top of the inf)
[NVIDIA_SetA_Devices.NTamd64.6.0] = NT 6.0 = Vista or Server 2008
[NVIDIA_SetA_Devices.NTamd64.6.1]= NT 6.1 = Windows 7 or Server 2008 R2
[NVIDIA_SetA_Devices.NTamd64.6.2]= NT 6.2 = Windows 8 or Server 2012
[NVIDIA_SetA_Devices.NTamd64.6.3]= NT 6.3 = Windows 8.1
Referencing the correct line provides %NVIDIA_DEV.1004% = Section095, PCI\VEN_10DE&DEV_1004 from the recent 322.21 drivers skipping to Section 95 lists.
[Section095]
AddReg = nv_DRS_addreg
AddReg = nv_FTS_addreg
AddReg = nv_commonBase_addreg__01
AddReg = nv_commonDisplayModes_addreg__02
AddReg = nv_controlPanel_addreg
AddReg = nv_global_addreg
AddReg = nv_miscBase_addreg__15
AddReg = nv_opengl_addreg
AddReg = nv_timingRestrictions_addreg
CopyFiles = nv_Drs_copyfiles
CopyFiles = nv_cplSetup_copyfiles
CopyFiles = nv_detoured32_copyfiles
CopyFiles = nv_detoured_copyfiles
CopyFiles = nv_license_copyfiles
CopyFiles = nv_nvsmi_copyfiles
CopyFiles = nv_opencl_copyfiles
CopyFiles = nv_sysDrivers_copyfiles
CopyFiles = nv_system32_copyfiles__07
CopyFiles = nv_syswow64_copyfiles__07
DelFiles = nv_nvsmi_delfiles
DelFiles = nv_sysDrivers_delfiles
DelFiles = nv_system32_delfiles
DelFiles = nv_system64_delfiles
DelReg = nv_clearRegistrySwitches_delreg
FeatureScore = DA
NVAllowIR3DDriverPreStage = 1
NVSupport3DVision = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceExtendedOptions = 1
NVSupportPhysx = 1
RegisterDLLs = nv_common_registerdll__02
This lists the sections of the nvdisp(i).inf the installer will reference for your specific card which the 2 most common labeled [nv_commonBase_addreg__01] and [nv_commonBase_addreg__02] one of which is listed here(as they are for almost every card I have taken the time to look up) and others specific to this model/generation of card you can put your tweaks in any of these AddReg registry sections but the most common and universal are the 2 I have listed. They end up in this key in the registry (the folders in regedit are called keys the individual items are call strings dwords etc etc.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{E39C18FB-BF88-4095-AA99-AC182ABC71F0}\0000 where {E39C18FB-BF88-4095-AA99-AC182ABC71F0} is your unique Display GUID. It is easy to tell which one because it will have more 0000 0001 0002 0003 folders than the others.
post edited by ClusterGod - Wednesday, January 29, 2014 1:02 AM