Commit Graph
20967 Commits
Author SHA1 Message Date
orezraeyandClaude Opus 5.5 f91cf205cf Merge main into fix/libkernel-sync-on-address-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 23:40:48 -03:00
Dean Galvin c7e2611b6d Merge main into fix/cancellable-timed-sleeps 2026-10-24 15:38:58 +13:00
Yunus Shaikh 3551a22670 test(libSceNetCtl): drop the checks that unimplemented event types throw
The loops over event types 0, 4 and -1 for sceNetCtlGetResult and sceNetCtlGetResultV6 required the not-implemented throw, so they would fail once those events are implemented. Events 1 to 3, initialization and the null-pointer checks stay.
2026-10-23 19:38:45 -07:00
Himansh Raj 9f32eb50e9 Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-24 08:00:25 +05:30
hyvvs 01e3c796da fix(ci): reject skips with mixed expected and unexpected reasons 2026-10-24 04:28:52 +02:00
Dean 379b1dca32 Merge pull request #9164 from MaxLikesCode/fix/kernel-sema-einval
fix(libkernel): return EINVAL for the semaphore arguments the console rejects
2026-10-24 15:28:17 +13:00
Dean df9cf83c41 Merge pull request #9260 from klosixgaming-arch/fix/agc-msaa-storage-srgb-twin
fix(agc): bind a multisampled sRGB target as a storage image in its UNORM twin
2026-10-24 15:27:22 +13:00
Dean c19d4a7459 Merge pull request #9991 from milescoviello/fix/share-registered-state
fix(agc): share a registered shader's decoded state with its other headers
2026-10-24 15:26:54 +13:00
Yunus Shaikh a809ad7d2f fix(libc): fail a q length in scanf as the console's libc does
The console's own sscanf, run natively from three titles' libc.prx, returns 0 for %qd and stores nothing, where FreeBSD 11.4's source reads q as ll. A q directive now ends the scan there, and the count of conversions before it is returned. The test adds the console's rows for wrapping narrow conversions, saturating 64-bit ones with ERANGE, and %qd.
2026-10-23 19:26:15 -07:00
Dean 43d6937041 Merge pull request #10246 from orezraey/fix/libkernel-pthread-create-detach-measured-ps5
fix(libkernel): refuse long thread names and answer a detach after a join as measured on a PS5
2026-10-24 15:26:04 +13:00
Dean d9ea77fd4d Merge pull request #10301 from JJenkx/fix/pad-scripted-queue-timestamps
fix(pad): timestamp scripted overlays in queued samples
2026-10-24 15:25:35 +13:00
Dean 6fc058f5cf Merge pull request #10302 from orezraey/fix/libkernel-socket-buffers-measured-ps5
fix(libkernel): keep socket buffer sizes and SO_NBIO as measured on a PS5
2026-10-24 15:25:05 +13:00
Adrià Franch c2b128b56d fix(agc): count the staging buffer before evicting depth plane copies
The newest copy's staging buffer exists only after Refresh, so evicting before it under-counted the held bytes. The evicting test now asserts a count that holds on every driver: at least the newest copy and fewer than the 8 an unbounded cache keeps.
2026-10-24 04:24:25 +02:00
billybobpicklioandClaude Opus 5.5 3245a347e9 test(agc): check that the evicting depth-plane run keeps only the newest copy
agc_driver_depth_plane_sampling_evicting passes --evicting, and the test then requires a single
depth plane copy left in the cache (DepthPlaneCopyCount) after the cases. With
APS5_DEPTH_PLANE_COPY_MIB=0, which keeps every copy, it fails with "8 depth plane copies were kept
with a 1 MiB budget, expected only the newest". The explanatory comments move to the pull request.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 04:24:09 +02:00
billybobpicklioandClaude Opus 5.5 1f11b8ab9b fix(agc): bound the sampled depth-plane copies
A depth plane copy (a depth surface sampled as several slices, an integer view or a cube) was
kept until the device went away, with a staging buffer of its own size, and a staging buffer it
outgrew was never freed. Every depth surface a scene ever sampled this way held its copy, so
device memory grew with each new scene (0.4-1.2 GB in RE2 after a level load).

The copies now share their image's ownership with the views they hand out, the recorder keeps
the image and the staging buffer until the recorded copy has run, and past
APS5_DEPTH_PLANE_COPY_MIB (default 256; 0 keeps every copy) the least recently used copies
leave the cache. A copy made again refills from the surface and guest memory as a new one does.
agc_driver_depth_plane_sampling_evicting runs the plane sampling cases with a 1 MiB budget.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 04:24:03 +02:00
Dean da53518e5f Merge pull request #10212 from noamroger/claude/project-thread-a44tqk
feat(libSceJson2): implement sce::Json::String at, find and rfind
2026-10-24 15:23:36 +13:00
Dean d7f0c005a9 Merge pull request #9862 from JJenkx/windows/libc-cbrtf-msun
fix(libc): compute cbrtf with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-24 15:23:06 +13:00
Dean 5669dff560 Merge pull request #9596 from JJenkx/windows/fgetws-console-contract
fix(libc): follow the console fgetws for short buffers and read errors
2026-10-24 15:22:31 +13:00
Dean 88d4f1662c Merge pull request #10020 from Queuse/codex/keep-host-diagnostics-unbuffered
fix(libc): isolate host diagnostics from guest buffering
2026-10-24 15:22:01 +13:00
Adrià FranchandClaude Opus 5.5 7b4b9d9814 fix(shader): zero the resinfo layer count for DIMs without layers
image_get_resinfo returns 0 in its third component when the instruction's
DIM has no layers (1D, 2D, 2D MSAA) and the T# is not 3D, as measured on
RDNA 2 in #7550. Keep 1D-array T#s on their first layer and MSAA T#s
refused, and record the unmeasured forms in the shader debt file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 04:21:06 +02:00
Yunus Shaikh fa02afeb47 fix(agc): bound the draw cache by bytes 2026-10-23 19:17:00 -07:00
Yunus Shaikh fca8266468 Merge main into fix/libscenet-inet-text-rules 2026-10-23 19:15:30 -07:00
JJenkxandClaude Opus 5.5 9fc13424e8 test(agc): expect half of the heap or budget in the storage cache execution test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 22:12:45 -04:00
Gjon Gojcevic 3ba1d39db6 fix(shader): answer image_get_resinfo on any T# dimension
image_get_resinfo with DIM 1D on a cube, 3D or 2D-array T# was refused
with "image address has too few coordinate components": the tracker made
a 1D image that only the query uses, and no 1D mode matches such a T#.
The returned size, layer count and levels come from the T#; DIM only sets
the number of address registers. A 1D image used only by dimension
queries now decodes the T#'s own dimension and accepts 2D, 1D array,
2D array, 3D and cube views.
The flag is stored in the shader disk cache, so FormatVersion moves to 38.

PPSA01317 queries a 64x64 cube with DIM 1D in a pixel shader.

AI-assisted: yes
2026-10-24 04:07:24 +02:00
Felipebmaitan a1086ce5c5 fix(job-manager): merge main into Linux reference changes 2026-10-23 23:01:11 -03:00
Felipebmaitan 2211c438b8 fix(job-manager): merge main into compute shutdown changes 2026-10-23 22:59:46 -03:00
Felipebmaitan a9ed30f845 fix(job-manager): merge main into GPU barrier changes 2026-10-23 22:58:39 -03:00
hypermistandClaude Opus 5.5 1159e12357 Merge remote-tracking branch 'upstream/main' into fix/agc-semaphore-memory-firmware
Keep this PR's semaphore entry and main's workload entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 14:58:12 +13:00
Felipebmaitan a83522e25f fix(job-manager): merge main into profiler changes 2026-10-23 22:57:42 -03:00
Felipebmaitan 9a7b9cc95b fix(job-manager): merge main into caller-owned state changes 2026-10-23 22:56:30 -03:00
Felipebmaitan 2758578c20 fix(job-manager): merge main into registration changes 2026-10-23 22:54:47 -03:00
Felipebmaitan 260c7816c0 fix(job-manager): merge main into lifecycle changes 2026-10-23 22:53:34 -03:00
Felipebmaitan b7640ae5a3 fix(job-manager): merge main and reconcile scheduler debt 2026-10-23 22:48:31 -03:00
Himansh Raj a0a0960a7b Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-24 07:10:36 +05:30
Dean db6af9e0fd Merge pull request #10138 from root-over/fix/agc-shadow-tests-skip-import-stamps
test(agc): skip the forced-watch shadow tests where imports report pages written
2026-10-24 14:36:19 +13:00
Dean 5ac955b1ac Merge pull request #9166 from orezraey/fix/agcdriver-workload-registration-measured-ps5
fix(libSceAgcDriver): return the console's workload stream registration errors
2026-10-24 14:35:51 +13:00
Dean d1d67190a8 Merge pull request #8720 from orezraey/fix/libc-heap-measured-ps5
fix(libc): follow the default heap's alignment, errno and realloc to zero as measured on a PS5
2026-10-24 14:34:38 +13:00
Adrià FranchandClaude Sonnet 5.5 b443b9f9f0 fix(libc): compare only with std::thread::hardware_concurrency, record host count in debt
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 03:31:05 +02:00
notaxeltvandCursor 3769bce12c feat(libc): export std::thread::hardware_concurrency
Absent PPSA34015 import CHrhwd8QSBs; forward to host hardware_concurrency.

Co-authored-by: Cursor <[email protected]>
2026-10-24 03:30:55 +02:00
Himansh Raj 08ef933d8f Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-24 07:00:23 +05:30
thuanquangandClaude 71f70d803f docs(shader): count bits 16-28 among the ancillary word bits that have a source
Co-Authored-By: Claude <[email protected]>
2026-10-24 08:27:20 +07:00
milescovielloandClaude Opus 5.5 371652fd0e fix(agc): draw a PS_ITER_SAMPLE program once per pixel into a one-sample color target
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 01:26:53 +00:00
Dean 9232ee9c98 Merge pull request #9854 from sivasdeadknight/fix/np-async-request-lifecycle
fix(libSceNpManager): validate request ids for abort, delete and poll
2026-10-24 14:26:15 +13:00
orezraeyandClaude Opus 5.5 81d0a5dc15 Merge main into fix/libc-strftime-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 22:26:02 -03:00
Dean b6198d2fd7 Merge pull request #9721 from frankea/fix/one-sample-depth-comp-z
fix(agc): accept DB_EQAA INTERPOLATE_COMP_Z for a one-sample depth target without MSAA_ENABLE
2026-10-24 14:25:46 +13:00
Dean 3e48e2d11b Merge pull request #8873 from Queuse/codex/test-stdio-host-handle
test(libc): check host stdout after freopen
2026-10-24 14:24:11 +13:00
Dean 5674fa6027 Merge pull request #8288 from mugurc/fix/tests-zone-race-yield
fix(tests): let the TZ flipper of the zone race yield
2026-10-24 14:23:44 +13:00
Dean b2640995b7 Merge pull request #10329 from AkulTyagi11/test/savedata-ps4-mount-and-transfer
test(libSceSaveData.native): cover transferring and v1 mount lifecycle
2026-10-24 14:23:17 +13:00
Dean 31516f7021 Merge pull request #9894 from MarrasFederico/feat/np-score-ranking-offline
feat(libSceNpScoreRanking): model the score requests offline
2026-10-24 14:22:50 +13:00
Dean 37035e49ff Merge pull request #10290 from al3w0f205/test/systemgesture-debug-version-coverage
test(libSceSystemGesture): cover debug version query
2026-10-24 14:22:24 +13:00