AGC performance-overlay test ignores ANYPS5_GPU and tests NVIDIA for AMD requests #7595
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-18T16:22:58Z.
Status: fixed by merged PR #7602 on2026-10-18. Both changed file blobs match the tested fork commit932eeb085e; the evidence below remains pinned to that tested source.
Observed behavior
At exact main
91ddd9e3a616dba51fa37a1532a7e8ef00418fbd(including #6012), three fresh runs ofagc_performance_overlaywithANYPS5_GPU=AMD Radeon(TM) Graphicsall passed, but all three created the NVIDIA GeForce RTX 5080 device. The loader'sUsing ... with driverline and the fixture'sfull panel cost on NVIDIA GeForce RTX 5080reports independently identify the actual GPU. This was not AMD coverage.The fixture's private Device constructor uses
devices.front()and never readsANYPS5_GPU. #7570 addresses a different private fixture,SampledCacheBudget.cpp; it does not change this one. Scoped searches found no existing overlay-selector report/fix. Main39ff296960 was checked afterward; neither overlay test nor its AGC CMake registration changed.Reproduction
On a machine with both NVIDIA and AMD Vulkan adapters, build the full runtime and
agc_performance_overlay_tests, setANYPS5_GPUto the AMD device name andANYPS5_REQUIRE_VULKAN=1, then run:Inspect the actual loader device and the fixture's GPU name, rather than treating the requested environment value as evidence. Vulkan loader diagnostics can be enabled with
VK_LOADER_DEBUG=driver,layer.Expected: honor the case-insensitive requested device-name substring. An explicit unavailable request must fail instead of silently using another GPU or skipping.
Focused proposed fix and verification
Fork commit: 932eeb085e, branch
codex/fix-overlay-test-gpu-selector. Two files; fixture/registration only. It follows the existing device-selection pattern, checks actual physical-device properties, and adds CPU selection cases plus a bounded actual-device regression. No production renderer behavior or title unblock is claimed.devices.front()assignment makes the new AMD identity regression fail3/3, identifying NVIDIA each time. Restoring the exact fixed head makes both GPU matrices pass again.ANYPS5_REQUIRE_VULKANunset, fails all6 executions of the ordinary/selection modes; no skips or silent success.Hardware: NVIDIA GeForce RTX5080
10de:2c02, driver610.62/32.0.16.1062; AMD Radeon(TM) Graphics1002:13c0, driver32.0.21036.18; Windows11 Enterprise26200. Ubuntu24.04 under WSL also passed the full runtime/test build,6 actual llvmpipe GPU executions and6 CPU executions, plus6 expected explicit-unavailable-request failures with no skips. Device: Mesa llvmpipe (LLVM20.1.2,256 bits), Mesa25.2.8. The Khronos validation layer is not installed there; those Linux results are behavioral coverage, not a clean-validation claim. The exact fork changes were subsequently carried upstream in merged #7602, preserving Romans Pokrovskis as the original commit author. The issue was automatically closed by that merge; no duplicate PR is needed.AI-assisted: yes (Codex).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T16:37:15Z.
I opened PR #7602 carrying your tested overlay-selection fix. The commit preserves Romans Pokrovskis as its original author. Local Linux configure and target build succeeded; I attempted the focused CTest, but this host's Xeon E5-1620 v2 lacks CPU features required by AnyPS5 libc, so the test process aborted before reaching its test code. Hosted checks are starting on the PR.