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

Pro list timings show every NR layer

Veyra Goal Agent9cc80c62bb25
diff --git a/scripts/ui-check/nr-layer-timings.qml b/scripts/ui-check/nr-layer-timings.qml
new file mode 100644
index 00000000..981a4182
--- /dev/null
+++ b/scripts/ui-check/nr-layer-timings.qml
@@ -0,0 +1,25 @@
+
+ // ---- pro list stage timings show every NR layer when two or more run ----
+ Timer { interval: 150; running: true; repeat: true; onTriggered: veyra.logUi("uitest-tick", "") }
+ Timer {
+ interval: 1000; running: true; repeat: true
+ property int ticks: 0
+ onTriggered: {
+ ++ticks
+ if (ticks === 2) { veyra.openUrl("@VIDEO@"); veyra.nrEnabled = true }
+ if (ticks === 8) veyra.logUi("uitest", "UITEST_NOTE one layer: " + veyra.stageTimings.map(r => r.label + "=" + r.ms.toFixed(2)).join(", "))
+ if (ticks === 9) { const i = veyra.addEffect("nr"); veyra.setEffectEnabled(i, true); veyra.logUi("uitest", "UITEST_NOTE addEffect nr -> " + i + " enabled=" + veyra.nrLayers.map(l => l.enabled).join(",")) }
+ if (ticks === 16) {
+ const rows = veyra.stageTimings
+ veyra.logUi("uitest", "UITEST_NOTE two layers: " + rows.map(r => r.label + "=" + r.ms.toFixed(2)).join(", "))
+ root.goPage("pro")
+ }
+ if (ticks === 18) veyra.logUi("uitest", "UITEST_SHOT pro")
+ if (ticks === 19) {
+ const labels = veyra.stageTimings.map(r => r.label)
+ const ok = labels.indexOf("NR 第1层") >= 0 && labels.indexOf("NR 第2层") >= 0
+ veyra.logUi("uitest", ok ? "UITEST_DONE" : "UITEST_FAIL " + labels.join(","))
+ running = false
+ }
+ }
+ }
diff --git a/src/ui/QmlPlayerBridge.cpp b/src/ui/QmlPlayerBridge.cpp
index 82ac44d3..1c566847 100644
--- a/src/ui/QmlPlayerBridge.cpp
+++ b/src/ui/QmlPlayerBridge.cpp
@@ -1005,7 +1005,23 @@ QVariantList QmlPlayerBridge::stageTimings() const {
{"呈现", Stage::Blit, "#58CAD4"},
};
const double budget = stageBudgetMs();
+ // Several NR layers: every layer marks the shared NR slot, so it only ever held the last
+ // layer's time (field report 2026-10-01). Each layer also has its own slot; with two or
+ // more layers measured, show those instead of the shared row.
+ std::vector<Row> shown;
+ unsigned measuredLayers = 0;
+ for (unsigned i = 0; i < diagnostics::kTimedNrLayers; ++i)
+ if (s.metrics.flow.gpuTiming[size_t(diagnostics::nrLayerStage(i))].samples > 0) ++measuredLayers;
+ static const char* const layerLabels[] = {"NR 第1层", "NR 第2层", "NR 第3层", "NR 第4层"};
+ static const char* const layerColors[] = {"#FF8A3D", "#FFA866", "#FFC28F", "#FFD9B8"};
for (const auto& r : rows) {
+ if (r.stage == Stage::Nr && measuredLayers >= 2) {
+ for (unsigned i = 0; i < diagnostics::kTimedNrLayers; ++i)
+ if (s.metrics.flow.gpuTiming[size_t(diagnostics::nrLayerStage(i))].samples > 0)
+ shown.push_back({layerLabels[i], diagnostics::nrLayerStage(i), layerColors[i]});
+ } else shown.push_back(r);
+ }
+ for (const auto& r : shown) {
const auto& sample = s.metrics.flow.gpuTiming[size_t(r.stage)];
// The mean of the last second, as 1.4.4's dashboard showed; P95 rides along for the
// tooltip. Showing P95 alone read as "slower than 1.4.4" for the same work.