AnyPS5/core/libs/prx
Dean Galvin a3ffb73309 perf(agc): deliver end-of-pipe interrupts after their work without draining
A RELEASE_MEM with an interrupt select drained the device: the queue
worker submitted everything recorded and waited for the GPU before it
stored the label and delivered the interrupt. PPSA21564 issues about 300
of them per frame, so the worker and the GPU took turns.

The label is now recorded like any other (on the GPU behind the work, or
as a completion action behind pending write-backs), and the delivery
becomes a completion action of the batch holding the work before the
packet (Recorder::AfterRecordedWork, after the batch's earlier
completions). It is counted with the completion labels, so idle workers
and pollers reap it, and it starts the label flush deadline. With draws
or dispatches recorded since the last submit the batch is submitted at
once. A batch holding only label stores stays open and goes out with the
next work, at the label flush deadline, at a wait, at a flip or at the
end of the submission, like any other pending label. A label the GPU
cannot store, or one that does not decode, still drains.

The interrupt so never arrives before the work ahead of it completed and
its label landed; it can only arrive later, by at most the flush
deadline plus the work recorded into the same batch.
2026-10-03 09:56:05 +13:00
..
libREDGalaxy64 feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libReactNative.Modules.Vsh feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libReactNative.Modules.Vsh.WebAppLauncher feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libRenoirCore.PS5 Renoir stubs throw with NID name for progress monitoring 2026-09-27 15:53:27 +02:00
libSceAcm feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libSceAgc refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libSceAgcDriver perf(agc): deliver end-of-pipe interrupts after their work without draining 2026-10-03 09:56:05 +13:00
libSceAgcVsh refactor(libkernel): merged dup pthread functions from _sys and _web 2026-09-13 16:24:42 +03:00
libSceAjm refactor(ajm): drop duplicated stub exports from libSceAjm and libSceAjmi 2026-10-02 09:16:34 +02:00
libSceAjm.native fix(ajm): convert planar 16-bit MP3 output from FFmpeg 2026-10-02 09:20:45 +02:00
libSceAjmi refactor(ajm): drop duplicated stub exports from libSceAjm and libSceAjmi 2026-10-02 09:16:34 +02:00
libSceAmpr feat: export the AMPR command buffer waits and writes, sceAgcFuseShaderHalves, sceAgcSetSubmitMode, sceNpSessionSignalingCreateContext and sceNetEpollAbort 2026-09-30 18:19:55 +02:00
libSceAppContent feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceAudio refactor(audio): drop duplicated stub exports from libSceAudio 2026-10-02 09:16:34 +02:00
libSceAudio3d feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceAudioIn feat(libs): declare missing AudioPropagation, AudioIn, NpSessionSignaling and dialog exports 2026-10-01 23:44:31 +02:00
libSceAudioOut refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libSceAudioPropagation feat(libs): declare missing AudioPropagation, AudioIn, NpSessionSignaling and dialog exports 2026-10-01 23:44:31 +02:00
libSceAudiodec feat(libSceAudiodec): decode MP3, M4AAC and ATRAC9 2026-10-02 09:22:59 +02:00
libSceAudiodec.native feat(libSceAudiodec): decode MP3, M4AAC and ATRAC9 2026-10-02 09:22:59 +02:00
libSceAvPlayer feat(avplayer): decode H.264 and AAC with FFmpeg 2026-10-03 08:10:55 +13:00
libSceAvPlayer.native feat(avplayer): decode H.264 and AAC with FFmpeg 2026-10-03 08:10:55 +13:00
libSceCesCs feat(libSceCesCs): convert single characters between CP1252 and UTF-8 2026-10-01 18:41:25 +02:00
libSceCommonDialog feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceContentDelete style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceContentExport feat(libs): declare missing AudioPropagation, AudioIn, NpSessionSignaling and dialog exports 2026-10-01 23:44:31 +02:00
libSceContentSearch style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceConvertKeycode style(prx): apply CONVENTIONS.md to misc PRX additions 2026-09-29 04:24:39 +03:00
libSceErrorDialog feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceFiber feat(libSceFiber): implement context size checking and the thread frame pointer 2026-10-01 19:27:24 +02:00
libSceFont refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libSceFont-module fix(font): build PS5 module-named font libraries 2026-09-29 10:36:48 +10:00
libSceFont.native feat(font): port shadPS4's sceFont and sceFontFt on FreeType 2026-09-28 16:45:30 +13:00
libSceFontFt fix(font): build PS5 module-named font libraries 2026-09-29 10:36:48 +10:00
libSceFontFt-module fix(font): build PS5 module-named font libraries 2026-09-29 10:36:48 +10:00
libSceGameLiveStreaming style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceGameUpdate feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libSceHmd feat(libSceHmd): add a disconnected-headset HLE stub 2026-10-01 14:18:10 +02:00
libSceHttp feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceHttp2 feat(libSceSsl): implement CA certificate queries and sceHttp2AbortRequest 2026-10-01 18:35:02 +02:00
libSceIme style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceImeBackend feat(libs): throw not impl ex in every stub 2026-09-06 15:05:04 +03:00
libSceImeDialog feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
libSceJpegDec feat(libSceJpegDec): implement JPEG decoding 2026-10-02 13:34:41 +02:00
libSceJpegEnc feat(libSceJpegDec): implement JPEG decoding 2026-10-02 13:34:41 +02:00
libSceJson2 feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceKeyboard feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00
libSceLibcInternal feat(libc): operator new/delete, bounds-checked functions, char locale facets and runtime helpers 2026-09-28 14:22:48 +13:00
libSceLoginDialog feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceMouse refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libSceMsgDialog feat(libSceMsgDialog): real dialog state machine, auto-answer without UI 2026-09-28 13:28:49 +03:00
libSceMsgDialog.native feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceNet feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceNetCtl refactor(cmake): add local library configs and move test definitions 2026-10-01 12:44:01 +03:00
libSceNgs2 feat(libSceNgs2.native): implement system, racks, voices and PCM rendering 2026-10-02 09:24:46 +02:00
libSceNgs2.native feat(libSceNgs2.native): decode ATRAC9 sampler voices, parse and size ATRAC9 waveforms 2026-10-02 09:24:46 +02:00
libSceNpAuth feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceNpCommerce feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceNpCppWebApi feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceNpEntitlementAccess feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceNpGameIntent feat(libs) libSceNpGameIntent impl + refactor NpUniversalDataSystem 2026-09-12 18:53:36 +03:00
libSceNpManager feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceNpSessionSignaling feat(libs): declare missing AudioPropagation, AudioIn, NpSessionSignaling and dialog exports 2026-10-01 23:44:31 +02:00
libSceNpTrophy2 fix(libs): ex from libc prx: unwind for catch fix (mingw) 2026-09-13 19:21:31 +03:00
libSceNpUniversalDataSystem fix(libs): ex from libc prx: unwind for catch fix (mingw) 2026-09-13 19:21:31 +03:00
libSceNpUtility feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceNpWebApi2 feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libScePad feat(libScePad): implement scePadSetTiltCorrectionState 2026-10-01 23:44:31 +02:00
libScePlayGo feat(libScePlayGo): implement the language mask and to-do list 2026-10-01 19:50:33 +02:00
libScePlayGoDialog feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libScePlayerInvitationDialog Merge pull request #289 from SP4C3B4R-8/feat/missing-exports 2026-10-02 16:51:14 +03:00
libScePlayerSelectionDialog feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libScePngDec refactor(cmake): require explicit runtime target for png and jpeg decoders 2026-10-01 12:38:06 +03:00
libScePngEnc feat(libScePngEnc): implement PNG encoding 2026-10-02 10:00:32 +02:00
libScePosixForWebKit refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libScePsml_debug feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libSceRandom refactor(cmake): add local library configs and move test definitions 2026-10-01 12:44:01 +03:00
libSceRazorCpu feat(libs): system services for a console without PSN, dialogs or streaming 2026-09-29 21:22:16 +03:00
libSceRemoteplay style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceRtc refactor(cmake): add local library configs and move test definitions 2026-10-01 12:44:01 +03:00
libSceRudp feat(net): offline socket/epoll/resolver stack with FreeBSD errno mapping 2026-09-28 12:45:34 +03:00
libSceSaveData style(savedata): remove namespace comment 2026-10-01 20:35:18 +02:00
libSceSaveData.native feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libSceSaveDataDialog feat(savedata): mount aliasing, wildcard search, memory slots, async events 2026-09-28 12:48:09 +03:00
libSceSaveDataDialog.native feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceShare feat(libs): declare missing AudioPropagation, AudioIn, NpSessionSignaling and dialog exports 2026-10-01 23:44:31 +02:00
libSceShare.native feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libSceSharePlay style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceSigninDialog feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceSsl feat(libSceSsl): implement CA certificate queries and sceHttp2AbortRequest 2026-10-01 18:35:02 +02:00
libSceSysmodule fix(sysmodule): unload unknown module ids as no-ops 2026-09-29 21:32:15 +02:00
libSceSystemGesture feat(libs): agc packet builders, savedata memory, offline service stubs 2026-09-25 16:27:49 -07:00
libSceSystemService feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libSceUlt fix(libs): fix args sysv abi for types (windows) 2026-09-10 19:54:03 +03:00
libSceUserService fix(userservice): report invalid arguments as 0x80960005 2026-09-29 21:31:53 +02:00
libSceVideoOut Merge pull request #239 from adriadam10/fix/error-codes 2026-10-01 21:59:04 +03:00
libSceVideoRecordingP style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceVideodec2 refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
libSceVoice style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
libSceVoiceChat style(prx): apply CONVENTIONS.md to misc PRX additions 2026-09-29 04:24:39 +03:00
libSceVoiceQoS feat(libs): define vabi macros + add to declarations 2026-09-10 08:07:03 +03:00
libSceWebBrowserDialog feat(libs): offline services GTA V reaches in Story Mode 2026-10-01 23:21:54 +02:00
libc feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libcohtml Merge pull request #103 from boykopovar/feat/provide-release 2026-09-29 00:25:39 +03:00
libfmod refactor(docs): separated user and dev in docs + compatibility file 2026-09-28 22:58:17 +03:00
libfmodstudio feat(prx): fmodstudio unknown NIDs throw via NotImplemented 2026-09-27 16:10:41 +02:00
libkernel feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) 2026-10-02 23:14:04 +03:00
libkernel_sys refactor(libkernel): merged dup pthread functions from _sys and _web 2026-09-13 16:24:42 +03:00
libkernel_web refactor(libkernel): merged dup pthread functions from _sys and _web 2026-09-13 16:24:42 +03:00
ulobjmgr feat(libs): system services for a console without PSN, dialogs or streaming 2026-09-29 21:22:16 +03:00