fix(libkernel): give each APR submit priority its own queue #15649

Merged
hugodearaujo merged 4 commits from upstream-pr/15649 into main 2026-11-04 08:31:37 +00:00
hugodearaujo commented 2026-11-03 23:18:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-11-03T23:18:53Z.


What

sceKernelAprSubmitCommandBuffer and sceKernelAprSubmitCommandBufferAndGetId ignored their priority argument. All generic APR command buffers ran on one queue: once a buffer stopped on an unsatisfied WaitOnAddress or WaitOnCounter, every generic buffer submitted after it waited behind it, at any priority.

Generic buffers now run on one queue per submit priority, in submission order within a priority. AMM buffers keep their single queue. Ids are still issued per kind (generic, AMM), across all of that kind's queues. So sceKernelAprSubmitCommandBufferAndGetId keeps counting up, and sceKernelAprWaitCommandBuffer / AmmSubmitted find a buffer at any priority.

Marvel's Spider-Man 2 (PPSA03016 01.004.003) submits generic buffers at priorities 5, 3 and 1. A priority-5 buffer waits on a 64-bit word at 0xae83f98 (compare 4, value >= reference), and none of the buffers queued behind it writes that word. With one queue, the wait never ends: presents stop, every guest thread parks on a semaphore, condition or event flag, the GPU queue workers sit idle, and only the APR thread runs. From a local diagnostic that is not part of this PR, without the change:

[sm2next-apr] waiting 5 s on address 0xae83f98 (access 0) compare 4 mask 0xffffffffffffffff reference 0x2000000000002923, current 0x2000000000002917; thread queue; pending writers: generic 30 pending, submitted 5188 completed 5157 running. amm 0 pending, submitted 447 completed 447 idle.

and with it, in the one run where a wait passed 5 s:

[sm2next-apr] the wait on 0xae83f98 ended after 12.7 s

That the console's queues are independent across priorities is inferred from this title, not measured. The debt entry says so, and it also records that any priority value is accepted and that each distinct value gets its own host thread.

Tested

Arch Linux (kernel 7.2.11), GCC, Release. Branch on main 1c8c0efc8c.

  • New guest_apr_read_priorities:
    • a buffer waiting at priority 5 holds the buffer submitted after it at priority 5;
    • a buffer submitted at priority 1 runs and releases the wait;
    • ids count up across priorities, and sceKernelAprWaitCommandBuffer waits for all three by id.
  • Negative control: with Apr.cpp from main, the new test fails after 5 s with an APR buffer at another priority stayed behind a waiting buffer. With the change it passes.
  • Regression: ctest -R "guest_ampr|guest_apr|guest_amm": 13 of 13 pass, including guest_ampr_markers (#3588's wait cases) and guest_amm_placement.
  • Title: Spider-Man 2 on RX 9070 XT (RADV), with the local wait diagnostic. Every run carries the same stack, which this title needs to get that far: main 4f41f4c375 + #9969 + #8939 + #13646 + #15399 + #15555. Cross every 30 s from 60 s.
    • Without this change (3 runs): the wait above never ended. The title stopped and sat until the 300 s limit.
    • With it (4 runs): in three, no APR wait lasted 5 s; in the fourth, one 12.7 s wait ended. All four went on to the next stop, a bindless image table that fills VRAM at about 125-155 s (separate issue, #10195).
    • Two more runs with the change and without the diagnostic ended at the same VRAM stop.

Not verified: the console's scheduling between priorities, its valid priority range and any preemption; Windows.

Checklist

  • Based on current main; no other open PR implements the same functions (#3588, merged, added the single queue; #13990 only tests command sizes)
  • 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
  • Fixes: none
  • Unblocks: PPSA03016 #10195 (the APR stall during loading)
  • GPUs tested: n/a (libkernel); the title ran on AMD Radeon RX 9070 XT, RADV Mesa 26.2.6
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5146026056 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15649). Originally posted by [hugodearaujo](https://github.com/hugodearaujo) on 2026-11-03T23:18:53Z. --- ### What `sceKernelAprSubmitCommandBuffer` and `sceKernelAprSubmitCommandBufferAndGetId` ignored their `priority` argument. All generic APR command buffers ran on one queue: once a buffer stopped on an unsatisfied `WaitOnAddress` or `WaitOnCounter`, every generic buffer submitted after it waited behind it, at any priority. Generic buffers now run on one queue per submit priority, in submission order within a priority. AMM buffers keep their single queue. Ids are still issued per kind (generic, AMM), across all of that kind's queues. So `sceKernelAprSubmitCommandBufferAndGetId` keeps counting up, and `sceKernelAprWaitCommandBuffer` / `AmmSubmitted` find a buffer at any priority. Marvel's Spider-Man 2 (PPSA03016 01.004.003) submits generic buffers at priorities 5, 3 and 1. A priority-5 buffer waits on a 64-bit word at `0xae83f98` (`compare 4`, value >= reference), and none of the buffers queued behind it writes that word. With one queue, the wait never ends: presents stop, every guest thread parks on a semaphore, condition or event flag, the GPU queue workers sit idle, and only the APR thread runs. From a local diagnostic that is not part of this PR, without the change: ``` [sm2next-apr] waiting 5 s on address 0xae83f98 (access 0) compare 4 mask 0xffffffffffffffff reference 0x2000000000002923, current 0x2000000000002917; thread queue; pending writers: generic 30 pending, submitted 5188 completed 5157 running. amm 0 pending, submitted 447 completed 447 idle. ``` and with it, in the one run where a wait passed 5 s: ``` [sm2next-apr] the wait on 0xae83f98 ended after 12.7 s ``` That the console's queues are independent across priorities is inferred from this title, not measured. The debt entry says so, and it also records that any priority value is accepted and that each distinct value gets its own host thread. ### Tested Arch Linux (kernel 7.2.11), GCC, Release. Branch on `main` 1c8c0efc8c. - **New `guest_apr_read_priorities`:** - a buffer waiting at priority 5 holds the buffer submitted after it at priority 5; - a buffer submitted at priority 1 runs and releases the wait; - ids count up across priorities, and `sceKernelAprWaitCommandBuffer` waits for all three by id. - **Negative control:** with `Apr.cpp` from `main`, the new test fails after 5 s with `an APR buffer at another priority stayed behind a waiting buffer`. With the change it passes. - **Regression:** `ctest -R "guest_ampr|guest_apr|guest_amm"`: 13 of 13 pass, including `guest_ampr_markers` (#3588's wait cases) and `guest_amm_placement`. - **Title:** Spider-Man 2 on RX 9070 XT (RADV), with the local wait diagnostic. Every run carries the same stack, which this title needs to get that far: `main` 4f41f4c375 + #9969 + #8939 + #13646 + #15399 + #15555. Cross every 30 s from 60 s. - **Without this change (3 runs):** the wait above never ended. The title stopped and sat until the 300 s limit. - **With it (4 runs):** in three, no APR wait lasted 5 s; in the fourth, one 12.7 s wait ended. All four went on to the next stop, a bindless image table that fills VRAM at about 125-155 s (separate issue, #10195). - Two more runs with the change and without the diagnostic ended at the same VRAM stop. Not verified: the console's scheduling between priorities, its valid priority range and any preemption; Windows. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions (#3588, merged, added the single queue; #13990 only tests command sizes) - [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] Fixes: none - [x] Unblocks: PPSA03016 #10195 (the APR stall during loading) - [x] GPUs tested: n/a (libkernel); the title ran on AMD Radeon RX 9070 XT, RADV Mesa 26.2.6 - [x] AI-assisted: yes
XairRrR commented 2026-11-03 23:31:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T23:31:30Z.

Review: APPROVED


Reviewed — approved

Generic APR command buffers now run on one queue for each submit priority, and each kind (generic, AMM) shares one id and completion tracker. The new test passes, it fails when Apr.cpp is reverted to main, and the existing APR/AMPR/AMM tests still pass.

What I ran

Head f06738e1c82df441b06afaff08928b1f6b0125d7 merged into main 1c8c0efc8c41314402e6966da5bef6ea3d639d10 (merged tree 11714c42a990c1265d66d0648874b808e10fd1db). Debian 13 VM (Xeon Gold 6136), GCC 14.2.0, Release, Ninja.

git diff --check 1c8c0efc8c41314402e6966da5bef6ea3d639d10...f06738e1c82df441b06afaff08928b1f6b0125d7
python3 tools/check_conventions.py --base 1c8c0efc8c41314402e6966da5bef6ea3d639d10
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_ampr|guest_apr|guest_amm" --repeat until-fail:3
# negative control
git show 1c8c0efc8c41314402e6966da5bef6ea3d639d10:core/libs/prx/libkernel/Apr/src/Apr.cpp > core/libs/prx/libkernel/Apr/src/Apr.cpp
ninja -C build -j32 -l32 guest_apr_read_tests
ctest --test-dir build --output-on-failure -R guest_apr_read_priorities
# restore
git show 11714c42a990c1265d66d0648874b808e10fd1db:core/libs/prx/libkernel/Apr/src/Apr.cpp > core/libs/prx/libkernel/Apr/src/Apr.cpp
ninja -C build -j32 -l32 guest_apr_read_tests
ctest --test-dir build -R "guest_apr_read_priorities|guest_ampr_markers"
git status --porcelain

Results

Check Result
git diff --check clean
check_conventions.py All conventions checks passed
Configure / build / libs (script) OK
Script test run (selected tests) no new failures, no timeouts; the known failures (agc_driver_* denormal/division, guest_interfaces, guest_socket_options_multicast, …) also fail on main and are unrelated to the PR
guest_ampr|guest_apr|guest_amm, 3 repeats 13/13 passed each time; guest_apr_read_priorities takes about 0.05 s
Negative control guest_apr_read_priorities fails after 5.4 s, as expected
Worktree after restore clean (git status --porcelain printed nothing)
Negative control output
1/1 Test #3280: guest_apr_read_priorities ........***Failed    5.41 sec
an APR buffer at another priority stayed behind a waiting buffer

Negative control

I restored only core/libs/prx/libkernel/Apr/src/Apr.cpp from main and rebuilt guest_apr_read_tests. guest_apr_read_priorities then failed with the message the description gives (an APR buffer at another priority stayed behind a waiting buffer, after about 5 s). With the merged file restored and rebuilt, it passes again.

Findings

Blocking

None.

Non-blocking

  1. sceKernelAprWaitCommandBuffer(id) no longer waits for buffers with lower ids at other priorities, at Apr.cpp#L825-L829.
    • Before, the single generic queue ran buffers one at a time, so completed >= id also meant every earlier id had finished. Now the wait checks only whether that one id is still outstanding.
    • Inline execution also changes. A buffer submitted at an idle priority now runs at once on the caller's thread, even while an earlier buffer at another priority is still queued or waiting. A title that reads files at one priority and signals completion at another, expecting submission order, could now see the signal before the data arrives.
    • Both changes follow from the model the PR chose, and I don't consider them a bug. The new debt entry ("APR submit priorities") does not state either one, though. Since the console behaviour is inferred, it would help to add one clause: a wait by id covers only that buffer, and buffers at different priorities have no ordering between them.
  2. Possible flakiness in the test's first check, in GuestAprRead.cpp (TestPriorities).
    • The check that the buffer behind the wait has not run relies on a 20 ms sleep. If the implementation regressed, a heavily loaded runner might let this check pass when it should fail. It can never make a correct implementation fail, so it is not a reliability risk for CI.
    • The final behindDone/waiterDone checks run after the release and are deterministic.

Other code checks

  • Thread safety: ids are issued under the completion mutex while the queue's submit lock is held, so ids within one priority increase in queue order. The completed-id set is pruned on every completion, so it does not grow without bound.
  • Shared state when two generic buffers run at once: counter writes take g_counterWrites, AMM operations take the AMM state lock, file lookups take g_filesLock, and the read cursor is local to each buffer. I found no state that becomes racy when several generic buffers run concurrently.
  • Priority values: any priority value gets its own detached host thread. The debt entry records this.

Not verified

  • The console's scheduling between priorities, its valid priority range and any preemption. The description says these are not measured, and I have no hardware either.
  • The Spider-Man 2 (PPSA03016) runs and the log lines quoted in the description. I did not launch any title.
  • Windows and MinGW builds, including the Windows-only fault/stack cases.
  • Khronos validation-layer comparison: skipped by the script because no file under the AGC driver, shader recompiler or VideoOut changed. It does not apply to this libkernel change.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5760975214 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15649#pullrequestreview-5760975214). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T23:31:30Z. **Review:** APPROVED --- # Reviewed — approved Generic APR command buffers now run on one queue for each submit priority, and each kind (generic, AMM) shares one id and completion tracker. The new test passes, it fails when `Apr.cpp` is reverted to `main`, and the existing APR/AMPR/AMM tests still pass. ## What I ran Head `f06738e1c82df441b06afaff08928b1f6b0125d7` merged into `main` `1c8c0efc8c41314402e6966da5bef6ea3d639d10` (merged tree `11714c42a990c1265d66d0648874b808e10fd1db`). Debian 13 VM (Xeon Gold 6136), GCC 14.2.0, Release, Ninja. ``` git diff --check 1c8c0efc8c41314402e6966da5bef6ea3d639d10...f06738e1c82df441b06afaff08928b1f6b0125d7 python3 tools/check_conventions.py --base 1c8c0efc8c41314402e6966da5bef6ea3d639d10 ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_ampr|guest_apr|guest_amm" --repeat until-fail:3 # negative control git show 1c8c0efc8c41314402e6966da5bef6ea3d639d10:core/libs/prx/libkernel/Apr/src/Apr.cpp > core/libs/prx/libkernel/Apr/src/Apr.cpp ninja -C build -j32 -l32 guest_apr_read_tests ctest --test-dir build --output-on-failure -R guest_apr_read_priorities # restore git show 11714c42a990c1265d66d0648874b808e10fd1db:core/libs/prx/libkernel/Apr/src/Apr.cpp > core/libs/prx/libkernel/Apr/src/Apr.cpp ninja -C build -j32 -l32 guest_apr_read_tests ctest --test-dir build -R "guest_apr_read_priorities|guest_ampr_markers" git status --porcelain ``` ## Results | Check | Result | |---|---| | `git diff --check` | clean | | `check_conventions.py` | All conventions checks passed | | Configure / build / libs (script) | OK | | Script test run (selected tests) | no new failures, no timeouts; the known failures (`agc_driver_*` denormal/division, `guest_interfaces`, `guest_socket_options_multicast`, …) also fail on `main` and are unrelated to the PR | | `guest_ampr\|guest_apr\|guest_amm`, 3 repeats | 13/13 passed each time; `guest_apr_read_priorities` takes about 0.05 s | | Negative control | `guest_apr_read_priorities` fails after 5.4 s, as expected | | Worktree after restore | clean (`git status --porcelain` printed nothing) | <details><summary>Negative control output</summary> ``` 1/1 Test #3280: guest_apr_read_priorities ........***Failed 5.41 sec an APR buffer at another priority stayed behind a waiting buffer ``` </details> ## Negative control I restored only `core/libs/prx/libkernel/Apr/src/Apr.cpp` from `main` and rebuilt `guest_apr_read_tests`. `guest_apr_read_priorities` then failed with the message the description gives (`an APR buffer at another priority stayed behind a waiting buffer`, after about 5 s). With the merged file restored and rebuilt, it passes again. ## Findings ### Blocking None. ### Non-blocking 1. **`sceKernelAprWaitCommandBuffer(id)` no longer waits for buffers with lower ids at other priorities**, at [`Apr.cpp#L825-L829`](https://github.com/boykopovar/AnyPS5/blob/f06738e1c82df441b06afaff08928b1f6b0125d7/core/libs/prx/libkernel/Apr/src/Apr.cpp#L825-L829). - Before, the single generic queue ran buffers one at a time, so `completed >= id` also meant every earlier id had finished. Now the wait checks only whether that one id is still outstanding. - Inline execution also changes. A buffer submitted at an idle priority now runs at once on the caller's thread, even while an earlier buffer at another priority is still queued or waiting. A title that reads files at one priority and signals completion at another, expecting submission order, could now see the signal before the data arrives. - Both changes follow from the model the PR chose, and I don't consider them a bug. The new debt entry ("APR submit priorities") does not state either one, though. Since the console behaviour is inferred, it would help to add one clause: a wait by id covers only that buffer, and buffers at different priorities have no ordering between them. 2. **Possible flakiness in the test's first check**, in `GuestAprRead.cpp` (`TestPriorities`). - The check that the buffer behind the wait has not run relies on a 20 ms sleep. If the implementation regressed, a heavily loaded runner might let this check pass when it should fail. It can never make a correct implementation fail, so it is not a reliability risk for CI. - The final `behindDone`/`waiterDone` checks run after the release and are deterministic. ### Other code checks - **Thread safety:** ids are issued under the completion mutex while the queue's `submit` lock is held, so ids within one priority increase in queue order. The completed-id set is pruned on every completion, so it does not grow without bound. - **Shared state when two generic buffers run at once:** counter writes take `g_counterWrites`, AMM operations take the AMM state lock, file lookups take `g_filesLock`, and the read cursor is local to each buffer. I found no state that becomes racy when several generic buffers run concurrently. - **Priority values:** any priority value gets its own detached host thread. The debt entry records this. ## Not verified - The console's scheduling between priorities, its valid priority range and any preemption. The description says these are not measured, and I have no hardware either. - The Spider-Man 2 (PPSA03016) runs and the log lines quoted in the description. I did not launch any title. - Windows and MinGW builds, including the Windows-only `fault`/`stack` cases. - Khronos validation-layer comparison: skipped by the script because no file under the AGC driver, shader recompiler or VideoOut changed. It does not apply to this libkernel change. <!-- anyps5-bots job=3715 head=f06738e1c82df441b06afaff08928b1f6b0125d7 -->
XairRrR commented 2026-11-04 00:05:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-04T00:05:07Z.

Review: APPROVED


Re-checked — approved

The only change since my last review is commit 3a781a01fa. It adds the clause I asked for to the "APR submit priorities" debt entry, so both previous findings are now closed.

What changed since my last review

  • New commit 3a781a01fa: it changes one line of docs/dev/debt/libkernel.md. Commits 1–3 are the same as before (git range-diff shows =), so the code and the test have not changed.
  • The author replied in the discussion. They added the debt clause, and they agree that the 20 ms sleep can only miss a regression on a loaded runner.

What I ran

Head 3a781a01fa07c19f21be20cc8c5514ddb6841f03, merged into main 1c8c0efc8c41314402e6966da5bef6ea3d639d10 (merged tree 797db1f9d563f44e89781d6fec03ce386b8d0f8d). Debian 13 VM (Xeon Gold 6136), GCC 14.2.0, Release, Ninja.

git diff --check 1c8c0efc8c41314402e6966da5bef6ea3d639d10...3a781a01fa07c19f21be20cc8c5514ddb6841f03
git diff --stat f06738e1c82df441b06afaff08928b1f6b0125d7 3a781a01fa07c19f21be20cc8c5514ddb6841f03
python3 tools/check_conventions.py --base 1c8c0efc8c41314402e6966da5bef6ea3d639d10
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_ampr|guest_apr|guest_amm"
git status --porcelain
Check Result
git diff --check clean
Delta since f06738e1c8 docs/dev/debt/libkernel.md, 1 line changed
check_conventions.py All conventions checks passed
Script build and tests build OK; no new failures and no timeouts. The known failures also fail on main and are unrelated to this change.
guest_ampr|guest_apr|guest_amm 13/13 passed
Worktree clean

I did not repeat the negative control. The test and production code are unchanged since the last run, which failed as expected with Apr.cpp restored from main.

Previous findings

  1. A wait by id and cross-priority order are not stated in the debt entry: Resolved. The entry now says that buffers at different priorities have no order between them, that a buffer at an idle priority runs at once on the submitting thread, and that a wait by id covers only that buffer.
  2. The 20 ms sleep in TestPriorities can miss a regression: No longer applies as an action item. The author agreed with the analysis: the check cannot fail a correct build, and the checks after the release are deterministic. It stays a known limit of the test, not a CI risk.

New findings

None.

Not verified

  • The console's scheduling between priorities, its valid priority range and any preemption. The PR states these are unmeasured.
  • The Spider-Man 2 (PPSA03016) runs reported in the description. I did not launch any title.
  • Windows and MinGW builds.
  • The Khronos validation-layer comparison. The script skipped it because no AGC driver, shader recompiler or VideoOut file changed, and it does not apply to this change.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5761258261 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15649#pullrequestreview-5761258261). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-04T00:05:07Z. **Review:** APPROVED --- # Re-checked — approved The only change since my last review is commit `3a781a01fa`. It adds the clause I asked for to the "APR submit priorities" debt entry, so both previous findings are now closed. ## What changed since my last review - New commit `3a781a01fa`: it changes one line of `docs/dev/debt/libkernel.md`. Commits 1–3 are the same as before (`git range-diff` shows `=`), so the code and the test have not changed. - The author replied in the discussion. They added the debt clause, and they agree that the 20 ms sleep can only miss a regression on a loaded runner. ## What I ran Head `3a781a01fa07c19f21be20cc8c5514ddb6841f03`, merged into `main` `1c8c0efc8c41314402e6966da5bef6ea3d639d10` (merged tree `797db1f9d563f44e89781d6fec03ce386b8d0f8d`). Debian 13 VM (Xeon Gold 6136), GCC 14.2.0, Release, Ninja. ``` git diff --check 1c8c0efc8c41314402e6966da5bef6ea3d639d10...3a781a01fa07c19f21be20cc8c5514ddb6841f03 git diff --stat f06738e1c82df441b06afaff08928b1f6b0125d7 3a781a01fa07c19f21be20cc8c5514ddb6841f03 python3 tools/check_conventions.py --base 1c8c0efc8c41314402e6966da5bef6ea3d639d10 ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_ampr|guest_apr|guest_amm" git status --porcelain ``` | Check | Result | |---|---| | `git diff --check` | clean | | Delta since `f06738e1c8` | `docs/dev/debt/libkernel.md`, 1 line changed | | `check_conventions.py` | All conventions checks passed | | Script build and tests | build OK; no new failures and no timeouts. The known failures also fail on `main` and are unrelated to this change. | | `guest_ampr\|guest_apr\|guest_amm` | 13/13 passed | | Worktree | clean | I did not repeat the negative control. The test and production code are unchanged since the last run, which failed as expected with `Apr.cpp` restored from `main`. ## Previous findings 1. **A wait by id and cross-priority order are not stated in the debt entry:** Resolved. The [entry](https://github.com/boykopovar/AnyPS5/blob/3a781a01fa07c19f21be20cc8c5514ddb6841f03/docs/dev/debt/libkernel.md#L57) now says that buffers at different priorities have no order between them, that a buffer at an idle priority runs at once on the submitting thread, and that a wait by id covers only that buffer. 2. **The 20 ms sleep in `TestPriorities` can miss a regression:** No longer applies as an action item. The author agreed with the analysis: the check cannot fail a correct build, and the checks after the release are deterministic. It stays a known limit of the test, not a CI risk. ## New findings None. ## Not verified - The console's scheduling between priorities, its valid priority range and any preemption. The PR states these are unmeasured. - The Spider-Man 2 (PPSA03016) runs reported in the description. I did not launch any title. - Windows and MinGW builds. - The Khronos validation-layer comparison. The script skipped it because no AGC driver, shader recompiler or VideoOut file changed, and it does not apply to this change. <!-- anyps5-bots job=3725 head=3a781a01fa07c19f21be20cc8c5514ddb6841f03 -->
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!15649
No description provided.