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

phase-4 work: d3d12va debug-layer coverage + proxy UAV state fix (infoqueue 0 errors, Phase 3 deferred P2 resolved)

Veyra Goal Agent95e6baeed675
diff --git a/scripts/gates/phase4.ps1 b/scripts/gates/phase4.ps1
index ce38028b..0c48e66a 100644
--- a/scripts/gates/phase4.ps1
+++ b/scripts/gates/phase4.ps1
@@ -87,7 +87,32 @@ else {
Write-Host "[INFO] sr:capability-unavailable :: SR not available on this system (capability query); bypass is the only testable path"
}
-# 7. Proprietary paths remain ignored.
+# 7. Debug-layer d3d12va run (Phase 3 Reviewer deferred P2: d3d12va GPU path
+# was never executed under the D3D12 debug layer / InfoQueue).
+$mediaProbe = Join-Path $Root "out\build\x64-debug\veyra_media_probe.exe"
+if (Test-Path -LiteralPath $mediaProbe -PathType Leaf) {
+ $ffmpegBin = "C:\veyra-deps\installed\x64-windows\bin"
+ if (Test-Path -LiteralPath $ffmpegBin -PathType Container) {
+ $env:PATH = "$ffmpegBin;" + $env:PATH
+ }
+ $testClip = Join-Path $Root "validation\fixed_clips\test_h264_1080p.mp4"
+ $dbgJson = Join-Path $logDir "d3d12va-debug.json"
+ & $mediaProbe --input $testClip --frames 60 --mode d3d12va --run-id $runId --json-file $dbgJson
+ $dbgExit = $LASTEXITCODE
+ Add-GateCheck "d3d12va-debug:run" ($dbgExit -eq 0) "exitCode=$dbgExit"
+ if (Test-Path -LiteralPath $dbgJson -PathType Leaf) {
+ $dbg = Get-Content -Raw -Encoding UTF8 -LiteralPath $dbgJson | ConvertFrom-Json
+ Add-GateCheck "d3d12va-debug:infoqueue" ([bool]$dbg.debugInfoQueue.active -eq $true -and [uint64]$dbg.debugInfoQueue.errorMessages -eq 0) "active=$($dbg.debugInfoQueue.active) errors=$($dbg.debugInfoQueue.errorMessages)"
+ }
+ else {
+ Add-GateCheck "d3d12va-debug:infoqueue" $false "json missing"
+ }
+}
+else {
+ Write-Host "[INFO] d3d12va-debug: media_probe not found (skipped)"
+}
+
+# 8. Proprietary paths remain ignored.
$ignoreTargets = @("nvngx_dlssnr.dll", "renodx-dlss5-1.addon64",
"runtime_local/.veyra-ignore-probe", "third_party_local/.veyra-ignore-probe",
"captures/.veyra-ignore-probe", "logs/.veyra-ignore-probe")
diff --git a/tools/media_probe/main.cpp b/tools/media_probe/main.cpp
index 28c0f2d6..60fb405a 100644
--- a/tools/media_probe/main.cpp
+++ b/tools/media_probe/main.cpp
@@ -763,7 +763,9 @@ int runD3d12VADecode(const std::wstring& input, uint32_t frames, const std::stri
b2.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
b2.Transition.pResource = proxyTexture.Get();
b2.Transition.StateBefore = D3D12_RESOURCE_STATE_COPY_DEST;
- b2.Transition.StateAfter = D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE;
+ // Leave in UAV: evaluateNR's first barrier expects UAV as the "before"
+ // state for its UAV->SRV transition (debug-layer state tracking).
+ b2.Transition.StateAfter = D3D12_RESOURCE_STATE_UNORDERED_ACCESS;
b2.Transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES;
lst->ResourceBarrier(1, &b2);
return ring.submitAndSignal(1) && ring.waitIdle();