fix(agc): treat an inverted scissor rectangle as empty #6212

Merged
milescoviello merged 1 commit from upstream-pr/6212 into main 2026-10-18 21:26:55 +00:00
milescoviello commented 2026-10-15 03:57:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-15T03:57:47Z.


What

PSSwanStation (PPSA99248, catalog build22) stops 4 s after start-up on main:

[videoout] presentation failed: AGC graphics: inverted scissor rectangle
terminate called after throwing an instance of 'std::runtime_error'

With a temporary print (not part of this PR), the rejected rectangle is viewport scissor 0 (PA_SC_VPORT_SCISSOR_0_TL = 0x88ac061e, _BR = 0x08700780): top-left (1566, 2220), bottom-right (1920, 2160). Its top is below its bottom on a 2160-row target.

The title renders through its own RADV (its log prints radv/ps5 submissions), and that's how RADV writes this register. radv_intersect_scissor takes the larger of the two offsets and the smaller of the two ends, and radv_emit_scissor_state writes the result without a check. So whenever a viewport lies outside the application's scissor, the corners end up crossed. radeonsi uses the same encoding on purpose: its empty scissor on GFX12 is top-left (1, 1), bottom-right (0, 0). So the hardware passes no pixels through a rectangle like this.

intersect in Graphics/src/State.cpp already clamps such a rectangle to a zero width or height, and a zero-extent scissor is already used for a collapsed viewport. So this change drops the throw and the draw writes nothing. The reserved-bit check before it stays.

agc_driver_graphics decodes a generic scissor with its top below its bottom, and one with its left edge right of its right edge, and checks that each leaves an empty scissor.

Tested

Ubuntu 24.04, GCC 13.3, Release, on main a077a88df:

  • agc_driver_graphics passes 3/3. With main's State.cpp and the new checks, it fails with the title's message, inverted scissor rectangle.
  • PPSA99248, relinked with --to-intel and run on Linux (RTX 4070 Ti, NVIDIA 595.99.02) for 90 s with pad input. On main it stops at 4 s. With this change it runs the whole 90 s at about 60 FPS. Screenshots at 15, 40 and 85 s show its library screen ("No games yet", with the copy instructions) and its search keyboard, drawn completely.
  • tools/check_conventions.py --base upstream/main passes, and tools/pr_overlap.py --branch fix/agc-inverted-scissor finds no overlap.

@nicolasfalesy ran PSSwanStation (PPSA99248) on Linux with an Intel Arc GPU (Mesa ANV), 40 s per run. On main 5d9dcc42d it stopped in 3 of 5 runs with AGC graphics: inverted scissor rectangle. With this PR, 5 of 5 runs went the full 40 s to its game library screen.

@iDiesIrae-Req ran it on Windows (RTX 4070 Laptop, Windows 11, WinLibs GCC 15.2.0, Release), 40 s per run. On main 5d9dcc42d it stopped on the same line in 5 of 5 runs, two of them within 2 s. With this PR (8cc858c48), 5 of 5 ran the whole 40 s to the library screen.

@wachi35676 ran it on Windows with an RTX 5070 Ti (NVIDIA 617.42, WinLibs GCC 15.2.0, Release), 45 s per run, swapping only this PR's .prx into a main 922dc8999 library set. On main it stopped on the same line in 3 of 3 runs (at 1.7, 6.4 and 12.1 s). With the PR (3d44f17ec), all 3 runs reached the limit, and agc_driver_graphics passed.

Not checked on a console.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4867960865 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-15T03:57:47Z. --- ### What PSSwanStation (PPSA99248, catalog build22) stops 4 s after start-up on `main`: ``` [videoout] presentation failed: AGC graphics: inverted scissor rectangle terminate called after throwing an instance of 'std::runtime_error' ``` With a temporary print (not part of this PR), the rejected rectangle is viewport scissor 0 (`PA_SC_VPORT_SCISSOR_0_TL` = `0x88ac061e`, `_BR` = `0x08700780`): top-left (1566, 2220), bottom-right (1920, 2160). Its top is below its bottom on a 2160-row target. The title renders through its own RADV (its log prints `radv/ps5 submissions`), and that's how RADV writes this register. [`radv_intersect_scissor`](https://gitlab.freedesktop.org/mesa/mesa/-/blob/921d028a5fff2beb4ec90451913b5fcc05fb1e6a/src/amd/vulkan/radv_cmd_buffer.c#L4567) takes the larger of the two offsets and the smaller of the two ends, and [`radv_emit_scissor_state`](https://gitlab.freedesktop.org/mesa/mesa/-/blob/921d028a5fff2beb4ec90451913b5fcc05fb1e6a/src/amd/vulkan/radv_cmd_buffer.c#L4579) writes the result without a check. So whenever a viewport lies outside the application's scissor, the corners end up crossed. radeonsi uses the same encoding on purpose: its [empty scissor on GFX12](https://gitlab.freedesktop.org/mesa/mesa/-/blob/921d028a5fff2beb4ec90451913b5fcc05fb1e6a/src/gallium/drivers/radeonsi/si_state_viewport.c#L223) is top-left (1, 1), bottom-right (0, 0). So the hardware passes no pixels through a rectangle like this. `intersect` in `Graphics/src/State.cpp` already clamps such a rectangle to a zero width or height, and a zero-extent scissor is already used for a collapsed viewport. So this change drops the throw and the draw writes nothing. The reserved-bit check before it stays. `agc_driver_graphics` decodes a generic scissor with its top below its bottom, and one with its left edge right of its right edge, and checks that each leaves an empty scissor. ### Tested Ubuntu 24.04, GCC 13.3, Release, on `main` a077a88df: - `agc_driver_graphics` passes 3/3. With `main`'s `State.cpp` and the new checks, it fails with the title's message, `inverted scissor rectangle`. - PPSA99248, relinked with `--to-intel` and run on Linux (RTX 4070 Ti, NVIDIA 595.99.02) for 90 s with pad input. On `main` it stops at 4 s. With this change it runs the whole 90 s at about 60 FPS. Screenshots at 15, 40 and 85 s show its library screen ("No games yet", with the copy instructions) and its search keyboard, drawn completely. - `tools/check_conventions.py --base upstream/main` passes, and `tools/pr_overlap.py --branch fix/agc-inverted-scissor` finds no overlap. @nicolasfalesy [ran PSSwanStation (PPSA99248)](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6206822605) on Linux with an Intel Arc GPU (Mesa ANV), 40 s per run. On `main` 5d9dcc42d it stopped in 3 of 5 runs with `AGC graphics: inverted scissor rectangle`. With this PR, 5 of 5 runs went the full 40 s to its game library screen. @iDiesIrae-Req [ran it on Windows](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6208271970) (RTX 4070 Laptop, Windows 11, WinLibs GCC 15.2.0, Release), 40 s per run. On `main` 5d9dcc42d it stopped on the same line in 5 of 5 runs, two of them within 2 s. With this PR (8cc858c48), 5 of 5 ran the whole 40 s to the library screen. @wachi35676 [ran it on Windows](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6241783159) with an RTX 5070 Ti (NVIDIA 617.42, WinLibs GCC 15.2.0, Release), 45 s per run, swapping only this PR's `.prx` into a `main` 922dc8999 library set. On `main` it stopped on the same line in 3 of 3 runs (at 1.7, 6.4 and 12.1 s). With the PR (3d44f17ec), all 3 runs reached the limit, and `agc_driver_graphics` passed. Not checked on a console. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-15 12:16:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:16:46Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1191 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4040 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4650 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5441 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5499 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5500 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5925 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6194 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6215 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6235 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6280 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6312 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6320 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6472 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6481 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6529 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6535 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6563 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6808 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6970 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6972 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7332 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191833843 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6191833843). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:16:46Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 1191](https://www.github.com/boykopovar/AnyPS5/pull/1191) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6215](https://www.github.com/boykopovar/AnyPS5/pull/6215) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6312](https://www.github.com/boykopovar/AnyPS5/pull/6312) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6320](https://www.github.com/boykopovar/AnyPS5/pull/6320) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6472](https://www.github.com/boykopovar/AnyPS5/pull/6472) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6529](https://www.github.com/boykopovar/AnyPS5/pull/6529) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6563](https://www.github.com/boykopovar/AnyPS5/pull/6563) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` |
nicolasfalesy commented 2026-10-16 02:40:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by nicolasfalesy on 2026-10-16T02:40:40Z.


A title that reaches this: PSSwanStation (PPSA99248) from the homebrew catalog, on Linux (Intel Arc, Mesa ANV). The stop is intermittent, so I ran it several times (40 s each):

  • main 5d9dcc42d: stopped in 3 of 5 runs with AGC graphics: inverted scissor rectangle (logged as [videoout] presentation failed: ... or [gpu] driver failure: ...).
  • main 5d9dcc42d + this PR: 5 of 5 runs went the full 40 s with no scissor line and no what(), showing its game library screen ("No games yet", no games installed for the test).

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6206822605 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6206822605). Originally posted by [nicolasfalesy](https://github.com/nicolasfalesy) on 2026-10-16T02:40:40Z. --- A title that reaches this: **PSSwanStation (PPSA99248)** from the homebrew catalog, on Linux (Intel Arc, Mesa ANV). The stop is intermittent, so I ran it several times (40 s each): - `main` 5d9dcc42d: stopped in 3 of 5 runs with `AGC graphics: inverted scissor rectangle` (logged as `[videoout] presentation failed: ...` or `[gpu] driver failure: ...`). - `main` 5d9dcc42d + this PR: 5 of 5 runs went the full 40 s with no scissor line and no `what()`, showing its game library screen ("No games yet", no games installed for the test). AI-assisted: yes
milescoviello commented 2026-10-16 02:42:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-16T02:42:15Z.


Thank you, @nicolasfalesy. A catalog title with a before-and-after run on Intel Arc is exactly the evidence this needed. I've added it to the description.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6206840484 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6206840484). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-16T02:42:15Z. --- Thank you, @nicolasfalesy. A catalog title with a before-and-after run on Intel Arc is exactly the evidence this needed. I've added it to the description. AI-assisted: yes
iDiesIrae-Req commented 2026-10-16 04:44:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by iDiesIrae-Req on 2026-10-16T04:44:45Z.


Windows run for this PR: PSSwanStation (PPSA99248, catalog build22), RTX 4070 Laptop, Windows 11 26300, WinLibs GCC 15.2.0 r7, Release. Both builds were relinked from the same eboot with the same relinker and differ only in the libraries; 40 s per run, no pad input.

Build Result
main 5d9dcc42d stops on AGC graphics: inverted scissor rectangle in 5 of 5 runs, two of them within 2 s
main 5d9dcc42d + 8cc858c48 runs the whole 40 s in 5 of 5, showing its library screen ("No games yet" with the copy instructions)

So on Windows the stop reproduces every time, compared with 3 of 5 on Intel Arc. Merged cleanly onto main, no conflicts.

One difference from the Linux numbers: with the PR the title holds a steady 39.95–39.99 FPS here instead of about 60. My display runs at 119.88 Hz, so that's every third vblank. I haven't looked into it, and it is probably separate from this change since main never gets far enough to compare.

AI-assisted: yes, Claude Code ran the builds and tests; I reviewed the results.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6208271970 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6208271970). Originally posted by [iDiesIrae-Req](https://github.com/iDiesIrae-Req) on 2026-10-16T04:44:45Z. --- Windows run for this PR: PSSwanStation (PPSA99248, catalog build22), RTX 4070 Laptop, Windows 11 26300, WinLibs GCC 15.2.0 r7, Release. Both builds were relinked from the same eboot with the same relinker and differ only in the libraries; 40 s per run, no pad input. | Build | Result | |---|---| | `main` 5d9dcc42d | stops on `AGC graphics: inverted scissor rectangle` in 5 of 5 runs, two of them within 2 s | | `main` 5d9dcc42d + 8cc858c48 | runs the whole 40 s in 5 of 5, showing its library screen ("No games yet" with the copy instructions) | So on Windows the stop reproduces every time, compared with 3 of 5 on Intel Arc. Merged cleanly onto `main`, no conflicts. One difference from the Linux numbers: with the PR the title holds a steady 39.95–39.99 FPS here instead of about 60. My display runs at 119.88 Hz, so that's every third vblank. I haven't looked into it, and it is probably separate from this change since `main` never gets far enough to compare. AI-assisted: yes, Claude Code ran the builds and tests; I reviewed the results.
milescoviello commented 2026-10-16 04:46:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-16T04:46:44Z.


Thanks @iDiesIrae-Req, that's the Windows run this PR was missing. I added it to the description. I agree the 40 FPS on your 119.88 Hz display looks separate from this change.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6208294679 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6208294679). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-16T04:46:44Z. --- Thanks @iDiesIrae-Req, that's the Windows run this PR was missing. I added it to the description. I agree the 40 FPS on your 119.88 Hz display looks separate from this change. AI-assisted: yes
milescoviello commented 2026-10-17 20:00:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-17T20:00:30Z.


Rebased onto main e3838332e (now 3d44f17ec). agc_driver_graphics passes 3 of 3, and ^agc_ passes 662 of 662.

Rechecked PSSwanStation (PPSA99248) on today's main 922dc8999, Linux, RTX 4070 Ti (NVIDIA 595.99.02), 30 s with scripted pad input:

  • main: aborts at 4 s with AGC graphics: inverted scissor rectangle, as before;
  • main + this PR: runs to the 30 s limit.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6240062944 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6240062944). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-17T20:00:30Z. --- Rebased onto `main` e3838332e (now 3d44f17ec). `agc_driver_graphics` passes 3 of 3, and `^agc_` passes 662 of 662. Rechecked PSSwanStation (PPSA99248) on today's `main` 922dc8999, Linux, RTX 4070 Ti (NVIDIA 595.99.02), 30 s with scripted pad input: - `main`: aborts at 4 s with `AGC graphics: inverted scissor rectangle`, as before; - `main` + this PR: runs to the 30 s limit. AI-assisted: yes (Claude Code)
wachi35676 commented 2026-10-17 21:52:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-17T21:52:05Z.


PSSwanStation (PPSA99248, build23). Setup: Windows 11, RTX 5070 Ti (NVIDIA 617.42), WinLibs GCC 15.2.0, Release. Titles are the authors' GitHub releases, unwrapped with tools/unwrap_self.py and converted with --windows. "main" is 922dc8999. For "this PR", the PR was cherry-picked onto 11acfdd84 and only the PR's own .prx was swapped into the 922dc8999 library set.

  • main: ends with AGC graphics: inverted scissor rectangle in 3 of 3 runs, at 1.7, 6.4 and 12.1 s.
  • With this PR (3d44f17ec): 3 of 3 runs reach the 45 s limit with no error, and agc_driver_graphics passes.

The output is 3840×2160 and doesn't go through the frame dump, so the evidence is the log only. Emulator tested only up to its own UI, with no BIOS or games.

AI-assisted: yes (Claude Code); results above were run on this machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6241783159 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6241783159). Originally posted by [wachi35676](https://github.com/wachi35676) on 2026-10-17T21:52:05Z. --- PSSwanStation (PPSA99248, build23). Setup: Windows 11, RTX 5070 Ti (NVIDIA 617.42), WinLibs GCC 15.2.0, Release. Titles are the authors' GitHub releases, unwrapped with `tools/unwrap_self.py` and converted with `--windows`. "main" is `922dc8999`. For "this PR", the PR was cherry-picked onto `11acfdd84` and only the PR's own `.prx` was swapped into the `922dc8999` library set. - **main:** ends with `AGC graphics: inverted scissor rectangle` in 3 of 3 runs, at 1.7, 6.4 and 12.1 s. - **With this PR (`3d44f17ec`):** 3 of 3 runs reach the 45 s limit with no error, and `agc_driver_graphics` passes. The output is 3840×2160 and doesn't go through the frame dump, so the evidence is the log only. Emulator tested only up to its own UI, with no BIOS or games. AI-assisted: yes (Claude Code); results above were run on this machine.
milescoviello commented 2026-10-18 18:55:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-18T18:55:54Z.


Thanks @wachi35676 for the Windows run on the RTX 5070 Ti, and sorry for not saying so sooner. It's in the description.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253813871 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6212#issuecomment-6253813871). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-18T18:55:54Z. --- Thanks @wachi35676 for the Windows run on the RTX 5070 Ti, and sorry for not saying so sooner. It's in the description. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6212
No description provided.