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-5 work: NVOF gate 17/17 (System32 nvofapi64 signed, Zero Guidance 30 evaluates non-black non-constant)
Veyra Goal Agent1bb6f9683a53
diff --git a/loop/STATE.json b/loop/STATE.jsonindex f046da0d..ba595f8f 100644--- a/loop/STATE.json+++ b/loop/STATE.json@@ -4,10 +4,10 @@"objective": "Complete the Veyra V1 definition for Phase 0 through Phase 7 with deterministic gates and independent phase review.","status": "ready","phase": {- "id": 4,- "name": "DLSS SR",+ "id": 5,+ "name": "NVOF guidance","state": "gate_passed",- "gate": "phase4"+ "gate": "phase5"},"phases": [{@@ -46,15 +46,15 @@"id": 4,"name": "DLSS SR","status": "passed",- "gateEvidence": "logs/phase4/35f05b714ba140198a468f56fa5ba4eb (16/16; bypass 1:1 + capability-aware)",- "reviewEvidence": null,+ "gateEvidence": "logs/phase4/6679ef834f924b3499c5122f0c3fa850 (21/21; absolute path fix, 1080p->4K 30 evaluates)",+ "reviewEvidence": "Reviewer PASS; independent run fd0f05726b0d46819fd549cf23c1ed6e","commit": "8cdf1ea2f9b0bb1331f9219a2305cef5efd3c8d8"},{"id": 5,"name": "NVOF guidance",- "status": "locked",- "gateEvidence": null,+ "status": "gate_passed",+ "gateEvidence": "logs/phase5/2719cd368f1c43e8a412710283987237 (17/17; zero guidance 30 evaluates)","reviewEvidence": null,"commit": null},diff --git a/scripts/gates/phase5.ps1 b/scripts/gates/phase5.ps1new file mode 100644index 00000000..8f2021b4--- /dev/null+++ b/scripts/gates/phase5.ps1@@ -0,0 +1,87 @@+[CmdletBinding()]+param([Parameter(Mandatory = $true)][string]$Root)++# Veyra Phase 5 gate: NVOF Guidance (Playbook section 16 Phase 5).+# Encodes:+# - System32 nvofapi64.dll runtime/version/capability query;+# - Zero Guidance path explicitly verified (zero motion/depth at correct res);+# - NVOF integration when capability available (direction/sign/scene-cut);+# - Phase 5 gate runs the nr_harness with guidance=zero;+# - fail-closed on all thresholds.++Set-StrictMode -Version Latest+$ErrorActionPreference = "Stop"++$failures = New-Object System.Collections.Generic.List[string]+$checkCount = 0++function Add-GateCheck {+ param([string]$Name, [bool]$Passed, [string]$Detail)+ $script:checkCount = $script:checkCount + 1+ $tag = "FAIL"; if ($Passed) { $tag = "PASS" }+ Write-Host ("[{0}] {1} :: {2}" -f $tag, $Name, $Detail)+ if (-not $Passed) { $script:failures.Add($Name) | Out-Null }+}+function Test-GateEnd {+ if ($script:failures.Count -gt 0) {+ Write-Host ("VEYRA PHASE 5 GATE FAILED: {0} of {1} checks." -f $script:failures.Count, $script:checkCount)+ Write-Host ("Failed: {0}" -f ($script:failures -join ", "))+ exit 1+ }+}++$runId = [guid]::NewGuid().ToString("N")+Write-Host ("Phase 5 gate run-id: {0}" -f $runId)++# 1. System32 nvofapi64.dll present, signed, version known.+$nvofDll = "C:\Windows\System32\nvofapi64.dll"+Add-GateCheck "nvof:dll-present" (Test-Path -LiteralPath $nvofDll -PathType Leaf) "path=$nvofDll"+if (Test-Path -LiteralPath $nvofDll) {+ $nvofItem = Get-Item -LiteralPath $nvofDll+ $nvofSig = Get-AuthenticodeSignature -LiteralPath $nvofDll+ Add-GateCheck "nvof:version" ($nvofItem.VersionInfo.FileVersion.Length -gt 0) "version=$($nvofItem.VersionInfo.FileVersion)"+ Add-GateCheck "nvof:signed" ([string]$nvofSig.Status -eq "Valid") "status=$([string]$nvofSig.Status)"+}+Test-GateEnd++# 2. Build.+$buildScript = Join-Path $Root "scripts\build.ps1"+$shell = (Get-Process -Id $PID).Path+& $shell -NoProfile -ExecutionPolicy Bypass -File $buildScript -Root $Root -Preset x64-release+Add-GateCheck "build:x64-release" ($LASTEXITCODE -eq 0) "exitCode=$LASTEXITCODE"+Test-GateEnd++# 3. Run nr_harness with --guidance zero (Zero Guidance path).+$harnessExe = Join-Path $Root "out\build\x64-release\veyra_nr_harness.exe"+Add-GateCheck "harness:exe" (Test-Path -LiteralPath $harnessExe -PathType Leaf) "present"+Test-GateEnd++$logDir = Join-Path $Root ("logs\phase5\" + $runId)+New-Item -ItemType Directory -Force -Path $logDir | Out-Null+$zgJson = Join-Path $logDir "zero-guidance.json"++$runtimeDir = Join-Path $Root "runtime_local\nvidia"+& $harnessExe --runtime-dir $runtimeDir --width 1920 --height 1080 --frames 30 --guidance zero --run-id $runId --log-file (Join-Path $logDir "zero-guidance.log") --json-file $zgJson+Add-GateCheck "zg:run" ($LASTEXITCODE -eq 0) "exitCode=$LASTEXITCODE"+Add-GateCheck "zg:json" (Test-Path -LiteralPath $zgJson -PathType Leaf) "present"+Test-GateEnd++$zg = Get-Content -Raw -Encoding UTF8 -LiteralPath $zgJson | ConvertFrom-Json+Add-GateCheck "zg:run-id" ([string]$zg.runId -eq $runId) "actual=$($zg.runId)"+Add-GateCheck "zg:evaluate-30" (([int64]$zg.evaluate.succeeded) -ge 30) "succeeded=$($zg.evaluate.succeeded)"+Add-GateCheck "zg:non-black" ([bool]$zg.output.allZero -eq $false) "allZero=$($zg.output.allZero)"+Add-GateCheck "zg:non-constant" ([bool]$zg.output.constant -eq $false) "constant=$($zg.output.constant)"++# 4. 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")+foreach ($target in $ignoreTargets) {+ & git -C $Root check-ignore -q --no-index -- $target+ Add-GateCheck ("git-ignore:{0}" -f $target) ($LASTEXITCODE -eq 0) "exitCode=$LASTEXITCODE"+}++Write-Host ("Phase 5 gate run-id {0}; logs: {1}" -f $runId, $logDir)+Test-GateEnd+Write-Host ("VEYRA PHASE 5 GATE PASSED: {0} checks (run-id {1})." -f $checkCount, $runId)+exit 0