Yunus Shaikh
332b5f3d28
Merge main into fix/agc-draw-cache-byte-budget
...
# Conflicts:
# core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCacheStatistics.cpp
2026-10-27 20:08:17 -07:00
Adrià
f1f1737371
Merge pull request #11647 from B-Howell/codex/libc-strtoq
...
feat(libc): implement strtoq
2026-10-28 04:06:20 +01:00
Adrià
a37797da92
Merge pull request #11637 from B-Howell/codex/videoout-display-index-current-main
...
feat(libSceVideoOut): allow selecting the initial display
2026-10-28 03:49:48 +01:00
Dean Galvin
97f1d41a2c
Revert "Merge pull request #10809 from frankea/fix/direct-memory-12gib"
...
This reverts commit 780b33aea3 , restoring the 13824 MiB direct memory pool.
With the pool at 12288 MiB, Astro Bot (PPSA21564) can no longer load its
level: DirectMemoryAllocator asserts "Can't allocate direct memory" for a
64 MB VideoPlayerTexture with 12228 of 12288 MB in use, then the process
faults about 26 s in (2 of 2 runs, RTX 4090, Linux, main cccdaa2734 ).
The same tree with only this merge reverted runs the full 150 s with no
direct memory assert (2 of 2 runs).
2026-10-28 15:45:26 +13:00
Nicolas Gonzalez and Claude Opus 5.5
2f25ab919f
fix(shader): fence the LDS lock's critical section on MoltenVK
...
SPIRV-Cross emits the lock's acquire compare-exchange and release
exchange as relaxed Metal atomics, so the plain LDS loads and stores of
a locked 64-bit update were not ordered against the lock and contended
ds_add_u64 lost updates on an Apple M5 Pro. On MoltenVK the driver now sets
SpirvTarget::ldsLockFences, and the lock brackets its critical section
with workgroup-scope acquire and release OpMemoryBarriers, which become
threadgroup atomic_thread_fence with no execution barrier.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-27 23:37:56 -03:00
Adrià
3a4206eb64
Merge pull request #11635 from AlexFigas/feat/npcppwebapi-sessionmanager-parameter-lifecycles
...
feat(libSceNpCppWebApi): track the SessionManager V1 parameter lifecycles as the module does
2026-10-28 03:27:48 +01:00
Danigamer05
e5835d6866
feat(libc): add C23 count-zeros exports
2026-10-28 03:09:35 +01:00
Dean Galvin
c116f4f2f0
Merge branch 'main' into perf-D2-v47
...
# Conflicts:
# docs/dev/debt/libSceAgcDriver.md
2026-10-28 13:52:37 +13:00
Dean
bf4860b6ce
Merge pull request #11098 from edubox/fix/agc-single-level-depth-view
...
fix(agc): select the first level of a single-level depth view
2026-10-28 13:50:57 +13:00
Dean
780b33aea3
Merge pull request #10809 from frankea/fix/direct-memory-12gib
...
fix(libkernel): report 12 GiB of direct memory, as a PS5 does
2026-10-28 13:49:57 +13:00
Dean
c3f49ea299
Merge pull request #10654 from akkadbakkad89/feat/agc-acb-workload
...
feat(libSceAgc): emit ACB workload packets for complete, active and stream-inactive
2026-10-28 13:49:41 +13:00
Dean
4c6fcfcb5c
Merge pull request #9763 from rooklz/fix/libc-freopen-closed-stream
...
fix(libc): reopen a closed stream in freopen instead of aborting
2026-10-28 13:48:50 +13:00
Dean
b3b449cfe4
Merge pull request #8916 from Henryisdjfunkyho/fix/cancellable-timed-sleeps
...
fix(libkernel): wake timed sleeps for thread cancellation
2026-10-28 13:48:32 +13:00
Dean
1068cd6b76
Merge pull request #7780 from savvaniss/fix/savedata-ps4-modules
...
fix(savedata): build libSceSaveData and libSceSaveDataDialog from the native sources
2026-10-28 13:48:05 +13:00
Dean
b643e2a6b8
Merge pull request #11363 from JJenkx/feat/agc-selected-image-readback-20261026
...
feat(agc): capture selected live storage images without writeback
2026-10-28 13:46:57 +13:00
xXPBSXx and Claude Sonnet 5.5
893250cf72
Merge main ( 951399570d) into libm/asinh-msun
...
The only conflict was in GuestMath.cpp, where main's sinh tests and this
branch's asinh tests were inserted at the same place. Keep both: the asinh
checks follow the sinh ones.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-28 01:31:59 +01:00
Dean
e778405b5b
Merge pull request #11592 from alvaroelpob/fix/libkernel-condattr-getclock-einval
...
fix(libkernel): fail pthread_condattr_getclock with EINVAL for a null attribute
2026-10-28 13:04:04 +13:00
Dean
057de19313
Merge pull request #11556 from xXPBSXx/libm/sinh-msun
...
fix(libc): compute sinh with FreeBSD msun's algorithm
2026-10-28 13:03:47 +13:00
Dean
a1f5ae4e8b
Merge pull request #11244 from SeaSunPT/fix/audioout2-mastering-not-initialized
...
fix(libSceAudioOut): refuse sceAudioOut2Mastering calls before sceAudioOut2Initialize
2026-10-28 13:02:46 +13:00
Dean
09329a8bda
Merge pull request #10598 from MarcZX10/marc/freetype-stroker-path
...
feat(libSceFreeType): implement the FreeType stroker path-building calls
2026-10-28 13:01:43 +13:00
Dean
9f605c98d2
Merge pull request #10283 from JJenkx/windows/libc-cbrt-msun
...
fix(libc): compute cbrt with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-28 13:01:01 +13:00
Dean
46b9aa3768
Merge pull request #9648 from JJenkx/windows/libc-rand-console
...
fix(libc): follow the console's rand, srand and rand_r
2026-10-28 13:00:35 +13:00
Dean
ba8845d2e7
Merge pull request #9442 from Gruzzberry/feat/lchflags
...
feat(libkernel_sys): implement lchflags
2026-10-28 13:00:19 +13:00
Dean
6c48f35a95
Merge pull request #8098 from LuisAguilarDev/fix/audioout2-silent-ports
...
fix(audioout2): keep each port's grain when ports share a buffer
2026-10-28 12:59:20 +13:00
Dean
200f40814d
Merge pull request #11868 from rooklz/fix/check-compile-save-temps-modes-v2
...
fix(tools): reject unmodeled save-temps modes in syntax checks
2026-10-28 12:59:01 +13:00
milescoviello and Claude Opus 5.5
e9de93c1e4
docs(libSceNpEntitlementAccess): list sceNpEntitlementAccessInitialize as a silent stub
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-27 23:25:36 +00:00
Dean
6e9b9134f6
Merge pull request #11846 from heditrigui/feat/libc-reallocarray
...
feat(libc): implement reallocarray
2026-10-28 12:10:58 +13:00
Dean
ecc950fcc0
Merge pull request #11765 from oneandonlydean/salvage/freetypeol-9453
...
feat(libSceFreeTypeOl): declare 92 PS5 3.20 exports
2026-10-28 12:09:43 +13:00
Dean
27b854fac1
Merge pull request #11764 from oneandonlydean/salvage/jsc-9438
...
feat(libSceJsc): declare 150 PS5 3.20 exports
2026-10-28 12:09:27 +13:00
Dean
cb9a3234f9
Merge pull request #11761 from oneandonlydean/salvage/xml-9422
...
feat(libSceXml): declare 150 pending exports
2026-10-28 12:09:11 +13:00
Dean
1dcfe03875
Merge pull request #11760 from oneandonlydean/salvage/icu-9444
...
feat(libSceIcu): declare 112 PS5 3.20 exports
2026-10-28 12:08:55 +13:00
Dean
55ab7282b2
Merge pull request #11753 from oneandonlydean/salvage/np-common-9686
...
feat(libSceNpCommon): declare 150 additional PS5 exports
2026-10-28 12:08:39 +13:00
Dean
6a3182b8c5
Merge pull request #11612 from milescoviello/docs/agc-debug-raise-exception
...
docs(agc): note how seven titles call sceAgcDebugRaiseException
2026-10-28 12:07:44 +13:00
Dean
77e44989b6
Merge pull request #11561 from javierUDP/docs/rosetta-m5-26-4-evidence
...
docs(relinker): record SHA, AVX-512 and XSAVE under Rosetta on an M5
2026-10-28 12:06:23 +13:00
Dean
45af0a222e
Merge pull request #11458 from MarcZX10/marc/docs-debt-sync
...
docs(debt): drop duplicated debt entries
2026-10-28 12:05:46 +13:00
Dean
8b68c5a465
Merge pull request #11457 from MarcZX10/marc/docs-usage-sync
...
docs: bring USAGE, INPUT_MAPPING and GAME_TESTING in line with the tools
2026-10-28 12:05:26 +13:00
Dean
cea134faab
Merge pull request #10700 from MarcZX10/marc/signatures-libscenptus
...
feat(libSceNpTus): declare sceNpTusCreateNpTitleCtx with its shadPS4 signature
2026-10-28 12:04:06 +13:00
Dean
7d2136c9c6
Merge pull request #10447 from alvaroelpob/feat/libscelibressl-x509-store-ctx-error
...
feat(libSceLibreSsl): implement the X509_STORE_CTX error, depth, current certificate and chain accessors
2026-10-28 12:03:34 +13:00
p3nicillin and Claude Opus 5.5
d0d27f6183
fix(libSceSsl): throw for an empty or certificate-free system CA list
...
An empty list, or one with no certificate, made SystemRoots() return a
null chain, so the connection trusted nothing. Throw and name the path,
as the missing-file case does; nothing is cached, so a later call
reads the list again.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-27 23:02:48 +00:00
p3nicillin and Claude Opus 5.5
f685ee8720
fix(http2): trust the system CA list for HTTPS requests
...
Every libSceSsl context started without trust anchors, so a libSceHttp2
request without a verify callback failed the known-CA check. RetroArch's
updater, PS5LM and Porpoise all use version-3 templates over https://
without one. libSceSsl now parses /<sandbox word>/common/cert/CA_LIST.cer,
served by libkernel from the host trust store, once per process into its
own pool, and SslTrustSystemRoots_nid_no_patch links those roots after
the context's own authorities for one connection. The HTTP/2 transport
calls it after creating each connection.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-27 23:02:48 +00:00
Adrià
f5fefb982c
Merge pull request #11305 from joedeangelis533-bot/review/tessellation-depth-upstream-20261025
...
feat(agc): remap unsupported tessellation viewport depth ranges
2026-10-27 22:27:35 +01:00
Adrià
e274546099
Merge pull request #11302 from Danigamer05/feat/libc-signed-max64
...
feat(libc): implement signed 64-bit maximum
2026-10-27 22:26:29 +01:00
Adrià
6d99bf4ccb
Merge pull request #11300 from Danigamer05/feat/libc-signed-min64
...
feat(libc): implement signed 64-bit minimum
2026-10-27 22:16:40 +01:00
Adrià
b9623a5c26
Merge pull request #11297 from mrfelek/perf/probe-f32-flush-nvidia
...
perf(agc): use the NVIDIA driver's f32 denormal flush when the startup probe matches
2026-10-27 22:09:23 +01:00
Adrià
4a6005955f
Merge pull request #10898 from imellag/feat/libkernel-memory-protection-macos
...
feat(libkernel): guest memory protection and VirtualQuery on macOS hosts
2026-10-27 21:42:24 +01:00
Adrià
771d8b5bf7
Merge pull request #11340 from harisibrar1/feat/libressl-ex-data-indices
...
feat(libSceLibreSsl): implement the SSL and SSL_CTX ex_data index registry as LibreSSL 2.5.4 does
2026-10-27 21:34:00 +01:00
MarcZX10
1eb3a8cf3f
docs: list the APS5_TRACE_UDS switch
...
libSceNpUniversalDataSystem and libSceNpTrophy2 read it and print [uds]
lines to stderr, but the tracing guide did not list it.
2026-10-27 20:26:06 +00:00
MarcZX10
b04ac8eca0
docs: list every runtime DLL the hardware oracle loads
...
oracle_hip.py tries amdhip64_7, amdhip64_6 and amdhip64, and amd_comgr_3,
amd_comgr_2 and amd_comgr, newest first; the guide named only the older
ones.
2026-10-27 20:26:06 +00:00
MarcZX10
7e5831fcce
docs: say APS5_DRAW_PIPELINE is tested for being set
...
ShaderMemory.cpp and Draw.cpp enable the draw pipeline whenever the
variable exists, unlike APS5_PIPELINE_DISPATCH, which treats an empty
value and 0 as off.
2026-10-27 20:23:26 +00:00
MarcZX10
953c3a798f
docs: give the real size of the prebuild thread pool
...
RegistrationPreparePool::Prebuild uses APS5_PREBUILD_THREADS (at least 1)
when set and otherwise max(2, hardware_concurrency() / 2) threads, not
one.
2026-10-27 20:23:25 +00:00