Document and verify the pinned AnyPS5 runtime library tests #19

Open
github-bot wants to merge 15 commits from github-bot/gh-19 into main AGit
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 13:23 UTC · original
RavenCurseBurg:docs/anyps5-fixture-guide → main · +360 −43 · 9 files · 15 commits · open

The pinned AnyPS5 revision includes filesystem, rendering, audio and controller fixtures. This guide lists the targets needed for each group, the matching CTest filters, and which cases are available on each host. The roadmap links to the corresponding test instructions. The broader rendering-correctness task stays open. The README and ADR also link to the build and architecture documents at the matching submodule revision so they open on GitHub.

Fixture group Windows x64 Ubuntu 24.04 x64
Filesystem operations and generated mounts 9 9
Windows file locks 7 —
Audio endpoints and PCM formats 23 23
Linux audio resampling — 1
Scripted and recorded controller input 3 3
Guest API controller replay 1 —
Offscreen color and depth 5 5
Adaptive-trigger commands and Bluetooth haptics reports 2 2
Pthread and sleep cancellation (fixture run) 4 4
Audio3d stereo mixing and guest port queuing 2 2
Passed in the groups listed above 56 49

I ran the applicable filters on Windows with GCC 15.2 and checked the JUnit counts for skipped cases. The Ubuntu runs used GCC 14.2 at the same AnyPS5 commit, 1582613. The filesystem, audio and input tests use generated files, simulated audio endpoints and scripted controller events. Physical audio devices, physical controllers and GTA VI compatibility remain untested. Linux filesystem run · Linux audio and input run

The two controller output fixtures checked separate L2/R2 effect blocks and Bluetooth DualSense haptic reports generated from PCM. Both passed on Windows and Ubuntu. The Phase 1 report now describes the two output paths and links to the dispatch code at the pin. Ubuntu controller output run

The five rendering cases ran on a GeForce RTX 4060 on Windows and Mesa 25.2.8 llvmpipe on Ubuntu. Each run checked the packed pixel values for 68 RGB565 draws, color write masks in three configurations, and 28 depth-remapping cases. The guide includes the build targets and a CTest command that requires a Vulkan device. Ubuntu software Vulkan run

I also built the pinned patched_libraries_tests target and ran its loader test on Windows x64 (MinGW-w64 GCC 15.2) and Ubuntu 24.04 x64 (GCC 14.2). Each build produced 413 library files matching the 413 source directories. I checked their headers (PE32+ DLLs on Windows, ELF shared objects on Linux). The native loader reported 413 patched libraries loaded, 0 failed on each host. This is a separate check from the fixture counts above. Ubuntu build and loader output

On the current project base, the warnings-as-errors Release build passed all 3 CTests, 44 Python tooling tests and 10 app0 fixture tests passed, and python scripts/update_progress.py --check passed after regeneration. The proposed roadmap count is 81 of 138 with 15 blocked.

I ran the same nine filesystem fixtures with LeakSanitizer enabled on both Ubuntu releases. On Ubuntu 24.04, eight passed and guest_filesystem reported a single 472-byte allocation consistent with glibc bug 32140. On Ubuntu 26.04 (glibc 2.43), all nine passed. The three project unit/probe tests also passed on both hosts. Ubuntu 24.04 run · Ubuntu 26.04 run · glibc fix

The Linux display section now covers two additional pinned VideoOut fixtures. On Ubuntu 24.04 with Xvfb and Mesa 25.2.8 llvmpipe, the resolution-status and current-output-mode tests both ran. The job made display-open failures fatal and checked that neither case was skipped. Display status run

Two further measurements at the same pin are now included.

  • Both the path and descriptor permission calls produced modes 0640, 0604, 0400 and 0600 on Ubuntu. On Windows x64 only 0400 set the read-only attribute. The general access-control roadmap item remains open.
  • The legacy output test checked 16,384 bytes of eight-channel float PCM. The AudioOut2 fixture compared the stereo output for float and signed 16-bit mono, stereo, 7.1 and 7.1.4 input. These cases passed on both hosts. Ubuntu fixture run and per-case results

The Phase 1 report now also includes two checks at the same pin.

  • Both guest clock interfaces reported 81 ns for realtime and monotonic, 1 ms for virtual and profiling clocks, and 1 s for the seconds clock. The monotonic read loops and the libc++ clock comparisons passed.
  • The CPU-side Vulkan barrier tests verified when the recorder can reuse an earlier barrier and when it must retain an image layout transition, queue-family transfer or barrier for a host read.

The three named fixtures ran on Windows x64 and Ubuntu 24.04 with zero skips. Ubuntu build and per-test results

The guide also covers two host-side cases that can be reproduced without a game or controller. The guest filename fixture checks mixed ASCII case and mount aliases on Windows and Ubuntu. On Ubuntu it also distinguishes two real files differing only by case and checks the ambiguous lookup. The input fixtures check an INI binding and stick dead zones along with keyboard and mouse events. I passed the exact example from the guide to the pinned Windows parser and verified Cross on F, left/right dead zones of 12/5 and mouse sensitivity 2.5. Ubuntu filesystem control and all three test results

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 13:23 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/19) `RavenCurseBurg:docs/anyps5-fixture-guide` → `main` · +360 −43 · 9 files · 15 commits · open The pinned AnyPS5 revision includes filesystem, rendering, audio and controller fixtures. This guide lists the targets needed for each group, the matching CTest filters, and which cases are available on each host. The roadmap links to the corresponding test instructions. The broader rendering-correctness task stays open. The README and ADR also link to the build and architecture documents at the matching submodule revision so they open on GitHub. | Fixture group | Windows x64 | Ubuntu 24.04 x64 | | --- | ---: | ---: | | Filesystem operations and generated mounts | 9 | 9 | | Windows file locks | 7 | — | | Audio endpoints and PCM formats | 23 | 23 | | Linux audio resampling | — | 1 | | Scripted and recorded controller input | 3 | 3 | | Guest API controller replay | 1 | — | | Offscreen color and depth | 5 | 5 | | Adaptive-trigger commands and Bluetooth haptics reports | 2 | 2 | | Pthread and sleep cancellation ([fixture run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45801521334/job/139845675605)) | 4 | 4 | | Audio3d stereo mixing and guest port queuing | 2 | 2 | | **Passed in the groups listed above** | **56** | **49** | I ran the applicable filters on Windows with GCC 15.2 and checked the JUnit counts for skipped cases. The Ubuntu runs used GCC 14.2 at the same AnyPS5 commit, `1582613`. The filesystem, audio and input tests use generated files, simulated audio endpoints and scripted controller events. Physical audio devices, physical controllers and GTA VI compatibility remain untested. [Linux filesystem run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45555796961/job/139007409901) · [Linux audio and input run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45563002744/job/139030955218) The two controller output fixtures checked separate L2/R2 effect blocks and Bluetooth DualSense haptic reports generated from PCM. Both passed on Windows and Ubuntu. The Phase 1 report now describes the two output paths and links to the dispatch code at the pin. [Ubuntu controller output run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45725866198/job/139595455924) The five rendering cases ran on a GeForce RTX 4060 on Windows and Mesa 25.2.8 llvmpipe on Ubuntu. Each run checked the packed pixel values for 68 RGB565 draws, color write masks in three configurations, and 28 depth-remapping cases. The guide includes the build targets and a CTest command that requires a Vulkan device. [Ubuntu software Vulkan run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45711008085/job/139545103758) I also built the pinned `patched_libraries_tests` target and ran its loader test on Windows x64 (MinGW-w64 GCC 15.2) and Ubuntu 24.04 x64 (GCC 14.2). Each build produced 413 library files matching the 413 source directories. I checked their headers (PE32+ DLLs on Windows, ELF shared objects on Linux). The native loader reported `413 patched libraries loaded, 0 failed` on each host. This is a separate check from the fixture counts above. [Ubuntu build and loader output](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45692207079/job/139480310616) On the current project base, the warnings-as-errors Release build passed all 3 CTests, 44 Python tooling tests and 10 app0 fixture tests passed, and `python scripts/update_progress.py --check` passed after regeneration. The proposed roadmap count is 81 of 138 with 15 blocked. I ran the same nine filesystem fixtures with LeakSanitizer enabled on both Ubuntu releases. On Ubuntu 24.04, eight passed and guest_filesystem reported a single 472-byte allocation consistent with glibc bug 32140. On Ubuntu 26.04 (glibc 2.43), all nine passed. The three project unit/probe tests also passed on both hosts. [Ubuntu 24.04 run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45650199842) · [Ubuntu 26.04 run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45651515027) · [glibc fix](https://github.com/bminor/glibc/commit/9c0d6f7a1046aba111e25e34ec07242853e859dc) The Linux display section now covers two additional pinned VideoOut fixtures. On Ubuntu 24.04 with Xvfb and Mesa 25.2.8 llvmpipe, the resolution-status and current-output-mode tests both ran. The job made display-open failures fatal and checked that neither case was skipped. [Display status run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45767909873/job/139733209089) Two further measurements at the same pin are now included. - Both the path and descriptor permission calls produced modes `0640`, `0604`, `0400` and `0600` on Ubuntu. On Windows x64 only `0400` set the read-only attribute. The general access-control roadmap item remains open. - The legacy output test checked 16,384 bytes of eight-channel float PCM. The AudioOut2 fixture compared the stereo output for float and signed 16-bit mono, stereo, 7.1 and 7.1.4 input. These cases passed on both hosts. [Ubuntu fixture run and per-case results](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45775900448/job/139759363578) The Phase 1 report now also includes two checks at the same pin. - Both guest clock interfaces reported 81 ns for realtime and monotonic, 1 ms for virtual and profiling clocks, and 1 s for the seconds clock. The monotonic read loops and the libc++ clock comparisons passed. - The CPU-side Vulkan barrier tests verified when the recorder can reuse an earlier barrier and when it must retain an image layout transition, queue-family transfer or barrier for a host read. The three named fixtures ran on Windows x64 and Ubuntu 24.04 with zero skips. [Ubuntu build and per-test results](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45784005548/job/139786103387) The guide also covers two host-side cases that can be reproduced without a game or controller. The guest filename fixture checks mixed ASCII case and mount aliases on Windows and Ubuntu. On Ubuntu it also distinguishes two real files differing only by case and checks the ambiguous lookup. The input fixtures check an INI binding and stick dead zones along with keyboard and mouse events. I passed the exact example from the guide to the pinned Windows parser and verified Cross on F, left/right dead zones of 12/5 and mouse sensitivity 2.5. [Ubuntu filesystem control and all three test results](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45791835529/job/139812542754) AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Provide targeted builds and CTest selections for filesystem operations, audio devices and formats, and scripted controller input. Record the tested host coverage in the roadmap and point the build and architecture links at the pinned upstream documents.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Reproduced the legacy eight-channel queue comparison and AudioOut2 stereo sample checks on Windows x64 and Ubuntu 24.04 using generated PCM. Record game-specific format usage as unknown.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Compare path and descriptor calls at the pinned runtime with four ordinary-file modes. Link the fixture and Linux run and keep the broader access-control task open.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Identify the resolution returned by the guest APIs, and document how to check monotonic reads and the guest libc++ clock wrappers at the pin.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Record the CPU-side stage and access mask checks for a covered barrier, image transitions, queue ownership and host reads. Include pinned source and a standalone CTest command.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Check mixed-case reads and mount aliases on Windows and Linux, plus exact and ambiguous spellings on a confirmed case-sensitive Ubuntu directory. Leave title-specific requirements open.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Check the INI example with the pinned parser and document the synthetic SDL event tests for the default keyboard and mouse mappings.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:30 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/19/head:github-bot/gh-19'
git switch 'github-bot/gh-19'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-19'
git switch 'github-bot/gh-19'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-19'
git switch 'github-bot/gh-19'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-19'
git switch 'main'
git merge --squash 'github-bot/gh-19'
git switch 'main'
git merge --ff-only 'github-bot/gh-19'
git switch 'main'
git merge 'github-bot/gh-19'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.