Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

fix(fg): fail closed on the sm_86 unlock instead of forcing CreateFeature (RTX 3060 field evidence)

Veyra Goal Agent298c306dd500
diff --git a/src/engine/EngineController.cpp b/src/engine/EngineController.cpp
index 127421a1..64bbd756 100644
--- a/src/engine/EngineController.cpp
+++ b/src/engine/EngineController.cpp
@@ -21,6 +21,7 @@
#include "veyra/pipeline/EnhanceGraph.h"
#include "veyra/pipeline/ResetCoordinator.h"
#include "veyra/gfx/XessMfgUnlock.h"
+#include "veyra/ngx/AmpereMfgUnlock.h"
#include "veyra/diagnostics/ResetCause.h"
#include "veyra/sink/WasapiAudioSink.h"
#include "veyra/sink/ImageExportSink.h"
@@ -324,6 +325,7 @@ void EngineController::run(HWND window,std::wstring path,PlayerOptions options,s
veyra::log::warn("backend-recovery",std::format("initialization failed component={} attempt={} revision={} -> nr={} sr={} multiplier={}; original SDK error above",unsigned(failure),attempt+1,reduced.revision,reduced.nr,reduced.sr,reduced.multiplier));
if(!backendRecoveryWarning.empty())backendRecoveryWarning+=L";";
backendRecoveryWarning+=std::wstring(backendFailureName(failure))+L"初始化失败,已关闭依赖效果(错误码见日志)";
+ if(failure==FailedBackend::Fg&&ngx::AmpereMfgUnlock::applied())backendRecoveryWarning+=L";RTX 30 系补帧解锁已应用,但当前驱动/运行库组合下运行时不开放补帧,可改用 AMD FSR 补帧";
if(failure==FailedBackend::Fg&&reduced.frameGenerationBackend==FrameGenerationBackend::XeSS&&presenter.fsrActive()){
// The FidelityFX proxy owns the window's only flip-model
// swapchain slot; it cannot be released without leaving
diff --git a/src/pipeline/EnhanceGraph.cpp b/src/pipeline/EnhanceGraph.cpp
index 2fe9a488..e8e384b3 100644
--- a/src/pipeline/EnhanceGraph.cpp
+++ b/src/pipeline/EnhanceGraph.cpp
@@ -617,17 +617,19 @@ bool EnhanceGraph::initNgxFeatures()
const bool fgAvailable = fgBackend_->queryCapability(*coreHost_, fgCaps, st);
if (!fgAvailable) {
if (ngx::AmpereMfgUnlock::applied()) {
- // The provider's own report stays Ada/Blackwell-gated; the audited
- // sm_86 unlock replaced every program and the audited build's
- // compiled ceiling is five generated frames. Only a completely
- // absent report is overridden; an explicit smaller value is kept.
- if (fgCaps.multiFrameCountMax == 0) {
- fgCaps.multiFrameCountMax = 5;
- }
- fgCaps.available = true;
- veyra::log::warn("ampere-mfg", std::format(
- "runtime reported FG unavailable; continuing on the audited sm_86 unlock (multiFrameMax={})",
+ // The unlock rewrites the provider's programs, but the runtime's own
+ // availability gate still refuses sm_86. A real RTX 3060 (field log
+ // 2026-09-17) showed that forcing the capability here only moves the
+ // failure to CreateFeature (0xBAD0000B UnableToInitializeFeature)
+ // and then tears the whole frame-generation stage down with a
+ // generic error. Fail closed with the actual reason instead. If a
+ // 30-series configuration is ever shown to work, the controlled
+ // retry belongs behind an explicit, verified capability path - not
+ // behind an assumption.
+ veyra::log::error("ampere-mfg", std::format(
+ "runtime reported FG unavailable (MultiFrameCountMax={}); the sm_86 unlock is applied but this driver/runtime combination does not enable frame generation - failing closed instead of forcing CreateFeature",
fgCaps.multiFrameCountMax));
+ return false;
} else {
veyra::log::error("graph", "FG unavailable; fail closed");
return false;