feat: don't return Ultra Quality to real DLSS #80

Merged
MapleHinata merged 1 commit from fix-satisfactory into master 2024-10-17 22:44:37 +00:00
MapleHinata commented 2024-10-17 21:04:18 +00:00 (Migrated from github.com)

According to the NVIDIA docs, game devs are expected to check if a given PerfQuality mode is enabled for a DLSS version by calling NVSDK_NGX_DLSS_GetOptimalSettingsCallback and checking if the the OptimalWidth/OptimalHeight > 0.

image

Satisfactory does that, and if it's present, it will try to use NVSDK_NGX_PerfQuality_Value_UltraQuality as a mode for ANY DLSS mode that isn't DLAA.

This causes the real DLSS runtime to throw an error on feature creation when used with OptiScaler, and this PR fixes that by returning that Ultra Quality isn't available when the real DLSS is enabled.

According to the NVIDIA docs, game devs are expected to check if a given PerfQuality mode is enabled for a DLSS version by calling NVSDK_NGX_DLSS_GetOptimalSettingsCallback and checking if the the OptimalWidth/OptimalHeight > 0. ![image](https://github.com/user-attachments/assets/bf45bc55-c529-4be7-9029-33ed560c2abc) Satisfactory does that, and if it's present, it will try to use NVSDK_NGX_PerfQuality_Value_UltraQuality as a mode for ANY DLSS mode that isn't DLAA. This causes the real DLSS runtime to throw an error on feature creation when used with OptiScaler, and this PR fixes that by returning that Ultra Quality isn't available when the real DLSS is enabled.
Sign in to join this conversation.
No description provided.