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(fg): one-shot Ampere frame-generation check script + capture-path verification
Veyra Goal Agent65e69b32f2c1
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex f01a758b..ca59f339 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -89,6 +89,19 @@ provider 只给 `multiFrameMax=1`,且第一个生成帧 Evaluate 报 `seh=0xC0| 30 系 6X(上述 + `--fg-multiplier 6`) | 360 真实 / **1600 生成**,exit 0 || 30 系回退(`VEYRA_TEST_NVAPI_SPOOF_ARCH=0`) | 走旧重定向路径,376/374,exit 0 || 30 系 + 0x190(Ada 上报) | `multiFrameMax=1` → Evaluate `seh=0xC0000005` → 进程挂住(**不推荐**) |+| 30 系 + **实时采集**(`capture:0:0` YUY2 1080p60,跑 r2 包内 exe) | **602 真实 / 600 生成、0 丢帧**,exit 0 |++**给 30 系测试者的一键自检**:`scripts/acceptance/ampere-fg-check.ps1`(已随仓库)++```powershell+powershell -ExecutionPolicy Bypass -File ampere-fg-check.ps1 `+ -PackageDirectory "C:\...\Veyra-1.3.2beta4-win64-portable" `+ -Source "capture:0:0:-1:0" # 或某个视频文件路径+```++脚本跑 `--fg`、只扫描本次运行追加的日志字节,把 `adapter / ampere-mfg / nvapi-spoof /+FG capability / Create DLSSG / Evaluate 故障 / smoke frames=generated=` 汇总成+`logs/ampere-fg-check/report.json` 并给出 PASS/FAIL——测试者只要发回这个文件。## 2026-09-17 3060 DLSS FG 深挖:patch 正确性实机级验证 + 上游方案拆解diff --git a/scripts/acceptance/ampere-fg-check.ps1 b/scripts/acceptance/ampere-fg-check.ps1new file mode 100644index 00000000..f393d738--- /dev/null+++ b/scripts/acceptance/ampere-fg-check.ps1@@ -0,0 +1,106 @@+# Turnkey RTX 30 frame-generation check for a tester: runs the packaged player+# with --fg, then extracts the decisive log lines into one report. Works for+# files and capture paths ("capture:0:24:-1:0").+param(+ [Parameter(Mandatory = $true)][string]$PackageDirectory,+ [Parameter(Mandatory = $true)][string]$Source,+ [int]$Seconds = 15,+ [int]$Multiplier = 0, # 0 = leave the default (2X); 6 = try 6X+ [string]$OutputDirectory+)+$ErrorActionPreference = 'Stop'+$package = (Resolve-Path -LiteralPath $PackageDirectory).Path+$exe = Join-Path $package 'Veyra.exe'+if (-not (Test-Path -LiteralPath $exe)) { throw "missing $exe" }+$logPath = Join-Path $package 'logs/veyra-app.log'+$out = if ($OutputDirectory) { [IO.Path]::GetFullPath($OutputDirectory) } else { Join-Path $package 'logs/ampere-fg-check' }+[IO.Directory]::CreateDirectory($out) | Out-Null++$startLength = if (Test-Path -LiteralPath $logPath) { (Get-Item -LiteralPath $logPath).Length } else { 0 }++$arguments = '"' + $Source + '" --fg --smoke-seconds ' + $Seconds+if ($Multiplier -gt 0) { $arguments += ' --fg-multiplier ' + $Multiplier }+Write-Host "running: $exe $arguments"+$psi = New-Object System.Diagnostics.ProcessStartInfo+$psi.FileName = $exe+$psi.Arguments = $arguments+$psi.WorkingDirectory = $package+$psi.UseShellExecute = $false+$psi.RedirectStandardOutput = $true+$psi.RedirectStandardError = $true+$psi.CreateNoWindow = $true+$proc = [System.Diagnostics.Process]::Start($psi)+$stdoutTask = $proc.StandardOutput.ReadToEndAsync()+$stderrTask = $proc.StandardError.ReadToEndAsync()+$finished = $proc.WaitForExit(($Seconds + 180) * 1000)+$forcedStop = $false+if (-not $finished) { $forcedStop = $true; Stop-Process -Id $proc.Id -Force -ErrorAction SilentlyContinue }+$stdout = $stdoutTask.Result+$stderr = $stderrTask.Result+$exitCode = if ($forcedStop) { 'timeout' } else { $proc.ExitCode }+Set-Content -LiteralPath (Join-Path $out 'run.stdout.log') -Value $stdout -Encoding UTF8+Set-Content -LiteralPath (Join-Path $out 'run.stderr.log') -Value $stderr -Encoding UTF8++# Only look at the bytes this run appended: reading from the saved offset keeps+# a previous session from answering for this one.+$tail = @()+if (Test-Path -LiteralPath $logPath) {+ $stream = [IO.File]::Open($logPath, [IO.FileMode]::Open, [IO.FileAccess]::Read, [IO.FileShare]::ReadWrite)+ try {+ if ($startLength -le $stream.Length) {+ $stream.Seek($startLength, [IO.SeekOrigin]::Begin) | Out-Null+ $reader = New-Object IO.StreamReader($stream)+ $tail = ($reader.ReadToEnd() -split "`r?`n")+ }+ } finally { $stream.Dispose() }+}++function FirstMatch([string]$pattern) {+ foreach ($line in $tail) { if ($line -match $pattern) { return $Matches[0] } }+ return $null+}+$adapterLine = FirstMatch 'adapter\[0\][^\r\n]*'+$unlockLine = FirstMatch '\[ampere-mfg\][^\r\n]*spoofed=[^\r\n]*'+$spoofLine = FirstMatch '\[nvapi-spoof\][^\r\n]*'+$capabilityLine = FirstMatch '\[graph\] FG capability[^\r\n]*'+$createLine = FirstMatch 'Create DLSSG[^\r\n]*'+$evaluateFault = FirstMatch 'fg-backend failed[^\r\n]*'+$smokeLine = $null+foreach ($line in $tail) { if ($line -match '\[app\] smoke frames=[^\r\n]*') { $smokeLine = $Matches[0] } }++$fields = [ordered]@{+ package = $package+ source = $Source+ seconds = $Seconds+ multiplier = $Multiplier+ exit = $exitCode+ forcedStop = $forcedStop+ adapter = $adapterLine+ ampereUnlock = $unlockLine+ nvapiSpoof = $spoofLine+ fgCapability = $capabilityLine+ createFeature = $createLine+ evaluateFault = $evaluateFault+ smoke = $smokeLine+}+$report = Join-Path $out 'report.json'+$fields | ConvertTo-Json -Depth 4 | Set-Content -LiteralPath $report -Encoding UTF8++Write-Host ''+Write-Host '=== RTX 30 frame-generation check ==='+foreach ($key in $fields.Keys) { Write-Host ("{0,-14}: {1}" -f $key, $fields[$key]) }+Write-Host ''+if (-not $capabilityLine -or $capabilityLine -notmatch 'available=true') {+ Write-Host 'RESULT: frame generation did not become available - send this report back.'+ exit 1+}+if ($evaluateFault) {+ Write-Host 'RESULT: capability passed but evaluation failed - send this report back.'+ exit 1+}+if (-not $smokeLine -or $smokeLine -notmatch 'generated=(\d+)' -or [int]$Matches[1] -eq 0) {+ Write-Host 'RESULT: no generated frames observed - send this report back.'+ exit 1+}+Write-Host 'RESULT: frame generation is running on this machine.'+exit 0