Commit Graph
10178 Commits
Author SHA1 Message Date
Karim Masmoudi 57e52c1f03 fix(relinker): report processor 0 from RDTSCP under --to-rosetta
Rosetta sets RDTSCP's ECX to its constant TSC_AUX, 0xAAAAAAAB, which is
not a processor index. --to-rosetta already makes RDPID return processor
0 for the same reason, so code reading the processor through RDTSCP saw
a different value from code reading it through RDPID.

--to-rosetta now moves RDTSCP into an optional stub that runs the
instruction unchanged and then loads 0 into ECX with a MOV, which
leaves the counter in EDX:EAX and the flags as they were. A site with no
movable instruction after it for the jump is kept, as for RDPID. The
Intel target and a plain relink are unchanged.
2026-10-18 18:27:15 +02:00
Dean d3d8d79c59 Merge pull request #7583 from MarcZX10/codex/fix-video-out-flip-vblank
test(videoout): correct first flip pacing assertion
2026-10-19 05:22:52 +13:00
Adrià 39ff296960 Merge pull request #6097 from XD3V3LOP3RX/fix/host-import-probe-use-stamp
fix(graphics): keep discarded import probes from pinning windows
2026-10-18 18:19:35 +02:00
Adrià 81cb863394 Merge pull request #6061 from wachi35676/fix/libc-drive-component-under-mount
fix(libc): keep a drive-letter component of a guest path under its mount on Windows
2026-10-18 17:51:46 +02:00
MarcZX100 75d0e9a7f4 test(videoout): correct first flip pacing assertion 2026-10-18 15:46:12 +00:00
Adrià 91ddd9e3a6 Merge pull request #5998 from MarcZX10/codex/agc-account-kept-storage-images-5961-latest
fix(agc): include retained storage images in recorder budget
2026-10-18 17:37:36 +02:00
Adrià a0f3dc4014 Merge pull request #6091 from Ondra97/codex/fix-cond-canceled-signal
fix(libkernel): preserve condition signals across cancellation
2026-10-18 17:33:22 +02:00
Adrià 9b6837704f Merge pull request #6014 from SandstromPL/fix/agc-msaa-enable-clear-depth-target
fix(agc): rasterize a multisampled depth target without MSAA_ENABLE at the pixel center
2026-10-18 17:26:06 +02:00
Adrià 4ed044d51c Merge pull request #6012 from EagleBearerYS/feat/videoout-performance-overlay
feat(agc,videoout): show an optional performance overlay with F10
2026-10-18 17:26:01 +02:00
Dean 3f4a7f3b22 Merge pull request #6142 from milescoviello/fix/net-setsockopt-kernel-socket
fix(libSceNet): set an option on a libkernel socket through sceNetSetsockopt
2026-10-19 04:23:20 +13:00
Dean 5f37c3e09a Merge pull request #6088 from notaxeltv/feat/libc-cnd-init-default-name-ppsa34015
feat(libc): _Cnd_init_with_default_name_override (PPSA34015)
2026-10-19 04:22:55 +13:00
Dean 029cc57054 Merge pull request #6140 from milescoviello/fix/net-close-kernel-socket
fix(libSceNet): close a libkernel socket through sceNetSocketClose
2026-10-19 04:22:51 +13:00
Dean e5f18ea99a Merge pull request #7558 from mugurc/fix/libc-app-archive-exit
fix(libc): keep the app0.zar state through exit handlers
2026-10-19 03:51:56 +13:00
Adrià 50fafac3d8 Merge pull request #5993 from Get-fix/ps4/param-sfo
feat(libkernel): read param.sfo when param.json is absent
2026-10-18 16:50:34 +02:00
Adrià 2da44a1873 Merge pull request #5918 from karimibrahim07/fix/libkernel-adopted-stack
fix(libkernel): report the precommitted stack of an adopted thread on Windows
2026-10-18 16:50:30 +02:00
Adrià e00260b6b3 Merge pull request #5994 from Get-fix/ps4/sce-module-code-extent
fix(relinker): stop module syscall scans at the PLT and skip the PS4 loader path
2026-10-18 16:45:24 +02:00
Adrià bb86ca38b8 Merge pull request #5992 from Get-fix/ps4/libkernel-underscore-io
fix(libkernel): export _readv, _writev, _fcntl, _fstat, __sys_socketex
2026-10-18 16:45:19 +02:00
Adrià a01f668ae5 Merge pull request #5930 from Ondra97/codex/fix-net-recvmsg-host-write
fix(libSceNet): guard recvmsg guest outputs
2026-10-18 16:45:14 +02:00
MarcZX100 27497f0474 fix(agc): account for batch-retained evicted storage images 2026-10-18 14:34:09 +00:00
MarcZX100 902b0515a2 fix(agc): account recorded storage images in keep budget 2026-10-18 14:32:59 +00:00
Karim Ibrahim 267cb56a0d fix(libkernel): report the precommitted stack of an adopted thread on Windows
An adopted thread (the main thread, or a host thread that calls
scePthreadSelf) reported its whole Windows stack reservation, and so
did sceKernelIsStack on a host thread before adoption. A relinked
executable reserves 0x210000 bytes for its main thread and commits the
top 0x200000, so the lowest 64 KiB of the reported stack hold only
reserved pages and Windows' guard pages. mprotect fails there, so
HotSpot in Java 25 LAN / DNS (PPSA99869) could not create the main
thread's stack guard pages ("Attempt to allocate stack guard pages
failed").

When everything above the bottom allocation granule is committed
read-write, the host stack is now reported from there, as created
guest threads report only their committed stack. Other host stacks
keep the whole range. The committed-pages walk is shared with
StartNativeThread and throws when VirtualQuery fails.
2026-10-18 16:24:10 +02:00
Dean a62c724c38 Merge pull request #6135 from DavidSamir/fix/videoout-cursor-exports
feat(libSceVideoOut): export the hardware cursor functions as not implemented
2026-10-19 02:54:55 +13:00
Dean f834e249c4 Merge pull request #6129 from fdfawef324/claude/agc-tessellation-refusal-fields
fix(agc): print the VGT_TF_PARAM and VGT_LS_HS_CONFIG fields of a refused tessellation draw
2026-10-19 02:54:51 +13:00
Dean 6bef39cb44 Merge pull request #6122 from fdfawef324/claude/mc-agc-event-write-streamout
feat(agc): accept SAMPLE_STREAMOUTSTATS events without a destination in EVENT_WRITE
2026-10-19 02:54:48 +13:00
Dean 644e384808 Merge pull request #5859 from gjonn/perf/shader-bda-anchors
perf(shader): look up the BDA range of a user-data pointer once at program entry
2026-10-19 02:54:44 +13:00
mugurc d10c1b43ba fix(libc): keep the app0.zar state through exit handlers
Every path resolution reaches the app0.zar state, which was a
function-local static: it is destroyed during exit before the handlers
registered ahead of its first use run, so a path resolved in such a
handler locked a destroyed mutex. glibc lets that pass; macOS fails it
with EINVAL, and guest_path_lifetime failed there. The state is now
allocated once and never destroyed, as the working directory state
beside it already is.
2026-10-18 16:03:19 +03:00
Dean 385ed71f2c Merge pull request #7368 from CrimsonMac/fix/device-lds-mixed-width-atomics
fix(shader): use 64-bit buffer atomics for device-memory LDS
2026-10-19 01:51:59 +13:00
Adrià 5bf2e139ef Merge pull request #7537 from adriadam10/ci/pages-paths
ci(pages): deploy only when the site or the progress changes
2026-10-18 14:40:46 +02:00
Adrià FranchandClaude afe2141a7c ci(pages): deploy only when the site or the progress changes
Co-Authored-By: Claude <[email protected]>
2026-10-18 14:40:02 +02:00
Dean 6efb7261b5 Merge pull request #7140 from AlexOfTheForest/fix/listen-backlog-data
fix(libkernel): report the accept queue length for a listening socket's read event
2026-10-19 01:21:56 +13:00
Dean dce6a3ed4e Merge pull request #6492 from Pipodi/fix/resource-cache-released-textures
fix(agc): drop resource-cache entries that hold released sampled textures
2026-10-19 01:21:52 +13:00
Yunus Shaikh ca7ea10d30 docs(environment): add the rows for the performance overlay switches 2026-10-18 05:09:14 -07:00
Yunus Shaikh 0172d28496 Merge main into feat/videoout-performance-overlay 2026-10-18 05:08:24 -07:00
Dean 0d078f75d3 Merge pull request #7089 from pushkarreddyy/fix/agc-driver-buffer-descriptor-reserved-bit
fix(libSceAgcDriver): normalize reserved bit 30 in guest buffer descriptors
2026-10-19 00:51:55 +13:00
Alex ColliniandClaude Sonnet 5.5 7b3098714e docs(agc): keep the title name out of the released-textures debt entry
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-18 13:42:27 +02:00
Alexej Szpevák 93ea8f2684 test(libkernel): check the queued connection count on a listening socket
The listener read event now reports one connection after the first connect, and on Linux two once a second client is waiting, before both are accepted.
2026-10-18 13:35:15 +02:00
Alexej Szpevák b40e0bfb80 fix(libkernel): report the accept queue length for a listening socket's read event
A read event on a listening socket took its data from FIONREAD, which a listening socket refuses on Linux, so kevent and sceKernelAddReadEvent reported 0 connections while saying one was ready. FreeBSD 11.4 gives a listening socket filt_solisten, which reports so_qlen, the completed connections waiting for accept. Ready now checks SO_ACCEPTCONN and on Linux reads a TCP listener's accept backlog from TCP_INFO, where tcp_get_info puts it in tcpi_unacked; with no host call for the count (Windows, macOS, a listener that is not TCP) it reports 1, the lower bound the readiness already implies.
2026-10-18 13:35:15 +02:00
Dean 3e3e8b9050 Merge pull request #7374 from thuanquang/fix/mesh-last-provoking-vertex
fix(agc): draw geometry programs with the last provoking vertex
2026-10-19 00:13:37 +13:00
Dean 721f29c7e1 Merge pull request #7487 from DavidSamir/fix/shader-barycentric-tessellation-clip-moltenvk
fix(shader): keep clip distances in the blocks between the barycentric tessellation stages
2026-10-19 00:13:33 +13:00
Dean 7a2e4a4e7f Merge pull request #7476 from EagleBearerYS/fix/agc-settle-rewatch-live-images
fix(agc): keep a settled import compared while a storage image overlaps it
2026-10-19 00:13:29 +13:00
Dean f55ccad7c9 Merge pull request #6078 from 011010/feat/env-reference
feat(tools): add the APS5_* and ANYPS5_* environment reference and check it
2026-10-19 00:12:57 +13:00
pushkarreddyy c3c400a6f8 fix(libSceAgcDriver): normalize reserved bit 30 in guest buffer descriptors 2026-10-18 16:38:59 +05:30
Dean 9f25d0bf5b Merge pull request #7175 from pushkarreddyy/feat/agc-driver-primitive-polygon
feat(libSceAgcDriver): support polygon primitive type 21
2026-10-18 23:52:22 +13:00
pushkarreddyy f07df07969 feat(libSceAgcDriver): support polygon primitive type 21 2026-10-18 15:56:57 +05:30
011010 99e295a7ba test(tools): register and extend the environment rule tests 2026-10-18 04:16:05 -06:00
011010 061101a3e8 fix(tools): report a row the pull request removes 2026-10-18 04:16:04 -06:00
Crimson cb28abeb89 fix(shader): fault on misaligned 64-bit device-memory LDS atomics 2026-10-18 12:31:11 +03:00
Dean 9caecfd2d5 Merge pull request #6881 from Scramblrrrr/codex/runtime-volume-bias-poison-main
fix(shader): poison unsupported biased volume table entries
2026-10-18 22:27:05 +13:00
Dean 09127eada2 Merge pull request #7273 from mazen320/fix/windows-junction
fix(libkernel): report Windows directory junctions
2026-10-18 22:22:54 +13:00
Dean 1e949afe2c Merge pull request #7372 from pushkarreddyy/fix/json2-parser-null-text
fix(json2): return parse error on null text or zero size
2026-10-18 22:22:50 +13:00