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++

release(1.4.0): drop the AMD FSR frame-generation UI entry (backend kept) and bump the version, with a cache-proof display version

Veyra Goal Agent399d89efeabe
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4891082..cbb085d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,17 @@
cmake_minimum_required(VERSION 3.24)
-project(veyra VERSION 1.3.2 LANGUAGES CXX RC)
+project(veyra VERSION 1.4.0 LANGUAGES CXX RC)
# Shown in the EXE's version resource and in the package name. CMake versions
# must be numeric, so the beta marker lives here instead.
-set(VEYRA_DISPLAY_VERSION "1.3.2beta4" CACHE STRING "Human-readable version string")
+set(VEYRA_DISPLAY_VERSION "1.4.0" CACHE STRING "Human-readable version string")
+# The cache keeps the first value it ever saw, so a release that bumps
+# project(VERSION) used to ship an EXE still stamped with the previous display
+# string. Re-align it whenever the cached label does not start with the project
+# version; an explicit matching label (e.g. "1.4.0beta") is still honoured.
+if(NOT VEYRA_DISPLAY_VERSION MATCHES "^${PROJECT_VERSION}")
+ message(STATUS "VEYRA_DISPLAY_VERSION ${VEYRA_DISPLAY_VERSION} does not match project ${PROJECT_VERSION}; using ${PROJECT_VERSION}")
+ set(VEYRA_DISPLAY_VERSION "${PROJECT_VERSION}" CACHE STRING "Human-readable version string" FORCE)
+endif()
# Match the compiler's actual bytes, including on localized Windows installs.
# CMake's cached, decoded prefix can leave Ninja with zero header dependencies.
diff --git a/apps/veyra/SettingsWindow.cpp b/apps/veyra/SettingsWindow.cpp
index a2dd4376..b2c4189e 100644
--- a/apps/veyra/SettingsWindow.cpp
+++ b/apps/veyra/SettingsWindow.cpp
@@ -887,6 +887,17 @@ void populate(engine::EnhancementSettings s){
const int multiplierCount=multiplierChoiceCount(s.frameGenerationBackend);
if(send(202,CB_GETCOUNT)!=multiplierCount){send(202,CB_RESETCONTENT);const wchar_t* choices[]={L"关闭补帧",L"2X · 一张中间帧",L"3X · 两张中间帧",L"4X · 三张中间帧",L"6X · 五张中间帧"};for(int i=0;i<multiplierCount;++i)send(202,CB_ADDSTRING,0,LPARAM(choices[i]));}
send(207,CB_SETCURSEL,s.videoSrQuality,0);send(202,CB_SETCURSEL,multiplierChoiceIndex(s.multiplier),0);
+ // 1.4.0: the AMD FSR frame-generation entry is gone from the panel. An old
+ // last-applied preset (or a command line) that still asks for it must not
+ // strand the session on a backend the UI can no longer change - fall back to
+ // DLSS, tell the user, and write it to the log. The engine-side backend is
+ // untouched (headless probes and --fg-fsr still exercise it).
+ if(s.frameGenerationBackend==engine::FrameGenerationBackend::Fsr){
+ s.frameGenerationBackend=engine::FrameGenerationBackend::Dlss;
+ if(controller)controller->requestSettings(s);
+ message(L"AMD FSR 补帧已在 1.4.0 从界面移除(后端保留):本次已切回 DLSS 补帧。");
+ veyra::log::warn("settings","AMD FSR frame generation is no longer selectable in the UI; falling back to DLSS");
+ }
send(208,CB_SETCURSEL,int(s.frameGenerationBackend),0);send(203,CB_SETCURSEL,int(s.nrPolicy),0);
send(508,CB_SETCURSEL,int(engine::exportBitrateIndex(s.exportBitrateMbps)),0);
send(218,CB_SETCURSEL,int(s.nrRuntime));
@@ -1278,7 +1289,12 @@ case WM_CREATE:{window=h;font=makeFont(h);items.clear();displayedBackendWarning.
SetPropW(item(219),L"veyra.tip",HANDLE(L"直播兼容模式:切换显示交换链,会短暂停顿;不改变增强算法或导出。不保证所有捕获方式有效。"));
add(L"STATIC",L"补帧与运动估算",1103,0,1,12,12,-1,30);
add(L"STATIC",L"补帧方式",1111,0,1,12,50,-1,24);
- combo(208,1,78,{L"DLSS 帧生成",L"Intel XeSS · 实验显示补帧 2X-4X",L"AMD FSR 帧生成 · 2X"});
+ // 1.4.0: the AMD FSR *frame-generation* entry is gone from the panel. Users
+ // could get stuck on it (switching back did not restore the DLSS path) and
+ // the result was not good enough to ship. The backend stays in the engine and
+ // is still reachable through --fg-fsr for diagnostics; only the UI entry is
+ // removed. FSR *upscaling* (id 207) is a different feature and stays.
+ combo(208,1,78,{L"DLSS 帧生成",L"Intel XeSS · 实验显示补帧 2X-4X"});
add(L"STATIC",L"补帧倍率",1112,0,1,12,122,-1,24);
combo(202,1,150,{L"关闭补帧",L"2X · 一张中间帧",L"3X · 两张中间帧",L"4X · 三张中间帧"});
add(L"STATIC",L"运动估算",1113,0,1,12,194,-1,24);
diff --git a/apps/veyra/ui/SettingHelp.h b/apps/veyra/ui/SettingHelp.h
index 1245d3fb..ce2df777 100644
--- a/apps/veyra/ui/SettingHelp.h
+++ b/apps/veyra/ui/SettingHelp.h
@@ -35,7 +35,7 @@ inline const wchar_t* settingHelp(int id){
case 205:return L"选择内容节奏。采集60→30适合60Hz信号里重复的30帧游戏内容;真60帧别硬砍半。时间戳仍保留。";
case 206:return L"剔除区里的NR改动会被抑制、保留原图,最多4块。只管NR,不给超分和补帧当保镖。";
case 207:return L"选择DLSS SR或RTX视频超分,以及视频超分质量。两条路线各有脾气,试着看画质和耗时。";
- case 208:return L"选择DLSS、实验XeSS或AMD FSR补帧。XeSS/FSR的生成帧只存在于显示交换链,导出管线拿不到;导出时会自动改用DLSS补帧,显卡不支持则关闭补帧,提示和日志都会写明。别只看名字,看实际效果。";
+ case 208:return L"选择DLSS补帧或实验XeSS补帧。AMD FSR补帧已在1.4.0从界面移除(切回DLSS容易卡住、效果也一般):引擎后端保留,但面板不再提供,旧设置或旧预设里若存了FSR,打开时会自动切回DLSS并在日志里写明。XeSS的生成帧只存在于显示交换链,导出管线拿不到;导出时会自动改用DLSS补帧,显卡不支持则关闭补帧。";
case 508:return L"导出码率:只决定导出文件的大小与画质,不影响预览。自动=编码器恒定质量档(NVENC CONSTQP / 系统编码器质量模式)。H.264 一般 10-40 Mbps 够用,4K 或高动态建议 60-150;HEVC 同等画质可以取更低。";
case 209:return L"选择运动估算后端。NVOF、FidelityFX、GPU DIS负责看出物体怎么动。DIS是实验算法,走通用计算单元,可能和NR抢活干,不保证更快;选它不会换掉你的补帧方式,也不会解锁AMD NR。";
case 211:return L"把增强参数恢复为内建默认。调迷路了就走这里,画质参数立即回到出厂状态。";