Skip to content

Commit

Permalink
R445.75 removed restricted settings to avoid errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Orbmu2k committed Mar 24, 2020
1 parent a4ea01d commit c2f71c5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
10 changes: 9 additions & 1 deletion nspector/Common/DrsImportService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,15 @@ private void UpdateSettings(IntPtr hSession, IntPtr hProfile, Profile importProf
if (!alreadySet.Contains(setting.SettingId))
{
var newSetting = ImportExportUitl.ConvertProfileSettingToDrsSetting(setting);
StoreSetting(hSession, hProfile, newSetting);
try
{
StoreSetting(hSession, hProfile, newSetting);
}
catch (NvapiException ex)
{
if (ex.Status != NvAPI_Status.NVAPI_SETTING_NOT_FOUND)
throw;
}
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions nspector/CustomSettingNames.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</CustomSettingValue>
</SettingValues>
</CustomSetting>
<CustomSetting>
<!--<CustomSetting>
<UserfriendlyName>Sharpening Filter</UserfriendlyName>
<HexSettingID>0x00598928</HexSettingID>
<MinRequiredDriverVersion>441.87</MinRequiredDriverVersion>
Expand Down Expand Up @@ -870,7 +870,7 @@
</CustomSettingValue>
</SettingValues>
<SettingMasks />
</CustomSetting>
</CustomSetting>-->
<CustomSetting>
<UserfriendlyName>Frame Rate Limiter V3</UserfriendlyName>
<HexSettingID>0x10835002</HexSettingID>
Expand Down Expand Up @@ -4808,7 +4808,7 @@
</SettingValues>
<SettingMasks />
</CustomSetting>
<CustomSetting>
<!--<CustomSetting>
<UserfriendlyName>Ultra Low Latency CPL State</UserfriendlyName>
<HexSettingID>0x0005F543</HexSettingID>
<MinRequiredDriverVersion>430.00</MinRequiredDriverVersion>
Expand All @@ -4826,8 +4826,8 @@
<HexValue>0x00000002</HexValue>
</CustomSettingValue>
</SettingValues>
</CustomSetting>
<CustomSetting>
</CustomSetting>-->
<!--<CustomSetting>
<UserfriendlyName>Ultra Low Latency</UserfriendlyName>
<HexSettingID>0x10835000</HexSettingID>
<GroupName>2 - Sync and Refresh</GroupName>
Expand All @@ -4842,7 +4842,7 @@
<HexValue>0x00000001</HexValue>
</CustomSettingValue>
</SettingValues>
</CustomSetting>
</CustomSetting>-->
<CustomSetting>
<UserfriendlyName>NVLINK SLI Mode</UserfriendlyName>
<HexSettingID>0x00A06948</HexSettingID>
Expand Down Expand Up @@ -4899,7 +4899,7 @@
</SettingValues>
<SettingMasks />
</CustomSetting>
<CustomSetting>
<!--<CustomSetting>
<UserfriendlyName>GSYNC - Indicator Overlay</UserfriendlyName>
<HexSettingID>0x10029538</HexSettingID>
<MinRequiredDriverVersion>331.00</MinRequiredDriverVersion>
Expand All @@ -4915,7 +4915,7 @@
</CustomSettingValue>
</SettingValues>
<SettingMasks />
</CustomSetting>
</CustomSetting>-->
<CustomSetting>
<UserfriendlyName>GSYNC - Application Mode</UserfriendlyName>
<HexSettingID>0x1194F158</HexSettingID>
Expand Down Expand Up @@ -7514,7 +7514,7 @@
</SettingValues>
<SettingMasks />
</CustomSetting>
<CustomSetting>
<!--<CustomSetting>
<UserfriendlyName>Optimize for Compute Performance</UserfriendlyName>
<HexSettingID>0x10C158AD</HexSettingID>
<GroupName>5 - Common</GroupName>
Expand All @@ -7529,7 +7529,7 @@
</CustomSettingValue>
</SettingValues>
<SettingMasks />
</CustomSetting>
</CustomSetting>-->
<CustomSetting>
<UserfriendlyName>Extension limit</UserfriendlyName>
<HexSettingID>0x20FF7493</HexSettingID>
Expand Down

1 comment on commit c2f71c5

@LethalManBoob
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i remember things like async10 and silk smoothness having a visible effect, its a shame they cant be used anymore

Please sign in to comment.