Skip to content

Commit 367bcfc

Browse files
committed
MFG unlock panel: show unlock section even without Dynamic MFG support
The Unlock MFG on RTX 40 checkbox and patch-status lines sat inside the dlssgGameDMFGSupported block, so games/SL versions reporting no Dynamic MFG hid the entire unlock UI. Move the unlock section out of that gate; keep only the DMFG FPS-target slider gated. Patch logic untouched.
1 parent 7b7220b commit 367bcfc

1 file changed

Lines changed: 19 additions & 14 deletions

File tree

‎OptiScaler/menu/menu_common.cpp‎

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,17 +3480,26 @@ void MenuCommon::RenderFrameGenerationSelection(RenderMenuContext& ctx)
34803480

34813481
ImGui::EndDisabled();
34823482

3483-
if (state.dlssgGameDMFGSupported && !dlssgInputOrOutput)
3483+
if (!dlssgInputOrOutput)
34843484
{
3485-
ImGui::SameLine(0.0f, 16.0f);
3486-
3487-
if (bool dynamicMFG = config->FGDLSSGOverrideForceDMFG.value_or_default();
3488-
ImGui::Checkbox("Force Dynamic MFG", &dynamicMFG))
3485+
if (state.dlssgGameDMFGSupported)
34893486
{
3490-
config->FGDLSSGOverrideForceDMFG = dynamicMFG;
3491-
StreamlineHooks::updateDlssgOptions();
3487+
ImGui::SameLine(0.0f, 16.0f);
3488+
3489+
if (bool dynamicMFG = config->FGDLSSGOverrideForceDMFG.value_or_default();
3490+
ImGui::Checkbox("Force Dynamic MFG", &dynamicMFG))
3491+
{
3492+
config->FGDLSSGOverrideForceDMFG = dynamicMFG;
3493+
StreamlineHooks::updateDlssgOptions();
3494+
}
34923495
}
34933496

3497+
SeparatorWithHelpMarker("MFG Unlock (RTX 40)",
3498+
"Raises the generated frame maximum in nvngx_dlssg.dll and in the count "
3499+
"Streamline reports, so the ratio above offers up to 6X on pre-Blackwell "
3500+
"cards. Patched in memory; the file on disk is not touched. Takes effect "
3501+
"on the next game start. Undocumented and unsupported by NVIDIA.");
3502+
34943503
bool adaUnlock = config->FGDLSSGAdaMfgUnlock.value_or_default();
34953504

34963505
if (ImGui::Checkbox("Unlock MFG on RTX 40", &adaUnlock))
@@ -3539,14 +3548,10 @@ void MenuCommon::RenderFrameGenerationSelection(RenderMenuContext& ctx)
35393548
ImGui::TextColored(good, "%u kernel containers run the Blackwell image.", mfg.KernelsRewritten);
35403549
}
35413550
}
3551+
}
35423552

3543-
ShowHelpMarker("Raises the generated frame maximum in nvngx_dlssg.dll and in the count Streamline "
3544-
"reports, so the ratio above offers up to 6X on pre-Blackwell cards. Patched in "
3545-
"memory; the file on disk is not touched. Takes effect on the next game start.\n\n"
3546-
"Pacing above 2X is uneven -- the module expects Blackwell's flip metering hardware. "
3547-
"Try DisableFlipMetering under [NvApi] alongside it.\n\n"
3548-
"Undocumented and unsupported by NVIDIA.");
3549-
3553+
if (!dlssgInputOrOutput && state.dlssgGameDMFGSupported)
3554+
{
35503555
ImGui::BeginDisabled(state.dlssgLastSetMode != sl::DLSSGMode::eDynamic);
35513556
static float fpsTarget = config->FGDLSSGFramerateTargetDMFG.value_or_default();
35523557
ImGui::SliderFloat("DMFG FPS Target", &fpsTarget, 0, 200, "%.0f");

0 commit comments

Comments
 (0)