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

test(perf): await actual cross-thread focus activation before verifying foreground

Veyra Goal Agent7f3d5ea95a45
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index 3bfcaae8..9ec9f26d 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -8370,3 +8370,5 @@ cc7f5a3/build-r0-capture-gate-v1构建5步成功。R0-obs-capture-gate-v1 GPU全
d0984e0/build-r0-final-v3构建成功,但R0-obs-rhi-extent-v1第一轮GPU全屏仍抓到Qt背景(严格视频std1.22/1.22/1.70),用户配置未变、仅本轮进程退出;后续批次未执行。实际RHI尺寸与帧锁也不能保证OBS单进程多交换链的选择,拒绝并封存;明确恢复432f7ff生产文件,去掉新增GuiPrivate依赖/帧锁,不保留无效采集修复。暂停/残差恢复实验同样没有修复此现象,不能据阶段相关性拒绝已有5c。接下来对封存A作相同严格普通采集观察,确定已知兼容边界;完整窗口采集以既有OBS软件界面兼容模式作必要回归,不把未测或失败GPU模式声称通过。继续退出/合同/真实UI/导出/焦点回归,无压力测试。
9403521明确回退无效RHI gate,build-r0-final-v4 18步成功。`R0-obs-baseline-strict-r1 gpu --baseline-qml`在封存A也首次fullscreen失败,strict crop std1.2199/1.2199/1.6957,原PNG已看是Qt空背景;cleanup全部true。之前A有真实全屏视频的轮次保留,新结果证明GPU UI游戏采集既有不稳定,不能再称基线始终稳定或5c导致。停止猜测式交换链实验,保留全部拒绝存档/失败录像;最终产品兼容采集、退出、合同/UI/导出/前后台匹配回归继续。此分类不等于GPU OBS已修好。
+
+最终构建UI SHA06fc3703b0007df8467a7dd08e1e7acba25d21d539fb44ba42292d32e7b256e3,R0-obs-compat-final-v2实际六场景有视频及resize后50ms退出0,7退出/16合同(Quick39、D3D debug0)/4真实UI/5 worker/10原生470全帧与240编码输出/8页严格启动全通过。R0-focus-normal-v1的第一A运行在10秒申请激活后立即读Foreground仍为本轮GDI helper,夹具停止,不能作为前后台有效数据;本轮播放器/helper均已退出、原焦点恢复,原日志保留。GetForegroundWindow真实完成验证增加最多2秒观察,不改系统焦点锁定或用户设置,不以Qt变量伪造焦点;新对照仍需全部实际Qt active与Win32前台PID一致才接受。
diff --git a/scripts/perf/nr-r0-focus.py b/scripts/perf/nr-r0-focus.py
index ba33c7c0..48aae895 100644
--- a/scripts/perf/nr-r0-focus.py
+++ b/scripts/perf/nr-r0-focus.py
@@ -38,6 +38,11 @@ def focus(hwnd,expected_pid):
try:user.SetForegroundWindow(hwnd)
finally:
if attached:user.AttachThreadInput(current,foreground_thread,False)
+ # Activation can be dispatched to the other UI thread. Verify completion,
+ # rather than treating the immediately preceding HWND as a denied request.
+ deadline=time.monotonic()+2
+ while user.GetForegroundWindow()!=hwnd and time.monotonic()<deadline:
+ time.sleep(.02)
return user.GetForegroundWindow()==hwnd
def run():