Commit Graph
29075 Commits
Author SHA1 Message Date
LeandroLP23andClaude Opus 5.5 d7fb2a3ec3 fix(pad): restore the DualSense haptics configuration after a rumble stops
SDL sends scePadSetVibration rumble as report 0x31 with audio haptics
turned off. Once the rumble stopped, the stream's haptics came back at a
different strength than before it. The stream thread now sends its
configuration report 0x31 again 100 ms after slot 0's rumble stops, which
brought the haptics back to their level before the rumble.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:47:03 +01:00
LeandroLP23andClaude Opus 5.5 986ae87c8a fix(pad): pace Bluetooth DualSense haptics reports and keep a failed stream silent
The worker sent a backlog of buffered blocks back to back. It now sends at
most one report 0x32 per 10.67 ms, the length of one 32-frame block at
3 kHz, without a catch-up burst after a pause.

A failed report write cleared the stream-open flag, which sent the vibration
ports to motor rumble. The flag now stays set until the controller
disconnects, so the ports stay silent while the stream is stopped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:47:03 +01:00
e0b0f2b91d fix(pad): send a DualSense haptics report once two blocks are buffered
The 10.672 ms timer took a block only when it fired, so audio arriving in
blocks smaller than 32 haptic frames (16 from a 256-frame legacy port)
regularly found fewer than 32 frames and the report was skipped; catching
up after falling behind sent two reports back to back and left a ~21 ms
hole. The controller, asked to queue only 16 frames, then ran dry, and
the haptics dropped out about once per second on hardware.

The stream thread now waits on a condition variable until two blocks are
buffered and sends one, so reports follow the audio clock, and report
0x32 asks the controller to queue 64 frames (21 ms) to absorb Bluetooth
jitter and the difference between the title's rate and the controller's
crystal. Closing the stream wakes the waiting thread before the join.

Co-authored-by: seradavid <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:46:45 +01:00
115c187398 feat(pad): stream vibration ports to a Bluetooth DualSense as haptics reports
Co-Authored-By: beecrepaldi-afk <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:46:30 +01:00
Dean b611e634f7 Merge pull request #3962 from ahir061/ci/macos-rosetta-tests
ci: run the macOS write watch and register context tests under Rosetta
2026-11-05 09:31:59 +13:00
Dean 638187daec Merge pull request #15855 from BunnyFl/fix/agc-sampled-depth-shadow-image-allocation
fix(agc): allocate the sampled depth shadow through the image allocator
2026-11-05 09:28:49 +13:00
Dean 9f35c937da Merge pull request #13837 from CodingBreadd/test/check-skips-decode-utf8
test(tools): decode check_skips test output as UTF-8
2026-11-05 09:00:46 +13:00
Dean 793515e6e4 Merge pull request #13417 from dr-hoseyn/fix/ab-split-truncated-programs
fix(tools): avoid zeroing unlisted GPU program timings
2026-11-05 09:00:41 +13:00
Dean 54b7a65c70 Merge pull request #13239 from MalikTalha03/fix/tools-tests-windows-store-python-executable
fix(tools): stop relying on sys.executable as a readable or spawnable file in tests
2026-11-05 09:00:36 +13:00
Dean e04fa176c2 Merge pull request #13145 from Prophet069/pr/agc-sampler-mirror-clamp
fix(agc): enable VK_KHR_sampler_mirror_clamp_to_edge for mirror-once guest samplers
2026-11-05 09:00:31 +13:00
Dean 1c03968050 Merge pull request #12918 from Kikoarl/feat/libSceNet-so-dontroute
feat(libSceNet): support SO_DONTROUTE in sceNetSetsockopt and sceNetGetsockopt
2026-11-05 09:00:27 +13:00
Dean 0ba9b059b3 Merge pull request #12903 from BunnyFl/fix/pngdec-chunk-checks
fix(libScePngDec): check PNG chunks as the console does
2026-11-05 09:00:22 +13:00
Dean 8748851eb1 Merge pull request #11662 from LordVersA/feat/libressl-library-init
feat(libSceLibreSsl): implement SSL library init
2026-11-05 09:00:18 +13:00
BunnyFlandClaude Opus 5.5 d792684630 fix(agc): allocate the sampled depth shadow through the image allocator
#15301 moved the sampled depth shadow onto OwnedImage::Allocate with the
VkMemoryAllocateInfo form that #10472 had already replaced, so main no
longer compiles libSceAgcDriver. Pass the image's create info as the
other OwnedImage callers do and bind at the allocation's memory and
offset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 20:36:47 +01:00
Dean 0263899e99 Merge pull request #15764 from JJenkx/fix/pad-trigger-effect-mask
fix(libScePad): check only the selected triggers' modes in scePadSetTriggerEffect
2026-11-05 08:21:20 +13:00
Dean 288f44f556 Merge pull request #15741 from zorde23/fix/agc-fragment-uint-storage-views
fix(agc): bind UINT views for float16 stores outside compute shaders
2026-11-05 08:21:16 +13:00
Dean d11668dcc6 Merge pull request #15694 from JJenkx/fix/ngs2-ps5-filter-sizes
fix(libSceNgs2): accept the PS5 SDK filter params in libSceNgs2
2026-11-05 08:21:12 +13:00
Dean 4692abe214 Merge pull request #15528 from oneandonlydean/fix/shader-disk-cache-large-file-space
test(agc): report free disk space when the large cache file write fails
2026-11-05 08:21:08 +13:00
Dean f3604031cf Merge pull request #15526 from oneandonlydean/fix/relinker-guest-none-relocations-split
test(relinker): run guest_none_relocations as two halves
2026-11-05 08:21:01 +13:00
Dean 270b91efbf Merge pull request #15301 from Prophet069/fix/agc-depth-shadow-host-fallback
fix(agc): let a sampled depth shadow reclaim memory or fall back to the host
2026-11-05 08:20:56 +13:00
Dean fca7decda9 Merge pull request #15300 from Prophet069/fix/agc-msaa-depth-release
fix(agc): free native multisampled depth surfaces after their guest release
2026-11-05 08:20:52 +13:00
Dean 5d64f354b7 Merge pull request #15259 from JJenkx/windows/conventions-wrapped-declarations-per-case
test(tools): run each conventions_wrapped_declarations case as its own test
2026-11-05 08:20:47 +13:00
Dean 0c78920e52 Merge pull request #15164 from Ducengarth/fix/env-reference-table-rows
fix(tools): count only table rows as documented in env_reference
2026-11-05 08:20:42 +13:00
Dean 2be0032242 Merge pull request #15073 from MarcZX10/r2/R15-gnu-versym
fix(nid): permute .gnu.version with the reordered dynamic symbols
2026-11-05 08:20:38 +13:00
Dean 6145630210 Merge pull request #15055 from Milos-Opletal/fix/relinker-reject-duplicate-gnu-stack
fix(relinker): preserve the last PT_GNU_STACK segment
2026-11-05 08:20:31 +13:00
Dean 3aeaadbeba Merge pull request #15039 from MarcZX10/fix/p15-ngs2-waveform-bounds
fix(libSceNgs2): reject ATRAC9 data chunks larger than the buffer
2026-11-05 08:20:26 +13:00
Dean d0af403307 Merge pull request #14986 from fogydes/fix/libSceVdecSavc2-pointer-validation
fix(libSceVdecSavc2): ignore unwritable version pointers in sceSdecGetVersionSw2
2026-11-05 08:20:22 +13:00
Dean ccef460fe0 Merge pull request #14869 from ntamas94/claude/elegant-pascal-2uae4z
docs(debt): record libSceFios2 init parameters and error mapping from the PS4 module
2026-11-05 08:20:18 +13:00
Dean 52fb23cbb7 Merge pull request #14847 from kallmek3nny/fix/libSceNpWebApi2-push-null-callback
fix(libSceNpWebApi2): refuse a null push-event callback
2026-11-05 08:20:13 +13:00
Dean 08f19f9dbe Merge pull request #14313 from oneandonlydean/carry-7499
feat(libScePad): read per-title input profiles beside the shared input file
2026-11-05 08:20:08 +13:00
Dean 44d38bae90 Merge pull request #14224 from zaryabzip/feat/webrtc-rms-level
feat(libwebrtc): implement webrtc::RmsLevel's constructor, destructor, Analyze and Average
2026-11-05 08:19:59 +13:00
Dean dae7849938 Merge pull request #13968 from pushkarreddyy/fix/savedatadialog-getresult-efault
fix(libSceSaveDataDialog): return ARG_NULL from sceSaveDataDialogGetResult for unwritable pointers
2026-11-05 08:19:54 +13:00
Dean 9e70d97449 Merge pull request #13953 from pushkarreddyy/fix/ksem-getvalue-efault
fix(libkernel): return EFAULT from ksem_getvalue for invalid memory pointers
2026-11-05 08:19:49 +13:00
Dean 269419694c Merge pull request #13119 from JJenkx/fix/libc-ordinary-short-character-fields
fix(libc): retain ordinary short character scan fields
2026-11-05 08:19:45 +13:00
Dean 6543b1b697 Merge pull request #12978 from KernelPanicNT/feat/freetype-module-properties
feat(libSceFreeType): support the remaining FreeType module properties
2026-11-05 08:19:40 +13:00
Dean 045eda43dc Merge pull request #12854 from slopgobblercobbler/fix/libkernel-mincore-error-parity
fix(libkernel): enforce FreeBSD 11.4 error precedence and vector copyout in mincore
2026-11-05 08:19:30 +13:00
Dean 8902eb56f7 Merge pull request #12851 from xdCloudy/feat/libSceAudioPropagation-introspection-9
feat(libSceAudioPropagation): implement report and system APIs
2026-11-05 08:19:26 +13:00
Dean 097e86df8b Merge pull request #10779 from stuart-russell/fix/agc-zero-export-format
fix(agc): a zero color export format is not a color export
2026-11-05 08:19:21 +13:00
Dean 5e2f04007b Merge pull request #9326 from erickerxhalli/feat/libkernel-mutex-prioceiling
feat(libkernel): implement pthread_mutex_getprioceiling and setprioceiling
2026-11-05 08:19:17 +13:00
Dean e60b0e0c31 Merge pull request #8630 from Ondra97/codex/fix-savedata-icon-persistence
fix(savedata): persist native save icons
2026-11-05 08:19:12 +13:00
Dean df721d53f2 Merge pull request #7192 from Jev1337/feat/libkernel-host-fault-exception-handlers
feat(libkernel): deliver host faults to sceKernelInstallExceptionHandler handlers
2026-11-05 08:19:08 +13:00
Dean 296b1ac934 Merge pull request #15795 from Pipodi/perf/shader-fault-check-dedup
perf(shader): skip fault checks dominated by the same check
2026-11-05 08:18:59 +13:00
Dean de5f875cab Merge pull request #15783 from mrfelek/perf/agc-moved-input-snapshot-cap
perf(agc): keep moved read-only draw inputs within the draw snapshot cap
2026-11-05 08:18:55 +13:00
Dean 4cc524698e Merge pull request #15718 from Nesyth/perf/shader-f16-fma-khr-scalar
perf(shader): compute v_fma_f16, v_fmac_f16, v_fmamk_f16 and v_fmaak_f16 with OpFmaKHR
2026-11-05 08:18:50 +13:00
Dean 13201e8df4 Merge pull request #15717 from tikD1337/codex/trace-wait-ancestry
perf(tools): reuse wait ancestry when digesting trace slices
2026-11-05 08:18:46 +13:00
Dean c087a68c05 Merge pull request #15682 from oneandonlydean/perf/shader-resources-costs
perf(agc): cut three per-draw costs in ShaderResources
2026-11-05 08:18:42 +13:00
Dean 836e1a5894 Merge pull request #15655 from XatiX/perf/shader-table-stamp-read-pages
perf(shader): reuse an unwritten image table snapshot read through a pointer
2026-11-05 08:18:37 +13:00
Dean 3288b21f88 Merge pull request #15370 from oneandonlydean/fix/windows-deferred-dependency-start
fix(relinker): restore the Windows deferral of #12621 and start deferred dependencies first
2026-11-05 08:18:30 +13:00
Dean 4ba1a7090e Merge pull request #14971 from JJenkx/fix/agc-fuse-front-constant-buffer
fix(agc): keep a front half's embedded constant buffer when fusing geometry halves
2026-11-05 08:18:26 +13:00
Dean e358f2fc14 Merge pull request #14838 from oneandonlydean/carry-9012
perf(agc): audit a cached template only after the host import set changed
2026-11-05 08:18:22 +13:00