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

Wrap the reported pro inspector footer and expose GPU validation in regression

Veyra Goal Agent9f087e9ba79f
diff --git a/qml/Veyra/ProPage.qml b/qml/Veyra/ProPage.qml
index 23033bf0..53eb04e3 100644
--- a/qml/Veyra/ProPage.qml
+++ b/qml/Veyra/ProPage.qml
@@ -282,9 +282,9 @@ VPage {
}
// The status light: 1.4.4's 当前状态 (正常 / 补帧调度降档 / 输出未达标 /
// 输入帧率不足 …) as a glowing strip with the detail beside it.
- component StatusLight: ColumnLayout {
+ component StatusLight: RowLayout {
id: light
- spacing: 6
+ spacing: 8
readonly property color tone: veyra.runStatusLevel === "ok" ? Theme.ok
: veyra.runStatusLevel === "warn" ? "#F2B941"
: veyra.runStatusLevel === "err" ? Theme.err : Qt.rgba(1, 1, 1, 0.3)
@@ -313,7 +313,8 @@ VPage {
}
Text {
objectName: "run-status"
- Layout.fillWidth: true
+ Layout.maximumWidth: Math.max(0, light.width - 40)
+ Layout.preferredWidth: Math.min(implicitWidth, light.width * 0.75)
text: veyra.runStatus + (veyra.runStatusDetail.length > 0 ? " · " + veyra.runStatusDetail : "")
color: light.tone
font.family: Theme.fontUi
@@ -321,6 +322,8 @@ VPage {
font.weight: Font.Medium
horizontalAlignment: Text.AlignRight
wrapMode: Text.Wrap
+ maximumLineCount: 2
+ elide: Text.ElideRight
HoverHandler { id: statusHover }
ToolTip.visible: statusHover.hovered
ToolTip.delay: 400
@@ -339,6 +342,8 @@ VPage {
font.family: Theme.fontUi
font.pixelSize: 11
wrapMode: Text.Wrap
+ maximumLineCount: 3
+ elide: Text.ElideRight
HoverHandler { id: optionsHover }
ToolTip.visible: optionsHover.hovered
ToolTip.delay: 400
@@ -2188,19 +2193,24 @@ VPage {
// .insp-foot
RowLayout {
+ objectName: "pro-inspector-footer"
Layout.fillWidth: true
Layout.margins: 10
spacing: 8
- VDot { off: !veyra.running; warn: veyra.captureRecovering; err: veyra.failed }
+ VDot { Layout.alignment: Qt.AlignTop; Layout.topMargin: 5; off: !veyra.running; warn: veyra.captureRecovering; err: veyra.failed }
Text {
+ objectName: "pro-inspector-status"
Layout.fillWidth: true
+ Layout.minimumWidth: 0
text: veyra.statusText
color: Theme.t2
font.family: Theme.fontUi
font.pixelSize: Theme.fsSmall
- elide: Text.ElideRight
+ wrapMode: Text.Wrap
}
VButton {
+ objectName: "pro-reset-current-page"
+ Layout.alignment: Qt.AlignTop
ghost: true
text: qsTr("重置本页")
onClicked: veyra.resetCurrentPage()
diff --git a/tests/integration/NetworkInterlaceTests.cpp b/tests/integration/NetworkInterlaceTests.cpp
index 4807d108..adc8ab5d 100644
--- a/tests/integration/NetworkInterlaceTests.cpp
+++ b/tests/integration/NetworkInterlaceTests.cpp
@@ -8,6 +8,7 @@
#include <fstream>
#include <iostream>
#include <cmath>
+#include <d3d12sdklayers.h>
extern "C" {
#include <libavutil/hwcontext.h>
}
@@ -110,11 +111,24 @@ int wmain(int argc,wchar_t** argv){
if(count>1000){check(false,"output remains bounded");break;}
}
if(expected>=0){check(result==source::SourceReadStatus::Eos,"all tail fields drain to EOF");check(int(count)==expected,"exact field/frame count including EOF");}
- check(chronological,"PTS strictly increases across every field");
- if(desc.deinterlace)check(progressive,"interlaced fields are delivered as progressive frames");
+ check(count>0&&chronological,"PTS strictly increases across every field");
+ if(desc.deinterlace)check(count>0&&progressive,"interlaced fields are delivered as progressive frames");
if(fps>0)check(std::abs(input.info().averageFps-fps)<0.01,"source metadata reports actual progressive rate");
std::cout<<"RESULT pass="<<pass<<" count="<<count<<" first="<<first<<" last="<<last<<" comb="<<(count?comb/count:0)<<" deinterlace="<<input.info().deinterlacePath<<" hardware="<<input.info().hardwareDecodeActive<<" failures="<<failures<<std::endl;
if(result==source::SourceReadStatus::Error)std::wcerr<<input.errorMessage()<<std::endl;
}
- input.close();return failures?1:0;
+ input.close();
+ if(device.device()){
+ Microsoft::WRL::ComPtr<ID3D12InfoQueue> queue;
+ if(SUCCEEDED(device.device()->QueryInterface(IID_PPV_ARGS(&queue)))){
+ for(UINT64 n=0;n<queue->GetNumStoredMessages();++n){
+ SIZE_T size=0;queue->GetMessage(n,nullptr,&size);std::vector<uint8_t> bytes(size);
+ auto* message=reinterpret_cast<D3D12_MESSAGE*>(bytes.data());
+ if(SUCCEEDED(queue->GetMessage(n,message,&size))&&message->Severity<=D3D12_MESSAGE_SEVERITY_ERROR){
+ ++failures;std::cout<<"GPU_VALIDATION "<<message->pDescription<<std::endl;
+ }
+ }
+ }
+ }
+ return failures?1:0;
}