Commit Graph
8546 Commits
Author SHA1 Message Date
Adrià 1d667d5f52 Merge pull request #11121 from orezraey/docs/libc-fenv-setlocale-strcasecmp-measured-ps5
docs(libc): record feholdexcept, fegetexcept, setlocale and strcasecmp as measured on a PS5
2026-10-27 04:51:24 +01:00
Adrià 244bc628fd Merge pull request #11116 from orezraey/docs/libkernel-version-boottime-socpower-measured-ps5
docs(libkernel): record the version stubs, kern.boottime and the SoC power block as measured on a PS5
2026-10-27 04:51:20 +01:00
Adrià 4026c14b22 Merge pull request #11093 from xXPBSXx/docs/debt-savedata-mount3-title
docs(debt): note how a title handles a failed sceSaveDataMount3
2026-10-27 04:51:08 +01:00
Adrià 0754512dc1 Merge pull request #11012 from akkadbakkad89/docs/agc-font-stub-evidence
docs(debt): record recovered evidence for CbMemsetExclusive and font drawup fills
2026-10-27 04:50:58 +01:00
Adrià a17e484891 Merge pull request #10919 from AlexFigas/docs/agc-debug-exception-call-site
docs(debt): add call-site evidence for the arguments of sceAgcDebugRaiseException
2026-10-27 04:50:53 +01:00
Adrià 33d2affaa6 Merge pull request #10901 from EagleBearerYS/docs/debt-gaps-bf208
docs(debt): bring five libraries' debt files in line with the tree
2026-10-27 04:50:47 +01:00
Adrià 65c03f43b2 Merge pull request #10850 from xXPBSXx/docs/debt-savedata-initialize3-title
docs(debt): note how a title and its plugin call sceSaveDataInitialize3 and Terminate
2026-10-27 04:50:41 +01:00
Adrià c93ba3b5a3 Merge pull request #10848 from xXPBSXx/docs/debt-kernel-getoperationmode-title
docs(debt): note what a title does with the sceKernelGetOperationMode values
2026-10-27 04:50:35 +01:00
Adrià 056acea649 Merge pull request #10842 from xXPBSXx/docs/debt-userservice-getagelevel-title
docs(debt): note how a title calls sceUserServiceGetAgeLevel
2026-10-27 04:50:29 +01:00
Adrià 5d92321d8c Merge pull request #10840 from xXPBSXx/docs/debt-videoout-setfliprate-title
docs(debt): note how a title calls sceVideoOutSetFlipRate
2026-10-27 04:50:25 +01:00
Adrià 02f66c4e97 Merge pull request #10826 from xXPBSXx/docs/debt-kernel-createeventflag-title
docs(debt): note how titles call sceKernelCreateEventFlag
2026-10-27 04:50:20 +01:00
Adrià b8b079c271 Merge pull request #10824 from xXPBSXx/docs/debt-convertkeycode-virtualkeycode-title
docs(debt): note how titles call sceConvertKeycodeGetVirtualKeycode
2026-10-27 04:50:15 +01:00
Adrià 10a5931994 Merge pull request #10822 from xXPBSXx/docs/debt-agcdriver-registerdefaultowner-title
docs(debt): note how a title calls sceAgcDriverRegisterDefaultOwner
2026-10-27 04:50:09 +01:00
Adrià e1ddfeba16 Merge pull request #10820 from xXPBSXx/docs/debt-agc-waituntilsafe-title
docs(debt): note how a title calls sceAgcAcbWaitUntilSafeForRendering
2026-10-27 04:50:04 +01:00
Adrià 247cd1596f Merge pull request #10687 from xXPBSXx/docs/debt-ajm-resample-flags
docs(debt): note how titles pass the Ajm resample flags
2026-10-27 04:49:59 +01:00
milescovielloandClaude Opus 5.5 10b21dfb3a docs(libSceSaveData.native): list sceSaveDataPrepare as a silent stub and note how six titles use its result
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 03:48:42 +00:00
dantdmdarealguy 36277c4b44 perf(agc): keep recently sampled depth plane copies up to twice the budget
The depth plane copy budget (APS5_DEPTH_PLANE_COPY_MIB, 256 MiB) evicted
the least recently used copy even when it had been sampled in the same
frame. When one frame samples more than the budget, every use evicts a
copy the next use needs, so each copy is made and refilled again on every
use. ASTRO BOT (PPSA21564) samples a 1536x1536x16 D32 copy (288 MiB with
its staging buffer) and a 2048x2048x3 D16 copy (48 MiB) alternately in
its intro and thrashes this way.

A copy sampled in the current or the previous present now stays while
all copies hold at most twice the budget. Past that, the least recently
used copies leave whenever they were sampled, so the copies never hold
more than twice the budget, or the one copy being sampled if it is
larger. Older copies still leave first by least recent use down to the
budget.

DepthPlaneCopyBytes reports the bytes the copies hold, for the tests.
The pooled-memory rounds of agc_driver_depth_plane_guest_layers now
advance two presents between samples, since two copies sampled in one
present may now be kept together.
2026-10-26 22:31:18 -05:00
Dean Galvin 8b323065a9 docs(agc): note that only viewport 0 bounds clamp an exported depth
The clamp reads PA_SC_VPORT_ZMIN_0 and PA_SC_VPORT_ZMAX_0 only, so a draw that
selects another viewport is clamped to viewport 0's depth range.
2026-10-27 15:59:30 +13:00
frankea 909a2f1f3b fix(shader): read other control points' off-chip outputs in hull programs 2026-10-27 03:47:24 +01:00
UnhealthyKraken 92effeb9d3 chore(libc): merge main and preserve prefix debt 2026-10-27 02:42:31 +00:00
MarcZX10 e90264af44 docs(libSceAvcap2): record 7 pending exports 2026-10-27 02:20:56 +00:00
orezraeyandClaude Opus 5.5 fc51fc0f6e Merge main into docs/libkernel-sync-timeouts-eventflag-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 23:19:30 -03:00
orezraeyandClaude Opus 5.5 cf1771ec7e Merge main into fix/libkernel-mutex-yieldloops-destroyed-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 23:10:34 -03:00
Dean abed035468 Merge pull request #11313 from frankea/fix/agc-draw-index-multi-instanced
fix(agc): write the console's DRAW_INDEX_MULTI_INST packet for sceAgcDcbDrawIndexMultiInstanced
2026-10-27 15:02:15 +13:00
Dean af2a996527 Merge pull request #11263 from orezraey/fix/libkernel-cond-signalto-measured-ps5
fix(libkernel): fail scePthreadCondSignalto for a null or non-waiting thread as measured on a PS5
2026-10-27 15:01:44 +13:00
Dean 4571f48bff Merge pull request #11173 from p3n1cillin/claude/mmap-excl-ignored
fix(libkernel): ignore MAP_EXCL in fixed anonymous mmap as measured on a PS5
2026-10-27 15:01:30 +13:00
Dean d471a12b82 Merge pull request #11112 from Bram910/fix/shader-skip-unreachable-words
fix(shader): skip undecodable words that only follow s_branch or s_endpgm
2026-10-27 15:00:43 +13:00
Dean 7cee2b517a Merge pull request #10811 from Felipebmaitan/feat/jobmanager-barrier-capacity
fix(job-manager): account for GPU barrier command capacity
2026-10-27 15:00:27 +13:00
Dean 1075c38f07 Merge pull request #10799 from EagleBearerYS/feat/libkernel-sys-ampr-command-writers
feat(libkernel_sys): write the AMM commands and wait for their completion
2026-10-27 15:00:11 +13:00
Dean defd713929 Merge pull request #10788 from 00xDisaster/feat/libc-thread-gaps
feat(libc): implement _Thrd_lt
2026-10-27 14:59:56 +13:00
Dean 169f3e3e73 Merge pull request #10666 from WallisSkill/fix/libkernel-raise-at-guest-return
fix(libkernel): deliver a raised exception at the guest return of a thread in host code
2026-10-27 14:59:25 +13:00
Dean c72ed0b7c8 Merge pull request #10388 from Tamalero/perf/prebuild-pool-threads
perf(agc): prebuild registration libraries on half the hardware threads by default
2026-10-27 14:59:11 +13:00
Dean 8056827ea8 Merge pull request #10133 from orezraey/fix/libkernel-posix-thread-attr-measured-ps5
fix(libkernel): follow the thread priority ranges and POSIX attribute errors measured on a PS5
2026-10-27 14:58:57 +13:00
Dean 6e98696398 Merge pull request #10061 from elieh999/fix/rwlockattr-destroyed-pshared
fix(libkernel): preserve destroyed rwlock attributes
2026-10-27 14:58:42 +13:00
Dean 304bea47ca Merge pull request #9771 from JJenkx/windows/libc-asinf-msun
fix(libc): compute asinf with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-27 14:58:25 +13:00
Dean 86a38cdf6c Merge pull request #9187 from slider/feat/libkernel-sched-params
feat(libkernel): implement sched_getparam, sched_getscheduler and sched_setparam for the calling thread
2026-10-27 14:57:32 +13:00
Dean 8cc3be6e2b Merge pull request #9098 from EagleBearerYS/perf/libc-collect-without-region-query
perf(libc): read private write watches per allocation without a region query
2026-10-27 14:57:16 +13:00
Dean e55c69f1fd Merge pull request #8927 from ionut27001/fix/videoout-cursor-flip-status
fix(libSceVideoOut): answer the cursor, flip status and pending-flip calls as measured on a PS5
2026-10-27 14:57:01 +13:00
Dean 37c6b4bc25 Merge pull request #8077 from 0xcrstn/ufc6/descriptor-web-fold
fix(shader): split descriptor webs whose paths fold or hold invalid arms
2026-10-27 14:56:47 +13:00
Dean d1de04f943 Merge pull request #7484 from AlxcBTW/pr/robust-loads
perf(recompiler): leave the descriptor-range comparison out of direct buffer loads when the device zeroes past the range
2026-10-27 14:56:32 +13:00
Dean 630211a866 Merge pull request #6612 from milescoviello/feat/tess-geometry
feat(agc): draw tessellation followed by an NGG geometry stage
2026-10-27 14:56:18 +13:00
Danigamer05 218e9c7e4e feat(libc): add standard count-ones functions 2026-10-27 02:38:24 +01:00
roboterspinne de3c2d9536 fix(relinker): refuse red-zone leaves without a frame pointer that push or pop
In a leaf without a frame pointer, --frame-red-zone lowers RSP after
the prologue and adds the shift to every RSP operand in the body,
assuming RSP does not move between the prologue and the exits. It
refused explicit RSP arithmetic but not opcode-encoded pushes and pops,
so after "push rax" in the body the read of the pushed slot at [rsp]
became [rsp+0x10], a red-zone slot, and "pushfq; and qword [rsp], -2;
popfq" changed that slot instead of the saved flags. Such a leaf now
keeps its red zone and is reported as "push or pop inside the body":
push and pop of a register, push imm, push r/m, pop r/m, pushf, popf
and push or pop of fs or gs outside the exits. The pops of an exit
still frame, and leaves with a frame pointer, whose RSP operands are
already refused, still frame when they push and pop.
2026-10-27 02:36:47 +01:00
dantdmdarealguy b6a16bfbbb docs(debt): drop the stale ApRp stub note from libSceNetCtl
The eleven sceNetCtlApRp* exports return 0 as their firmware bodies do
since db2575839 (#8307); none of them is a stub any more, so the
sentence saying their stub bodies are unchanged no longer describes a
gap.
2026-10-26 20:08:22 -05:00
Dean 38cda53b52 Merge pull request #11160 from p3n1cillin/claude/audioout-padspk-volume
fix(libSceAudioOut): declare sceAudioOutSetPadSpkVolume as PSBox calls it
2026-10-27 14:05:56 +13:00
MarcZX10 34e039ab3e docs(libSceNpTus): record the single-source shadPS4 signatures of the declared stubs 2026-10-27 01:05:41 +00:00
Danigamer05 762556eb2d feat(libc): implement signed 32-bit minimum value helper 2026-10-27 01:58:48 +01:00
Danigamer05 5f08cbf1b3 feat(libc): implement unsigned 32-bit maximum 2026-10-27 01:58:47 +01:00
Danigamer05 4b911d7bae feat(libc): implement signed 64-bit maximum 2026-10-27 01:58:46 +01:00
Danigamer05 80bc31bb6c feat(libc): implement signed 64-bit minimum 2026-10-27 01:58:45 +01:00