Skip to content

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

Merged
cdozdil merged 1 commit into
optiscaler:masterfrom
MapleHinata:fix-satisfactory
Oct 17, 2024
Merged

feat: don't return Ultra Quality to real DLSS#80
cdozdil merged 1 commit into
optiscaler:masterfrom
MapleHinata:fix-satisfactory

Conversation

@MapleHinata

@MapleHinata MapleHinata commented Oct 17, 2024

Copy link
Copy Markdown
Contributor

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.

@MapleHinata MapleHinata changed the title feat: don't return Ultra Quality for real DLSS feat: don't return Ultra Quality to real DLSS Oct 17, 2024
@cdozdil cdozdil merged commit c0eda1a into optiscaler:master Oct 17, 2024
@MapleHinata MapleHinata deleted the fix-satisfactory branch October 17, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants